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
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
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
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
Christoph Oelckers
2d551e6557
- Blood: add all statically stored EventObjects to the GC processor.
2022-12-18 17:48:25 +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
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
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
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
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
Mitchell Richters
a5e6e80c24
- Duke: Fix RPG from excess recoiling.
2022-11-30 10:03:58 +01:00
Mitchell Richters
3233a25e3a
- Duke: Move WW2GI pistol aplWeapon*() calls to the stored ones.
2022-11-30 10:03:58 +01:00
Mitchell Richters
73705801e4
- Duke: Move 3x WW2GI aplWeaponTotalTime() calls to the stored one.
2022-11-30 10:03:57 +01:00
Mitchell Richters
7a3e4de913
- Duke: Move WW2GI handbomb aplWeapon*() calls to the stored ones.
2022-11-30 10:03:57 +01:00
Mitchell Richters
c48e95a710
- Duke: Store some repeated aplWeapon*() calls.
2022-11-30 10:03:57 +01:00
Mitchell Richters
59bafd6a37
- Duke: Clean up the addition/subtractions to the offsets vector in displayweapon_d()
.
2022-11-30 10:03:57 +01:00
Mitchell Richters
33af8130b1
- Duke: General tidy-up of displayweapon_d()
.
2022-11-30 10:03:57 +01:00
Mitchell Richters
4298f5011f
- Duke: Clean up interface to animateknee()
.
2022-11-30 10:03:57 +01:00
Mitchell Richters
436ed0288b
- Duke: Clean up interface to animateaccess()
.
2022-11-30 10:03:56 +01:00
Mitchell Richters
21df86d570
- Duke: Clean up interface to animatetip()
.
2022-11-30 10:03:56 +01:00
Mitchell Richters
92a063b078
- Duke: Clean up interface to animateknuckles()
.
2022-11-30 10:03:56 +01:00