gzdoom-gles/src/g_shared
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
..
a_action.cpp - block direct use of 'new' for DObjects. 2017-04-14 13:31:58 +02:00
a_decals.cpp - block direct use of 'new' for DObjects. 2017-04-14 13:31:58 +02:00
a_dynlight.cpp - moved the VM types into their own file and only include it where really needed. 2017-04-13 01:12:04 +02:00
a_dynlight.h Added "DontLightActors" flag for dynamic lights. Actors will not be illuminated by lights that are given this flag. 2017-03-28 21:33:16 +02:00
a_dynlightdata.cpp - use in-class initialization for FLightDefaults to avoid uninitialized variables in the future. 2017-04-13 12:50:43 +02:00
a_flashfader.cpp - split DObject::Destroy into the main method, a native OnDestroy and a scripted OnDestroy method and made the main method non-virtual 2017-01-12 22:49:18 +01:00
a_lightning.cpp - block direct use of 'new' for DObjects. 2017-04-14 13:31:58 +02:00
a_lightning.h - another batch. 2016-09-19 19:58:04 +02:00
a_morph.cpp - moved the VM types into their own file and only include it where really needed. 2017-04-13 01:12:04 +02:00
a_morph.h - moved DisplayName, the last remaining PlayerPawn meta property, to PClassActor so that PClassPlayerPawn could be removed. 2017-02-08 19:42:24 +01:00
a_quake.cpp - block direct use of 'new' for DObjects. 2017-04-14 13:31:58 +02:00
a_sharedglobal.h - replaced another large batch of homegrown type use. 2017-03-08 18:55:53 +01:00
a_specialspot.cpp - block direct use of 'new' for DObjects. 2017-04-14 13:31:58 +02:00
a_specialspot.h - changed TObjPtr to take a pointer as its template argument and not the class it points to. 2017-03-08 13:35:21 +01:00
hudmessages.cpp cleaned up the scaling options. 2017-03-30 02:16:23 +02:00
shared_hud.cpp - moved the VM types into their own file and only include it where really needed. 2017-04-13 01:12:04 +02:00