gzdoom-gles/src/scripting/decorate
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
..
olddecorations.cpp - moved all remaining fields from PClassActor to FActorInfo. 2017-04-12 00:07:41 +02:00
thingdef_exp.cpp Fixed crash when parsing DECORATE constant expressions 2017-04-13 12:06:59 +03:00
thingdef_parse.cpp - block direct use of 'new' for DObjects. 2017-04-14 13:31:58 +02:00
thingdef_states.cpp - separated class descriptors from VM types. 2017-04-12 22:46:49 +02:00