gzdoom/src/scripting/zscript
Christoph Oelckers 135cfcf016 - implemented State as an actual native struct, so that its fields can be accessed from scripts.
- refactored state bitfield members into a flag word because the address of a bitfield cannot be taken, making such variables inaccessible to scripts.
- actually use PNativeStruct for representing native structs defined in a script.
2016-11-21 21:34:34 +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 - scriptified the scripted marines. 2016-11-21 19:09:58 +01:00
zcc_compile.cpp - implemented State as an actual native struct, so that its fields can be accessed from scripts. 2016-11-21 21:34:34 +01:00
zcc_compile.h - allow functions in structs. This is needed for several internal data types like players, sectors, lines, etc. 2016-11-19 12:12:29 +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 - fixed: ZScript did not properly fill in tentatively created classes from defaults processing. 2016-11-12 13:09:19 +01:00
zcc_parser.h - added two new integral types SpriteID and TextureID, both are needed to allow proper serialization as they require something different to be written out than a regular integer. 2016-11-21 13:45:33 +01:00