raze/source/games/blood/src
Christoph Oelckers d2f0934726 - Blood: cleaned up GetClosestSpriteSectors
using BFSSearch now and avoiding pointless loop to avoid setting the checked bit.
The entire outcome was just as if the bit was never checked inside the loop, so do just that when not running in compatibility mode.
This simplifies the remaining code quite a lot because it now just needs to run over all walls with no special case considered.
2021-11-29 00:55:44 +01:00
..
_polymost.cpp ‚char‘ review in Blood - part 1 2021-11-29 00:55:42 +01:00
actor.cpp - Blood: cleaned up GetClosestSpriteSectors 2021-11-29 00:55:44 +01:00
actor.h ‚char‘ review in Blood - part 1 2021-11-29 00:55:42 +01:00
ai.cpp - Blood: reworked GetClosestSpriteSectors to use dynamic arrays, deleted unused GetClosestSectors. 2021-11-29 00:55:43 +01:00
ai.h ‚char‘ review in Blood - part 1 2021-11-29 00:55:42 +01:00
aibat.cpp - addressed most unused/uninitialized variable warnings from MSVC. 2021-11-29 00:55:30 +01:00
aibeast.cpp - Blood: reworked GetClosestSpriteSectors to use dynamic arrays, deleted unused GetClosestSectors. 2021-11-29 00:55:43 +01:00
aiboneel.cpp - addressed most unused/uninitialized variable warnings from MSVC. 2021-11-29 00:55:30 +01:00
aiburn.cpp - addressed most unused/uninitialized variable warnings from MSVC. 2021-11-29 00:55:30 +01:00
aicaleb.cpp - addressed most unused/uninitialized variable warnings from MSVC. 2021-11-29 00:55:30 +01:00
aicerber.cpp - addressed most unused/uninitialized variable warnings from MSVC. 2021-11-29 00:55:30 +01:00
aicult.cpp ‚char‘ review in Blood - part 1 2021-11-29 00:55:42 +01:00
aigarg.cpp - addressed most unused/uninitialized variable warnings from MSVC. 2021-11-29 00:55:30 +01:00
aighost.cpp - addressed most unused/uninitialized variable warnings from MSVC. 2021-11-29 00:55:30 +01:00
aigilbst.cpp - addressed most unused/uninitialized variable warnings from MSVC. 2021-11-29 00:55:30 +01:00
aihand.cpp - addressed most unused/uninitialized variable warnings from MSVC. 2021-11-29 00:55:30 +01:00
aihound.cpp - addressed most unused/uninitialized variable warnings from MSVC. 2021-11-29 00:55:30 +01:00
aiinnoc.cpp - reformatted the actor and ai sources. 2021-10-10 11:47:18 +02:00
aipod.cpp - addressed most unused/uninitialized variable warnings from MSVC. 2021-11-29 00:55:30 +01:00
airat.cpp - addressed most unused/uninitialized variable warnings from MSVC. 2021-11-29 00:55:30 +01:00
aispid.cpp ‚char‘ review in Blood - part 1 2021-11-29 00:55:42 +01:00
aistate.h Renamed untitled spider functions 2021-08-21 19:52:24 +10:00
aitchern.cpp - addressed most unused/uninitialized variable warnings from MSVC. 2021-11-29 00:55:30 +01:00
aiunicult.cpp - Blood: use wider integer types for a few more things 2021-11-29 00:55:41 +01:00
aiunicult.h - Blood: use wider integer types for a few more things 2021-11-29 00:55:41 +01:00
aizomba.cpp - addressed most unused/uninitialized variable warnings from MSVC. 2021-11-29 00:55:30 +01:00
aizombf.cpp - addressed most unused/uninitialized variable warnings from MSVC. 2021-11-29 00:55:30 +01:00
animatesprite.cpp ‚char‘ review in Blood - part 1 2021-11-29 00:55:42 +01:00
asound.cpp - use GetIndex for error messages and deleted several unused index variables. 2021-11-29 00:54:59 +01:00
barf.cpp ‚char‘ review in Blood - part 2 2021-11-29 00:55:42 +01:00
blood.cpp - Blood: extend all 16 bit fields holding sector or wall indices to 32 bit. 2021-11-29 00:55:41 +01:00
blood.h - Remove a lot of reference values on primitive data types from Blood's QAV interpolation system. Also use move assignments on the ignoredata TMap when we're adding it to the game-side after processing it. 2021-11-29 00:55:31 +01:00
bloodactor.h - mark all places using a sprite index that needs addressing with a GetSpriteIndex function. 2021-11-29 00:55:00 +01:00
callback.cpp - addressed most unused/uninitialized variable warnings from MSVC. 2021-11-29 00:55:30 +01:00
callback.h - some ?vel replacements. 2021-11-06 18:16:18 +01:00
choke.cpp - deal with QAV::nIndex. 2021-11-29 00:53:56 +01:00
choke.h - project cleanup 2021-01-10 20:31:32 +01:00
common_game.h ‚char‘ review in Blood - part 2 2021-11-29 00:55:42 +01:00
controls.cpp - Move InputScale() out of inputstate.cpp and into i_time.cpp as I_GetInputFrac() to make it available to GZDoom for potential future requirements. 2021-11-29 00:55:01 +01:00
d_menu.cpp - deal with QAV::nIndex. 2021-11-29 00:53:56 +01:00
db.cpp ‚char‘ review in Blood - part 2 2021-11-29 00:55:42 +01:00
db.h ‚char‘ review in Blood - part 2 2021-11-29 00:55:42 +01:00
dude.cpp - Fixed getPlayeById() function in multiplayer. 2021-06-02 20:51:47 +02:00
dude.h ‚char‘ review in Blood - part 2 2021-11-29 00:55:42 +01:00
endgame.cpp - useObjResizer 2021-11-29 00:53:34 +01:00
endgame.h - removed a few redundant one-liner functions. 2021-09-17 20:49:25 +02:00
eventq.cpp - Blood: extend all 16 bit fields holding sector or wall indices to 32 bit. 2021-11-29 00:55:41 +01:00
eventq.h - migrated EVENT to use its actor pointer. 2021-10-14 21:59:49 +02:00
fire.cpp ‚char‘ review in Blood - part 2 2021-11-29 00:55:42 +01:00
fx.cpp - reduction of 'short' noise in Blood. 2021-11-29 00:55:41 +01:00
fx.h - use actors in the CFX interface. 2021-10-14 19:41:01 +02:00
gameutil.cpp - Blood: cleaned up GetClosestSpriteSectors 2021-11-29 00:55:44 +01:00
gameutil.h - Blood: cleaned up GetClosestSpriteSectors 2021-11-29 00:55:44 +01:00
gib.cpp - moved velocity data into DBloodActor. 2021-11-29 00:53:52 +01:00
gib.h - gib stuff. 2021-11-29 00:53:51 +01:00
globals.cpp - Blood: Expose legacy 1.0 weapon handling game option as a CVAR. 2021-08-03 00:47:05 +10:00
globals.h - Blood: Expose legacy 1.0 weapon handling game option as a CVAR. 2021-08-03 00:47:05 +10:00
hudsprites.cpp - reduction of 'short' noise in Blood. 2021-11-29 00:55:41 +01:00
inifile.cpp - zero-terminate the buffer for reading Blood's INI files. 2021-06-26 12:04:21 +02:00
inifile.h - project cleanup 2021-01-10 20:31:32 +01:00
levels.cpp - properly macro-fy parsed strings from Blood's INI. 2021-10-19 21:49:03 +02:00
levels.h ‚char‘ review in Blood - part 2 2021-11-29 00:55:42 +01:00
loadsave.cpp ‚char‘ review in Blood - part 1 2021-11-29 00:55:42 +01:00
messages.cpp - fixed most warnings GCC pointed out in game code. 2021-11-29 00:55:29 +01:00
messages.h - project cleanup 2021-01-10 20:31:32 +01:00
mirrors.cpp - removed all access to sprite[] from mirrors.cpp. 2021-11-29 00:53:54 +01:00
misc.cpp - project cleanup 2021-01-10 20:31:32 +01:00
misc.h ‚char‘ review in Blood - part 2 2021-11-29 00:55:42 +01:00
namelist.h - Blood: handle title screens so that mods changing the original one still display it. 2021-05-19 00:07:50 +02:00
nnexts.cpp - Blood: use wider integer types for a few more things 2021-11-29 00:55:41 +01:00
nnexts.h - Blood: use wider integer types for a few more things 2021-11-29 00:55:41 +01:00
osdcmd.cpp - merged the few remaining contents of mmulti.h into d_net.h 2021-05-03 19:01:00 +02:00
player.cpp ‚char‘ review in Blood - part 2 2021-11-29 00:55:42 +01:00
player.h ‚char‘ review in Blood - part 2 2021-11-29 00:55:42 +01:00
prediction.cpp ‚char‘ review in Blood - part 2 2021-11-29 00:55:42 +01:00
preload.cpp - minor sprite[] stuff. 2021-11-29 00:53:55 +01:00
qav.cpp - Remove a lot of reference values on primitive data types from Blood's QAV interpolation system. Also use move assignments on the ignoredata TMap when we're adding it to the game-side after processing it. 2021-11-29 00:55:31 +01:00
qav.h ‚char‘ review in Blood - part 2 2021-11-29 00:55:42 +01:00
replace.cpp - Blood: remove unneeded replacement functions. 2021-11-29 00:55:42 +01:00
sbar.cpp - Blood: fixed scriptified MP statusbar code to the point where it compiles. 2021-05-15 10:25:37 +02:00
sectorfx.cpp ‚char‘ review in Blood - part 2 2021-11-29 00:55:42 +01:00
sectorfx.h - project cleanup 2021-01-10 20:31:32 +01:00
seq.cpp - handle all of gUpper/gLowerLink. 2021-11-29 00:54:58 +01:00
seq.h - reduction of 'short' noise in Blood. 2021-11-29 00:55:41 +01:00
seqcb.h - actCheckExplosion, removed array access from SEQ callbacks in actor.cpp and renamed the two which still had assembly names. 2021-09-17 20:49:25 +02:00
sfx.cpp - moved velocity data into DBloodActor. 2021-11-29 00:53:52 +01:00
sound.cpp - Replace MIN() from templates.h with version provided in STL. 2021-10-30 10:36:15 +02:00
sound.h - MoveMissile + actExplodeSprite. 2021-08-23 19:15:08 +02:00
tile.cpp ‚char‘ review in Blood - part 2 2021-11-29 00:55:42 +01:00
trig.cpp - Blood: Remove costable[]. 2021-10-30 10:24:16 +02:00
triggers.cpp ‚char‘ review in Blood - part 2 2021-11-29 00:55:42 +01:00
triggers.h - the rest of triggers.cpp. 2021-11-29 00:54:57 +01:00
view.cpp ‚char‘ review in Blood - part 2 2021-11-29 00:55:42 +01:00
view.h - reduction of 'short' noise in Blood. 2021-11-29 00:55:41 +01:00
warp.cpp - moved gInterpolateSprite into DBloodActor 2021-11-29 00:55:00 +01:00
weapon.cpp - Blood: reworked GetClosestSpriteSectors to use dynamic arrays, deleted unused GetClosestSectors. 2021-11-29 00:55:43 +01:00