Commit graph

70 commits

Author SHA1 Message Date
Randy Heit
e810579a68 - Better error message for trying to cram too many values into an array.
- Fixed: Array initialization in ACC was incorrect for partial initializers, especially with higher dimensions.

SVN r2416 (trunk)
2010-07-08 22:08:20 +00:00
Randy Heit
0dcf40afe6 - Fixed: Visual C++ 6.0 does not have _get_pgmptr(). You just access the variable directly with that version.
- Silenced some conversion warnings made by VC++ 6.
- Added the current working directory (.) as an automatic include directory, just ahead of
  the program directory, for compatibility with older ACCs that had no include path handling.

SVN r2016 (trunk)
2009-12-04 01:15:08 +00:00
Randy Heit
e403e82025 ACS update:
- Add clientside script flag for Skulltag support.
- Change GetActorMomX/Y/Z to GetActorVelX/Y/Z.

SVN r1690 (trunk)
2009-06-30 21:03:21 +00:00
Christoph Oelckers
dc777b74f1 - ACC changes for externally definable functions.
SVN r1576 (trunk)
2009-05-11 21:07:27 +00:00
Randy Heit
83b212acbb - Fixed: ACC must adjust the StatementLevel in ProcessStatement(), not in
LeadingCompoundStatement().

SVN r1395 (trunk)
2009-02-04 00:58:14 +00:00
Randy Heit
0157077f3f - Apparently, va_list is a reference type on x86_64 Linux systems, so
veprintf() needs to make a copy to pass to the second call to
  vfprintf(), since it will be modified by the first call.
- Removed three warnings when compiling with GCC 4.3.


SVN r1328 (trunk)
2008-12-24 18:39:25 +00:00
Randy Heit
96f9dcd051 - Add x and b casts for ACS printing.
- Add ClassifyActor constants to zdefs.acs.

SVN r1311 (trunk)
2008-12-07 03:59:06 +00:00
Christoph Oelckers
78184b3f56 - added ACC 64bit patch from Agent ME.
SVN r1073 (trunk)
2008-07-19 08:01:33 +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
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
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
Randy Heit
aebf8d6695 - Removed PCD_PRINTCOLOR.
- Updated ReplaceTextures and SectorDamage parameter counts.

SVN r317 (trunk)
2006-09-01 00:47:32 +00:00
Randy Heit
28018a2859 Added PCD_PRINTCOLOR support to ACC.
SVN r305 (trunk)
2006-08-22 21:46:38 +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
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
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
Randy Heit
23b23f3950 Fix for generating incorrect code for accessing arrays with three or more dimensions.
SVN r15 (trunk)
2006-02-25 03:54:30 +00:00
Randy Heit
56f3ff15d8 Initial commit for ACC.
SVN r8 (trunk)
2006-02-24 05:03:04 +00:00