Commit graph

402 commits

Author SHA1 Message Date
coelckers
ae5f03691a Merge pull request #26 from edward-san/div_by_zero
- Fixed the 'division by zero' crash in the constant expression parsing.
2015-09-05 23:20:04 +02:00
Edoardo Prezioso
925b279bcd - Fixed the 'division by zero' crash in the constant expression parsing. 2015-09-05 23:05:46 +02:00
MajorCooke
bf1f719d52 Updated QuakeEx for falloff parameter. 2015-09-03 16:04:11 -05:00
coelckers
68cc72352b Merge pull request #24 from Blue-Shadow/master
Bumped Warp's arguments number to account for 'heightoffset'.
2015-08-28 21:28:26 +02:00
Blue-Shadow
5c9dc989c5 Bumped Warp's arguments number to account for 'heightoffset'. 2015-08-28 20:34:38 +03:00
coelckers
19995bb5a0 Merge pull request #22 from DaZombieKiller/consistency
Changed Warp to the ZDoom range
2015-07-31 15:42:30 +02:00
Benjamin Moir
04bbf15b28 Changed Warp to the ZDoom range 2015-07-31 22:26:33 +09:30
coelckers
faf5701147 Merge pull request #21 from DaZombieKiller/acswarp
Added Warp and its flags
2015-07-31 08:35:40 +02:00
Benjamin Moir
63fa201967 Added Warp and its flags 2015-07-30 16:56:21 +09:30
coelckers
bac5e6eb8d Merge pull request #20 from Blue-Shadow/lineattack_flag
Added FHF_NOIMPACTDECAL flag to zdefs.acs
2015-05-02 08:43:06 +02:00
Blue-Shadow
10e1e1c957 Added FHF_NOIMPACTDECAL flag to zdefs.acs 2015-05-02 08:48:36 +03:00
Braden Obrzut
a4326c85a3 - Fixed: Local array initializers didn't work for multi-dimensional arrays. 2015-03-26 18:10:56 -04:00
Braden Obrzut
918a247c0d - Assign the fileDepth of a constant earlier to avoid uninitialized value when evaluating constant. 2015-03-26 17:20:34 -04:00
Christoph Oelckers
7a07de833a Merge branch 'master' of https://github.com/Blue-Shadow/acc 2015-03-12 09:29:37 +01:00
Christoph Oelckers
822dc0b495 Merge branch 'master' of https://github.com/rheit/acc 2015-03-12 09:28:29 +01:00
Blue-Shadow
5441e38b91 Added constants for sound channels 5-7 2015-03-11 07:23:59 +03:00
Braden Obrzut
883fcf50b1 - Fixed: ZDaemon's special numbers were wrong. 2015-03-02 15:25:50 -05:00
MajorCooke
fa0f25d8af Part 2 of QuakeEx. 2015-03-02 11:30:22 -06:00
MajorCooke
beef32bc35 Added QuakeEx. 2015-03-02 10:03:33 -06:00
Randy Heit
95c8faaa22 Prohibit ACS_ExecuteWait inside functions 2015-02-24 19:11:09 -06:00
Randy Heit
0024e3ac6c Comment fix 2015-02-24 19:11:09 -06:00
nashmuhandes
c1426df0a6 Added SetActorRoll, ChangeActorRoll and GetActorRoll ACS functions. 2015-01-05 22:49:36 +08:00
Randy Heit
6370396036 Fix memset in ParseArrayDims.
- In C, passing an array to a function actually passes a pointer to the
  first element of the array.
2014-12-26 17:41:04 -06:00
MajorCooke
f7527b65e5 - SetActorTeleFog and SwapActorTeleFog for ACS. 2014-12-18 09:39:52 -06:00
Edward Richardson
65fd7d12e2 Added APROP_ definitions 2014-11-20 18:52:26 +13:00
John Palomo Jr
989b332595 Added forceTID parameter for PickActor. 2014-10-19 20:55:32 -04:00
Benjamin Berkels
e306dd8ca3 added definitions necessary for Zandronum 1.3 2014-10-11 16:34:24 -04:00
Benjamin Berkels
7a36703541 event scripts now have three arguments 2014-10-11 16:34:24 -04:00
Benjamin Berkels
495e6b2142 added new event script type 2014-10-11 16:34:23 -04:00
Christoph Oelckers
af77c7cd57 Merge branch 'Get-linetarget-from-any-actor' of https://github.com/fdari/acc 2014-09-29 00:52:02 +02:00
Christoph Oelckers
e33fc50340 Merge branch 'canraise' of https://github.com/GitExl/acc
Conflicts:
	zspecial.acs
2014-09-29 00:51:14 +02:00
fdari
c9115a12ec Get linetarget (aim target) from any actor (not just player): AAPTR_LINETARGET 2014-09-28 15:12:06 +02:00
fdari
54925aed4b IsPointerEqual(int aaptr1, int aaptr2, int tid1 = 0, int tid2 = 0) 2014-09-28 12:04:22 +02:00
GitExl
fb3767eee7 Add CanRaiseActor ACS function. 2014-09-23 12:11:01 +02:00
GitExl
1653d6f3cb Add linedef flags for PickActor. 2014-09-23 11:29:26 +02:00
GitExl
d269c1fcc8 Add actor flags for PickActor. 2014-09-21 16:44:32 +02:00
GitExl
4b3c23f645 Add PickActor function 2014-09-21 16:42:46 +02:00
Christoph Oelckers
49d5cadf5f Merge branch 'master' of https://github.com/MajorCooke/acc 2014-09-20 08:30:29 +02:00
MajorCooke
179bab2916 - Include with DropInventory with Blue Shadow's patch. 2014-09-19 19:57:02 -05:00
Christoph Oelckers
bae4cac3dd Ceiling_CrushAndRaiseSilentDist 2014-08-21 12:27:40 +02:00
Christoph Oelckers
a7d7f2bdb6 - new armor info type. 2014-08-11 10:09:30 +02:00
Christoph Oelckers
447be2c372 Merge branch 'master' of https://github.com/rheit/acc 2014-08-08 09:26:27 +02:00
Christoph Oelckers
4713d79e01 - BlueShadow's GetArmorInfo submission. 2014-08-08 09:26:08 +02:00
Randy Heit
93b84fe5f2 Fixed: scriptarray[i] += x generated &= x instead 2014-07-28 19:52:33 -05:00
Randy Heit
b213a5bae8 Add PCD_GOTOSTACK
- It's not used. It's just there as a placeholder.
2014-07-25 18:10:50 -05:00
Randy Heit
1bdfee548b Remove dead "language" code from ACC
- This is a feature that never saw the light of day in this form, so get
  rid of its vestigial remnants. (Note that this is NOT the l: print
  formatter that causes the game to look up a string in the LANGUAGE
  lump.)
2014-07-24 15:16:30 -05:00
Randy Heit
fafedb271d Improve error message when using functions in Hexen-compat mode
- When trying to define a function with the -h switch, you previously
  got two error messages on the token following the function, making it
  unclear what the problem was. There is now only one error message at the
  end of the function's parameter list.
2014-07-24 15:00:31 -05:00
Randy Heit
ac678ff7b8 Add script/function arrays to ACC
- Script arrays are semantically identical to map arrays: They have fixed
  sizes and can be multidimensional. They can also be initialized, although
  this is just syntactic sugar. e.g.
    int init_array[2] = { 10, 20 }
  produces code identical to:
    int init_array[2];
    init_array[0] = 10;
    init_array[1] = 20;
  Script arrays are also implicitly initialized to 0, just like any other
  variable in ACS.
- Unlike map arrays, they only exist for the life of the script, and each
  script gets its own copy of the array.
- Script arrays exists in a separate space from script variables. I did
  not repeat the bullshittery of map arrays here. (I still have no idea what I
  was thinking when I designed them that way.)
- Each script and function that uses local arrays is recorded with a new
  chunk: SARY for scripts and FARY for functions. The first two bytes are the
  script/function number, and the rest of the chunk consists of four-byte
  integers describing the size (in ints) of each array used by that
  script/function. To determine how many arrays a script/function uses,
  take the chunk length, subtract two, and divide by four.
2014-07-24 14:41:39 -05:00
Randy Heit
bede8930a8 Fixed: One use of ERR_NOT_AN_ARRAY did not provide the symbol's name 2014-07-22 17:20:38 -05:00
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