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
Christoph Oelckers
a3c08e5a9d
- Duke: fixed hitscan spread for enemies
...
In RR this was correct, but in Duke the spread was far too narrow, especially for the first boss.
2023-04-17 00:13:20 +02:00
Christoph Oelckers
a3da3a4c43
- added a large bunch of script exports.
2023-04-16 17:35:15 +02:00
Christoph Oelckers
5f68291f69
- added skeleton definitions for all new Nuclear Winter items and their base tiles.
2023-04-16 16:53:53 +02:00
Christoph Oelckers
27188c3ec3
- integrate the NAM/WW2GI overrides that were already defined.
2023-04-16 16:53:53 +02:00
Christoph Oelckers
cb8137c32b
- consolidated shoot_d and shoot_r.
2023-04-16 16:53:52 +02:00
Christoph Oelckers
ef412c20cc
- scriptified shootrpg.
...
Due to its ugly special cases this function is most likely not modding-safe.
2023-04-16 16:53:52 +02:00
Christoph Oelckers
3d09be118a
- scriptified the freezeblast shooter.
2023-04-16 16:53:52 +02:00
Christoph Oelckers
e97fc54179
- scriptified shootstuff.
2023-04-16 16:53:52 +02:00
Christoph Oelckers
9085157130
- scriptified shootwhip.
2023-04-16 16:53:51 +02:00
Christoph Oelckers
afe7086189
- reimplemented WW2GI's hitscan related events in ZScript.
2023-04-16 16:53:51 +02:00
Christoph Oelckers
3af08ecbac
- scriptified and consolidated the hitscan attacks.
2023-04-16 16:53:51 +02:00
Christoph Oelckers
1f5cd93564
- wall flag interface cleanup.
...
With wall textures now available the workarounds could be removed.
2023-04-16 16:53:51 +02:00
Christoph Oelckers
041d5214a4
- two new flags for the hitscan attack.
2023-04-16 16:53:51 +02:00
Christoph Oelckers
0643ab22c0
- scriptified the melee attack.
2023-04-16 16:53:51 +02:00
Christoph Oelckers
1d887755a5
- scriptified shootfireball.
2023-04-16 16:53:50 +02:00
Christoph Oelckers
76b9314f63
- scriptified shootMortar.
2023-04-16 16:53:50 +02:00
Christoph Oelckers
48f7690756
- scriptified tripbomb 'shooting'.
2023-04-16 16:53:50 +02:00
Christoph Oelckers
93327ddfe1
- moved tripbomb code to weapons subdirectory.
2023-04-16 16:53:50 +02:00
Christoph Oelckers
1462cb5e9d
- refactored some of WW2GI's gamewar stuff so that it is accessible to ZScript as well.
...
The features here are useful, the way they were handled not so much. What is there now can also be set from proper definition files instead of CON hacks.
2023-04-16 16:53:50 +02:00
Christoph Oelckers
ac1d1a90e0
- transfer the nofloorfire flag to the flame actor.
...
When checked on the owner it can fall victim to garbage collection.
2023-04-16 16:53:33 +02:00
Christoph Oelckers
f2b13410a5
fixed offset in grower
2023-04-16 12:26:18 +02:00
Christoph Oelckers
de5e779c50
- fixed offset in shrinker
2023-04-16 12:26:08 +02:00
Christoph Oelckers
1597cf5400
- exported the grower's shoot function and moved stuff to a separate file.
2023-04-16 11:49:47 +02:00
Christoph Oelckers
073c7e79e4
- Duke: remove redundant super.Initialize call from Liztrooper.
...
This function is a no-op for enemies and not needed.
2023-04-16 11:47:57 +02:00
Christoph Oelckers
77d14ec721
- scriptified shootshrinker and moved all shrinker code to a separate file.
2023-04-16 11:47:56 +02:00
Mitchell Richters
93e84ec49d
- Apply ESyncBit::SB_QUICK_KICK
change from 4d82a0effa
to ZScript copy.
2023-04-16 17:15:17 +10:00
Christoph Oelckers
e15517cf57
- fixed some issues with projectile ownership.
...
Some init code was run here that should not be run. Added a new flag to handle this case without major code explosion.
2023-04-16 07:54:26 +02:00
Christoph Oelckers
c73830992f
- added a few exports and properties for weapon shooting and added missing 'const' annotations for ShootThis overrides.
2023-04-15 23:23:09 +02:00
Christoph Oelckers
24fc780ede
- fixed ZScript compilation.
2023-04-15 13:16:48 +02:00
Christoph Oelckers
ecd0c8c1ff
- fixed a few bad scaling values.
2023-04-15 12:20:10 +02:00
Christoph Oelckers
1304577dac
- Duke: do not call DukeActor's OnInitialize function for projectiles.
...
This is performing some incompatible setup.
2023-04-15 10:54:18 +02:00
Christoph Oelckers
aad6c3da90
- RR: RedneckExplosion3 was not fully initialized.
2023-04-15 10:00:21 +02:00
Christoph Oelckers
812b9d76d6
- Blood: display the charge meter for the dynamite also on the alternative HUD.
2023-04-15 09:33:46 +02:00
Christoph Oelckers
8de44573b0
- added some missing stuff for World Tour.
2023-04-12 22:03:24 +02:00