vkdoom_m/src/scripting/zscript
Christoph Oelckers de6969997a - scriptified Hexen's flies.
A few notes:

 * this accesses the lines array in sector_t which effectively is a pointer to an array of pointers - a type the parser can not represent. The compiler has no problems with it, so for now it is defined internally.
 * array sizes were limited to 65536 entries because the 'bound' instruction only existed as an immediate version with no provisions for larger values. For the static map arrays 65536 is not sufficient so now there are alternative instructions for these cases.
 * despite the above, at the moment there is no proper bounds checking for arrays that have no fixed size. To do this, a lot more work is needed. The type system as-is is not prepared for such a scenario.
2016-11-27 18:52:24 +01:00
..
ast.cpp - added static constant arrays. At the moment they can only be defined inside functions due to lack of dedicated storage inside classes for static data. 2016-11-20 18:00:37 +01:00
zcc-parse.lemon - fixed bad definition of struct grammar which tried to resolve from right to left, creating large amounts of recursion and strange problems with PlayerInfo. 2016-11-27 16:24:32 +01:00
zcc_compile.cpp - Fixed more GCC/Clang warnings. 2016-11-27 02:34:32 +01:00
zcc_compile.h - allow defining native fields through scripts. Internally this only requires exporting the address, but not the entire field. 2016-11-22 19:20:31 +01:00
zcc_expr.cpp - implemented '**' (power) operator. To ensure reliability, acustom 'pow' function will be used to calculate it. 2016-10-17 15:17:48 +02:00
zcc_exprlist.h added class pointer casts. Due to grammar problems the type has to be put into parentheses to get the class token out of the global parsing namespace: 2016-11-17 20:31:53 +01:00
zcc_parser.cpp - scriptified Hexen's flies. 2016-11-27 18:52:24 +01:00
zcc_parser.h - Don't null-check the ZCC_TreeNode 'this' pointer. 2016-11-23 23:30:54 +01:00