Commit graph

195 commits

Author SHA1 Message Date
Randy Heit
f099d5e667 Add constant evaluation for ~
- When this operator was added to the language, it never got added to the
  constant expression path, so you could only use it in expressions
  evaluated at runtime.
2014-02-04 20:27:05 -06:00
Randy Heit
26d4df32d4 Fix constant < > <= >= evaluation
- SendExprCommand() evaluated all four of these as their inverse. I
  wouldn't at all be surprised if this was caused by me fixing the
  undefined behavior (Which PopExStk() is called first?) and not
  even noticing that these were reversed because they popped off the stack
  in reverse order.
2014-02-04 20:21:51 -06:00
Randy Heit
3a5bedf702 Fix constant || and && evaluation
- When SendExprCommand() evaluates constant expressions for || and &&,
  it must explicitly pop both operands off the stack before pushing the
  result. The compiler will do normal short-circuiting here, so if it only
  needs one value to determine the result, only one would be popped off
  the stack.
2014-02-04 20:19:13 -06:00
Randy Heit
1722d11fe8 Add Get/SetLineActivation functions and definitions 2014-02-04 19:50:37 -06:00
Randy Heit
9254deb627 Correct max argument counts for various specials 2014-02-04 19:48:46 -06:00
Christoph Oelckers
91f15ae3fb CheckFlag function. 2013-08-12 22:39:37 +02:00
Christoph Oelckers
48ecc9a220 - DropItem definition. 2013-08-11 21:03:36 +02:00
Christoph Oelckers
373e48a9bc - BLOCKF_HITSCAN flag. 2013-08-09 21:28:27 +02:00
Christoph Oelckers
b8e601dd98 - new APROPs. 2013-08-09 12:03:35 +02:00
Christoph Oelckers
ef8e51899c - fixed parameter count of SpawnForced
- added stuff for LineAttack expansion.
2013-07-22 22:45:02 +02:00
Randy Heit
4f08740c15 Correct parameter count for LineAttack 2013-07-10 22:13:01 -05:00
Alex Mayfield
0e3cad7dca Convert svn:ignore to .gitignore. 2013-06-23 14:15:01 -04:00
Randy Heit
3ee9363c3c This is ACC 1.54.
SVN r4343 (trunk)
2013-06-09 01:55:22 +00:00
Randy Heit
6c5a5db327 - Added CheckFont to zspecial.acs.
SVN r4336 (trunk)
2013-06-06 21:54:32 +00:00
Randy Heit
e58f13aabc - Added SpawnDecal and its flags to ACS includes.
SVN r4331 (trunk)
2013-06-05 02:16:51 +00:00
Randy Heit
d1bf5cdfa7 - Added PlayActorSound identifiers to zdefs.acs.
SVN r4327 (trunk)
2013-06-04 02:19:04 +00:00
Randy Heit
4f33fad84d - Added PlayActorSound to zspecial.acs.
SVN r4324 (trunk)
2013-06-03 00:10:53 +00:00
Randy Heit
c7c757234e - Add more Skulltag/Zandronum stuff to zdefs.acs and zspecial.acs.
SVN r4320 (trunk)
2013-06-01 18:01:53 +00:00
Randy Heit
eee5e5fa36 - Added SoundVolume to zdefs.acs.
SVN r4319 (trunk)
2013-06-01 17:47:36 +00:00
Randy Heit
42214bf0d0 - Added GetActorClass and GetWeapon functions to zspecial.acs.
SVN r4317 (trunk)
2013-06-01 17:18:58 +00:00
Randy Heit
f9cb2a66df - Added strcmp, stricmp (strcasecmp), strleft, strright, and strmid to zspecial.acs.
SVN r4314 (trunk)
2013-06-01 17:08:35 +00:00
Randy Heit
436e6e33a8 - Added channel flags for PlaySound to zdefs.acs.
SVN r4312 (trunk)
2013-06-01 16:39:23 +00:00
Randy Heit
f6d82abbdb - Fixed typo.
SVN r4311 (trunk)
2013-06-01 16:36:18 +00:00
Randy Heit
643469d630 - Forgot to add APROP_MeleeRange to zdefs.acs.
SVN r4309 (trunk)
2013-06-01 02:57:36 +00:00
Randy Heit
cccb298f8b - Update zdefs.acs and zspecial.acs for recent ACS additions.
SVN r4308 (trunk)
2013-06-01 02:56:20 +00:00
Randy Heit
1d7b0f4bcf - Added Get/SetCVarString and Get/SetUserCVarString to zspecial.acs.
SVN r4294 (trunk)
2013-05-27 02:42:34 +00:00
Randy Heit
b1bf0455bc - Add new cvar functions to zspecial.acs.
SVN r4284 (trunk)
2013-05-25 19:12:37 +00:00
Christoph Oelckers
d70ecde7f0 ACC header for APROP_Reactiontime
SVN r4223 (trunk)
2013-04-20 21:33:54 +00:00
Randy Heit
df8996df4f - Default to -O2 instead of -Os with GCC, because the GCC 4.7.2 bundled with current Ubuntus generates invalid code with -Os.
SVN r4183 (trunk)
2013-03-15 23:41:27 +00:00
Randy Heit
67e89c4107 - Correct parameter count to ACS_NamedExecuteWithResult in zspecial.acs.
SVN r4143 (trunk)
2013-02-19 02:07:14 +00:00
Christoph Oelckers
f4a918123c - removed a few 'GZDoom only' notes that no longer apply.
SVN r4127 (trunk)
2013-02-10 08:58:26 +00:00
Christoph Oelckers
9e866bbef8 - Added Floor_RaiseAndCrushDoom to ACS header.
SVN r4126 (trunk)
2013-02-10 08:56:24 +00:00
Randy Heit
dc24257416 - Added CHANGELEVEL_PRERAISEWEAPON to zdefs.acs.
SVN r4015 (trunk)
2013-01-03 02:20:08 +00:00
Randy Heit
a934c47119 - The ACS part of the HUD message clipping changes. Also add ZDaemon's functions to zspecial.acs.
SVN r3961 (trunk)
2012-11-10 03:24:29 +00:00
Randy Heit
5913c818a9 - Added FDARI's get actor height and radius patch.
SVN r3956 (trunk)
2012-11-09 23:07:10 +00:00
Braden Obrzut
9ae0c430ba - Moved Sqrt, FixedSqrt, and VectorLength to zspecial.acs.
SVN r3889 (trunk)
2012-10-13 22:56:30 +00:00
Randy Heit
292f20fc46 - Fixed: Wrong opcode for fixedsqrt.
SVN r3887 (trunk)
2012-10-13 13:41:41 +00:00
Randy Heit
7aa5c4d120 - Added sqrt, fixedsqrt, and vectorlength to ACC.
SVN r3884 (trunk)
2012-10-11 03:40:21 +00:00
Randy Heit
9af2df3096 - Added desaturation translation support to ACC. This is the same as the % syntax introduced
by DECORATE. Note that the values in the color range are fixed point numbers. i.e. You must
  use 1.0 and not 1. This is in keeping with the existing convention.

SVN r3879 (trunk)
2012-09-20 02:26:58 +00:00
Randy Heit
14d9aee65c - Add HUDMSG_ALPHA to zdefs.acs.
SVN r3877 (trunk)
2012-09-20 02:07:46 +00:00
Randy Heit
57040693cd - Fix VC++ 6 warnings.
SVN r3853 (trunk)
2012-08-25 19:29:04 +00:00
Randy Heit
74d159f4d5 - Bump ACC version to 1.53.
SVN r3852 (trunk)
2012-08-25 19:27:46 +00:00
Randy Heit
e7c96aac47 - Added PLAYERINFO_FOV and PLAYERINFO_DESIREDFOV to zdefs.acs.
SVN r3836 (trunk)
2012-08-22 22:09:43 +00:00
Randy Heit
efd99b3ecf - Add new HUD message definitions to zdefs.acs.
SVN r3822 (trunk)
2012-08-12 22:26:12 +00:00
Randy Heit
a15d0a35b6 - Fixed T_MAXARMORBONUS typoed as T_MASARMORBONUS.
SVN r3817 (trunk)
2012-08-10 02:57:35 +00:00
Randy Heit
768d586060 - Added UniqueTID and IsTIDUsed to zspecial.acs.
SVN r3799 (trunk)
2012-08-01 03:13:55 +00:00
Randy Heit
72b11c089f - Optimize away PCD_DUP when the preceding instruction is PCD_PUSHBYTE.
- Added NamedScriptWait (PCD_SCRIPTWAITNAMED) and ACS_NamedExecuteWait.

SVN r3755 (trunk)
2012-07-11 03:59:01 +00:00
Christoph Oelckers
43ff84e0a1 - added missing renderstyle constants.
SVN r3701 (trunk)
2012-06-21 08:47:56 +00:00
Randy Heit
32a6f0a5ec - Fixed: Most recent p-codes were missing their names.
SVN r3668 (trunk)
2012-05-31 03:01:25 +00:00
Randy Heit
b9764cb371 - Fixed error message for importing a non-library.
SVN r3664 (trunk)
2012-05-22 20:55:50 +00:00