Latest Raze Changes

Latest 50 commits

Unofficial development builds at DRD Team

Older commits

24-Mar-2023 (Friday) at 09:12:52 EDT by Mitchell Richters
Commit 07dda89cfd (HEAD -> master)
Parents: 72af290502

  • 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
Commit 72af290502
Parents: da47369582

  • Exhumed: Pass tint values through to lambdas as args as well.

24-Mar-2023 (Friday) at 09:01:55 EDT by Mitchell Richters
Commit da47369582
Parents: 84223b6b04

  • Exhumed: Pass item, amount and sound through to lambdas as args.

24-Mar-2023 (Friday) at 08:55:03 EDT by Mitchell Richters
Commit 84223b6b04
Parents: 24b21345b1

  • 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
Commit 24b21345b1
Parents: 16c2fa3abe

  • Exhumed: And same for health pickup process.

24-Mar-2023 (Friday) at 08:43:50 EDT by Mitchell Richters
Commit 16c2fa3abe
Parents: 239ee20a6d

  • Exhumed: Same for weapon pickup process.

24-Mar-2023 (Friday) at 08:41:57 EDT by Mitchell Richters
Commit 239ee20a6d
Parents: 77e262ce3c

  • Exhumed: Same for main pickup process.

24-Mar-2023 (Friday) at 08:41:05 EDT by Mitchell Richters
Commit 77e262ce3c
Parents: 40033c3a9d

  • 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
Commit 40033c3a9d
Parents: 83c7dfa7c9

  • Exhumed: Final switch case statement cleanups in doPlayerItemPickups().

24-Mar-2023 (Friday) at 07:51:08 EDT by Mitchell Richters
Commit 83c7dfa7c9
Parents: 935450251a

  • Exhumed: Clean up weapon pickups in doPlayerItemPickups().

24-Mar-2023 (Friday) at 07:39:50 EDT by Mitchell Richters
Commit 935450251a
Parents: b99e2fa600

  • Exhumed: Clean up some more switch case statements in doPlayerItemPickups().

24-Mar-2023 (Friday) at 07:36:46 EDT by Mitchell Richters
Commit b99e2fa600
Parents: 7f4b9d29b0

  • Exhumed: Clean up health pickups in doPlayerItemPickups().

24-Mar-2023 (Friday) at 08:04:50 EDT by Mitchell Richters
Commit 7f4b9d29b0
Parents: 48803b3631

  • Exhumed: Clean up first few switch case statements in doPlayerItemPickups().

24-Mar-2023 (Friday) at 08:17:45 EDT by Mitchell Richters
Commit 48803b3631
Parents: 3f6a0661b6

  • Exhumed: Remove gotos in doPlayerItemPickups() and use flag system like PowerslaveGDX.

24-Mar-2023 (Friday) at 06:33:25 EDT by Mitchell Richters
Commit 3f6a0661b6
Parents: a7c311e291

  • 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
Commit a7c311e291
Parents: 154084322e

  • Exhumed: Tidy up stack variables in doPlayerItemPickups().

24-Mar-2023 (Friday) at 05:39:09 EDT by Mitchell Richters
Commit 154084322e
Parents: 650aa65533

  • Exhumed: Final cleanup of AIPlayer::Tick().

24-Mar-2023 (Friday) at 05:12:27 EDT by Mitchell Richters
Commit 650aa65533
Parents: 0230a51ce2

  • 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
Commit 0230a51ce2
Parents: 77fa3f6ea9

  • Exhumed: Split out player action sequence code.

24-Mar-2023 (Friday) at 06:13:40 EDT by Mitchell Richters
Commit 77fa3f6ea9
Parents: 9c471e0209

  • Exhumed: Split out player view sector code.

24-Mar-2023 (Friday) at 04:24:13 EDT by Mitchell Richters
Commit 9c471e0209
Parents: e1f4b8d8e3

  • Exhumed: Split out floor damage code.

24-Mar-2023 (Friday) at 04:16:56 EDT by Mitchell Richters
Commit e1f4b8d8e3
Parents: 830c0b72cf

  • Exhumed: Split out moving blocks code again.

24-Mar-2023 (Friday) at 05:11:01 EDT by Mitchell Richters
Commit 830c0b72cf
Parents: 911c5158d2

  • Exhumed: Split out player movement code.

24-Mar-2023 (Friday) at 04:01:35 EDT by Mitchell Richters
Commit 911c5158d2
Parents: 5fc0b25ad5

  • Exhumed: Split out player floor actor code.

24-Mar-2023 (Friday) at 04:01:10 EDT by Mitchell Richters
Commit 5fc0b25ad5
Parents: 16561c2a6a

  • Exhumed: Split out player breath/air/oxygen code.

24-Mar-2023 (Friday) at 03:28:53 EDT by Mitchell Richters
Commit 16561c2a6a
Parents: 62c045a14f

  • Exhumed: Split out player mask code.

24-Mar-2023 (Friday) at 05:31:07 EDT by Mitchell Richters
Commit 62c045a14f
Parents: b160d78701

  • Exhumed: Clean up some underwater checks.

24-Mar-2023 (Friday) at 05:26:18 EDT by Mitchell Richters
Commit b160d78701
Parents: 4cdced60b1

  • Exhumed: Tidy up vect variables on the stack.

24-Mar-2023 (Friday) at 03:09:02 EDT by Mitchell Richters
Commit 4cdced60b1
Parents: d976a6da01

  • Exhumed: Tidy up some pos/sect variables on the stack.

24-Mar-2023 (Friday) at 02:51:33 EDT by Mitchell Richters
Commit d976a6da01
Parents: 5463b14b26

  • Exhumed: Tidy up zVal on player ticker stack.

24-Mar-2023 (Friday) at 04:52:36 EDT by Mitchell Richters
Commit 5463b14b26
Parents: 0271a49030

  • Exhumed: Split out player ramses code.

24-Mar-2023 (Friday) at 02:15:42 EDT by Mitchell Richters
Commit 0271a49030
Parents: e2d3c4dceb

  • 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
Commit e2d3c4dceb
Parents: eaa58e6687

  • Exhumed: Get rid of GetAngleToSprite() in favour of backend utility.

24-Mar-2023 (Friday) at 02:09:40 EDT by Mitchell Richters
Commit eaa58e6687
Parents: 9906586569

  • Exhumed: Get rid of GetWallNormal() in favour of backend utility.

24-Mar-2023 (Friday) at 02:07:15 EDT by Mitchell Richters
Commit 9906586569
Parents: 7fe82690a7

  • Make walltype::normalAngle() normalise the returned value.

24-Mar-2023 (Friday) at 02:06:06 EDT by Mitchell Richters
Commit 7fe82690a7
Parents: 62de240c27

  • 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
Commit 62de240c27
Parents: 0e39dbfc95

  • Exhumed: Reduce branch depth in CheckMovingBlocks() to make next change more visible.

24-Mar-2023 (Friday) at 01:59:22 EDT by Mitchell Richters
Commit 0e39dbfc95
Parents: e256ac06e9

  • Exhumed: Make CheckMovingBlocks() work on player pointer.

24-Mar-2023 (Friday) at 01:32:58 EDT by Mitchell Richters
Commit e256ac06e9
Parents: 8812831c73

  • Exhumed: Split out player death pitch code.

24-Mar-2023 (Friday) at 01:15:14 EDT by Mitchell Richters
Commit 8812831c73
Parents: 9b3c726458

  • 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
Commit 9b3c726458
Parents: 806dca975a

  • Exhumed: Split out player pitch code.

24-Mar-2023 (Friday) at 04:50:11 EDT by Mitchell Richters
Commit 806dca975a
Parents: 4c8b7e6804

  • 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
Commit 4c8b7e6804
Parents: 791504b5eb

  • Exhumed: Initial cleanup of updatePlayerAction().

24-Mar-2023 (Friday) at 04:38:10 EDT by Mitchell Richters
Commit 791504b5eb
Parents: 7fe6befef8

  • Remove some pointless weapon functions.

24-Mar-2023 (Friday) at 04:36:43 EDT by Mitchell Richters
Commit 7fe6befef8
Parents: a6cec3d4f1

  • Exhumed: Split out player actions code.

24-Mar-2023 (Friday) at 00:14:07 EDT by Mitchell Richters
Commit a6cec3d4f1
Parents: 0842ea3c14

  • 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
Commit 0842ea3c14
Parents: 611d7bae98

  • 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
Commit 611d7bae98
Parents: ed2c557297

  • Exhumed: Bring player neartag() call to branch where it's needed.

23-Mar-2023 (Thursday) at 21:01:36 EDT by Mitchell Richters
Commit ed2c557297
Parents: 7293a1f5d1

  • 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
Commit 7293a1f5d1
Parents: cdffb61cc7

  • Exhumed: Pass player pointer through to updatePlayerTarget().

Older commits