Mitchell Richters
dd5834444e
- Duke: Swap out the internals of the player's pos methods and get the game going again.
2022-12-11 18:41:41 +01:00
Mitchell Richters
202137ed69
- Duke: Fix interpolation issues with player's XY coordinates while drawing using the sprite.
2022-12-11 18:41:41 +01:00
Mitchell Richters
9972c65842
- Duke: Back up all sprites as soon as possible.
...
* The player's input is processed before the sprites were backed up, causing interpolation issues with the player's Z.
2022-12-11 18:41:41 +01:00
Mitchell Richters
abd6275f17
- Add new double DCoreActor::viewzoffset
set in spawning code during level loads.
...
* Interpolated backup copy isn't needed for Duke, but will be for SW.
2022-12-11 18:41:41 +01:00
Mitchell Richters
b0c95f69c5
- Duke: Wrap calls that get player_struct::PlayerOldPosition
.
2022-12-11 18:41:41 +01:00
Mitchell Richters
1962d85f99
- Duke: Wrap calls that subtract from player_struct::PlayerOldPosition
.
2022-12-11 18:41:40 +01:00
Mitchell Richters
fffc1915a9
- Duke: Wrap calls that add to player_struct::PlayerOldPosition
.
2022-12-11 18:41:40 +01:00
Mitchell Richters
e4dd69f5b0
- Duke: Wrap calls that get player_struct::PlayerOldPosition.Z
.
2022-12-11 18:41:40 +01:00
Mitchell Richters
830480b8b9
- Duke: Wrap calls that set player_struct::PlayerOldPosition.Z
.
2022-12-11 18:41:40 +01:00
Mitchell Richters
4027f7256d
- Duke: Wrap calls to player_struct::PlayerOldPosition.Y
.
2022-12-11 18:41:40 +01:00
Mitchell Richters
823c5a7a47
- Duke: Wrap calls to player_struct::PlayerOldPosition.X
.
2022-12-11 18:41:40 +01:00
Mitchell Richters
fa16d5d344
- Duke: Wrap calls to player_struct::PlayerOldPosition.XY()
.
2022-12-11 18:41:40 +01:00
Mitchell Richters
a3b1ab10fe
- Duke: Wrap calls that get player_struct::PlayerNowPosition
.
2022-12-11 18:41:39 +01:00
Mitchell Richters
e9dcffc5ec
- Duke: Route all clipmove()
/pushmove()
calls through a new interface that accepts a separated Z coordinate.
2022-12-11 18:41:39 +01:00
Mitchell Richters
a6a4cefa6c
- Duke: Wrap calls that add to player_struct::PlayerNowPosition
.
...
* The only adds were from DVector2 objects.
2022-12-11 18:41:39 +01:00
Mitchell Richters
58381c6eca
- Duke: Wrap calls that set player_struct::PlayerNowPosition
.
2022-12-11 18:41:39 +01:00
Mitchell Richters
25e6c4ecf8
- Duke: Wrap calls that get player_struct::PlayerNowPosition.Z
.
2022-12-11 18:41:39 +01:00
Mitchell Richters
adc78c81c6
- Duke: Wrap calls that subtract from player_struct::PlayerNowPosition.Z
.
2022-12-11 18:41:39 +01:00
Mitchell Richters
44166ae9e6
- Duke: Wrap calls that add to player_struct::PlayerNowPosition.Z
.
2022-12-11 18:41:39 +01:00
Mitchell Richters
93189037c3
- Duke: Wrap calls that set player_struct::PlayerNowPosition.Z
.
2022-12-11 18:41:38 +01:00
Mitchell Richters
008c05710b
- Duke: Wrap calls to player_struct::PlayerNowPosition.Y
.
2022-12-11 18:41:38 +01:00
Mitchell Richters
3a07c05af7
- Duke: Wrap calls to player_struct::PlayerNowPosition.X
.
2022-12-11 18:41:38 +01:00
Mitchell Richters
5d3878eb55
- Duke: Wrap calls to player_struct::PlayerNowPosition.XY()
.
2022-12-11 18:41:38 +01:00
Mitchell Richters
4b7d2fcfcc
- Duke: Rename player's opos to something identifiable.
2022-12-11 18:41:38 +01:00
Mitchell Richters
4aa63b5446
- Duke: Rename player's pos to something identifiable.
2022-12-11 18:41:38 +01:00
Mitchell Richters
64e53ffc7e
Revert "- Duke: Invert the horizon offset in displayweapon_d()
as it makes more sense."
...
This reverts commit 2d2f628b95
.
This made sense for things such as cracking knuckles on idle as if you're looking up, the Y should drop down, however the setup of other areas such as `animateknee()` depend on the pitch being inverted like this.
2022-12-11 20:01:41 +11:00
Christoph Oelckers
7d82ae28f4
- Duke/RR: fixed: animates array must be cleared on map change.
...
There was also some undefined behavior when an entry was deleted, this seems to originate from the original code.
2022-12-10 10:20:01 +01:00
Christoph Oelckers
1061e3e2ca
- backend update from GZDoom.
2022-12-04 16:51:44 +01:00
Christoph Oelckers
4666c4a4b5
- RR: initialize the bowling lane displays after loading a savegame.
2022-12-02 15:45:19 +01:00
Christoph Oelckers
a0c7be9138
- try to address some occasional crash with chickens on the bowling lane.
...
Since this frequently swaps out some actors, it may be advisable to delay destruction by one frame to avoid actor chain consistency issues by writing into the just destroyed object.
2022-12-02 12:46:11 +01:00
Mitchell Richters
a580e9d884
- Duke: Increase the precision of the angle in handle_se00()
.
2022-12-01 08:56:12 +01:00
Christoph Oelckers
f30abffa82
- uncommented line in savegame code that was disabled for testing and missed afterward.
2022-12-01 08:48:28 +01:00
Mitchell Richters
2d2f628b95
- Duke: Invert the horizon offset in displayweapon_d()
as it makes more sense.
2022-11-30 10:03:58 +01:00
Mitchell Richters
a5e6e80c24
- Duke: Fix RPG from excess recoiling.
2022-11-30 10:03:58 +01:00
Mitchell Richters
3233a25e3a
- Duke: Move WW2GI pistol aplWeapon*() calls to the stored ones.
2022-11-30 10:03:58 +01:00
Mitchell Richters
73705801e4
- Duke: Move 3x WW2GI aplWeaponTotalTime() calls to the stored one.
2022-11-30 10:03:57 +01:00
Mitchell Richters
7a3e4de913
- Duke: Move WW2GI handbomb aplWeapon*() calls to the stored ones.
2022-11-30 10:03:57 +01:00
Mitchell Richters
c48e95a710
- Duke: Store some repeated aplWeapon*() calls.
2022-11-30 10:03:57 +01:00
Mitchell Richters
59bafd6a37
- Duke: Clean up the addition/subtractions to the offsets vector in displayweapon_d()
.
2022-11-30 10:03:57 +01:00
Mitchell Richters
33af8130b1
- Duke: General tidy-up of displayweapon_d()
.
2022-11-30 10:03:57 +01:00
Mitchell Richters
4298f5011f
- Duke: Clean up interface to animateknee()
.
2022-11-30 10:03:57 +01:00
Mitchell Richters
436ed0288b
- Duke: Clean up interface to animateaccess()
.
2022-11-30 10:03:56 +01:00
Mitchell Richters
21df86d570
- Duke: Clean up interface to animatetip()
.
2022-11-30 10:03:56 +01:00
Mitchell Richters
92a063b078
- Duke: Clean up interface to animateknuckles()
.
2022-11-30 10:03:56 +01:00
Mitchell Richters
715ed3f279
- Duke: Clean up interface to animatefist()
.
2022-11-30 10:03:56 +01:00
Mitchell Richters
81c3afcda0
- Duke: Move displayflamethrower()
lambda to new weapon offsets.
2022-11-30 10:03:56 +01:00
Mitchell Richters
14ecd639dc
- Duke: Move displayshrinker()
lambda to new weapon offsets.
2022-11-30 10:03:56 +01:00
Mitchell Richters
ec3ccc18a5
- Duke: Move displaygrower_ww()
lambda to new weapon offsets.
2022-11-30 10:03:56 +01:00
Mitchell Richters
68291bb595
- Duke: Move displayshrinker_ww()
lambda to new weapon offsets.
2022-11-30 10:03:55 +01:00
Mitchell Richters
4d3f5fe3a0
- Duke: Move displayfreezer()
lambda to new weapon offsets.
2022-11-30 10:03:55 +01:00