Commit graph

55 commits

Author SHA1 Message Date
Christoph Oelckers
ef63d00f3c Fixed comparison between pointer and integer in ACC's token.c.
SVN r1293 (trunk)
2008-11-18 08:26:26 +00:00
Christoph Oelckers
d310c2c361 - Added CodeImp's submission for specifying include paths to ACC.
SVN r1292 (trunk)
2008-11-16 19:35:53 +00:00
Christoph Oelckers
9bf49aace6 - Added Teleport_NoStop to zspecial.acs. I added this 3 weeks ago but apparently forgot to commit it earlier.
SVN r1217 (trunk)
2008-09-13 07:11:50 +00:00
Randy Heit
01c497ff05 - Added GetPlayerInput() support to ACS.
SVN r1214 (trunk)
2008-09-13 02:45:50 +00:00
Christoph Oelckers
78184b3f56 - added ACC 64bit patch from Agent ME.
SVN r1073 (trunk)
2008-07-19 08:01:33 +00:00
Christoph Oelckers
08c9083086 - fixed typo in zdefs.acs
SVN r1051 (trunk)
2008-06-28 11:32:22 +00:00
Christoph Oelckers
60e1004642 - ACC Changes for morph update.
SVN r988 (trunk)
2008-05-22 19:36:21 +00:00
Christoph Oelckers
ce2299396e - ACC header changes for Sector_ChangeFlags special.
SVN r958 (trunk)
2008-05-09 08:39:24 +00:00
Christoph Oelckers
0fd2ab850e - ACC psrt of CheckPlayerCamera.
SVN r913 (trunk)
2008-04-15 09:58:39 +00:00
Christoph Oelckers
8d4441644c - added Line_SetTextureOffset to ACC files.
SVN r838 (trunk)
2008-03-22 17:14:20 +00:00
Christoph Oelckers
b54f54320b - added Scroll_Wall special to zspecial.acs.
SVN r831 (trunk)
2008-03-21 17:19:15 +00:00
Christoph Oelckers
3a126268a8 - ACC part of ThingCountSector
SVN r829 (trunk)
2008-03-21 12:24:13 +00:00
Christoph Oelckers
b07176a425 - zspecial.acs had a syntax error.
SVN r824 (trunk)
2008-03-20 10:49:44 +00:00
Christoph Oelckers
99f172702a - Added FS_Execute special to zspecial.acs. The special is GZDoom only but
ACC still needs to know about it.


SVN r823 (trunk)
2008-03-20 10:47:23 +00:00
Christoph Oelckers
be0984560c - Added Generic_Crusher2 to zspecial.acs.
SVN r818 (trunk)
2008-03-19 22:47:47 +00:00
Christoph Oelckers
dd20e4aaf9 - ACC related parts of SetMugShot addition.
SVN r813 (trunk)
2008-03-19 09:53:57 +00:00
Christoph Oelckers
1a09a82355 - fixed: A_CountdownArg used 0 based indices although all uses of it assumed
it is 1-based.
- added MF5_DONTRIP flag.
- added CheckActorFloorTexture, CheckActorCeilingTexture and
  GetActorLightLevel ACS functions.
- added IF_ADDITIVETIME flag to create powerups that add their duration
  to the one of the currently active item of the same type.
- fixed: bouncecount wasn't decreased when bouncing on walls.
- Added MF5_ALWAYSRESPAWN and MF5_NEVERRESPAWN flags that selectively
  enable or disable monster respawning regardless of skill setting.
- Prettified deprecated flag handling.


SVN r780 (trunk)
2008-03-01 16:59:17 +00:00
Randy Heit
b7a72e103a Methinks it's time for an updated release of ACC (1.46).
SVN r743 (trunk)
2008-02-13 03:00:22 +00:00
Randy Heit
43f6244206 - Added "return" script support to ACC.
SVN r741 (trunk)
2008-02-13 02:27:20 +00:00
Randy Heit
98cd068a97 - Fixed: ACC multiplied array indices one too many times when an optional index for a
multidimensional array was omitted.

SVN r732 (trunk)
2008-02-05 22:41:30 +00:00
Christoph Oelckers
9a0392a8d2 - Added SnowKate709's APROP_MaxHealth submission.
- Fixed: FTexture::GetScaledWidth/Height always rounded down which could result in
  imprecisions (e.g. when scaling from 128 to 96.)


SVN r722 (trunk)
2008-01-28 09:39:46 +00:00
Christoph Oelckers
98502afc24 - added UseInventory/UseActorInventory ACS functions.
SVN r636 (trunk)
2007-12-25 08:44:13 +00:00
Christoph Oelckers
cb1d2e5e99 SVN r573 (trunk) 2007-11-28 09:11:46 +00:00
Christoph Oelckers
e39e55cbfe Added Hexen spawnables to zdefs.acs
SVN r543 (trunk)
2007-09-04 11:42:59 +00:00
Christoph Oelckers
6c10e818c5 - added a CANUSEWALLS flag which allows a monster to activate 'use' specials
like doors. This flag is on by default for any monster which was the
  previous behavior.
- Optimized the DECORATE flag parser so it can more efficiently handle
  the deprecated flags. As a side effect of this optimization the deprecated
  flags became usable in A_ChangeFlag again.
- Changed LONGMELEERANGE flag into a MeleeThreshold property.
- Changed SHORTMISSILERANGE flag into a MaxTargetRange property.
- Added Thing_Stop action special.


SVN r517 (trunk)
2007-04-22 21:01:35 +00:00
Randy Heit
d239a69963 Committed ACC changes.
SVN r516 (trunk)
2007-04-22 17:08:17 +00:00
Randy Heit
1e63067140 - Fixed: When ACC encountered a bad numeric constant, it could infinite loop
trying to get past it if it was a string without an opening quote, because
  it didn't check for TK_EOF.

SVN r501 (trunk)
2007-03-09 23:52:36 +00:00
Christoph Oelckers
1e12f4404d - Fixed: In the Doom2 cast finale it was impossible to toggle the console.
- Added APROP_Friendly actor property for ACS.
- Added a new flag, MF2_DONTREFLECT that prevents missiles from being reflected.
- Fixed: ALoreShot::DoSpecialDamage must check whether the shooter is still
  present. If it had been removed before the projectile hits its target
  a crash could occur.
- Fixed: GetPlayerInfo was missing breaks and always returned 0 as a result.
- Added Grubber's submission for printing key bindings in ACS.


SVN r491 (trunk)
2007-02-24 12:09:36 +00:00
Randy Heit
6f494c535b - Increased the maximum length of strings in ACC to 32k.
SVN r481 (trunk)
2007-02-12 23:12:39 +00:00
Christoph Oelckers
1d50d652b1 - Added a check to P_CheckMissileSpawn to decrease the monster counter
if it was called for spawning a monster with A_CustomMissile.
- Added a ML_BLOCK_PLAYERS line flag.


SVN r380 (trunk)
2006-11-10 12:13:37 +00:00
Randy Heit
da6bbdd666 Bumped ACC version to 1.45.
SVN r367 (trunk)
2006-10-31 02:18:23 +00:00
Christoph Oelckers
423dc08319 - Added MF5_PIERCEARMOR flag that allows damaging objects that aren't
affected by armor.
- Added an unfreeze CCMD so that frozen players can be unfrozen for testing.
- Added special death states for projectiles hitting actors.
- Added ACS SetActorPitch/GetActorPitch functions.
- Added cameraheight property for actors.


SVN r359 (trunk)
2006-10-22 10:32:41 +00:00
Christoph Oelckers
818083693a - Fixed: PrintAlias passed FString objects directly to Printf.
- Added bitwise not (~) operator to ACS.


SVN r352 (trunk)
2006-10-09 15:55:47 +00:00
Christoph Oelckers
237b01f63f fixed parameter count for thing_setgoal in zspecials.acs.
SVN r338 (trunk)
2006-09-24 07:15:17 +00:00
Randy Heit
c76f35ca47 Woops. zdefs.acs was missing the PLAYERINFO #defines. And since 1.43 was already
uploaded to the site, I bumped the version to identify this as a changed release.

SVN r323 (trunk)
2006-09-03 00:17:56 +00:00
Randy Heit
9bac8d0da2 Bumped ACC to version 1.43.
SVN r322 (trunk)
2006-09-01 22:27:34 +00:00
Randy Heit
aebf8d6695 - Removed PCD_PRINTCOLOR.
- Updated ReplaceTextures and SectorDamage parameter counts.

SVN r317 (trunk)
2006-09-01 00:47:32 +00:00
Christoph Oelckers
dca00cbda4 SVN r312 (trunk) 2006-08-27 08:51:01 +00:00
Randy Heit
28018a2859 Added PCD_PRINTCOLOR support to ACC.
SVN r305 (trunk)
2006-08-22 21:46:38 +00:00
Randy Heit
911d10c48d Added PCD_SECTORDAMAGE and PCD_REPLACETEXTURES support.
SVN r287 (trunk)
2006-08-12 02:30:14 +00:00
Christoph Oelckers
1685caa03c August 10, 2006 (Changes by Graf Zahl)
- Fixed: CheckActorInventory stored the return value in the wrong address
  on the ACS stack.
- Fixed: Skin sounds weren't properly restored after a SNDINFO reset.
- Added a more flexible ACS ChangeLevel function. It gets passed a level name
  instead of a level number and has several additional options (e.g. changing
  skill, starting the map without monsters and clearing the players' inventories. (UNTESTED!)
- Changed Thing_Activate so that passing a tid of 0 activates the calling actor.
- Changed Thing_Remove so that passing a tid of 0 removes the calling actor.
- Added DECORATE parameters to A_Saw.

SVN r283 (trunk)
2006-08-10 15:28:12 +00:00
Randy Heit
a96324456a - Fixed: Inside an ACS library, you could not use a normal #define to specify
the size of an array. Now #defines are fully processed inside an import but
  are forgotten when the import is popped if they weren't created with
  #libdefine.

SVN r280 (trunk)
2006-08-03 03:45:26 +00:00
Christoph Oelckers
ae59218dba - Added Grubber's GetPlayerInfo ACS function.
SVN r276 (trunk)
2006-07-30 22:56:20 +00:00
Christoph Oelckers
a4879364bb - Added NecroMage's submission for bitwise/shift assignment operators for ACS.
SVN r261 (trunk)
2006-07-16 20:13:24 +00:00
Christoph Oelckers
4c94a58e95 - Generalized Hexen's class-based spawning to be a property of the player class
so now it is available in all games.
- Replaced the call to A_FlameSnd in the HereticPlayer's burn death sequence
  with A_FireScream and defined *burndeath for Heretic.
- Added Grubber's custom player class support.


SVN r250 (trunk)
2006-07-13 10:17:56 +00:00
Christoph Oelckers
4e9a15c606 SVN r241 (trunk) 2006-07-09 20:15:38 +00:00
Christoph Oelckers
25848cd9b3 - Added another set of ACS inventory functions which take a tid for the actor
and aren't limited to the script's activator.
- Added GetSectorLightLevel(tag), GetActorCeilingZ(tid) and
  SetActorPosition(tid, x, y, z, fog) ACS functions.
- Fixed: First initialization of camera textures should not mark the rendered
  lines as mapped.

SVN r198 (trunk)
2006-06-18 15:49:00 +00:00
Christoph Oelckers
5b2ebfbb01 - Changed music name handling in MAPINFO so that music can be specified by
full path of a file in a Zip.
- Fixed: intermusic in MAPINFO was limited to WAD lumps and couldn't handle 
  external data.

ACS:

- Fixed: Global and World array symbols didn't initialize their array information.


SVN r182 (trunk)
2006-06-09 08:19:46 +00:00
Christoph Oelckers
6ca6cf011c Fixed: StartConversation didn't check for a valid target.
SVN r165 (trunk)
2006-06-04 14:49:17 +00:00
Christoph Oelckers
31a9e80ba0 - Added a StartConversation special that allows automatic activation of Strife
dialogs.
- Added Thing_Raise special that allows Arch-Vile like resurrections from scripts
  or DECORATE states.
- Added a RadiusDamageFactor property for actors. This replaces the hard coded
  factor of 0.25 for Hexen's players.
- Added new SpawnProjectile function to ACS. It's the same as Thing_Projectile2
  but the projectile is specified by name, not spawn ID.
- Added MAPINFO option to set the compatibility flags. If this is done these
  explicit settings will take precedence over the compatflags CVAR.

SVN r164 (trunk)
2006-06-03 12:30:11 +00:00