Commit graph

1279 commits

Author SHA1 Message Date
Christoph Oelckers
5ac05971d2 - Duke: WEATHERWARN needs a statnum change on init so that it teleports. 2023-06-07 23:11:43 +02:00
Christoph Oelckers
d8e852fe10 - RR: fixed damage type handling for the dynamite arrows 2023-06-06 22:58:10 +02:00
Christoph Oelckers
3f630c5cb6 - fixed some item issues in RR.
* RedneckPowderKeg was missing its Initialize function and did not clamp its movement velocity.
* RedneckTikiLamp inherited from the wrong base class.
2023-06-04 11:37:10 +02:00
Christoph Oelckers
fcb8e7614f - new names and SWActor properties.
Not used yet
2023-06-03 10:16:48 +02:00
Christoph Oelckers
b2af4c0957 - Duke: fixed handling for when a slimer's target gets destroyed after eating it.
temp_data[0] was renamed to counter some time ago, but this place seems to have missed this somehow so the slimer got stuck in the 'eating' state.
2023-06-03 10:16:18 +02:00
Christoph Oelckers
b31e8dd8b4 - some initial preparations for exporting SW's actors. 2023-06-01 22:07:47 +02:00
Christoph Oelckers
d7a00b76f1 - added extensions to texnames parser to handle fully rotated sprite animations in one line
Also define all sprites for Shadow Warrior.
2023-05-30 22:32:58 +02:00
Christoph Oelckers
0d3e5e68d1 - RR: fixed bad texture names for HUD pistol 2023-05-30 18:13:59 +02:00
Christoph Oelckers
8850f4caa2 - RR: the sawblade projectile was missing its shootThis function.
This is mostly a stripped down version of the RPG's - this stuff really needs to be cleaned up later.
2023-05-30 17:31:23 +02:00
Christoph Oelckers
4bf0029c32 - remove lots of unneeded SAVE_CODE and SAVE_DATA declarations.
Everything ported to VMFunctions can now be saved natively and the DECISIONs never get stored in serialized pointers.
2023-05-28 11:19:35 +02:00
Christoph Oelckers
ddfb485424 - added a serializer for VMFunction pointers. 2023-05-28 11:19:34 +02:00
Christoph Oelckers
1cb86af5f9 - give SW's sounds proper names and move their definition out of the EXE.
Also handle custom rolloff by the sound engine
2023-05-26 23:27:46 +02:00
Christoph Oelckers
de6b5fec7b - got rid of some 'picnum's that don't reference spritetype. 2023-05-20 10:59:03 +02:00
Christoph Oelckers
1d0b763844 - fixed bad sprite name. 2023-05-20 07:21:28 +02:00
Christoph Oelckers
8069c85ca1 - fixed bad inheritance in RedneckVixenShot 2023-05-20 07:19:35 +02:00
Christoph Oelckers
8da775aaf1 - fix RedneckDestructo 2023-05-20 07:19:18 +02:00
Christoph Oelckers
a8e03723ef - NOSHADOW flag. 2023-05-19 23:03:20 +02:00
Christoph Oelckers
b993f05c8f - fixed missing handling for BADGUYSTAYPUT flag. 2023-05-19 23:00:27 +02:00
Christoph Oelckers
10d88ecf1e - fixed: Duke's Freezer projectile needs the CANHURTSHOOTER flag. 2023-05-19 22:59:47 +02:00
Christoph Oelckers
c5ee7cf338 - Duke: add a proper override for Initialize to the player base class 2023-05-19 22:59:47 +02:00
Christoph Oelckers
3f9f1be3a8 fixed Vacation's beach ball. 2023-05-19 22:59:21 +02:00
Christoph Oelckers
513de38723 - pass the spawner to Initialize as an explicit parameter.
Using ownerActor is not robust, for some actors this will have unwanted side effects.
2023-05-19 22:57:26 +02:00
Christoph Oelckers
fc30f76f50 - Duke: fix some weirdness with item spawning. 2023-05-19 22:53:17 +02:00
Christoph Oelckers
bab432ed72 - refinement of aiming fix. 2023-05-19 22:53:15 +02:00
Christoph Oelckers
fa1e667140 - Duke/RR: Use the exact same trajectory for autoaiming and the actual attack hitscan for the pistol.
These were not identical so the pistol was likely to miss small targets the autoaim acquired. This was particularly bad for Duke's ceiling turret and RR's mosquito.
2023-05-19 22:52:36 +02:00
Christoph Oelckers
94a80dda11 - initialize the angle of script spawned actors. 2023-05-19 22:52:00 +02:00
Christoph Oelckers
d6a7721802 - hotfix for compiler bug with optimized out if statement.
This needs to be investigated, this hotfix is merely to get it running again for now.
2023-05-19 22:51:31 +02:00
Christoph Oelckers
b9ff86a746 - fixed type of movflag export. 2023-05-19 22:48:17 +02:00
Christoph Oelckers
8aaa8b4113 - use the native implementation for Duke.rnd.
This ensures that results are consistent.
2023-05-19 22:46:43 +02:00
Rachael Alexanderson
fc45636215 - remove vid_gpuswitch and all associated handling 2023-04-30 10:57:28 -04:00
Christoph Oelckers
1f6035a047 - add one common 'move' item. 2023-04-30 10:51:47 +02:00
Christoph Oelckers
21a37d2c07 - added helpers needed to run CON replacement code.
* killit must exit to the top level right away. Use an exception for this.
* two new flags to make checking easier.
* do not export killit_flag to scripting.
2023-04-30 08:11:30 +02:00
Christoph Oelckers
76c0de2ef1 - moved some of Blood's precaching info to external data. 2023-04-29 11:32:03 +02:00
Christoph Oelckers
330cb9eacb - fix two errors. 2023-04-29 11:31:05 +02:00
Christoph Oelckers
bf577916ec - made the is*** checkers compiler intrinsics.
With the exception of isWorldTour, isPlutoPak and isShareware when playing Duke these are always constant and this way can be used to completely eliminate unneeded code.
2023-04-29 10:09:36 +02:00
Christoph Oelckers
6fd4368592 - moved Duke/RR's tile name list to raze.pk3, now that internally it is not used anymore.
This way it can later also be used by editors.
2023-04-29 09:55:48 +02:00
Christoph Oelckers
f278a29fad - migrated all RR weapons to texture names. 2023-04-29 09:16:55 +02:00
Christoph Oelckers
1aa88bd201 - more HUD refactoring 2023-04-29 09:13:28 +02:00
Christoph Oelckers
8f61abdf75 - more HUD refactoring and fixed issues with badly named textures crashing the precacher. 2023-04-29 09:08:42 +02: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
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
6ac2af9f3c - Duke: Convert RRRA's vehicle HUD tilting to a DAngle. 2023-04-24 22:17:37 +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
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
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