Christoph Oelckers
f78c971eac
- refactored shoot API to exclusively work with class pointers.
2023-04-22 12:08:46 +02:00
Christoph Oelckers
65e66a573d
- Duke: look up all internally used actor classes at game startup.
...
This allows early validation of the names but is also more efficient.
2023-04-22 12:08:46 +02:00
Christoph Oelckers
36d5ab74bb
- eliminated lots of direct tile references in spawn() calls.
2023-04-22 12:08:46 +02:00
Mitchell Richters
71d833f9ea
- Make Exhumed's new view tilting features accessible for all games.
2023-04-22 19:34:53 +10:00
Mitchell Richters
bb19997a2c
- Apply pitch/yaw input along-side the key inputs.
...
* Removes a lot of duplicated code.
2023-04-21 21:13:18 +10:00
Christoph Oelckers
07102fbd39
- fixed missing CANNONBALLS texture alias.
2023-04-16 21:47:06 +02:00
Christoph Oelckers
608b4e8e0f
- initialize the new temporary actor properties to something useful.
2023-04-16 17:35:23 +02:00
Christoph Oelckers
5da28bf5ad
- added new CHANF_SINGULAR flag plus a handler for CHANF_LOCAL in Duke.
2023-04-16 17:35:22 +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
ea96c66a93
- made some annotations in concmd_shoot how to deal with RRRA's merged projectiles.
2023-04-16 16:53:52 +02:00
Christoph Oelckers
712ed44e94
- use names instead of strings with FindActor.
2023-04-16 16:53:52 +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
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
1597cf5400
- exported the grower's shoot function and moved stuff to a separate file.
2023-04-16 11:49:47 +02:00
Christoph Oelckers
71a005fda6
- added a few 'const'.
2023-04-16 11:47:56 +02:00
Christoph Oelckers
77d14ec721
- scriptified shootshrinker and moved all shrinker code to a separate file.
2023-04-16 11:47:56 +02: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
17cde1e3ca
- Duke: fixed bad init of hitag in initspriteforspawn
2023-04-15 19:53:04 +02:00
Christoph Oelckers
0a91a9a199
- route checkhitsprite fully through the virtual interface so that the player class can finally be exported.
2023-04-12 22:02:01 +02:00
Christoph Oelckers
60af1b4c62
- renamed temp_data[0] to 'counter' and map temp_data[5] to the now free temp_data[0].
...
This not only matches its use in CON but seems to be used as a counter in most other places as well.
The main reason is to improve readability of CON to ZScript conversions.
2023-04-12 21:54:33 +02:00
Christoph Oelckers
8bd88b8678
- migrate all script related info to the data stored in the actor classes.
...
This also needs cactor to really change the class descriptor now so that the correct script code is found.
2023-04-12 21:54:20 +02:00
Christoph Oelckers
c418356420
- added the action, move and ai properties.
2023-04-12 21:52:56 +02:00
Christoph Oelckers
947d427a9d
- merged tileinfo and actorinfo.
2023-04-12 21:52:28 +02:00
Christoph Oelckers
ebf7b4a121
- copy the CON defined info into the actual actors.
...
Only using the strength value right now.
2023-04-12 20:29:37 +02:00
Christoph Oelckers
a155a09f9f
- deleted the setflag inlines.
2023-04-12 20:07:12 +02:00
Christoph Oelckers
62ace9371f
- moved the 3 actor properties out of the global data.
2023-04-12 20:07:12 +02:00
Christoph Oelckers
cc8495c31e
- got rid of the g_t pointer in the CON interpreter.
...
Using g_ac->temp_data now.
2023-04-12 20:07:12 +02:00
Christoph Oelckers
f0637cfc83
- moved actioncounter and curframe to a dedicated variable.
...
The third generic counter is not as easy to fix as its use is far more widespread
2023-04-12 20:07:12 +02:00
Christoph Oelckers
4b096f4f3e
- nulling contents of a freshly spawned actor is not necessary.
...
All objects are zero inited.
2023-04-12 20:07:11 +02:00
Christoph Oelckers
14dd9c3711
- refactored AI storage as well to not use ScriptCode anymore.
2023-04-12 20:07:11 +02:00
Christoph Oelckers
b9702fbb66
- moved 'move' data out of the ScriptCode array as well.
2023-04-12 20:07:11 +02:00
Christoph Oelckers
30ccbe2710
- moved actions out of the ScriptCode array and gave them a dedicated struct with meaningful member names.
2023-04-12 20:07:11 +02:00
Christoph Oelckers
94b676bd7c
- wrapped access to the current 'move' values read from CON.
2023-04-12 20:07:11 +02:00
Christoph Oelckers
c76c511da2
- moved sprite animation code out of 'execute'.
2023-04-12 20:07:10 +02:00
Christoph Oelckers
0c17a369db
- Duke: changed skill filter to be solely controlled by the spawnclasses definitions.
...
All classes with no skill filter now need an explicit noskill declaration.
The only exception is inert sprites using DukeActor directly, these will never get filtered by skill.
2023-04-12 20:06:25 +02:00
Christoph Oelckers
53e41bd3b3
- Duke: added missing texture alias for the cannon.
2023-04-11 20:23:34 +02:00