Christoph Oelckers
|
3a44f168e0
|
- Blood: Fix DeleteSprite
|
2021-12-26 23:09:46 +01:00 |
|
Christoph Oelckers
|
97b19a5cb1
|
- adapted Blood's sound engine to using actors.
Note: Savegames won't work on this commit for the other games!
|
2021-12-26 23:09:45 +01:00 |
|
Christoph Oelckers
|
b7a5ea8ef6
|
- moved some common utilities into the backend.
|
2021-12-26 23:09:44 +01:00 |
|
Christoph Oelckers
|
bbb860ccf3
|
- consolidate the iterators in the backend.
Using a template class that can adapt to the game specific types.
|
2021-12-26 23:09:44 +01:00 |
|
Christoph Oelckers
|
8ce34c7772
|
- use refactored Collision struct and clipmove in Blood, too.
|
2021-12-26 23:08:57 +01:00 |
|
Christoph Oelckers
|
96b9572905
|
- moved parts of the HitInfo subclasses into the backend.
All the game code now needs to do is a single 'using' statement.
|
2021-12-26 23:08:57 +01:00 |
|
Christoph Oelckers
|
10dce7dd2d
|
- adapted all hitscan calls in Duke/RR.
|
2021-12-26 23:08:56 +01:00 |
|
Christoph Oelckers
|
129ce0aea8
|
- migrated Blood's hitscan calls and its global gHitInfo struct.
|
2021-12-26 23:08:56 +01:00 |
|
Christoph Oelckers
|
9380819e4e
|
- initialize actorArray for all games.
- the foundation for an actor aware backend.
|
2021-12-26 23:08:56 +01:00 |
|
Christoph Oelckers
|
52c80f187a
|
- added coreactor.h
|
2021-12-26 23:08:55 +01:00 |
|
Christoph Oelckers
|
9a85ff9bad
|
- MoveThing
|
2021-12-25 21:29:13 +01:00 |
|
Christoph Oelckers
|
611d35222e
|
- MoveDude
|
2021-12-25 21:29:13 +01:00 |
|
Christoph Oelckers
|
dbbca2972a
|
- use EventObject for condition serials.
|
2021-12-25 21:29:10 +01:00 |
|
Christoph Oelckers
|
2b2a8c3ec8
|
- condPush cleanup in nnexts.cpp.
|
2021-12-25 21:29:09 +01:00 |
|
Christoph Oelckers
|
1fc99d4733
|
- Blood: use wall pointers in wall utilities exclusively.
|
2021-12-25 21:29:05 +01:00 |
|
Christoph Oelckers
|
f7e61eeef7
|
- migrated Blood's portal links into sectortype.
|
2021-12-25 21:28:48 +01:00 |
|
Mitchell Richters
|
46f4f17644
|
- Blood: Fix linker error under POSIX compilation environments.
|
2021-12-25 21:28:47 +01:00 |
|
Christoph Oelckers
|
bee70155d2
|
- make XSPRITE::target a pointer
|
2021-12-25 21:28:45 +01:00 |
|
Christoph Oelckers
|
32f141ad39
|
- XSECTOR::reference is gone.
|
2021-12-25 21:28:42 +01:00 |
|
Christoph Oelckers
|
b9602bbb05
|
- store owner outside the sprite.
|
2021-12-25 21:28:38 +01:00 |
|
Christoph Oelckers
|
6705e8e51e
|
- moved xsprite into DBloodActor and save all relevant parts of DBloodActor.
This completes Blood's transition.
|
2021-12-25 21:28:37 +01:00 |
|
Christoph Oelckers
|
3d22bfa362
|
- do not crunch condition info to an int.
Once the global sprite array is gone we need full actor info here.
|
2021-12-25 21:28:37 +01:00 |
|
Christoph Oelckers
|
433764fd91
|
- mark all places using a sprite index that needs addressing with a GetSpriteIndex function.
|
2021-11-29 00:55:00 +01:00 |
|
Christoph Oelckers
|
c40266625b
|
- moved gInterpolateSprite into DBloodActor
|
2021-11-29 00:55:00 +01:00 |
|
Christoph Oelckers
|
fb95f0fff7
|
- store an actual actor pointer in PLAYER.
# Conflicts:
# source/games/blood/src/player.cpp
|
2021-11-29 00:54:58 +01:00 |
|
Christoph Oelckers
|
3e452994d8
|
- handle all of gUpper/gLowerLink.
This completes the removal of all access to the global arrays outside of setup code.
|
2021-11-29 00:54:58 +01:00 |
|
Christoph Oelckers
|
d2bc254e03
|
- the rest of triggers.cpp.
|
2021-11-29 00:54:57 +01:00 |
|
Christoph Oelckers
|
fddc213fa8
|
- made PLAYER::fragger an actor pointer.
|
2021-11-29 00:53:55 +01:00 |
|
Christoph Oelckers
|
db75e4d2bf
|
- moved basePath into XSECTOR.
# Conflicts:
# source/games/blood/src/nnexts.cpp
|
2021-11-29 00:53:53 +01:00 |
|
Christoph Oelckers
|
f4b900c540
|
- moved velocity data into DBloodActor.
|
2021-11-29 00:53:52 +01:00 |
|
Christoph Oelckers
|
54f70ec1bb
|
- moved baseSprite into DBloodActor.
|
2021-11-29 00:53:51 +01:00 |
|
Christoph Oelckers
|
b2de1e5209
|
- added BloodSpriteIterator and BloodLinearSpriteIterator to get rid of explicit loops over the sprite array.
|
2021-11-29 00:53:50 +01:00 |
|
Christoph Oelckers
|
484d016172
|
- cleaned up burn code.
|
2021-11-29 00:53:50 +01:00 |
|
Christoph Oelckers
|
c0b013ac0c
|
- moved gSpriteHit into DBloodActor.
|
2021-11-29 00:53:50 +01:00 |
|
Christoph Oelckers
|
ffdb976f5b
|
- marker stuff.
|
2021-11-29 00:53:46 +01:00 |
|
Christoph Oelckers
|
48073a2cd6
|
- sanitized the abuse of using XSPRITE's target field to pass along some info with explosions.
This is neither safe nor future proof, so now it uses a separate variable.
|
2021-11-29 00:53:44 +01:00 |
|
Christoph Oelckers
|
c2f6084988
|
- merged genDudeExtra into DBloodActor.
|
2021-11-29 00:53:40 +01:00 |
|
Christoph Oelckers
|
e0f1948ccc
|
- wrapped all setsprite calls in Blood and adapted a few leftover uses of the index version of actPostSprite.
|
2021-11-29 00:53:35 +01:00 |
|
Christoph Oelckers
|
5558c3e896
|
- debrisGetIndex and some related code.
|
2021-11-09 22:18:38 +01:00 |
|
Christoph Oelckers
|
9221262dfc
|
- refactoring of all getzrange code to use the Collision struct.
|
2021-11-09 21:39:59 +01:00 |
|
Christoph Oelckers
|
ae08ae1d8d
|
- some leftover shorts plus utilities that ended up unused but may be useful later.
|
2021-11-07 16:46:23 +01:00 |
|
Christoph Oelckers
|
b8f8c0fe04
|
- more changesprite* renaming.
|
2021-11-06 18:13:16 +01:00 |
|
Christoph Oelckers
|
7ebe492e94
|
- fixed map-spawned actor indexing in Blood.
This is needed for error reporting and the secret hint system.
|
2021-10-24 09:11:43 +02:00 |
|
Christoph Oelckers
|
add368433e
|
- sanitized callback interface.
|
2021-10-14 19:07:00 +02:00 |
|
Christoph Oelckers
|
562968262c
|
- moved spriteMass into DBloodActor
|
2021-10-14 19:01:10 +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
|
29e245dfce
|
- aiProcessDudes, getting rid of the global cumulDamage array and some reformatting
|
2021-10-09 23:04:29 +02:00 |
|
Christoph Oelckers
|
b9f6120380
|
- handle target validations in AI functions properly.
Now they will all print the function name along with the message and not rely on assert abuse.
|
2021-09-17 20:49:27 +02:00 |
|
Christoph Oelckers
|
7a6629ce6a
|
- renamed XSPRITE::target to target_i.
This is to make searching for it easier as 'target' is a very common word in the source.
|
2021-09-17 20:49:26 +02:00 |
|
Christoph Oelckers
|
a79d362b40
|
- dudeIsPlayingSeq + aiPlay3DSound.
|
2021-09-17 20:49:26 +02:00 |
|