Commit graph

170 commits

Author SHA1 Message Date
Christoph Oelckers
2b73adb5a5 - 5 newstatus calls + 3 deletesprite calls. 2021-11-23 11:53:42 +01:00
Christoph Oelckers
858ac6bf35 - damageactor 2021-11-23 11:51:38 +01:00
Christoph Oelckers
705c89de68 - handle the rest of the collision code. 2021-11-22 00:12:02 +01:00
Christoph Oelckers
bd3b94f93e - preparations for handling movesprite.
Renaming variables and removing type casts to make all calls uniform.
2021-11-22 00:09:11 +01:00
Christoph Oelckers
44c95673a1 - aimove + aifly return value.
This takes care of most checks of Build collision values.
2021-11-22 00:06:10 +01:00
Christoph Oelckers
47436c58d7 - WH: enable sprite interpolation.
For all games: completely disable interpolation by setting smoothratio to 1 when cl_interpolate == 0 or cl_capfps == 1.
2021-11-21 23:49:37 +01:00
Christoph Oelckers
11831b0a26 - WH: enabled interpolations. 2021-11-21 23:07:53 +01:00
Christoph Oelckers
8b213edf4c - chunksofmeat 2021-11-21 16:43:06 +01:00
Christoph Oelckers
c74c868dce - castspell 2021-11-21 16:41:34 +01:00
Christoph Oelckers
068f887892 - deleted a large number of unused GetSpriteIndex calls. 2021-11-21 16:40:47 +01:00
Christoph Oelckers
89e687f166 - checkdist 2021-11-21 16:40:19 +01:00
Christoph Oelckers
722f836869 - aiFly 2021-11-21 16:38:29 +01:00
Christoph Oelckers
970dc3c96a - aisearch 2021-11-21 16:37:45 +01:00
Christoph Oelckers
fc90343673 - processfluid 2021-11-21 16:33:09 +01:00
Christoph Oelckers
290d539200 - 3 more sprite spawns de-indexed. 2021-11-21 16:31:25 +01:00
Christoph Oelckers
799cddfb66 - replaced the deletesprite calls inside the item interface, also using actors in callbacks. 2021-11-21 16:29:08 +01:00
Christoph Oelckers
99f0c89e4e - replaced most deletesprite calls outside the item interface. 2021-11-21 16:27:16 +01:00
Christoph Oelckers
e261a17d2c - first batch of setsprite.
This was pure search/replace.
2021-11-21 16:19:25 +01:00
Christoph Oelckers
6eca4d721d - checksector6 2021-11-21 16:17:27 +01:00
Christoph Oelckers
394675e9a8 - warpsprite 2021-11-21 16:14:59 +01:00
Christoph Oelckers
825e903246 - checkmove 2021-11-21 16:13:17 +01:00
Christoph Oelckers
a2bb4d20d9 - checksight 2021-11-21 16:11:55 +01:00
Christoph Oelckers
c762fd31dc - trailingsmoke 2021-11-21 16:10:14 +01:00
Christoph Oelckers
49cbba8355 - replaced more than half of the remaining newstatus calls that already had actors available. 2021-11-21 16:04:32 +01:00
Christoph Oelckers
f6da8fd754 - replaced the remaining full loops over the sprite array with iterators. 2021-11-21 16:04:32 +01:00
Christoph Oelckers
a418d8b53e - replaced some full loops over the sprite array with iterators. 2021-11-21 16:04:32 +01:00
Christoph Oelckers
a0b13ce785 - removed sprite[i] references in AI code. 2021-11-21 16:04:32 +01:00
Christoph Oelckers
c3cbaa91ce - removed unneeded GetSpriteIndex calls. 2021-11-21 16:04:32 +01:00
Christoph Oelckers
2193597c3e - handle all newstatus calls in AI code.
Again done by search/replace.
2021-11-21 16:04:31 +01:00
Christoph Oelckers
abd19f4e1d - use actors in the AIState interface.
This was a massive cppy/paste operation that only changed function headers and a few internal calls.
2021-11-21 16:04:31 +01:00
Mitch Richters
1b487c1b05 - WH: Fix bad whitespace in input.cpp and add a dead player check to unsynchronised mouse input. 2021-11-21 16:04:31 +01:00
Christoph Oelckers
959405ecb0 - operatesprite cleanup 2021-11-21 16:04:31 +01:00
Christoph Oelckers
1e27f067ad - prepareboard cleanup 2021-11-21 16:04:31 +01:00
Christoph Oelckers
a33c655033 - replaced changespritestat with ChangeActorStat in animateobjs. 2021-11-21 16:04:31 +01:00
Christoph Oelckers
c62dff2606 - replaced changespritestat with ChangeActorStat in newstatus.
Like before, just one search / replace for all of this.
2021-11-21 16:04:30 +01:00
Christoph Oelckers
a789fe97af - handled all sector iterators.
Again mostly cppy/paste.
2021-11-21 16:04:30 +01:00
Christoph Oelckers
0bd0477352 - replaced all simple sector iterators. 2021-11-21 16:04:30 +01:00
Christoph Oelckers
d63f5046ec - sprite[] in animateobjs.
Search/Replace only.
2021-11-21 16:04:30 +01:00
Christoph Oelckers
847877d6de - the remaining StatIterators. 2021-11-21 16:04:30 +01:00
Christoph Oelckers
2a72a5860e - Iterators in animateobjs.
Again mainly Copy/Paste.
2021-11-21 16:04:29 +01:00
Mitch Richters
9343767fa2 - WH: Use full precision horizon adjustment code inside processinput(). 2021-11-21 16:04:29 +01:00
Mitch Richters
113e019821 - WH: Fix bad check in dead player horizon code. 2021-11-21 16:04:29 +01:00
Christoph Oelckers
3caf334ed5 - replaced the iterators in aiProcess.
Copy/Paste work.
2021-11-21 16:04:16 +01:00
Christoph Oelckers
ee53d1003a - WHActor added. 2021-11-21 16:04:16 +01:00
Christoph Oelckers
f7a21870a1 - initplayersprite: final sprite[] replacement in this first pass. 2021-11-21 16:04:16 +01:00
Christoph Oelckers
dc2f8ed84b - chunksofmeat function. 2021-11-21 16:04:16 +01:00
Christoph Oelckers
c50c8bde97 - 3 spawn functions. 2021-11-21 16:04:16 +01:00
Christoph Oelckers
bb736286c3 - icecubes, damageactor. 2021-11-21 16:04:15 +01:00
Christoph Oelckers
46b45b6a4d - explosion2, trailingsmoke 2021-11-21 16:04:15 +01:00
Christoph Oelckers
4af9d43a28 - makeafire, explosion 2021-11-21 16:04:15 +01:00