Commit graph

8371 commits

Author SHA1 Message Date
Christoph Oelckers
5234481370 - fixed bad actor conversion. 2021-10-27 20:56:30 +02:00
Christoph Oelckers
14ccb74aac - for radial damage the 'other' actor is always undefined. 2021-10-27 16:12:56 +02:00
Christoph Oelckers
f60d20b50a - handle the grenade. 2021-10-27 15:46:18 +02:00
Christoph Oelckers
525ea72bfa - use pointers for grenades. 2021-10-27 00:37:17 +02:00
Christoph Oelckers
6b3aa44211 - first pass over grenade.cpp.
Mainly field renaming.
2021-10-27 00:37:17 +02:00
Christoph Oelckers
c9d391634d - some missing queen bits. 2021-10-27 00:37:17 +02:00
Christoph Oelckers
2a28908b1a - pass radial damage inflictor through event struct 2021-10-27 00:30:57 +02:00
Christoph Oelckers
a09f2d8a51 - migrated deletesprite calls in spawn function. 2021-10-27 00:25:00 +02:00
Christoph Oelckers
6d3f9ca0d6 - migrated a few functions to use actors. 2021-10-27 00:24:28 +02:00
Christoph Oelckers
345667f945 - handle the remaining old-style iterators. 2021-10-27 00:18:23 +02:00
Christoph Oelckers
2397bf48f2 - fixed uninitialized ObjectList.
This needs to clear each entry each time it is allocated for use.
The object where this frequently caused problems is the drum being spawned by the Anubis drummers.
2021-10-26 23:52:21 +02:00
Christoph Oelckers
75b8a0579e - elevator stuff. 2021-10-26 22:08:26 +02:00
Christoph Oelckers
c59ec14ba4 - fixed wasp event dispatcher to pass along the damage amount. 2021-10-26 21:55:59 +02:00
Christoph Oelckers
331ba71473 - BuildCreatureChunk wrapper. 2021-10-26 21:15:07 +02:00
Christoph Oelckers
70a7656619 - handle the queen itself. 2021-10-26 21:10:51 +02:00
Christoph Oelckers
52ab800548 - QueenAngleChase. 2021-10-26 20:52:25 +02:00
Christoph Oelckers
ae271b272a - made QueenEgg use actor pointers. 2021-10-26 20:13:03 +02:00
Christoph Oelckers
47929972c0 - replaced sprite indices in QueenHead. 2021-10-26 19:55:20 +02:00
Christoph Oelckers
c7d4779b7e - fixed some warnings. 2021-10-26 18:54:43 +02:00
Christoph Oelckers
839292ac91 - renamed fields in the queen structs to match DExhumedActor. 2021-10-26 18:50:46 +02:00
Christoph Oelckers
c4ea5cf336 - restore original krand formula.
Note: The only game module actually using this is Duke/RR.
2021-10-26 18:48:54 +02:00
Christoph Oelckers
3971c8ffd2 - fixed compilation 2021-10-26 08:13:23 +02:00
Christoph Oelckers
ae786bff98 - removed the last references to sprite[] in bullet.cpp. 2021-10-25 23:16:35 +02:00
Christoph Oelckers
99e189fa2b - IgniteSprite 2021-10-25 23:15:59 +02:00
Christoph Oelckers
c1598185f7 - parameter cleanup of BuildBullet. 2021-10-25 23:09:01 +02:00
Christoph Oelckers
eece69fbbd - renamed variables in BuildBullet and removed unused parameters. 2021-10-25 23:07:58 +02:00
Christoph Oelckers
fa657e23a3 - bullet.cpp, enemy pointer. 2021-10-25 23:07:42 +02:00
Christoph Oelckers
3d35ceecb0 - bullet.cpp, first part. 2021-10-25 22:24:20 +02:00
Christoph Oelckers
bf1f87eff9 - converted Ra. 2021-10-25 21:19:32 +02:00
Christoph Oelckers
d023f9633a - converted the snake 2021-10-25 21:09:33 +02:00
Christoph Oelckers
4980e0ea41 - refactor Set to use actors. 2021-10-25 19:02:44 +02:00
Christoph Oelckers
48a5448f94 - access SetList through a pointer. 2021-10-25 18:57:10 +02:00
Christoph Oelckers
0b37c9afec - did the bubbles. 2021-10-25 17:52:31 +02:00
Emile Belanger
14ebe23f0d Fix compilation with USE_GLES2 = 1 2021-10-25 17:50:48 +02:00
Christoph Oelckers
5cc1a8934e - refactored Anim to use actors. 2021-10-24 21:50:03 +02:00
Christoph Oelckers
3b0df0e9b4 - renamed fields in Anim to match DExhumedActor. 2021-10-24 20:14:36 +02:00
Christoph Oelckers
e8e0294929 - access AnimList through a pointer. 2021-10-24 20:06:46 +02:00
Christoph Oelckers
43e849ca40 - BuildSplash and BuildExplosion. 2021-10-24 19:18:11 +02:00
Christoph Oelckers
a7b71c724e - use the actor variant of BuildAnim wherever trivially doable. 2021-10-24 19:12:06 +02:00
Christoph Oelckers
5ff8852d12 - refactor the wasp to use actors. 2021-10-24 18:35:13 +02:00
Christoph Oelckers
a46a8c21a3 - access WaspList through a pointer. 2021-10-24 13:15:40 +02:00
Christoph Oelckers
2c8da6fe72 - refactor the spider to use actors. 2021-10-24 13:06:41 +02:00
Christoph Oelckers
6821fef5e1 - refactor scorpion to use actors. 2021-10-24 12:22:32 +02:00
Christoph Oelckers
6903404718 - access scorpion through a pointer. 2021-10-24 12:20:26 +02:00
Christoph Oelckers
937e71cfbb - refactor Roach to use actors. 2021-10-24 12:11:33 +02:00
Christoph Oelckers
3a051b8acb - access RoachList through a pointer. 2021-10-24 12:10:18 +02:00
Emile Belanger
ff009cbf7a Re-enable depth clamping 2021-10-24 12:06:54 +02:00
Christoph Oelckers
f0f0ca020b - refactor rex to use actors. 2021-10-24 10:59:45 +02:00
Christoph Oelckers
1cf616c7ba - access RexList through a pointer. 2021-10-24 10:58:27 +02:00
Christoph Oelckers
821f3d356b - renamed DDukeActor::GetIndex to GetSpriteIndex to bring it in line with the other games. 2021-10-24 09:22:35 +02:00