vkdoom_m/src/g_shared
Christoph Oelckers e7aa10b5c8 - changed thinker initialization to occur in a Construct function instead of the constructor itself.
This was done to ensure that this code only runs when the thinker itself is fully set up.
With a constructor there is no control about such things, if some common initialization needs to be done it has to be in the base constructor, but that makes the entire approach chosen here to ensure proper linking into the thinker chains impossible.
ZDoom originally did it that way, which resulted in a very inflexible system and required some awful hacks to let the serializer work with it - the corresponding bSerialOverride flag is now gone.

The only thinker class still having a constructor is DFraggleThinker, because it contains non-serializable data that needs to be initialized in a piece of code that always runs, regardless of whether the object is created explicitly or from a savegame.
2019-01-27 13:08:54 +01:00
..
a_action.cpp - made the corpse queue a simple array in FLevelLocals. 2019-01-05 10:53:06 +01:00
a_decals.cpp - changed thinker initialization to occur in a Construct function instead of the constructor itself. 2019-01-27 13:08:54 +01:00
a_dynlight.cpp - fixed flicker light selection of light radius. 2019-01-23 22:31:22 +01:00
a_dynlight.h - properly handle passing of the light flags. 2019-01-03 09:24:22 +01:00
a_flashfader.cpp - changed thinker initialization to occur in a Construct function instead of the constructor itself. 2019-01-27 13:08:54 +01:00
a_lightning.cpp - changed thinker initialization to occur in a Construct function instead of the constructor itself. 2019-01-27 13:08:54 +01:00
a_lightning.h - changed thinker initialization to occur in a Construct function instead of the constructor itself. 2019-01-27 13:08:54 +01:00
a_morph.cpp - removed some unused bits of code. 2018-12-29 13:28:22 +01:00
a_morph.h - scriptified the rest of the morph code. 2018-11-24 10:47:42 +01:00
a_quake.cpp - changed thinker initialization to occur in a Construct function instead of the constructor itself. 2019-01-27 13:08:54 +01:00
a_sharedglobal.h - changed thinker initialization to occur in a Construct function instead of the constructor itself. 2019-01-27 13:08:54 +01:00
a_specialspot.cpp - moved the global spot state into FLevelLocals. 2019-01-05 10:04:27 +01:00
a_specialspot.h - moved the global spot state into FLevelLocals. 2019-01-05 10:04:27 +01:00
hudmessages.cpp - use a saner data structure to store the BrokenLines. 2018-10-31 19:13:54 +01:00
shared_hud.cpp - properly hook up the alt HUD with the status bar. 2018-12-02 14:34:10 +01:00