Commit graph

20694 commits

Author SHA1 Message Date
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
Christoph Oelckers
cd2cb8d60e - minor cleanup 2023-04-23 12:15:36 +02:00
Mitchell Richters
a731db95ae - Add initial support for up/down movement within the game, either by key or joystick axis.
* Started with Duke's jetpack, other games to follow for swimming, etc.
2023-04-23 19:53:45 +10:00
Mitchell Richters
87144564fd - Duke: Consolidate the mostly duplicate underwater() functions. 2023-04-23 19:21:04 +10:00
Mitchell Richters
02325c37bc - Duke: Fix incorrect scaling of underwater bubble. 2023-04-23 19:21:04 +10:00
Mitchell Richters
8db8d43f89 - Duke: Tidy up underwater(). 2023-04-23 19:21:04 +10:00
Mitchell Richters
95fe3d1bc4 - Duke: Tidy up operateJetpack(). 2023-04-23 19:21:04 +10:00
Mitchell Richters
eca8526c11 - Exhumed: Unlimit the SeqNames[] array. 2023-04-23 19:20:19 +10:00
Mitchell Richters
19501f3ed0 - Exhumed: Fix some typos in comments. 2023-04-23 19:19:47 +10:00
Mitchell Richters
e60e767232 - Break down some increasingly long lines in GameInput::processMovement(). 2023-04-23 19:19:26 +10:00
Christoph Oelckers
07c4b61260 - make sure that the aplWeapon* stuff is never accessed outside of WW2GI. 2023-04-23 10:45:44 +02:00
Christoph Oelckers
f0a6c4ecd8 - check for NOGRAVITY in 'fall'. 2023-04-23 10:45:44 +02:00
Christoph Oelckers
17a8dd5c2e - added tile names for all of Vacation's new actors.
Although several just replace existing actors, we want different names for these when replacing them.
2023-04-23 10:45:44 +02:00
Christoph Oelckers
4c1e379149 - only declare the weapon gamevars for WW2GI.
none of the other games uses any of this.
2023-04-23 10:45:44 +02:00
Christoph Oelckers
d5fa2d73ad - removed code for unused ATWITH gamevar. 2023-04-23 10:45:44 +02:00
Christoph Oelckers
fc0c8e0787 - NOHITJIBS flag. 2023-04-23 10:45:44 +02:00
Christoph Oelckers
91ee3cb7b8 - got rid of the picnum CreateActor variant. 2023-04-23 10:45:43 +02:00
Christoph Oelckers
a6600c200f - a lot of simple picnum or TILE_* replacements. 2023-04-23 10:45:43 +02:00
Christoph Oelckers
5d43975467 - store class pointers in weaprecs. 2023-04-23 10:36:39 +02:00
Christoph Oelckers
2f78a10ce1 - don't use picnum to address gs.actorinfo 2023-04-23 10:36:39 +02:00
Christoph Oelckers
b56aa1e1a3 - no more picnum in spawn CCMD 2023-04-23 10:36:38 +02:00
Christoph Oelckers
745275dc24 - use texture names for special player sprites, 2023-04-23 10:36:38 +02:00
Christoph Oelckers
bfc8862071 - use texture IDs in the sprite animator 2023-04-23 10:36:27 +02:00
Christoph Oelckers
cc83438e31 - replace dispicnum with dispictex 2023-04-23 10:32:58 +02:00
Christoph Oelckers
b2493116f8 - use texture IDs in the model interface. 2023-04-23 09:52:56 +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
687cfd610f - copied ST160/161 handling to movetransports_d. 2023-04-23 09:43:21 +02:00
Christoph Oelckers
ac50daf5f3 - split a large bunch of code out of movetransports that can be consolidated between Duke and RR. 2023-04-23 09:43:21 +02:00
Christoph Oelckers
a0de956bef - got rid of tilenum checks in movetransports_r. 2023-04-23 09:43:21 +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
7f19a120a0 - clean out RRRA move flags in the CON parser for the other games.
This allows keeping their function enabled everywhere so that they can become a common feature without further need for validation.
2023-04-23 09:42:30 +02:00
Christoph Oelckers
b2b4d432fc - handle tilenum access in movetransports_d. 2023-04-23 09:42:30 +02:00
Christoph Oelckers
91d864ac8f - use classtypes in fallspecial. 2023-04-23 09:42:30 +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
c8853de0ef - use the symbolic constants for ST_160 and ST_161 in the last remaining places where they hadn't been put before. 2023-04-23 09:42:29 +02:00
Christoph Oelckers
0b3f18a903 - consolidated move functions. 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
b78d268ef2 - clean up the lotsofstuff calls by correcting the class pointers on game load. 2023-04-23 09:42:27 +02:00
Christoph Oelckers
1b64b207bb - consolidated movesprite_ex functions. 2023-04-23 09:42:27 +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
Mitchell Richters
83365a9a14 - Fix typo in menu and clean up leftover variable in Exhumed's doPlayerCameraEffects(). 2023-04-23 10:20:10 +10:00
Mitchell Richters
175f858047 - Make scaletozero() static again within gameinput.cpp. 2023-04-23 09:06:31 +10:00
Mitchell Richters
05cb6563f3 - Add roll output to stat coord since we're now using this angle.
* Do a line split between coords and angles since it was getting a bit long.
* Was going to allow warping to a specific roll as well, but its pretty useless.
2023-04-23 09:03:02 +10:00