gzdoom-gles/src/scripting/zscript
Christoph Oelckers cd180d29c7 - block direct use of 'new' for DObjects.
This is to ensure that the Class pointer can be set right on creation. ZDoom had always depended on handling this lazily which poses some problems for the VM.
So now there is a variadic Create<classtype> function taking care of that, but to ensure that it gets used, direct access to the new operator has been blocked.

This also neccessitated making DArgs a regular object because they get created before the type system is up. Since the few uses of DArgs are easily controllable this wasn't a big issue.

- did a bit of optimization on the bots' decision making whether to pick up a health item or not.
2017-04-14 13:31:58 +02:00
..
ast.cpp - first stage of simplifying the type system. 2017-04-13 12:52:18 +02:00
zcc-parse.lemon - first stage of simplifying the type system. 2017-04-13 12:52:18 +02:00
zcc_compile.cpp - block direct use of 'new' for DObjects. 2017-04-14 13:31:58 +02:00
zcc_compile.h - separated class descriptors from VM types. 2017-04-12 22:46:49 +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 - allow parsing of static constant arrays in class scope. 2017-03-14 20:22:37 +01:00
zcc_parser.h - moved the VM types into their own file and only include it where really needed. 2017-04-13 01:12:04 +02:00