ACC is an ACS script compiler for use with ZDoom and Hexen.
Find a file
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
.gitignore Convert svn:ignore to .gitignore. 2013-06-23 14:15:01 -04:00
acc.c This is ACC 1.54. 2013-06-09 01:55:22 +00:00
acc.dsp Don't convert string constants to numbers for #define 2014-07-21 23:32:57 -05:00
acc.dsw Initial commit for ACC. 2006-02-24 05:03:04 +00:00
common.h Add script/function arrays to ACC 2014-07-24 14:41:39 -05:00
error.c Add script/function arrays to ACC 2014-07-24 14:41:39 -05:00
error.h Add script/function arrays to ACC 2014-07-24 14:41:39 -05:00
Makefile This is ACC 1.54. 2013-06-09 01:55:22 +00:00
misc.c - Version bumped ACC to 1.47. 2008-12-18 02:24:55 +00:00
misc.h - Do not allow scripts to be named "None". 2012-02-26 02:37:44 +00:00
parse.c Add script/function arrays to ACC 2014-07-24 14:41:39 -05:00
parse.h Initial commit for ACC. 2006-02-24 05:03:04 +00:00
pcode.c Add script/function arrays to ACC 2014-07-24 14:41:39 -05:00
pcode.h Add script/function arrays to ACC 2014-07-24 14:41:39 -05:00
strlist.c Don't convert string constants to numbers for #define 2014-07-21 23:32:57 -05:00
strlist.h Don't convert string constants to numbers for #define 2014-07-21 23:32:57 -05:00
symbol.c Add script/function arrays to ACC 2014-07-24 14:41:39 -05:00
symbol.h Add script/function arrays to ACC 2014-07-24 14:41:39 -05:00
token.c Don't convert string constants to numbers for #define 2014-07-21 23:32:57 -05:00
token.h - Optimize away PCD_DUP when the preceding instruction is PCD_PUSHBYTE. 2012-07-11 03:59:01 +00:00
zcommon.acs Initial commit for ACC. 2006-02-24 05:03:04 +00:00
zdefs.acs - new render styles. 2014-05-13 21:08:44 +02:00
zspecial.acs - ChangeActorAngle/Pitch added to zspecial.acs. 2014-05-08 09:37:57 +02:00
zwvars.acs Initial commit for ACC. 2006-02-24 05:03:04 +00:00