Commit graph

19515 commits

Author SHA1 Message Date
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
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
f163c328d4 - text update. 2022-12-04 17:23:36 +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