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
59e8821332
- Use the interpolated sine table for tangent instead of Cephis math in TAngle<T>
.
...
* Performed testing and it's ~6.5x faster this way.
2022-12-11 18:41:38 +01:00
Mitchell Richters
17914db418
- SW: Utilise new weapon drawing offsets from the backend.
2022-12-11 18:41:38 +01:00
Mitchell Richters
f524abdf47
- Blood: Utilise new weapon drawing offsets from the backend.
2022-12-11 18:41:37 +01:00
Christoph Oelckers
0741570ba9
- we're past 1.6 now.
2022-12-11 18:31:07 +01:00
Christoph Oelckers
9cd1e9adb1
- updated Vulkan backend to use ZVulkan.
2022-12-11 18:30:01 +01:00
Christoph Oelckers
fbf5cdc18f
- pulled in the ZScript map fixes from GZDoom.
2022-12-11 16:38:20 +01:00
Christoph Oelckers
e412a34f4e
- bump savegame version.
2022-12-11 16:31:00 +01:00
Kevin Caccamo
b1c0614d93
Attempt to fix #647
...
I'm guessing the `nWalls < -1` is a typo, and it should have been `nWalls <= -1` all along. I decided to write `nWalls < 0` instead.
I don't know if I broke anything with this commit, but hopefully everything else still works as intended.
2022-12-11 16:26:25 +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
Mitchell Richters
4bf8ea140c
- Fix IWADBoxCallback()
and MENUDEF setup for GLES backend.
2022-12-11 19:45:07 +11:00
Mitchell Richters
c762505b02
- Use the game's display name for defaultiwad
, not the filename.
...
* Add-ons don't have a FileName entry, but everything has a display name therefore all bases are covered.
* Fixes #616 .
2022-12-11 17:02:36 +11:00
Mitchell Richters
33975a083f
- Draw crosshair at 1:1 scale when crosshairscale
is 0, just like GZDoom.
...
* Fixes #767 .
2022-12-11 16:16:16 +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
Mitchell Richters
dc41057984
- In SetupGame()
, test userConfig.DefaultCon
before userConfig.gamegrp
so addons work properly.
2022-12-10 10:48:34 +11:00
Mitchell Richters
25460e8e98
- Fix change to constant in last commit.
...
* How did that little `3` not make it in...
2022-12-09 20:00:37 +11:00
Mitchell Richters
2a82ef85b8
- Minor optimisation to the return to centre code.
2022-12-09 18:00:56 +11:00
Mitchell Richters
92bf00d3e9
- Fix incorrect sector usage in calcviewpitch()
.
2022-12-09 17:48:26 +11:00
Mitchell Richters
1772238653
- Fix incorrect value for PITCH_HORIZOFFSPEED
input constant.
2022-12-07 15:21:52 +11:00
Mitchell Richters
df63e5411b
- Fix incorrect sign for PITCH_HORIZOFFCLIMB
input constant.
2022-12-07 13:11:59 +11:00
Christoph Oelckers
ff8863833a
- fixed GC::FullGC not collecting everything anymore.
...
With the delayed handling of internal references of destroyed objects the function now returned without making sure that it really got everything.
Repeating until it cannot delete anything new anymore makes it work again as intended.
2022-12-05 12:29:18 +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