Commit graph

203 commits

Author SHA1 Message Date
Randy Heit
c447410ad8 Don't convert string constants to numbers for #define
- Fixed: You could not #define a string for use in a library, because it
  was converted to a number at definition time and not at use time. This
  is no longer the case. Symbolic constants now store the string in its
  original form, and they now expand into the string when encountered
  instead of their string table index.
2014-07-21 23:32:57 -05:00
alexey.lysiuk
9487be3e67 Fix compilation on OS X and other systems without non-standard <malloc.h>
All required declarations are in <stdlib.h>
2014-06-07 16:58:50 +03:00
Christoph Oelckers
998c8b15b2 - new render styles. 2014-05-13 21:08:44 +02:00
Christoph Oelckers
621a33df3b - ChangeActorAngle/Pitch added to zspecial.acs. 2014-05-08 09:37:57 +02:00
Gaerzi
79d5cfd471 Update zdefs.acs with shadow and subtract styles.
I'm not sure why the values jump from 1, 2, 3, 4, 5 to 64, 65, 66, 67, but I continued from there. Adding shadow is necessary to add subtract.
2014-04-22 11:31:54 +02:00
Edward Richardson
fcd3fefb39 Added GetActorPowerupTics special 2014-04-07 23:24:55 +12:00
Edward Richardson
6f4c8d8b8c Added APROP_StencilColor for Set/GetActorProperty 2014-04-01 03:28:30 +13:00
Randy Heit
c6bc836ecb Add support for unary +
- Other languages can do this, and carlcyber noticed ACC couldn't, so now
  it can.
2014-02-04 20:32:27 -06:00
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