Commit graph

19528 commits

Author SHA1 Message Date
Mitchell Richters
6fd0827d24 - Duke: Additional fixes for alterang().
- Initial issue started in 3c1970e9e0.
- Fix in 4f59e8a3d1 was partial and not enough.
- Ensure delta angle is absolute in if statements as required, but don't use absangle as we need to apply the true delta in the last conditional.
- Fix incorrect random angle addition as compared to older source.
- Fixes #735.
2023-01-06 21:43:21 +11:00
Mitchell Richters
8a5501480e - Blood: Fix bad spawned actor angle for actFireMissile().
* Originating from a8cc6c1189.
* Fixes #837.
2023-01-06 17:56:57 +11:00
Mitchell Richters
b40e5d200c - Blood: Ensure actor's XY pos is updated before calling Z slope utils.
* Originates from efc832ca5c.
* Fixes #833.
2023-01-06 17:56:42 +11:00
Mitchell Richters
70f29df129 - SW: Remove leftover debug prints from previous commit. 2023-01-06 12:10:34 +11:00
Christoph Oelckers
a5066a0b6b - SW: do not double interpolate sectors that are both part of a sector object but also have a global interpolation attached.
In this case the SO interpolation must be skipped. The only use case for this combination is sine-wave animated water.
2023-01-06 12:10:33 +11:00
Mitchell Richters
880328c380 - Default initialise g_nextskill to -1 so maps loaded directly from the command line load with the game's default skill. 2023-01-05 21:48:52 +11:00
Christoph Oelckers
f2a07e6bc9 - fixed autoload setup for the full Duke World Tour version. 2023-01-05 21:48:52 +11:00
CandiceJoy
3f26bd4ecf - Fixed custom height and width not saving.
* Fixes #780.
2023-01-03 09:47:17 +11:00
Mitchell Richters
bd472acc16 - Ensure the viewport's aspect ratio is factored into the HUD's aspect ratio.
* Fixes #617.
2023-01-03 09:47:17 +11:00
Mitchell Richters
64c9ad73a7 - Blood: Fix some nullptr issues in checkHit() and checkFloorHit().
* Fixes #834.
2023-01-02 15:06:30 +11:00
Mitchell Richters
1265b8aa1b - SW: Fix tank track velocity.
* Originating from 8efe6f638b.
* Velocity was correctly floatified initially but because it was unwrapped, it never got adjusted for Q28.4 later on.
2023-01-02 14:44:04 +11:00
Mitchell Richters
321be47319 - SW: Fix tank tracks not working.
* Originating from 0c146e7ccb.
2023-01-02 14:43:50 +11:00
Mitchell Richters
6958098799 - SW: Fix issue with RC tank in $seabase.
* Originated from 8efe6f638b.
* I'm sure this was meant to be 0.05, but became 0.5 by mistake.
* Use something closer to `12800. / 262144.`.
* Fixes #831.
2023-01-02 14:43:49 +11:00
Mitchell Richters
db8a53e7d4 - SW: Add inertia correction to PlayerWarpUpdatePos().
* Warping between sectors such as the clouds in $volcano now maintains perfect velocity, etc.
2023-01-02 14:43:49 +11:00
Mitchell Richters
2de707e7f8 - Add support for Blood: Cryptic Passage via CRYPTIC.SSI file. 2022-12-29 23:06:02 +11:00
Mitchell Richters
13f40210c6 - SW: Repair whoopsie in BunnyCheat(). 2022-12-29 22:50:18 +11:00
Mitchell Richters
9b3137b2e6 - Duke: Ensure that the expander hitscans when autoaim is "hitscan only".
* Fixes #827.
2022-12-29 22:50:17 +11:00
Mitchell Richters
7583793511 - Update language files on the back of SW cheat additions. 2022-12-29 21:02:59 +11:00
Mitchell Richters
d56b1d05d6 - SW: Restore two original cheat codes lost long ago.
* Fixes #810.
2022-12-29 21:02:59 +11:00
Mitchell Richters
7da48ea42d - SW: Remove CVAR_SERVERINFO flag from sw_ninjahack and take them out of the global space. 2022-12-29 21:02:15 +11:00
Mitchell Richters
40c0c66d8f - SW: Only bring the weapon back up after doing chops if not on a vehicle with a weapon. 2022-12-29 21:02:14 +11:00
Mitchell Richters
318bba469f - SW: Fix clipmove call within DoPlayerMoveVehicle().
* Originating from 05ad1e38e9.
* Fixes #829.
2022-12-29 20:34:37 +11:00
Mitchell Richters
d7030961d9 - SW: Fix two bad calls to pushmove() where a fixed point adjustment was used.
* Came in from 3ac4e7ed2d.
2022-12-29 19:47:07 +11:00
Rachael Alexanderson
558fdd2f08 - fix math error on ARM architectures 2022-12-28 18:22:16 +11:00
Christoph Oelckers
2d551e6557 - Blood: add all statically stored EventObjects to the GC processor. 2022-12-18 17:48:25 +01:00
Christoph Oelckers
a9ad2a3a9e - fixed: when deactivating the app, pausing the sound system should not depend on the game's internal pause state.
All this tells is that the gameplay was halted. Sound was not stopped when the user either minimized or tabbed away in the in-game menu.

This commit had to be reapplied because it got lost in a backend update.
2022-12-18 13:00:43 +01:00
Christoph Oelckers
e75448b56c - fixed ESC pressing on Duke's monitors.
This got busted by an update from GZDoom.
2022-12-18 12:56:58 +01:00
Christoph Oelckers
b931a960ed - Blood: relax range check in AlignSlopes.
This now checks the full range of the wall array and if outside just does nothing. E2M6 has a bogus value for this feature that asserted with the old check.
2022-12-17 20:24:12 +01:00
Christoph Oelckers
35ce4dca91 - Blood: fixed blood splats being spawned in the wrong place. 2022-12-17 19:39:16 +01:00
Christoph Oelckers
a1d602b2c7 - Blood: fixed 3 places where 3D distance was used but 2D should have been used. 2022-12-17 19:39:16 +01:00
Christoph Oelckers
197057135d - bump to 1.6.1 2022-12-17 19:39:16 +01:00
Mitchell Richters
4a94078d9f - Fix pitch direction for controller input. 2022-12-17 19:39:16 +01:00
Christoph Oelckers
0716f822f8 - added a - sign to FindBestSector' default return.
This somehow get lost when the code was moved out of clipmove into a separate utility function.
2022-12-17 19:39:16 +01:00
Christoph Oelckers
5cb41ab79d - fixed velocity handling in a few enemy swimChase functions.
The one for the gill beast was particularly bad.
2022-12-17 19:39:16 +01:00
Christoph Oelckers
9a90bce4eb - Exhumed: allow Anubis to get out of the walking state if he loses his target.
This happened on occasion on the first map
2022-12-17 19:39:16 +01:00
Christoph Oelckers
8445dbf94a - fix initialization issues with a few serializer functions. 2022-12-17 19:39:15 +01:00
Kevin Caccamo
7faac89288 Attempt to fix #787 2022-12-17 19:39:15 +01:00
Christoph Oelckers
a12da3c415 - fixed bad direction setup for vertically moving SE 0.
This also adds missing interpolation for this case.
2022-12-17 19:39:15 +01:00
Christoph Oelckers
ee5832048f - Duke/RR: fixed floor alignment of flames in sloped sectors 2022-12-17 19:39:15 +01:00
Christoph Oelckers
cfbd782692 - Duke: fixed flames not being floor aligned.
The same code was correct in the RR variant, so it just got copied over.
2022-12-17 19:39:15 +01:00
Christoph Oelckers
ac09f7584a - Exhumed: The ObjectList was not properly garbage collected. 2022-12-17 19:39:15 +01:00
Christoph Oelckers
6a5d548019 - fixed kill counting in Blood. 2022-12-17 19:39:14 +01:00
Christoph Oelckers
5e4dc64fa5 - this is 1.6.0 2022-12-11 16:41:32 +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
36c38dab9a - Make crosshairscale slider match GZDoom, including allowing it to slide down to 0 for unscaled. 2022-12-11 19:31:52 +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