Christoph Oelckers
1d48b0776e
- cleanup in Blood plus repeats in aiunicult.cpp
...
* removed the picWidth/Height functions because their one use can be easily inlined
* deleted the unused initvals in GENDUDEEXTRA
2022-10-30 16:51:23 +01:00
Christoph Oelckers
69f27d42aa
- same for Blood's ClipMove
2022-10-30 16:51:08 +01:00
Christoph Oelckers
600c2a0243
- map all clipmove calls to the version with a full float interface.
2022-10-30 16:50:48 +01:00
Christoph Oelckers
22ccf33569
- floatified walldist parameter of getzrange
2022-10-25 07:07:14 +02:00
Christoph Oelckers
f3bae2b0b8
- deleted several unused functions.
2022-10-25 07:07:12 +02:00
Christoph Oelckers
cab00d05dc
- got rid of the int version of playerFireMissile
2022-10-25 07:07:11 +02:00
Christoph Oelckers
8ac5884232
- the first HitScan_ variant is gone.
2022-10-25 07:07:08 +02:00
Christoph Oelckers
fcc0d3bfea
- deprecating HitScan_.
2022-10-25 07:07:08 +02:00
Christoph Oelckers
139f68c804
- deleted unused GetDistToLine
2022-10-25 07:07:07 +02:00
Christoph Oelckers
2eb068e4a6
- deleted unused CheckProximityPoint and cleaned up earthquake calculations.
2022-10-25 07:07:07 +02:00
Christoph Oelckers
99da5d78ab
- floatified GetZRangeAtXYZ
2022-10-25 07:07:06 +02:00
Christoph Oelckers
6e03f87671
- floatified GetZRange
2022-10-25 07:07:06 +02:00
Christoph Oelckers
9cd5766cd0
- deleted unused GetWallAngle function and comment cleanup
2022-10-25 07:07:05 +02:00
Christoph Oelckers
6b579156aa
- Blood HitScan fixes
...
- changed target parameter of hitscan to a double to simplify its handling.
- HitScan's nRange parameter may be an int, but it is in texel units, not Build units.
2022-10-25 07:06:56 +02:00
Christoph Oelckers
1d8dccca04
- floatified HitScan and use a proper vector calculation for hitscangoal.
...
This should be on the trace, not use a totally different direction.
2022-10-25 07:06:56 +02:00
Christoph Oelckers
a4ec938526
- renamed HitScan to HitScan_ as a refactoring aid.
2022-10-25 07:06:56 +02:00
Christoph Oelckers
e00eda6cb8
- Blood: floatified VectorScan.
...
The texture checks in here definitely need some more verification, though.
Doing a quick test looked ok, but I do not think this was enough.
2022-10-22 20:41:25 +02:00
Christoph Oelckers
044b9e555b
- floatified a bit more of nnExtProcessSuperSprites
2022-10-22 20:41:25 +02:00
Mitchell Richters
ef03e64025
- Blood: Floatified ActionScan()
.
2022-10-22 12:17:04 +02:00
Christoph Oelckers
c9bcfff654
- gross hack to simulate the original bad precision of Blood's ClipMove.
2022-10-22 12:16:59 +02:00
Mitchell Richters
cdf45103ad
- Blood: Floatify MoveThing()
.
2022-10-22 12:16:58 +02:00
Christoph Oelckers
f2d89b7609
- refactored actWallBounceVector as well
...
This completes the abstraction of velocity in Blood.
2022-10-15 10:15:20 +02:00
Christoph Oelckers
ea9c88d952
- floatified Blood’s MoveMissile function
2022-10-13 20:56:38 +02:00
Christoph Oelckers
478672879e
- partial HitScan parameter change
...
The really easy stuff…
2022-10-13 00:59:00 +02:00
Christoph Oelckers
00436bfdac
- eliminated one UpdateActor pverload.
2022-10-12 22:10:36 +02:00
Christoph Oelckers
db0ce36143
- use engine's updatesector in Blood instead of the limited homegrown FindSector variant.
2022-10-11 18:09:48 +02:00
Christoph Oelckers
139969d017
- FindSector variants with vectors
2022-10-10 17:37:19 +02:00
Christoph Oelckers
08c19cd2a4
- floatified CheckProximity position parameter
2022-10-10 17:37:18 +02:00
Christoph Oelckers
9460239417
- pass a vector to GetClosestSpriteSectors
2022-10-10 17:37:18 +02:00
Christoph Oelckers
64391c52f9
- large batch of set_int_pos, minus Exhumed
2022-10-05 17:33:01 +02:00
Christoph Oelckers
b7d095b943
- tabified more Blood files.
2021-12-30 09:58:48 +01:00
Christoph Oelckers
88c77ec71a
- some pSprite2's plus CheckSector.
2021-12-30 09:57:09 +01:00
Christoph Oelckers
6a43a270fa
- use sectno() access function where we really need a sector index.
2021-12-26 23:10:01 +01:00
Christoph Oelckers
588f88c9cc
- migrated the actors to DObjects.
...
No GC yet, only the classes have been altered and some GC-related features been added.
Full switchover will require adding GC support to all data in the game.
2021-12-26 23:09:57 +01:00
Christoph Oelckers
8ce34c7772
- use refactored Collision struct and clipmove in Blood, too.
2021-12-26 23:08:57 +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
9017fee74f
- FindSector.
2021-12-25 21:29:17 +01:00
Christoph Oelckers
b187f3c028
- CheckProximity
2021-12-25 21:29:15 +01:00
Christoph Oelckers
3d336c13ac
- GetClosestSpriteSectors
2021-12-25 21:29:14 +01:00
Christoph Oelckers
c8f4caf364
- animatesprite.cpp.
2021-12-25 21:29:13 +01:00
Christoph Oelckers
a34e89c8b7
- debrisMove + getting rid of the index based ClipMove variant.
2021-12-25 21:29:13 +01:00
Christoph Oelckers
94671c5b05
- MoveMissile + GetZRangeXYZ
2021-12-25 21:29:13 +01:00
Christoph Oelckers
611d35222e
- MoveDude
2021-12-25 21:29:13 +01:00
Christoph Oelckers
669aa033e9
- wrap the bit tests for GetClosestSpriteSectors's return.
...
They need to check spritenum which is supposed to go away, so this function avoids keeping obsolete references.
2021-12-25 21:29:12 +01:00
Christoph Oelckers
96b6bb21ef
- several smaller places.
...
This gets rid of the less frequent names to look for.
2021-12-25 21:29:11 +01:00
Christoph Oelckers
292f100114
- pass an array of wall pointers to GetClosestSpriteSectors
2021-12-25 21:29:06 +01:00
Christoph Oelckers
d5e660a40c
- converted gHitInfo.hitwall to a pointer.
2021-12-25 21:29:06 +01:00
Christoph Oelckers
3f46507313
- some wall[] replaced.
2021-12-25 21:29:06 +01:00
Christoph Oelckers
1fc99d4733
- Blood: use wall pointers in wall utilities exclusively.
2021-12-25 21:29:05 +01:00
Christoph Oelckers
7a7537961b
- Blood: remove GetWallAngle variant with index parameter
2021-12-25 21:29:05 +01:00