qzdoom/src/g_shared
Christoph Oelckers 096c51d546 - changed AInventory::HandlePickup to work iteratively instead of recursively.
Two reasons for this:

1. if this has to be routed through the VM each recursion will cost 1000 bytes of stack space which simply is not good.
2. having the virtual function only care about the item itself but not the entire inventory chain is a lot less error prone for scripting.

Since the scripting interface needs a separate caller function anyway this seemed like a good time to change it. The same will be done for the other chained inventory handlers as well.
2016-11-27 16:24:31 +01:00
..
a_action.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_action.h Normalize line endings 2016-03-01 09:47:10 -06:00
a_armor.cpp - changed AInventory::HandlePickup to work iteratively instead of recursively. 2016-11-27 16:24:31 +01:00
a_artifacts.cpp - changed AInventory::HandlePickup to work iteratively instead of recursively. 2016-11-27 16:24:31 +01:00
a_artifacts.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
a_bridge.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_camera.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_debris.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_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 - 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_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_hatetarget.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_keys.cpp - changed AInventory::HandlePickup to work iteratively instead of recursively. 2016-11-27 16:24:31 +01:00
a_keys.h Normalize line endings 2016-03-01 09:47:10 -06: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_mapmarker.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_morph.cpp - scriptified the Minotaur. 2016-11-26 01:14:47 +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_pickups.cpp - changed AInventory::HandlePickup to work iteratively instead of recursively. 2016-11-27 16:24:31 +01:00
a_pickups.h - changed AInventory::HandlePickup to work iteratively instead of recursively. 2016-11-27 16:24:31 +01:00
a_puzzleitems.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 - 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_secrettrigger.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_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_setcolor.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 - 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_skies.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_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_spark.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
a_waterzone.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_weaponpiece.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_weaponpiece.h - changed AInventory::HandlePickup to work iteratively instead of recursively. 2016-11-27 16:24:31 +01:00
a_weapons.cpp - changed AInventory::HandlePickup to work iteratively instead of recursively. 2016-11-27 16:24:31 +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 - changed AInventory::HandlePickup to work iteratively instead of recursively. 2016-11-27 16:24:31 +01:00
sbarinfo.h - floatification of g_shared. 2016-03-24 01:46:11 +01:00
sbarinfo_commands.cpp - Fixed: SBarInfo didn't support animated images in some places. 2016-11-06 17:07:44 -05:00
shared_hud.cpp - started with cleanup and separation of DECORATE code. 2016-10-12 19:22:33 +02: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