Commit graph

20940 commits

Author SHA1 Message Date
Mitchell Richters
ea7fe0e0b4 - Exhumed: Add fixSeqs() and use it to patch OOB issue with skulstrt.seq. 2023-04-26 20:27:28 +10:00
Mitchell Richters
33d4809663 - Exhumed: Ensure sequence data cannot be changed via the getters. 2023-04-26 20:13:26 +10:00
Mitchell Richters
64c47b0385 - Exhumed: Slightly tune damage pushback from previous commit.
* The logic here is that the player's running/double speed velocity is scaled by 0.375 in `updatePlayerVelocity()`, so 0.1875 is half of that scale.
2023-04-25 20:07:10 +10:00
Mitchell Richters
64745dff89 - Exhumed: Allow damage pushback behind CVAR cl_exdamagepush.
* Fixes #907.
* Works in conjunction with ece41ac84c by using the player actor's velocity.
* Original game blanket reset the sprite/actor's vel each tic which cancelled this out.
* Original damage value is far, far too high. Had to scale it back by 1024 units to make it reasonable!
2023-04-25 19:55:05 +10:00
Mitchell Richters
0a6ff79f4f - Exhumed: Give runlist_CheckRadialDamage() a bit of a tidy. 2023-04-25 19:44:25 +10:00
Mitchell Richters
ece41ac84c - Exhumed: Move player's velocity back into the actor, again.
* Was done in 67c7dd65f9 but caused issues.
* Reverted in 3d6f1e1a04 to ensure the game worked as expected.
* Actual problem identified and isolated to remove this duplication.
2023-04-25 19:36:46 +10:00
Mitchell Richters
7c2bd266b9 - Exhumed: Fix incorrect distance check operator for the rat. 2023-04-25 18:39:56 +10:00
Mitchell Richters
fe356f3183 - Exhumed: Fix OOB frame with the rat.
* No idea what this does in the original source... plays the first frame of the next sequence?
2023-04-25 18:18:26 +10:00
Mitchell Richters
52ab0fae19 - Duke: Allow reversing while moving forwards to act as the brake.
* Much more intuitive for controllers.
2023-04-25 11:30:48 +10:00
Mitchell Richters
6d2e114dec - Duke: Move moto tilt scaling into main tilt function, not within the draw code. 2023-04-25 08:37:38 +10:00
Mitchell Richters
6004a9fb5a - Exhumed: Fix bad jump setup from c252b19e9a. 2023-04-24 23:27:02 +10:00
Mitchell Richters
fd1c3dffe8 - Duke: Allow view tilting for RRRA vehicles on separate CVAR.
* Tilts at the same angle as the HUD.
2023-04-24 23:20:14 +10:00
Mitchell Richters
918789705f - Duke: Use the player's angle when adjusting vehicle's HUD rotation. 2023-04-24 22:44:22 +10:00
Mitchell Richters
14629e7b2b - Clamp vehicle input to 1.5x the calculated velocity. 2023-04-24 22:18:40 +10:00
Mitchell Richters
6ac2af9f3c - Duke: Convert RRRA's vehicle HUD tilting to a DAngle. 2023-04-24 22:17:37 +10:00
Mitchell Richters
11181f51f8 - Allow roll input through the packet system, giving us 6DOF for VR usage, etc. 2023-04-24 21:31:21 +10:00
Mitchell Richters
8e3df00b8b - SW: Hook up InputPacket::uvel to relevant code. 2023-04-24 21:01:32 +10:00
Mitchell Richters
67390511b7 - Blood: Hook up InputPacket::uvel to relevant code. 2023-04-24 19:06:48 +10:00
Mitchell Richters
c252b19e9a - Exhumed: Hook up InputPacket::uvel to relevant code. 2023-04-24 19:06:48 +10:00
Mitchell Richters
80f2afd6a4 - Exhumed: Slightly tidy up updatePlayerWeapon(). 2023-04-24 19:06:46 +10:00
Mitchell Richters
e29726370c - Exhumed: Tidy up two if statements in AIPlayer::Damage(). 2023-04-24 19:03:04 +10:00
Mitchell Richters
afcc65c332 - Duke: Hook up InputPacket::uvel to remainder of relevant code. 2023-04-24 18:27:44 +10:00
Mitchell Richters
09ab66b8c9 - Duke: Clean up p->GetActor() calls in movement() funcs. 2023-04-24 16:16:07 +10:00
Mitchell Richters
3f779c94e2 - Duke: Fix previous commit. 2023-04-24 16:06:47 +10:00
Christoph Oelckers
1c7ca7b63a - moved all indirect precaching info to external definition files. 2023-04-23 17:43:22 +02:00
Christoph Oelckers
6924869895 - store texture IDs in the sprite set. 2023-04-23 17:42:07 +02:00
Christoph Oelckers
1bace1d508 - use texture IDs in the spawn records. 2023-04-23 17:33:50 +02:00
Christoph Oelckers
4692cc55f7 - cleaned up checkhitdefault
Only required 4 new flags plus one property...
2023-04-23 17:33:36 +02:00
Christoph Oelckers
125ea52e57 - handle special case for activation sounds when player bumps into other actors. 2023-04-23 17:33:35 +02:00
Christoph Oelckers
524df20d26 - renamed most local picnum variables in shaded code to reduce search noise. 2023-04-23 17:33:35 +02:00
Christoph Oelckers
5df33ae089 - RR sndinfo update to give several sounds the same names as in Duke where they have equal function. 2023-04-23 17:33:35 +02:00
Christoph Oelckers
3d8e5787b1 - moved a few remaining files to their final places. 2023-04-23 17:33:35 +02:00
Christoph Oelckers
b80d23f90a - moved NWinter items to a subfolder and added Duke Vacation items (only 6 that have code changes.) 2023-04-23 17:33:35 +02:00
Christoph Oelckers
cb1690dabc - moved all RR miscellaneous actors to a subfolder. 2023-04-23 17:33:27 +02:00
Christoph Oelckers
a33c5b8d14 - added a few constants. 2023-04-23 17:25:44 +02:00
Christoph Oelckers
eef2bcf515 - moved all RRRA enemies to a subfolder.
# Conflicts:
#	wadsrc/static/zscript/games/duke/actors/redneckenemies.zs
2023-04-23 17:25:44 +02:00
Christoph Oelckers
01c6db7b5b - moved all WorldTour actors to a subfolder and consolidated the flamethrower actors in a single file. 2023-04-23 17:25:43 +02:00
Christoph Oelckers
e27dc51133 - moved all of RR's enemies to a subfolder. 2023-04-23 17:25:43 +02:00
Christoph Oelckers
294cf05792 - moved all of RR's weapon code to the subfolder. 2023-04-23 17:25:43 +02:00
Christoph Oelckers
d1b44d1900 - moved all of Duke's weapons to the subfolder. 2023-04-23 17:23:18 +02:00
Christoph Oelckers
84b372f35a - moved Duke's miscellaneous stuff to a subfolder. 2023-04-23 17:22:40 +02:00
Christoph Oelckers
486745a4e1 - set up proper inheritance for breakables. 2023-04-23 17:18:50 +02:00
Christoph Oelckers
700e0ce1eb - actor reordering 2023-04-23 17:10:56 +02:00
Christoph Oelckers
0b584ee058 moved all the breakables so the subfolder. 2023-04-23 16:50:36 +02:00
Christoph Oelckers
867dd76902 - gave the blimp its own source file 2023-04-23 16:43:07 +02:00
Christoph Oelckers
0c5f3a5dcd - moved RR's native actors to a subfolder 2023-04-23 12:15:37 +02:00
Christoph Oelckers
665370c86d - moved Duke's native classes to a subfolder. 2023-04-23 12:15:36 +02:00
Christoph Oelckers
64d096c2c7 - reformatting of 3 files. 2023-04-23 12:15:36 +02:00
Christoph Oelckers
6ba100391e - moved all Duke enemy definitions to a subfolder and split up mech.zs. 2023-04-23 12:15:36 +02:00
Christoph Oelckers
fd7a4e050a - no more picnum in gameexec.cpp 2023-04-23 12:15:36 +02:00