gzdoom/src/g_shared
Christoph Oelckers 86544086df - allow the VM to run on one global stack per thread.
It is utterly pointless to require every function that wants to make a VM call to allocate a new stack first. The allocation overhead doubles the time to set up the call.
With one stack, previously allocated memory can be reused. The only important thing is, if this ever gets used in a multithreaded environment to have the stack being declared as thread_local, although for ZDoom this is of no consequence.

- eliminated all cases where native code was calling other native code through the VM interface. After scriptifying the game code, only 5 places were left which were quickly eliminated. This was mostly to ensure that the native VM function parameters do not need to be propagated further than absolutely necessary.
2016-11-30 17:15:01 +01:00
..
a_action.cpp - allow the VM to run on one global stack per thread. 2016-11-30 17:15:01 +01:00
a_bridge.cpp - allow the VM to run on one global stack per thread. 2016-11-30 17:15:01 +01:00
a_decals.cpp - disabled the scripted virtual function module after finding out that it only works if each single class that may serve as a parent for scripting is explicitly declared. 2016-11-25 00:25:26 +01:00
a_fastprojectile.cpp - allow the VM to run on one global stack per thread. 2016-11-30 17:15:01 +01:00
a_flashfader.cpp - disabled the scripted virtual function module after finding out that it only works if each single class that may serve as a parent for scripting is explicitly declared. 2016-11-25 00:25:26 +01:00
a_fountain.cpp - disabled the scripted virtual function module after finding out that it only works if each single class that may serve as a parent for scripting is explicitly declared. 2016-11-25 00:25:26 +01:00
a_lightning.cpp - disabled the scripted virtual function module after finding out that it only works if each single class that may serve as a parent for scripting is explicitly declared. 2016-11-25 00:25:26 +01:00
a_lightning.h - another batch. 2016-09-19 19:58:04 +02:00
a_morph.cpp - cleanup of the virtual function definitions for inventory items. Let's better use 'virtual' and 'override' everywhere to make sure that nothing gets overlooked. 2016-11-30 15:54:01 +01:00
a_morph.h Added TRANSFERTRANSLATION morph flag 2016-07-24 00:56:57 +02:00
a_movingcamera.cpp - disabled the scripted virtual function module after finding out that it only works if each single class that may serve as a parent for scripting is explicitly declared. 2016-11-25 00:25:26 +01:00
a_quake.cpp - disabled the scripted virtual function module after finding out that it only works if each single class that may serve as a parent for scripting is explicitly declared. 2016-11-25 00:25:26 +01:00
a_randomspawner.cpp - scriptified some trivial stuff from g_shared. 2016-11-29 19:50:34 +01:00
a_sectoraction.cpp - disabled the scripted virtual function module after finding out that it only works if each single class that may serve as a parent for scripting is explicitly declared. 2016-11-25 00:25:26 +01:00
a_sharedglobal.h - scriptified some trivial stuff from g_shared. 2016-11-29 19:50:34 +01:00
a_skies.cpp - scriptified the SectorFlagSetter. 2016-11-30 01:49:36 +01:00
a_soundenvironment.cpp - disabled the scripted virtual function module after finding out that it only works if each single class that may serve as a parent for scripting is explicitly declared. 2016-11-25 00:25:26 +01:00
a_soundsequence.cpp - disabled the scripted virtual function module after finding out that it only works if each single class that may serve as a parent for scripting is explicitly declared. 2016-11-25 00:25:26 +01:00
a_specialspot.cpp - disabled the scripted virtual function module after finding out that it only works if each single class that may serve as a parent for scripting is explicitly declared. 2016-11-25 00:25:26 +01:00
a_specialspot.h - disabled the scripted virtual function module after finding out that it only works if each single class that may serve as a parent for scripting is explicitly declared. 2016-11-25 00:25:26 +01:00
hudmessages.cpp - disabled the scripted virtual function module after finding out that it only works if each single class that may serve as a parent for scripting is explicitly declared. 2016-11-25 00:25:26 +01:00
sbar.h - disabled the scripted virtual function module after finding out that it only works if each single class that may serve as a parent for scripting is explicitly declared. 2016-11-25 00:25:26 +01:00
sbar_mugshot.cpp - fixed: The mugshot's angle was inverted. 2016-05-11 14:04:21 +02:00
sbarinfo.cpp - moved ammo to its own file, including the backpack. 2016-11-30 12:24:50 +01:00
sbarinfo.h - floatification of g_shared. 2016-03-24 01:46:11 +01:00
sbarinfo_commands.cpp - scriptified the Sigil. This isn't fully tested yet. 2016-11-28 14:39:25 +01:00
shared_hud.cpp - moved ammo to its own file, including the backpack. 2016-11-30 12:24:50 +01:00
shared_sbar.cpp - disabled the scripted virtual function module after finding out that it only works if each single class that may serve as a parent for scripting is explicitly declared. 2016-11-25 00:25:26 +01:00