Commit graph

530 commits

Author SHA1 Message Date
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
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
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
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
fc0c8e0787 - NOHITJIBS flag. 2023-04-23 10:45:44 +02:00
Christoph Oelckers
a6600c200f - a lot of simple picnum or TILE_* replacements. 2023-04-23 10:45:43 +02:00
Christoph Oelckers
1bc9de1cf0 - the last picnums in actors_r.cpp 2023-04-23 09:52:56 +02:00
Christoph Oelckers
14bf74c0f9 - turned adjustfall into a 'gravityfactor' property. 2023-04-23 09:51:24 +02:00
Christoph Oelckers
4812e1431e - made fallspecial game independent and eliminated all the wrapping and callback weirdness with fall. 2023-04-23 09:43:20 +02:00
Christoph Oelckers
35a088ba04 - added map flags to enable RR's special sector types in Duke as well. 2023-04-23 09:42:29 +02:00
Christoph Oelckers
5a2410cbbb - more properties to get rid of the remaining actor type checks in move_d and move_r. 2023-04-23 09:42:29 +02:00
Christoph Oelckers
c4c035a527 - handle more of move's special cases with flags and properties. 2023-04-23 09:42:28 +02:00
Christoph Oelckers
2d4eee4153 - eliminated the last references to picnum in actors.cpp. 2023-04-23 09:42:28 +02:00
Christoph Oelckers
0249725ed8 - got rid of all TILE_* globals, except TILE_CROSSHAIR. 2023-04-23 09:42:28 +02:00
Christoph Oelckers
46f7e38e46 - cleaned up movesprite_ex.
This needed 5 actor flags to handle some really inane special cases!
2023-04-23 09:42:27 +02:00
Christoph Oelckers
927d014cea - final cleanup on hitradius.
Several dead code paths were also removed that are unable to be triggered by any event in the game - due to the spaghetti-style checks this hadn't been obvious before.
Also one more flag that handles the WT flamethrower's special case of not hurting any actors of the shooter's kind in a more generalized form
2023-04-22 12:08:47 +02:00
Christoph Oelckers
ac430e6bc7 - another flag and the second old one renamed. 2023-04-22 12:08:47 +02:00
Christoph Oelckers
9ddb5987cd - two new flags and one renamed one for hitradius.
slowly getting closer to sorting this one out. The new flags already make operation a lot clearer.
2023-04-22 12:08:47 +02:00
Christoph Oelckers
19f4e4ff63 - added a new flag and split out the geometry destruction part from the hitradius functions
... which suddenly look a lot less menacing...
2023-04-22 12:08:47 +02:00
Christoph Oelckers
53e92097ac - converted weaponsandammosprites into a class pointer array and fixed RR's bogus content.
It's a Duke only feature. RR can use it but would have spawned some non-functional items.
2023-04-22 12:08:47 +02:00
Mitchell Richters
3604fd9bfa - Exhumed: Fix OOB access in GetAllStats() statusbar code.
* Triggered during testing with the alt HUD.
2023-04-21 21:13:13 +10:00
Mitchell Richters
fcfee9addc - Exhumed: Convert remainder of statusbar code and delete old system. 2023-04-21 21:13:13 +10:00
Mitchell Richters
7ca73aa562 - Exhumed: Initial setup of new statusbar sequence exports, starting with DrawStatusSequence(). 2023-04-21 21:13:12 +10:00
Mitchell Richters
5efc14411a - Exhumed: Use actor variables for sequences, not player ones. 2023-04-21 21:11:55 +10:00
Mitchell Richters
d7161a7368 - Exhumed: Convert the weapon code. 2023-04-21 21:11:54 +10:00
Mitchell Richters
316867581b - Duke: Fix previous commit. 2023-04-17 08:52:26 +10:00