Mitchell Richters
|
abdeeac205
|
- Rework PlayerAngles::doViewPitch() to apply at ticrate like PlayerAngles::doViewYaw() .
|
2022-12-11 18:41:59 +01:00 |
|
Mitchell Richters
|
f9aeee5b4a
|
- Split out view angle stuff out of PlayerAngles::applyYaw() into PlayerAngles::doViewYaw() .
* Do all the view angle stuff as interpolated changes in the playsim as well, there's no need for these to be done at ticrate.
|
2022-12-11 18:41:59 +01:00 |
|
Mitchell Richters
|
d7d76d5fc4
|
- Move all PlayerAngles view angle properties into new DRotator objects.
|
2022-12-11 18:41:58 +01:00 |
|
Mitchell Richters
|
bef4536c1f
|
- Remove old PlayerAngles backup/restore methods.
|
2022-12-11 18:41:58 +01:00 |
|
Mitchell Richters
|
630c10856e
|
- Re-write PlayerAngles scaled adjustment methods.
|
2022-12-11 18:41:58 +01:00 |
|
Mitchell Richters
|
aa868232c8
|
- Clean up all previously annotated angle/yaw checks.
|
2022-12-11 18:41:58 +01:00 |
|
Mitchell Richters
|
a84e09048e
|
- Change wrapper internals for current yaw to the actor's sprite DRotator and make sure all the games load a level.
|
2022-12-11 18:41:57 +01:00 |
|
Mitchell Richters
|
7f5b97a0b7
|
- Change wrapper internals for current pitch to the actor's sprite DRotator and make sure all the games load a level.
|
2022-12-11 18:41:57 +01:00 |
|
Mitchell Richters
|
850c988dfa
|
- Wrap access to previous yaw.
|
2022-12-11 18:41:57 +01:00 |
|
Mitchell Richters
|
be466fec8d
|
- Wrap access to current yaw.
|
2022-12-11 18:41:57 +01:00 |
|
Mitchell Richters
|
fd05d320ff
|
- Wrap access to previous pitch.
|
2022-12-11 18:41:56 +01:00 |
|
Mitchell Richters
|
15f1d89855
|
- Wrap access to current pitch.
|
2022-12-11 18:41:56 +01:00 |
|
Mitchell Richters
|
b9f5bb71cc
|
- Merge PlayerHorizon and PlayerAngle structs into PlayerAngles struct.
|
2022-12-11 18:41:56 +01:00 |
|
Mitchell Richters
|
d75ac9e445
|
- Rename PlayerAngle prototypes in preparation for replacement work.
|
2022-12-11 18:41:56 +01:00 |
|
Mitchell Richters
|
353c2a20fd
|
- Rename remaining PlayerAngle methods.
|
2022-12-11 18:41:55 +01:00 |
|
Mitchell Richters
|
50cf22ec53
|
- Rename PlayerAngle::oang in preparation for replacement work.
|
2022-12-11 18:41:55 +01:00 |
|
Mitchell Richters
|
bd063de5f5
|
- Rename PlayerAngle::ang in preparation for replacement work.
|
2022-12-11 18:41:54 +01:00 |
|
Mitchell Richters
|
d810afa2e9
|
- Rename PlayerHorizon prototypes in preparation for replacement work.
|
2022-12-11 18:41:54 +01:00 |
|
Mitchell Richters
|
9ab8db04db
|
- Rename remaining PlayerHorizon methods.
|
2022-12-11 18:41:54 +01:00 |
|
Mitchell Richters
|
216fad7e18
|
- Rename PlayerHorizon::horizoff in preparation for replacement work.
|
2022-12-11 18:41:53 +01:00 |
|
Mitchell Richters
|
0c53990c87
|
- Rename PlayerHorizon::ohoriz in preparation for replacement work.
|
2022-12-11 18:41:53 +01:00 |
|
Mitchell Richters
|
401a829d54
|
- Rename PlayerHorizon::horiz in preparation for replacement work.
|
2022-12-11 18:41:53 +01:00 |
|
Mitchell Richters
|
f027d07ae5
|
- Annotate all player angles that are being set as the sprite angles to review later.
* Once the angles between player and sprite have been unified, these will be much harder to identify.
|
2022-12-11 18:41:53 +01:00 |
|
Mitchell Richters
|
110cc5149d
|
- Annotate all sprite angles that are being set as the player angle to review later.
* Once the angles between player and sprite have been unified, these will be much harder to identify.
|
2022-12-11 18:41:53 +01:00 |
|
Mitchell Richters
|
2e0b9490e1
|
- Change spritetypebase::angle to a DRotator named Angles .
* Major pre-requisite for the next steps I'm undertaking, let's get it into the branch now.
|
2022-12-11 18:41:52 +01:00 |
|
Mitchell Richters
|
e3f6b5ff85
|
- SW: Clean up a useless test function.
|
2022-12-11 18:41:50 +01:00 |
|
Mitchell Richters
|
c43bde9b4d
|
- SW: Remove all the player oldpos stuff.
* This only had one valid use, for a bad setup in `DoPlayerRun()` where `DoPlayerBob()` was called before `DoPlayerMove()`.
|
2022-12-11 18:41:49 +01:00 |
|
Mitchell Richters
|
703db0e3c3
|
- SW: Remove PLAYER::posGet() .
|
2022-12-11 18:41:49 +01:00 |
|
Mitchell Richters
|
be06582062
|
- SW: Remove PLAYER::posAdd() .
|
2022-12-11 18:41:49 +01:00 |
|
Mitchell Richters
|
7eba7aacbd
|
- SW: Remove last PLAYER::posSet() calls.
|
2022-12-11 18:41:49 +01:00 |
|
Mitchell Richters
|
bf0f0345b3
|
- SW: Remove most PLAYER::posSet() calls.
|
2022-12-11 18:41:49 +01:00 |
|
Mitchell Richters
|
0917434888
|
- SW: Remove PLAYER::posXY() .
|
2022-12-11 18:41:49 +01:00 |
|
Mitchell Richters
|
ff75fa513a
|
- SW: Remove PLAYER::posZadd() .
|
2022-12-11 18:41:48 +01:00 |
|
Mitchell Richters
|
3b961ccae9
|
- SW: Remove PLAYER::posZget() .
- SW: Remove `PLAYER::posZget()`.
|
2022-12-11 18:41:48 +01:00 |
|
Mitchell Richters
|
fe795e6cfb
|
- SW: Remove PLAYER::posZset() in favour of new utilities.
|
2022-12-11 18:41:48 +01:00 |
|
Mitchell Richters
|
f18512e270
|
- SW: Ladder fixes where centering of player was effectively occurring twice.
|
2022-12-11 18:41:48 +01:00 |
|
Mitchell Richters
|
7624f8b77d
|
- SW: Death sequence fixes.
|
2022-12-11 18:41:48 +01:00 |
|
Mitchell Richters
|
88bace9dd7
|
- SW: Slightly increase the range check in DoPlayerDeathHoriz() .
|
2022-12-11 18:41:48 +01:00 |
|
Mitchell Richters
|
61086d7a8b
|
- SW: Don't bob the actual sprite's Z since we apply it as an offset in the draw code.
|
2022-12-11 18:41:48 +01:00 |
|
Mitchell Richters
|
e6044bc0fd
|
- SW: Repair player height issues.
|
2022-12-11 18:41:48 +01:00 |
|
Mitchell Richters
|
6d736aea19
|
- SW: Swap out the internals of the player's pos methods and get the game going again.
* Leave `PLAYER::PlayerOldPosition` for now.
|
2022-12-11 18:41:47 +01:00 |
|
Mitchell Richters
|
97a07cd83c
|
- SW: Wrap remaining calls to PLAYER::PlayerOldPosition .
|
2022-12-11 18:41:47 +01:00 |
|
Mitchell Richters
|
9ab5fd0801
|
- SW: Wrap calls to PLAYER::PlayerOldPosition.XY() .
|
2022-12-11 18:41:47 +01:00 |
|
Mitchell Richters
|
ad7a626b92
|
- SW: Wrap calls that set PLAYER::PlayerPrevPosition .
|
2022-12-11 18:41:47 +01:00 |
|
Mitchell Richters
|
2d351b2c28
|
- SW: Wrap calls that set PLAYER::PlayerPrevPosition.Z .
|
2022-12-11 18:41:47 +01:00 |
|
Mitchell Richters
|
bf833fcfa3
|
- SW: Wrap calls to PLAYER::PlayerPrevPosition.XY() .
|
2022-12-11 18:41:47 +01:00 |
|
Mitchell Richters
|
82e0e25b7e
|
- SW: Manual fixes to last commit I wanted to keep separate.
|
2022-12-11 18:41:46 +01:00 |
|
Mitchell Richters
|
a54d0f7639
|
- SW: Wrap calls that get PLAYER::PlayerNowPosition .
|
2022-12-11 18:41:46 +01:00 |
|
Mitchell Richters
|
964557ab6b
|
- SW: Wrap calls that add to PLAYER::PlayerNowPosition .
|
2022-12-11 18:41:46 +01:00 |
|
Mitchell Richters
|
11f9d82239
|
- SW: Wrap calls that set PLAYER::PlayerNowPosition .
|
2022-12-11 18:41:46 +01:00 |
|