gzdoom/src/g_shared
Edoardo Prezioso b51fac344d Little TakeInventory refactoring.
Introduce AActor::TakeInventory, which unifies DoTakeInv from ACS and DoTakeInventory from Decorate, and AInventory::DepleteOrDestroy, which is extracted from the DoTakeInv core function, and use both where they're needed.
I don't know if the differences between DoTakeInv and DoTakeInventory were intentional, so I kept both behaviors.
2015-04-28 15:45:11 +02:00
..
a_action.cpp - Fixed: Corpse queue accounting went awry once things started being kicked out of it. 2012-11-03 02:21:55 +00:00
a_action.h - Macro-fied all access to action functions. 2008-08-10 22:48:37 +00:00
a_armor.cpp - Work around an i386 specific optimizer bug in Apple's GCC 4.2 (GCC 4.0 has worse bugs). 2014-11-24 22:22:29 -05:00
a_artifacts.cpp - fixed: APowerRegeneration::DoEffect did not call the super method. 2015-04-16 08:29:21 +02:00
a_artifacts.h - added a Buddha powerup 2014-10-25 09:53:23 +02:00
a_bridge.cpp - fixed: Bridge needs to call Super::Destroy. 2013-09-15 23:11:55 +02:00
a_camera.cpp - removed more r_ header dependencies from the rest of the code. 2011-07-06 15:31:05 +00:00
a_debris.cpp - Enough with this "momentum" garbage. What Doom calls "momentum" is really 2009-06-30 20:57:51 +00:00
a_decals.cpp - Added SpawnDecal ACS function: 2013-06-05 02:15:21 +00:00
a_fastprojectile.cpp - added Gez's patch for proper splash checks with 3D-floors. 2011-09-21 19:39:12 +00:00
a_flashfader.cpp - took all includes of farchive.h out of headers. This file will have to be included explicitly in each source file that needs it. 2011-07-06 14:20:54 +00:00
a_fountain.cpp - Cleaned up some include dependencies. 2008-09-14 23:54:38 +00:00
a_hatetarget.cpp - fixed: P_SpawnMapThing always reduced the angular precision to 45 degrees. 2010-03-26 16:57:00 +00:00
a_keys.cpp - allow locks to check for a key's species so that newly defined keys can open previously defined locks without the need to redefine them. 2014-05-29 17:30:01 +02:00
a_keys.h IMPORTANT NOTE: I uncommented some code depending on the missing x86.cpp file to allow this to compile, These changes must be reverted as soon as this file is added (see v_palette.cpp and win32/i_system.cpp.) 2008-08-09 11:35:42 +00:00
a_lightning.cpp - Restored savegame compatibility that was removed in r3427. 2012-03-13 02:43:24 +00:00
a_lightning.h Fixed: Light levels outside the range [0,255] really do matter. 2011-06-11 23:58:33 +00:00
a_mapmarker.cpp - Replaced the ActorInfo definitions of several internal classes with DECORATE definitions 2008-08-08 22:52:04 +00:00
a_morph.cpp Little TakeInventory refactoring. 2015-04-28 15:45:11 +02:00
a_morph.h - Added full sound definitions for Heretic's ChickenPlayer and Hexen's 2009-12-28 22:41:14 +00:00
a_movingcamera.cpp Camera paths would hold indeterminate of the level 2015-02-05 22:44:51 +13:00
a_pickups.cpp Little TakeInventory refactoring. 2015-04-28 15:45:11 +02:00
a_pickups.h Little TakeInventory refactoring. 2015-04-28 15:45:11 +02:00
a_puzzleitems.cpp - took all includes of farchive.h out of headers. This file will have to be included explicitly in each source file that needs it. 2011-07-06 14:20:54 +00:00
a_quake.cpp Use sub-tic accuracy for smooth sine quakes 2015-03-02 19:23:24 -06:00
a_randomspawner.cpp - fixed: The secret counter was not incremented for items that had the UDMF COUNTSECRET flag set. 2013-08-28 11:14:48 +02:00
a_secrettrigger.cpp - moved secret found message to string table and removed the CVAR crutch that dates from a time when modifying string table content wasn't as easy as it is now. 2014-05-29 17:50:14 +02:00
a_sectoraction.cpp - added option to ASectorAction to remove itself upon triggering by setting the STANDSTILL flag on the map thing. 2014-05-13 21:26:51 +02:00
a_setcolor.cpp - Replaced the ActorInfo definitions of several internal classes with DECORATE definitions 2008-08-08 22:52:04 +00:00
a_sharedglobal.h Use sub-tic accuracy for smooth sine quakes 2015-03-02 19:23:24 -06:00
a_skies.cpp - replaced P_FindSectorFromTag with an FSectorTagIterator class. 2015-04-14 22:39:57 +02:00
a_soundenvironment.cpp - Replaced the ActorInfo definitions of several internal classes with DECORATE definitions 2008-08-08 22:52:04 +00:00
a_soundsequence.cpp - Precache sounds played by ASoundSequence actors. (This includes Heretic's ambient sounds.) 2012-08-23 00:15:41 +00:00
a_spark.cpp - fixed: P_SpawnMapThing always reduced the angular precision to 45 degrees. 2010-03-26 16:57:00 +00:00
a_specialspot.cpp - took all includes of farchive.h out of headers. This file will have to be included explicitly in each source file that needs it. 2011-07-06 14:20:54 +00:00
a_specialspot.h - Added DavidPH's A_Teleport submission but removed the now redundant GetSpotWithMinDistance functions. 2010-07-23 21:55:01 +00:00
a_waterzone.cpp - Replaced the ActorInfo definitions of several internal classes with DECORATE definitions 2008-08-08 22:52:04 +00:00
a_weaponpiece.cpp - Added the item flag IF_RESTRICTABSOLUTELY. When this is set, players of the wrong class cannot 2012-07-08 02:45:46 +00:00
a_weaponpiece.h - added Gez's submission for inventory restrictions but changed the added checks to be in the main CallTryPickup function. 2011-09-23 08:23:51 +00:00
a_weapons.cpp Weap scroll could sometimes miss sameslot weapons 2014-06-01 18:13:47 +12:00
hudmessages.cpp - Moved all BorderNeedRefresh and SB_state updating code into separate functions that won't crash if screen is NULL. 2013-02-27 03:10:25 +00:00
sbar.h - Applied Tesseract's patch for drawimage extensions. (Extended icon support and maximum width/height.) 2013-09-21 12:46:19 -04:00
sbar_mugshot.cpp - Added: BUDDHA and FOILBUDDHA. 2014-10-25 09:39:00 +02:00
sbarinfo.cpp - Fixed: Regression with centered coordinates. 2015-01-26 15:00:36 -05:00
sbarinfo.h - Fixed: hud_scale is supposed use strictly integral scaling factors. 2012-07-21 02:32:04 +00:00
sbarinfo_commands.cpp Make SBARINFO's HasWeaponPiece recognize removed pieces 2015-02-24 20:01:39 -06:00
shared_hud.cpp Fix old warning on VC 2005 2015-03-12 13:41:38 -05:00
shared_sbar.cpp - More GAMENAME replacements in strings. 2015-04-09 21:16:59 +02:00