Christoph Oelckers
b9f192d6ee
- floatified plane stuff in ZTranslateSector
2022-10-25 07:06:59 +02:00
Christoph Oelckers
23f2e5a7b2
- use floats for floor/ceiling conditions.
2022-10-25 07:06:59 +02:00
Christoph Oelckers
3b88f7db3e
- floatified the variables.
2022-10-25 07:06:58 +02:00
Christoph Oelckers
4114f21323
- added wrapper function for these variables.
2022-10-25 07:06:58 +02:00
Christoph Oelckers
6dbb5a0b8c
- renamed 4 fields in XSECTOR
2022-10-25 07:06:58 +02:00
Christoph Oelckers
9c698c6044
- 3 minor changes.
2022-10-25 07:06:58 +02:00
Christoph Oelckers
89cfb87072
- floatified 2 functions in aigarg.cpp
2022-10-25 07:06:58 +02:00
Christoph Oelckers
9d19b61cf9
- 4 functions in aicult.cpp
2022-10-25 07:06:58 +02:00
Christoph Oelckers
64619478fa
- floatified 2 functions in aicaleb.cpp
2022-10-25 07:06:58 +02:00
Christoph Oelckers
1c23a2aa32
- floatified SeqAttackCallback
2022-10-25 07:06:58 +02:00
Christoph Oelckers
37ca106417
- floatified gargThinkTarget
2022-10-25 07:06:58 +02:00
Christoph Oelckers
8d18c005de
- floatified ThrowSSeqCallback
2022-10-25 07:06:57 +02:00
Christoph Oelckers
a7b23fe9ea
- floatified BlastSSeqCallback
2022-10-25 07:06:57 +02:00
Christoph Oelckers
8b2ddfadf6
- restore code as it was, buggy as it may be.
2022-10-25 07:06:57 +02:00
Christoph Oelckers
0399cf17fe
- floatified cerberusBurnSeqCallback2
2022-10-25 07:06:57 +02:00
Christoph Oelckers
6c77d1d5d3
- floatified cerberusBiteSeqCallback
2022-10-25 07:06:57 +02:00
Christoph Oelckers
ca1e9efbea
- 2 functions in aicaleb.cpp.
2022-10-25 07:06:57 +02:00
Christoph Oelckers
5e2e53d684
- more CanMove fixes, plus salvaging the rest of the old commit.
...
CanMove twice uses the texel-based nRange as a Build-unit value, this caused strange problems with the initial floatification.
2022-10-25 07:06:57 +02:00
Christoph Oelckers
138ba53ace
- fix the HitScan call in CanMove.
...
This was picking an unexpected overload because the second parameter was a float but with an integer-range value.
2022-10-25 07:06:57 +02:00
Mitchell Richters
180d020620
- Blood: Floatified CanMove()
.
2022-10-25 07:06:56 +02:00
Christoph Oelckers
2af18ec277
- remap all easy HitScan calls with zero range to the new base function.
2022-10-25 07:06:56 +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
049ced83f6
- floatified cerberusBurnSeqCallback
2022-10-25 07:06:56 +02:00
Mitchell Richters
8d3f3c6025
- Cut over to DAngle
from fixedhoriz
and remove the latter.
2022-10-25 07:06:55 +02:00
Mitchell Richters
41bbbd9df5
- Remove all remaining uses of fixedhoriz::asbuild()
.
2022-10-25 07:06:55 +02:00
Mitchell Richters
92798b5a07
- Remove most buildhoriz()
calls.
2022-10-25 07:06:55 +02:00
Mitchell Richters
293a71ed55
- Remove horizon from gi->WarpToCoords()
since we don't even print the horizon in our stats.
2022-10-25 07:06:54 +02:00
Mitchell Richters
ca8f8d6d36
- Remove all remaining q16horiz()
calls, also correcting a long-standing Duke bug.
2022-10-25 07:06:54 +02:00
Mitchell Richters
8697e5f054
- Replace all q16horiz(0)
calls.
2022-10-25 07:06:54 +02:00
Mitchell Richters
22a9f89b64
- Remove all uses of fixedhoriz::asq16()
.
2022-10-25 07:06:54 +02:00
Mitchell Richters
5851c0f2c6
- Clean up some q16horiz usage and how the view pitch is clamped.
2022-10-25 07:06:53 +02:00
Mitchell Richters
4ef9ec93ea
- Remove fixedhoriz::asbuildf()
and associated buildf friend.
...
* The new friend `tanhoriz()` is just for the input code for now.
2022-10-25 07:06:53 +02:00
Mitchell Richters
d8a6471680
- Add fixedhoriz::Tan()
and replace most asbuildf()
calls with it.
2022-10-25 07:06:53 +02:00
Mitchell Richters
d00108b9cf
- Blood: Repair life leach turret mode where target's position and not velocity was used.
2022-10-25 07:06:52 +02:00
Mitchell Richters
ef4b72d18e
- Blood: Floatify LifeLeechOperate()
.
...
* These divscales hurt my soul...
2022-10-25 07:06:52 +02:00
Christoph Oelckers
1255fda4c1
- two more functions in aibeast.cpp.
...
Note that the eyeHeight adjustment was removed because it was applied incorrectly and essentially non-functional.
eyeHeight is in world coordinates but was used as if it was Q24.8, resulting in a value too small to be significant.
2022-10-25 07:06:52 +02:00
Christoph Oelckers
e9fc0d09a9
- renaming things in StompSeqCallback
2022-10-25 07:06:52 +02:00
Christoph Oelckers
0ed4b8b01a
- Blood: floatified SlashSeqCallback
2022-10-25 07:06:52 +02:00
Christoph Oelckers
c1da02de8a
- Blood: floatified calebThinkSwimChase
2022-10-25 07:06:52 +02:00
Christoph Oelckers
c85a95ca03
- Blood: floatified cultThinkChase
...
Welcome to spaghetti-land, this is one 400 line monstrosity. :(
2022-10-25 07:06:52 +02:00
Christoph Oelckers
3055a1e5a7
- Blood: renamed functions and floatified cultThrowSeqCallback3
2022-10-25 07:06:52 +02:00
Christoph Oelckers
fd7c47ce2b
- Blood: floatified cultThrowSeqCallback
2022-10-25 07:06:51 +02:00
Christoph Oelckers
c1e0e04016
- Blood: floatified cerberusThinkChase
2022-10-25 07:06:51 +02:00
Christoph Oelckers
79d17dc645
- floatified cerberusThinkTarget
2022-10-25 07:06:51 +02:00
Christoph Oelckers
d3c3363e92
- Blood: floatified calebThinkChase
2022-10-25 07:06:51 +02:00
Christoph Oelckers
9394691601
- Blood: floatified burnThinkGoto
2022-10-25 07:06:51 +02:00
Christoph Oelckers
3c2239533b
- Blood: floatified burnThinkChase
2022-10-25 07:06:51 +02:00
Christoph Oelckers
f2f74fc239
- Blood: floatified eelThinkChase
2022-10-25 07:06:51 +02:00