Christoph Oelckers
0a80f70ace
SW: fix sector object setup.
...
When moving the SO out of the way to get the sector, this only works for rotatable SO's. For non-rotating ones the internally used functions never did what was expected, letting the SO end up in invalid space.
To do this properly the SOBJ_DONT_ROTATE flag must be cleared temporarily.
2024-10-11 11:50:56 +02:00
Christoph Oelckers
db38028dda
SW: removed several unused sound functions.
2024-10-10 09:18:10 +02:00
Christoph Oelckers
b3a2523099
Backend update from GZDoom.
2024-10-09 15:28:22 +02:00
Christoph Oelckers
1dedb4319a
Duke: add range checks for accessing the moves array
...
CON can easily produce bad indices due to sloppy design.
In ZScript always throw an exception if such an index is out of bounds.
2024-10-09 14:07:02 +02:00
Christoph Oelckers
48d4545067
account for 'amess96.voc' being renamed in the World Tour re-recordings.
2024-10-09 12:10:56 +02:00
Christoph Oelckers
053a6875bf
SW: fixed use of sound attribute array.
...
This was caused by incompletely reverting a code change.
2024-10-09 12:00:01 +02:00
Christoph Oelckers
f9e4ce89fa
Blood: fixed messed up math in podAttack.
2024-10-09 09:56:38 +02:00
Christoph Oelckers
f5d08416c6
Duke: fixed animated static monitors.
2024-10-09 07:34:44 +02:00
Christoph Oelckers
97a71bad5d
Duke: lower the coordinate precision for calculating the sector's center for ST09 to original Build.
...
This is needed so that some maps with not quite correct setups still work. Found in Roch3.
2024-10-08 13:30:13 +02:00
Christoph Oelckers
af0ee3451d
Duke: disable loading of eduke.com and check raze.con instead, now also for RR.
2024-02-28 07:07:38 +01:00
Christoph Oelckers
c769de1828
reverted all the state work on Shadow Warrior.
2024-02-24 10:33:03 +01:00
Christoph Oelckers
3e30e5f4ef
SW: fix player's run animation not playing.
2024-02-05 00:20:04 +01:00
Christoph Oelckers
c9a610fea6
Blood: fixed bad random shifts for directional vectors.
2024-02-05 00:02:20 +01:00
Christoph Oelckers
93bc496494
SW: added CVAR 'sw_nocenterview' to block view centering after landing from a tall jump.
...
No menu entry yet.
2024-02-04 15:15:26 +01:00
Christoph Oelckers
3dbc67150d
Blood: fixed vector math in spider attacks.
2024-02-04 13:26:46 +01:00
Christoph Oelckers
0ad7e198d8
fixed some bad copy/pasted dudeSlope calculations.
2024-02-04 12:22:33 +01:00
Christoph Oelckers
57f4dc7338
fixed bad randoms in aicaleb.cpp.
...
Value range for velocity vectors was Q14.16 in Blood's fixed point format so the numbers here must be scaled accordingly.
2024-02-04 12:22:33 +01:00
Mitchell Richters
35c22c56c7
- Exhumed: Add CVAR to control vert panning intensity.
2024-01-05 22:06:06 +11:00
Mitchell Richters
0edc69c269
- Exhumed: Tidy up doPlayerVertPanning()
setup.
2024-01-05 22:06:06 +11:00
Mitchell Richters
1da71c3ca8
- Rename DCorePlayer::StrafeVel
to DCorePlayer::RollVel
as it better matches its usage.
2024-01-05 20:59:28 +11:00
Mitchell Richters
7c1aa53c45
- Blood: Clean up unnecessary vel negation in MoveDude()
.
2024-01-05 20:59:28 +11:00
Mitchell Richters
d25f6597b8
- Move DCorePlayer::resetCameraAngles()
call from each game into GameInput::getInput()
.
2024-01-05 20:59:28 +11:00
Mitchell Richters
e58d5f7637
- Move GameInput::ResetInputSync()
call from each game into GameInput::getInput()
.
2024-01-05 20:59:27 +11:00
Mitchell Richters
baa28dc6a8
- Exhumed: Adjust c66b9795b9
to always return the last sequence instead of a nullptr.
...
* Returning a nullptr and having the caller return from that potentially results in no animation being drawn at all.
* Change here is akin to fix applied in 1cb15ed878
.
2024-01-05 20:59:26 +11:00
Mitchell Richters
f800d6937c
Revert "- Exhumed: Fix OOB frame with the rat."
...
This reverts commit fe356f3183
.
* The applied fix in 1cb15ed878
covers this and probably does it in a better manner (i.e., play the last frame again vs. resetting the frame sequence).
2024-01-05 20:55:51 +11:00
Christoph Oelckers
b72fcd5185
converted files to UTF-8
2024-01-04 18:29:28 +01:00
Christoph Oelckers
9315c8b307
fixed autoaiming.
...
The WW2GI pistol check was completely wrong. :(
2023-12-30 09:07:32 +01:00
Christoph Oelckers
3b44c50dfd
Blood: fixed packSlots being cleared on loading a savegame.
...
Since the player refactor the order of operations had changed and this got called after reading the player, not before.
2023-12-19 18:53:43 +01:00
Christoph Oelckers
36930d44bd
filesystem update from GZDoom.
2023-12-17 12:48:03 +01:00
Christoph Oelckers
1e618d2fdb
rewrote FileSystem::AddFromBuffer so that it gets backed by an actual FResourceFile.
2023-12-10 15:23:21 +01:00
Christoph Oelckers
c0d166c307
backend update from GZDoom.
2023-12-10 13:30:50 +01:00
Christoph Oelckers
2efb8ffc5c
RR: fixed secret trigger reporting.
2023-12-06 21:02:55 +01:00
Christoph Oelckers
60d3a5e6b3
SW: fix vertical spread for the Uzi
2023-12-05 22:41:00 +01:00
Christoph Oelckers
c66b9795b9
Exhumed: fix crash on bad player animation sequence.
2023-12-05 22:40:59 +01:00
Christoph Oelckers
3590dde6df
Duke: remove setting the xflip flag for sprites rendered in a mirror
...
The new renderer handles this internally so this flag will just un-flip the sprite again.
2023-12-05 22:40:59 +01:00
Christoph Oelckers
8e6f0b0acd
Exhumed: do raw serialization of FreeListArray.
...
This is for robustness reasons, there were occurences where this did not properly restore everything as intended.
2023-12-05 22:40:58 +01:00
Mitchell Richters
376b695fb6
- Duke: Fix missed symbolic constant from 13d57cdbd6
.
2023-12-05 22:40:58 +01:00
Christoph Oelckers
4133c4602c
use symbolic constant in two places close to the last commit.
2023-12-05 22:40:58 +01:00
Christoph Oelckers
712ea95203
Duke/RR: fixed player dying when falling from great heights while god mode being on.
2023-12-05 22:40:58 +01:00
Mitchell Richters
bd915763c2
- Duke: Remove incur_damage()
from dispatcher.
...
* Only used locally within `processinput()` for each game.
2023-12-05 22:40:58 +01:00
Mitchell Richters
834fed369b
Revert "- clamp player sprite's xvel between 0 and 512 to stop it going into the negative with rapid posx/posy changes due to teleporting."
...
This reverts commit cf548e055e
.
* Shouldn't be necessary now with doubles instead of integers for coordinates.
* Affected spot in commit message appears fine upon testing.
2023-12-05 22:40:57 +01:00
Mitchell Richters
977d562c57
- Duke: Tidy up return setup in checkp()
.
2023-12-05 22:40:57 +01:00
Mitchell Richters
b5bb747f61
- Duke: Use checkp()
in ParseState::parse()
to remove some duplicated code.
2023-12-05 22:40:57 +01:00
Mitchell Richters
7b030cef20
- Duke: Remove a few remaining triple negations missed in 7498be6f5d
.
2023-12-05 22:40:57 +01:00
Mitchell Richters
baaf1e0557
- Blood: Clean up player vel code following InputPacket
changes.
2023-12-05 22:40:57 +01:00
Christoph Oelckers
4cb3b96ddf
migrate to FTranslationID support
...
So far this only adapts to the changes in the backend without making further use of this type.
2023-12-05 22:40:56 +01:00
Mitchell Richters
1d6b001884
- Exhumed: Return early in movesprite()
if the actor's sector is null.
...
* This is what PowerSlaveGDX does.
* Fixes #1010 .
2023-12-05 22:39:35 +01:00
Mitchell Richters
f60b0ea823
- Exhumed: Adjust angle change in 47a77fc8f1
to be 1:1 with the source.
2023-12-05 22:39:35 +01:00
Christoph Oelckers
98f2257aad
Exhumed: fix handling of angles for the queen's eggs when colliding with a wall.
2023-12-05 22:39:34 +01:00
Mitchell Richters
d753c92cfa
- Exhumed: Remove sequence post-processing since range checks from c039882dcc
handle this.
2023-12-05 22:39:34 +01:00