Latest Raze Changes
Latest 50 commits
Unofficial development builds at DRD Team
24-Mar-2023 (Friday) at 09:12:52 EDT by Mitchell Richters
Exhumed: Merge all player counter code into one function.
Probably a bit too much to break these down as much as I did.
24-Mar-2023 (Friday) at 09:07:09 EDT by Mitchell Richters
- Exhumed: Pass tint values through to lambdas as args as well.
24-Mar-2023 (Friday) at 09:01:55 EDT by Mitchell Richters
- Exhumed: Pass item, amount and sound through to lambdas as args.
24-Mar-2023 (Friday) at 08:55:03 EDT by Mitchell Richters
- Exhumed: Remove call to
doConsoleMessage()
from default lambda so what's going on is clearer.
24-Mar-2023 (Friday) at 08:45:30 EDT by Mitchell Richters
- Exhumed: And same for health pickup process.
24-Mar-2023 (Friday) at 08:43:50 EDT by Mitchell Richters
- Exhumed: Same for weapon pickup process.
24-Mar-2023 (Friday) at 08:41:57 EDT by Mitchell Richters
- Exhumed: Same for main pickup process.
24-Mar-2023 (Friday) at 08:41:05 EDT by Mitchell Richters
- Exhumed: Swap out flag setup in
doPlayerItemPickups()
for lambdas, starting with console messages.
24-Mar-2023 (Friday) at 09:08:53 EDT by Mitchell Richters
- Exhumed: Final switch case statement cleanups in
doPlayerItemPickups()
.
24-Mar-2023 (Friday) at 07:51:08 EDT by Mitchell Richters
- Exhumed: Clean up weapon pickups in
doPlayerItemPickups()
.
24-Mar-2023 (Friday) at 07:39:50 EDT by Mitchell Richters
- Exhumed: Clean up some more switch case statements in
doPlayerItemPickups()
.
24-Mar-2023 (Friday) at 07:36:46 EDT by Mitchell Richters
- Exhumed: Clean up health pickups in
doPlayerItemPickups()
.
24-Mar-2023 (Friday) at 08:04:50 EDT by Mitchell Richters
- Exhumed: Clean up first few switch case statements in
doPlayerItemPickups()
.
24-Mar-2023 (Friday) at 08:17:45 EDT by Mitchell Richters
- Exhumed: Remove gotos in
doPlayerItemPickups()
and use flag system like PowerslaveGDX.
24-Mar-2023 (Friday) at 06:33:25 EDT by Mitchell Richters
- Exhumed: Default init
nSound
to -1 as the code tests > -1 for validity.
24-Mar-2023 (Friday) at 06:42:40 EDT by Mitchell Richters
- Exhumed: Tidy up stack variables in
doPlayerItemPickups()
.
24-Mar-2023 (Friday) at 05:39:09 EDT by Mitchell Richters
- Exhumed: Final cleanup of
AIPlayer::Tick()
.
24-Mar-2023 (Friday) at 05:12:27 EDT by Mitchell Richters
Exhumed: Split out player dopple actor update code.
This cleans most of the player tick code. Now, onto that ghastly pickup code...
24-Mar-2023 (Friday) at 05:11:27 EDT by Mitchell Richters
- Exhumed: Split out player action sequence code.
24-Mar-2023 (Friday) at 06:13:40 EDT by Mitchell Richters
- Exhumed: Split out player view sector code.
24-Mar-2023 (Friday) at 04:24:13 EDT by Mitchell Richters
- Exhumed: Split out floor damage code.
24-Mar-2023 (Friday) at 04:16:56 EDT by Mitchell Richters
- Exhumed: Split out moving blocks code again.
24-Mar-2023 (Friday) at 05:11:01 EDT by Mitchell Richters
- Exhumed: Split out player movement code.
24-Mar-2023 (Friday) at 04:01:35 EDT by Mitchell Richters
- Exhumed: Split out player floor actor code.
24-Mar-2023 (Friday) at 04:01:10 EDT by Mitchell Richters
- Exhumed: Split out player breath/air/oxygen code.
24-Mar-2023 (Friday) at 03:28:53 EDT by Mitchell Richters
- Exhumed: Split out player mask code.
24-Mar-2023 (Friday) at 05:31:07 EDT by Mitchell Richters
- Exhumed: Clean up some underwater checks.
24-Mar-2023 (Friday) at 05:26:18 EDT by Mitchell Richters
- Exhumed: Tidy up vect variables on the stack.
24-Mar-2023 (Friday) at 03:09:02 EDT by Mitchell Richters
- Exhumed: Tidy up some pos/sect variables on the stack.
24-Mar-2023 (Friday) at 02:51:33 EDT by Mitchell Richters
- Exhumed: Tidy up
zVal
on player ticker stack.
24-Mar-2023 (Friday) at 04:52:36 EDT by Mitchell Richters
- Exhumed: Split out player ramses code.
24-Mar-2023 (Friday) at 02:15:42 EDT by Mitchell Richters
Exhumed: Move moving block check code back into player ticker for now.
Reverts 52b2d1cd7d03edc09904c40d08c844b2d43e2788
Upon closer inspection, the original code here used
zz
on the player stack, which was re-obtained again using the actor's Z vel, however the actor's Z vel gets modified along the way which could break how this code is meant to work.Should be split again but requires holistic thought.
24-Mar-2023 (Friday) at 02:12:19 EDT by Mitchell Richters
- Exhumed: Get rid of
GetAngleToSprite()
in favour of backend utility.
24-Mar-2023 (Friday) at 02:09:40 EDT by Mitchell Richters
- Exhumed: Get rid of
GetWallNormal()
in favour of backend utility.
24-Mar-2023 (Friday) at 02:07:15 EDT by Mitchell Richters
- Make
walltype::normalAngle()
normalise the returned value.
24-Mar-2023 (Friday) at 02:06:06 EDT by Mitchell Richters
Exhumed: Fix moving block sound setup to match PowerslaveGDX.
Setup we had looked wrong by comparison, and it eliminates the last goto in the player tick code!
24-Mar-2023 (Friday) at 02:02:58 EDT by Mitchell Richters
- Exhumed: Reduce branch depth in
CheckMovingBlocks()
to make next change more visible.
24-Mar-2023 (Friday) at 01:59:22 EDT by Mitchell Richters
- Exhumed: Make
CheckMovingBlocks()
work on player pointer.
24-Mar-2023 (Friday) at 01:32:58 EDT by Mitchell Richters
- Exhumed: Split out player death pitch code.
24-Mar-2023 (Friday) at 01:15:14 EDT by Mitchell Richters
Exhumed: Split out player yaw code.
Consider where this is executed. Should it come after the Ramses check, or be performed along-side player's pitch?
24-Mar-2023 (Friday) at 00:53:37 EDT by Mitchell Richters
- Exhumed: Split out player pitch code.
24-Mar-2023 (Friday) at 04:50:11 EDT by Mitchell Richters
Exhumed: Remove goto out of
updatePlayerAction()
.Doesn't really make sense and PowerslaveGDX doesn't do any jumping like this here.
24-Mar-2023 (Friday) at 04:49:38 EDT by Mitchell Richters
- Exhumed: Initial cleanup of
updatePlayerAction()
.
24-Mar-2023 (Friday) at 04:38:10 EDT by Mitchell Richters
- Remove some pointless weapon functions.
24-Mar-2023 (Friday) at 04:36:43 EDT by Mitchell Richters
- Exhumed: Split out player actions code.
24-Mar-2023 (Friday) at 00:14:07 EDT by Mitchell Richters
- Exhumed: Just use
pPlayer->nAction
in player code, don't store on the stack.
23-Mar-2023 (Thursday) at 22:00:35 EDT by Mitchell Richters
Exhumed: Clean out some stale goto calls that were commented out.
Only two remaining gotos to handle now.
23-Mar-2023 (Thursday) at 21:56:57 EDT by Mitchell Richters
- Exhumed: Bring player
neartag()
call to branch where it's needed.
23-Mar-2023 (Thursday) at 21:01:36 EDT by Mitchell Richters
Exhumed: Remove
ClearSpaceBar()
and just directly clear the input bit.Also fix issue where
SB_OPEN
bit never seemed to be cleared properly.Also just directly test/use the player's input actions to minimise stack variables during this cleanup process.
23-Mar-2023 (Thursday) at 20:59:34 EDT by Mitchell Richters
- Exhumed: Pass player pointer through to
updatePlayerTarget()
.