Christoph Oelckers
|
1e1764eda6
|
- got rid of fxSpawn.
|
2021-10-14 19:36:25 +02:00 |
|
Christoph Oelckers
|
085bd3a165
|
- replaced all fxSpawn calls with fxSpawnActor.
|
2021-10-14 19:35:05 +02:00 |
|
Christoph Oelckers
|
fbe2373972
|
- started cleanup of evPost calls by renaming the internal functions.
This just renames things - no changes in functionality.
|
2021-10-14 19:07:51 +02:00 |
|
Christoph Oelckers
|
2a1f31581c
|
- added null pointer checks to all event callback functions.
|
2021-10-14 19:07:24 +02:00 |
|
Christoph Oelckers
|
add368433e
|
- sanitized callback interface.
|
2021-10-14 19:07:00 +02:00 |
|
Christoph Oelckers
|
143e947839
|
- renamed variable for consistency.
|
2021-10-14 19:02:48 +02:00 |
|
Christoph Oelckers
|
562968262c
|
- moved spriteMass into DBloodActor
|
2021-10-14 19:01:10 +02:00 |
|
Christoph Oelckers
|
5519596a94
|
- refactored global sprite index arrays into pointer arrays.
|
2021-10-14 18:43:56 +02:00 |
|
Christoph Oelckers
|
b60caa362e
|
- fixed bad merge
|
2021-10-14 01:15:05 +02:00 |
|
Christoph Oelckers
|
62d0d3712e
|
- use a sprite flag to mark mapped sprites.
This avoids another global array which needs to be addressed by sprite index.
|
2021-10-14 15:09:43 +02:00 |
|
Christoph Oelckers
|
88e86b4248
|
- added 0 checks to all divisions for calculating dudeSlope.
I had it happen once that an actor was targeting itself here which resulted in zero distance and a division by zero exception.
|
2021-10-14 00:06:34 +02:00 |
|
Christoph Oelckers
|
46d2c52b19
|
- use correct math to access a texel's center for rendering voxels.
No idea if this was causing problem, but it surely wasn't 100% correct.
|
2021-10-13 00:12:58 +02:00 |
|
Christoph Oelckers
|
8d9d3d5f8f
|
- disabled palette emulation for the GLES backend.
Right now the shader does not support it and will require significant redesign to work well with the target hardware.
|
2021-10-13 00:09:18 +02:00 |
|
Christoph Oelckers
|
a358cf8516
|
- SW: eliminated all SPRITE_TAG# macros.
|
2021-10-12 22:21:08 +02:00 |
|
Christoph Oelckers
|
b1ac1ad585
|
- more changesprite* renaming.
|
2021-10-12 21:36:42 +02:00 |
|
Christoph Oelckers
|
2e37cc627c
|
- function renaming for clarity and easier lookup.
|
2021-10-12 21:36:42 +02:00 |
|
Christoph Oelckers
|
895ecc81bc
|
- const-ified some static arrays.
# Conflicts:
# source/games/blood/src/nnexts.cpp
|
2021-10-12 21:36:42 +02:00 |
|
Christoph Oelckers
|
3ea4c94266
|
- removed a few static array references.
|
2021-10-12 21:36:42 +02:00 |
|
Christoph Oelckers
|
a318129ff3
|
- iterators in ambient sound code.
|
2021-10-12 21:36:41 +02:00 |
|
Christoph Oelckers
|
3454fc397e
|
- a few target_i removed.
# Conflicts:
# source/games/blood/src/ai.cpp
|
2021-10-12 21:36:41 +02:00 |
|
Christoph Oelckers
|
dc5d32f510
|
- two missed iterators.
|
2021-10-12 21:36:41 +02:00 |
|
Christoph Oelckers
|
13348ca428
|
- a tiny bit of code cleanup.
|
2021-10-12 21:36:41 +02:00 |
|
Christoph Oelckers
|
b240d2b5bd
|
- aiunicult.cpp is done.
|
2021-10-12 21:36:41 +02:00 |
|
Christoph Oelckers
|
013eadfd9f
|
- genDudePrepare
|
2021-10-12 21:36:18 +02:00 |
|
Christoph Oelckers
|
fb5916a3dd
|
- canSwim et.al.
|
2021-10-12 21:29:12 +02:00 |
|
Christoph Oelckers
|
acec23e034
|
- ensure the 'slave' array in genDudeExtra is always free of gaps.
This will ensure that adding entries won't accidentally overwrite things.
|
2021-10-12 21:29:11 +02:00 |
|
Christoph Oelckers
|
6bee3b5ba0
|
- updateTargetOfSlaves, also storing the slave data as pointers and major cleanup of this function.
|
2021-10-12 21:29:11 +02:00 |
|
Christoph Oelckers
|
c42e26351e
|
- genDudeSpawn, genDudeTransform and updateTargetOfLeech.
|
2021-10-12 21:29:11 +02:00 |
|
Christoph Oelckers
|
e41fcb92ab
|
- cleanup and formatting noise again.
|
2021-10-12 21:29:11 +02:00 |
|
Christoph Oelckers
|
f4fd2a770b
|
- dudeLeechOperate
|
2021-10-12 21:29:11 +02:00 |
|
Christoph Oelckers
|
e415d93283
|
- doexplosion
|
2021-10-12 19:23:25 +02:00 |
|
Christoph Oelckers
|
b1f55434a2
|
- getRecoilChance + getDodgeChance
|
2021-10-12 19:23:25 +02:00 |
|
Christoph Oelckers
|
b70368050a
|
- getDispersionModifier and getRangeAttackDist.
|
2021-10-12 19:23:25 +02:00 |
|
Christoph Oelckers
|
9801ce25dd
|
- scaleDamage
|
2021-10-12 19:23:24 +02:00 |
|
Christoph Oelckers
|
544145fe4b
|
- reformatting noise split from a larger commit.
|
2021-10-12 19:23:24 +02:00 |
|
Christoph Oelckers
|
c715ded287
|
- dudeIsMelee
|
2021-10-12 19:23:24 +02:00 |
|
Christoph Oelckers
|
eb478ba580
|
- getNextIncarnation
Event queue handling not refactored yet.
|
2021-10-12 19:23:24 +02:00 |
|
Christoph Oelckers
|
d892efb78a
|
- killDudeLeech
|
2021-10-12 19:23:24 +02:00 |
|
Christoph Oelckers
|
040049f83e
|
- more leech stuff.
# Conflicts:
# source/games/blood/src/ai.cpp
|
2021-10-12 19:23:23 +02:00 |
|
Christoph Oelckers
|
d2f16ec8ab
|
- leechIsDropped, pLifeLeech
|
2021-10-12 19:23:23 +02:00 |
|
Christoph Oelckers
|
d907627156
|
- spriteIsUnderwater
|
2021-10-12 19:23:23 +02:00 |
|
Christoph Oelckers
|
75258c8b29
|
- playGenDudeSound.
|
2021-10-12 19:23:23 +02:00 |
|
Christoph Oelckers
|
ea63229251
|
- some minor cleanup in aiunicult.cpp.
# Conflicts:
# source/games/blood/src/aiunicult.cpp
|
2021-10-12 19:23:22 +02:00 |
|
Christoph Oelckers
|
05571de93a
|
- genDudeUpdate handled.
|
2021-10-12 19:23:22 +02:00 |
|
Christoph Oelckers
|
49f75e6f51
|
- 2 more function changed to use actor parameters.
|
2021-10-12 19:23:22 +02:00 |
|
Christoph Oelckers
|
805ae48607
|
- ThrowThing cleanup.
Mostly use of VS's rename function.
|
2021-10-12 19:23:22 +02:00 |
|
Christoph Oelckers
|
c848518746
|
- use actor parameter in all calls to aiGenDudeNewState.
# Conflicts:
# source/games/blood/src/aiunicult.cpp
|
2021-10-12 19:23:22 +02:00 |
|
Christoph Oelckers
|
9de6c7df46
|
- reformatting commit.
# Conflicts:
# source/games/blood/src/ai.cpp
|
2021-10-12 19:23:22 +02:00 |
|
Christoph Oelckers
|
062b3dbf76
|
- route all access to genDudeExtra through the method in DBloodActor
|
2021-10-12 19:23:21 +02:00 |
|
Christoph Oelckers
|
cdacf8e470
|
- fixed badly resolved merge conflict
|
2021-10-12 00:07:24 +02:00 |
|