Commit graph

17360 commits

Author SHA1 Message Date
Christoph Oelckers
30b81c0920 - SW: changed fullscreen HUD to display all 8 keys without gaps ans overlapping. 2022-06-06 22:03:42 +02:00
Christoph Oelckers
f8aacb3825 - fixed crash in Last Warrior map 9.
Really, asserts should not be used to test for errors that can actually happen!
2022-06-06 20:56:50 +02:00
Christoph Oelckers
998def2487 - another backend update from GZDoom. 2022-06-06 15:28:41 +02:00
Christoph Oelckers
f599040212 - GCC needs this commented out but really shouldn't. 2022-06-06 13:08:23 +02:00
Christoph Oelckers
d2eaaf7ac1 - for Raze hud_aspectscale needs to default to true 2022-06-06 12:42:45 +02:00
Christoph Oelckers
e5c7c4f680 - don't use longs. 2022-06-06 12:05:50 +02:00
Christoph Oelckers
84173ee09b - backend update from GZDoom.
The main bulk of this is the new start screen code. To make this work in Raze some more work on the startup procedure is needed.
What this does provide is support for the DOS end-of-game text screens in Duke and SW on non-Windows systems.
2022-06-06 11:45:34 +02:00
Mitchell Richters
47aa110441 - Remove the ability to set a custom ticrate in calls to I_GetInputFrac(). There's no real world need for this. 2022-06-06 18:41:48 +10:00
Mitchell Richters
20dde9fabc - Force synchronised input when cl_capfps is true. 2022-06-06 18:41:48 +10:00
Mitchell Richters
71fb91940d Revert "- Simplify PlayerHorizon::settarget() by adding a dedicated angle setter that resets interpolated value as well."
This reverts commit 0416834d9d.

Revert "- Simplify `PlayerAngle::settarget()` by adding a dedicated angle setter that resets interpolated value as well."

This reverts commit 5a550613f3.

Revert "- Add bool `lock` to `PlayerHorizon::settarget()` when setting target from the ticker without having to call setters and resetters."

This reverts commit 18541d1ab4.

Revert "- Add bool `lock` to `PlayerAngle::settarget()` when setting target from the ticker without having to call setters and resetters."

This reverts commit 1ac58dc41c.

* We need to ensure only the ticker can unlock the player's input if it's telling us to lock the input.
2022-06-06 18:41:45 +10:00
Mitchell Richters
0359d49df2 - Move repeated input code algorithm into an inline function. 2022-06-06 18:40:17 +10:00
Christoph Oelckers
e86899ed31 - fixed sky panning.
This picked the wrong overload - to make things robust one of the functions was renamed.
2022-06-06 10:12:26 +02:00
Mitchell Richters
c3981e06cb - Duke: Remove one save interpolated weapon value that got away from me in 3948ec7a35. 2022-06-06 11:31:42 +10:00
Mitchell Richters
a29bce9eda - Duke: Interpolate loogcnt when drawing onscreen. 2022-06-06 11:24:47 +10:00
Mitchell Richters
3948ec7a35 - Duke: Remove recently added interpolated weapon values from save code and add to player_struct::backupweapon() instead. 2022-06-06 11:05:11 +10:00
Mitchell Richters
ee6abac699 - Duke: Apply same fistsign fix from 4ee64df844 to RR code. 2022-06-06 11:04:59 +10:00
Mitchell Richters
b0f517736c - Duke: Fix fistsign smoothness. 2022-06-06 10:51:57 +10:00
Mitchell Richters
600776da2e - Duke: Change a few return types from int to bool in HUD code. 2022-06-06 09:57:51 +10:00
Mitchell Richters
f4b78dc3c7 - Duke: Interpolate access_incs when drawing onscreen (security card usage). 2022-06-06 09:47:30 +10:00
Mitchell Richters
3b2ef4d18b - Duke: Interpolate tipincs when drawing onscreen (tipping the dancers). 2022-06-06 09:40:47 +10:00
Mitchell Richters
d6549d6335 - Duke: Interpolate knee_incs when drawing onscreen (stomping on shrunken enemies). 2022-06-06 09:19:55 +10:00
Mitchell Richters
ab95a8b890 - Duke: Interpolate fist_incs when drawing onscreen (hitting the nuke detonator at the end of each level). 2022-06-05 21:00:44 +02:00
Richard Gobeille
55408e6e3c - Duke3d: smooth movement of recons. 2022-06-05 21:00:36 +02:00
Richard Gobeille
1389413ca1 Duke3d: make actors set to move vertically in CON act as if SFLAG_SMOOTHMOVE was explicitly enabled
This smooths out stuff like octabrains and flying liztroops without making them look stupid when they move on the ground.
2022-06-05 22:40:06 +10:00
Mitchell Richters
dcf1c540e6 - Another amendment to 18541d1ab4 and 1ac58dc41c to ensure input lock is only set when we're running unsynchronised input. 2022-06-05 21:31:02 +10:00
Christoph Oelckers
bc5c742930 - Duke: fixed some crashes with bad map setups 2022-06-05 09:40:10 +02:00
Christoph Oelckers
126f6051d2 - fixed level number for RRRA's travel animations.
first level is 1001, not 1.
2022-06-02 10:18:57 +02:00
Christoph Oelckers
0a020e9cc1 - ported secret hack for WT's map 11 from SW Redux.
This is hideously awful and definitely needs a better approach. For now it'll do...
2022-06-01 12:22:59 +02:00
Christoph Oelckers
f245a70883 - removed redundant setting of black shadow color with incorrect data check.
SetLightAndFog already does this, but with correct checks.
2022-05-30 23:05:37 +02:00
Mitchell Richters
990c8287fc - Amendment to 18541d1ab4 and 1ac58dc41c to reset inputdisabled once target is reached. 2022-05-30 22:13:42 +10:00
Mitchell Richters
add86d8cdb - Remove m_filter option from the menu. The remainder of the removal will come from a backend sync with GZDoom. 2022-05-30 21:42:25 +10:00
Mitchell Richters
612dd049f9 - Remove unused PlayerPosition structure.
* There were some plans around this being in use for all the various player structs in each game, but it hasn't come to be.
* Code remains in the commit history, it can come back if it's of use in the future.
2022-05-30 21:33:14 +10:00
Mitchell Richters
1ac58dc41c - Add bool lock to PlayerAngle::settarget() when setting target from the ticker without having to call setters and resetters. 2022-05-30 21:24:02 +10:00
Mitchell Richters
18541d1ab4 - Add bool lock to PlayerHorizon::settarget() when setting target from the ticker without having to call setters and resetters. 2022-05-30 21:22:24 +10:00
Mitchell Richters
5a550613f3 - Simplify PlayerAngle::settarget() by adding a dedicated angle setter that resets interpolated value as well. 2022-05-30 21:22:10 +10:00
Mitchell Richters
0416834d9d - Simplify PlayerHorizon::settarget() by adding a dedicated angle setter that resets interpolated value as well. 2022-05-30 21:21:52 +10:00
Mitchell Richters
70d2a8dc78 - Remove a seldom-used getTicrateScale() overload. 2022-05-30 21:06:32 +10:00
Mitchell Richters
de88d4dc8b - SW: Remove some unnecessary ternaries in some inline bools and fix a few return types. 2022-05-30 20:51:53 +10:00
Mitchell Richters
3d8bc3294f - Slight cleanup to I_GetInputFrac(). 2022-05-30 20:46:09 +10:00
Mitchell Richters
7282e0d8bf - Remove multiple addadjustment()/settarget() overloads in favour of native binangle/fixedhoriz versions only.
* Simplifies these classes a bit.
* Better shows intent in actual game code.
* Removes unnecessary int to double conversions.
2022-05-30 20:35:41 +10:00
Jordon Moss
5c65a9bab4 Interpolate FIRELASER trails. 2022-05-30 20:21:40 +10:00
Christoph Oelckers
bd023b0b1c - fixed wall sprite clipping 2022-05-30 00:19:32 +02:00
Christoph Oelckers
6b720f5f6c - fixed: FSkyVertexBuffer::RenderBox did not reset the object color after finishing. 2022-05-29 23:58:52 +02:00
Christoph Oelckers
22d6e3f2f6 - SW: added interpolation for sine wave floors. 2022-05-29 23:20:09 +02:00
Christoph Oelckers
d7c15d7153 - SW: fixed shadow positioning. 2022-05-29 23:04:36 +02:00
Christoph Oelckers
7de040cc92 - yet another circular staircase workaround.
Why can't people do these things physically correctly? :(
2022-05-29 12:22:58 +02:00
Mitchell Richters
79465ffc42 - Duke: Add CON support for Duke Nukem 3D 1.1 Shareware.
Based on EDuke32's parsing of the same commands.
2022-05-29 10:34:33 +10:00
Mitchell Richters
889baeff14 - Duke: Fix CON parser to detect shareware scripts. 2022-05-29 09:56:56 +10:00
Christoph Oelckers
1a788c9ba2 - helpers for wall sprite rendering improvement 2022-05-27 13:55:38 +02:00
Christoph Oelckers
5aabde1712 - fixed parsing issues in secret hint system. 2022-05-24 20:41:44 +02:00