gzdoom-gles/src/scripting/zscript
Christoph Oelckers 32a3f57a54 - more preparations to compile functions:
* Allow PFunction to work without a VMFunction being attached.
 * The Variant for a function must store the prototype itself instead of relying on the VMFunction it points to. Otherwise it would not be possible to reference a prototype during compilation of the function because it does not exist yet.
 * Give the variant a list of the function's argument's names, because these are also needed to compile the function.
 * create an anonymous function symbol when the function gets registered to the builder. At this point we have all the needed information to set it up correctly, but later this is no longer the case. This is the most convenient info to have here because it contains everything that's needed to compile the function in the proper context, so it has to be present when starting compilation.
 * added some preparations to implement special handling for weapons and custom inventory items, which can run action functions in another actor's context. This part is not active yet but the basics are present in SetImplicitArgs.
2016-10-15 14:36:08 +02:00
..
ast.cpp - started with cleanup and separation of DECORATE code. 2016-10-12 19:22:33 +02:00
zcc-parse.lemon - count errors in the parser and abort afterward if there were some. 2016-10-15 12:15:25 +02:00
zcc_compile.cpp - more preparations to compile functions: 2016-10-15 14:36:08 +02:00
zcc_compile.h - more preparations to compile functions: 2016-10-15 14:36:08 +02:00
zcc_expr.cpp - started with cleanup and separation of DECORATE code. 2016-10-12 19:22:33 +02:00
zcc_exprlist.h - started with cleanup and separation of DECORATE code. 2016-10-12 19:22:33 +02:00
zcc_parser.cpp - count errors in the parser and abort afterward if there were some. 2016-10-15 12:15:25 +02:00
zcc_parser.h - removed token 'mode' because it isn't used anywhere and clashed with some actor properties. 2016-10-13 20:45:52 +02:00