Christoph Oelckers
c0a628dc7f
- floatified SpawnBulletEject and SpawnShellEject
2022-10-25 07:07:13 +02:00
Christoph Oelckers
d525d41ed2
- floatified smaller stuff
2022-10-25 07:07:13 +02:00
Christoph Oelckers
f3bae2b0b8
- deleted several unused functions.
2022-10-25 07:07:12 +02:00
Christoph Oelckers
7684b64b28
- floatified GENDUDEEXTRA::fireDist and all related things.
2022-10-25 07:07:12 +02:00
Christoph Oelckers
47dff8e656
- added clean handling for the one case where a custom range needs to be passed to actFireVector.
...
This removes one godawful hack that forced an otherwise constant data table to be non-const.
2022-10-25 07:07:12 +02:00
Christoph Oelckers
e52c311592
- added a wrapper for VECTORDATA::maxDist
2022-10-25 07:07:12 +02:00
Christoph Oelckers
f0b9509503
- deleted integer actFireThing version.
2022-10-25 07:07:12 +02:00
Christoph Oelckers
b30c6137d5
- used maptoworld in Quake code.
2022-10-25 07:07:12 +02:00
Christoph Oelckers
2afea7c477
- TranslateSector cleanup.
2022-10-25 07:07:12 +02:00
Christoph Oelckers
c6e8f0bcdb
- merged the TranslateSector wrapper into the main function.
...
No floatification yet.
2022-10-25 07:07:12 +02:00
Christoph Oelckers
3df5fb112e
- remove leftover conversion code.
2022-10-25 07:07:12 +02:00
Christoph Oelckers
ca96a2b41c
- move coordinate conversion from GetClosestSpriteSectors to CheckProximityWall.
2022-10-25 07:07:11 +02:00
Christoph Oelckers
3c2e4a9c59
- deleted integer GetActorExtents version
2022-10-25 07:07:11 +02:00
Christoph Oelckers
5ab75f45e9
- floatified and consolidated throwPower handling.
2022-10-25 07:07:11 +02:00
Christoph Oelckers
a87c4809f5
- deleted unused mulscale30r functions.
2022-10-25 07:07:11 +02:00
Christoph Oelckers
b176ceda38
- floatified playerFireThing
2022-10-25 07:07:11 +02:00
Christoph Oelckers
cab00d05dc
- got rid of the int version of playerFireMissile
2022-10-25 07:07:11 +02:00
Christoph Oelckers
8673d692f0
- floatified genDudeAdjustSlope's dist.
2022-10-25 07:07:11 +02:00
Christoph Oelckers
77d712dbc4
- got rid of the int aiSetTarget variant.
2022-10-25 07:07:11 +02:00
Christoph Oelckers
fbed29e6ca
- bubbletime has no relation to world size so it should not use worldtoint.
2022-10-25 07:07:10 +02:00
Christoph Oelckers
310eff6e71
- clean out many wrappers.
2022-10-25 07:07:10 +02:00
Christoph Oelckers
d013e6fbd9
- eliminate the last 5 Sin calls
2022-10-25 07:07:10 +02:00
Christoph Oelckers
312b96fedc
- floatified aim and relAim
2022-10-25 07:07:10 +02:00
Christoph Oelckers
a9095a5a1e
- floatified all FireSpread functions.
2022-10-25 07:07:10 +02:00
Christoph Oelckers
bd011c69a6
- wrapped most of aim
2022-10-25 07:07:10 +02:00
Christoph Oelckers
1283c4d757
- renamed aim and relAim
2022-10-25 07:07:10 +02:00
Christoph Oelckers
b2dc69ad5d
- floatified dudeSlope.
2022-10-25 07:07:10 +02:00
Christoph Oelckers
27c0a00df6
- use dudeslope wrappers.
2022-10-25 07:07:10 +02:00
Christoph Oelckers
e44759d2ea
- renamed dudeSlope
2022-10-25 07:07:09 +02:00
Christoph Oelckers
f286565abc
- floatifying player::slope, part 2
2022-10-25 07:07:09 +02:00
Christoph Oelckers
1a03c56eec
- floatifying player::slope, part 1
2022-10-25 07:07:09 +02:00
Christoph Oelckers
22cf0ea2ad
-deleted approxDist
2022-10-25 07:07:09 +02:00
Christoph Oelckers
f1b5bba035
- length calculation in teslaHit.
2022-10-25 07:07:09 +02:00
Christoph Oelckers
3814dfcf0e
- floatified distance in AltFireVoodoo
2022-10-25 07:07:09 +02:00
Christoph Oelckers
b2bf137d72
- floatified UpdateAimVector
...
the biggest mess of all.
2022-10-25 07:07:09 +02:00
Christoph Oelckers
a843c0bdb6
- removed some unnecessary factors.
2022-10-25 07:07:09 +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
702553d65e
- floatified HitScan call in nnextCanMove.
2022-10-25 07:07:08 +02:00
Christoph Oelckers
7f5ae54f93
- 3x use proper HitScan call.
2022-10-25 07:07:08 +02:00
Christoph Oelckers
e793b878c1
3 HitScan fixes
2022-10-25 07:07:08 +02:00
Christoph Oelckers
b7c63e08ec
- floatified DoSectorPanning
2022-10-25 07:07:08 +02:00
Christoph Oelckers
580bbccdf5
- handle angles in voodooTarget
2022-10-25 07:07:08 +02:00
Christoph Oelckers
56429ebbba
- floatified MGunFireSeqCallback
2022-10-25 07:07:08 +02:00
Christoph Oelckers
32ed2dd596
- some trivial things.
2022-10-25 07:07:08 +02:00
Christoph Oelckers
0577b678d2
- all of int_ang in aizombf.cpp
...
Note that the z-offset in ThrowSeqCallback was not correct - eyeHeight is in pixels, but this was passed as a Build-z-parameter which is scaled by 256, effectively rendering the offset almost ineffective.
2022-10-25 07:07:07 +02:00
Christoph Oelckers
e4f8178947
- all int_ang() in aiunicult.cpp
2022-10-25 07:07:07 +02:00
Christoph Oelckers
049220239c
- get rid of vel wrappers for nnext conditions.
...
The fixed point conversion here is unavoidable, so make it explcit.
2022-10-25 07:07:07 +02:00
Christoph Oelckers
5dc2d467ee
- the last remaining approxDist calls in nnexts.
2022-10-25 07:07:07 +02:00
Christoph Oelckers
cf2d29e921
- floatified aiFightGetFineTargetDist
2022-10-25 07:07:07 +02:00