Christoph Oelckers
|
71b144023d
|
- renamed evPost to evPostActor and evKill to evKillActor for clarity.
|
2021-10-14 20:31:17 +02:00 |
|
Christoph Oelckers
|
1d04ce90e4
|
- first batch of rxBucket refactoring.
|
2021-10-14 19:49:18 +02:00 |
|
Christoph Oelckers
|
5d0086cb49
|
- renamed RXBUCKET.index to rxindex.
This will be needed for refactoring for easier lookup.
|
2021-10-14 19:41:22 +02:00 |
|
Christoph Oelckers
|
93e909dd58
|
- use actors in the CFX interface.
|
2021-10-14 19:41:01 +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
|
562968262c
|
- moved spriteMass into DBloodActor
|
2021-10-14 19:01:10 +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
|
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
|
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
|
c6dc564788
|
- fixed bad target check (again.)
|
2021-10-11 23:34:49 +02:00 |
|
Christoph Oelckers
|
351dabdb90
|
- actFireMissile.
|
2021-10-10 22:36:12 +02:00 |
|
Christoph Oelckers
|
bbe49eee7c
|
- reformatting commit
|
2021-10-10 11:47:18 +02:00 |
|
Christoph Oelckers
|
0ee81b2bb8
|
- refactored the remaining pieces in the ai code to use actors.
|
2021-10-10 11:47:18 +02:00 |
|
Christoph Oelckers
|
62502439d7
|
- eliminated HITINFO.hitsprite.
This was one of the more annoying sprite index variables because it is part of static global data.
|
2021-10-09 23:09:09 +02:00 |
|
Christoph Oelckers
|
3ab636a13a
|
- sfxPlay3DSound calls partially migrated.
|
2021-10-09 23:09:08 +02:00 |
|
Christoph Oelckers
|
b8d55feb1e
|
- actor parameter substitution and a few bad constants.
|
2021-10-09 23:08:44 +02:00 |
|
Christoph Oelckers
|
44b0e59127
|
- aiProcessDudes and aiInitSprite done, completing the main pass over ai.cpp.
|
2021-10-09 23:08:43 +02:00 |
|
Christoph Oelckers
|
29e245dfce
|
- aiProcessDudes, getting rid of the global cumulDamage array and some reformatting
|
2021-10-09 23:04:29 +02:00 |
|
Christoph Oelckers
|
fe92188b0c
|
- removed the dudeIsPlayingSeq variant taking a sprite parameter.
|
2021-10-09 23:03:09 +02:00 |
|
Christoph Oelckers
|
890cc4947b
|
- use actor parameters for aiSetTarget and aiActivateDude in several places.
|
2021-10-09 23:03:09 +02:00 |
|
Christoph Oelckers
|
61d9cd1b17
|
- switched all aiPlay3DSound calls to use actors.
|
2021-10-09 23:02:40 +02:00 |
|
carnivoroussociety
|
8dbd0f10d3
|
Refactored DUDEEXTRA struct and correctly init state
# Conflicts:
# source/games/blood/src/aiboneel.cpp
# source/games/blood/src/aicerber.cpp
# source/games/blood/src/aigarg.cpp
# source/games/blood/src/aighost.cpp
# source/games/blood/src/aitchern.cpp
|
2021-10-07 22:51:42 +02:00 |
|