Christoph Oelckers
ece8663f5e
- floatified calcSlope and cleaned up the get*slope interface
2022-10-22 12:17:00 +02:00
Mitchell Richters
930a78f7b2
- Use REPEAT_SCALE
in a few more places.
2022-10-22 12:16:59 +02:00
Christoph Oelckers
8a40fbb020
- deleted ffloorZ.
2022-10-22 12:16:59 +02:00
Christoph Oelckers
84ce8b29f2
- handle another precision issue in MoveDude.
...
That mulscale16r function is broken enough to affect the values in an observable way that cannot be replicated with real floats.
2022-10-22 12:16:59 +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
b45c95eec5
- Blood: Floatify MoveDude()
and fixed incorrect velocity check.
2022-10-22 12:16:59 +02:00
Mitchell Richters
4788e26596
- Blood: Floatify actAirDrag()
and some associated XSECTOR
members.
...
* Left `XSECTOR::windVel` as an integer type for now.
2022-10-22 12:16:59 +02:00
Mitchell Richters
7747205e03
- Blood: Some small wrapper replacements.
2022-10-22 12:16:59 +02:00
Mitchell Richters
448c52be74
- Blood: Clean up some rotatepoint()
usage.
2022-10-22 12:16:59 +02:00
Mitchell Richters
9c67110722
- Blood: Floatify GetSpriteExtents()
.
2022-10-22 12:16:59 +02:00
Mitchell Richters
f2be65777b
- Blood: Floatify remaining gib interfaces.
2022-10-22 12:16:58 +02:00
Mitchell Richters
d92fda4312
- Blood: Floatify callbackUniMissileBurst()
.
2022-10-22 12:16:58 +02:00
Mitchell Richters
3858e2cbd1
- Blood: Floatify FlareBurst()
.
2022-10-22 12:16:58 +02:00
Mitchell Richters
216089130c
- Blood: Floatify viewProcessSprites()
.
2022-10-22 12:16:58 +02:00
Mitchell Richters
e5226c65a9
- Blood: Add DAngle overload for CFX::fxSpawnActor()
.
2022-10-22 12:16:58 +02:00
Mitchell Richters
e124288b57
- Blood: Clean up actFloorBounceVector()
floatification.
2022-10-22 12:16:58 +02:00
Mitchell Richters
8e851c8b00
- Blood: Initial pass at floatifying actFloorBounceVector()
.
...
* Direct translation of the original code.
2022-10-22 12:16:58 +02:00
Mitchell Richters
cdf45103ad
- Blood: Floatify MoveThing()
.
2022-10-22 12:16:58 +02:00
Mitchell Richters
56bc13e669
- Blood: Floatify vel math in checkCeilHit()
.
2022-10-22 12:16:57 +02:00
Mitchell Richters
013158da07
- Blood: Floatify actKickObject()
.
2022-10-22 12:16:57 +02:00
Mitchell Richters
6efe565f7c
- Blood: Floatified vector addition in ConcussSprite()
.
2022-10-22 12:16:57 +02:00
Christoph Oelckers
bd9dfadf6d
- use REPEAT_SCALE ih the wall/floorsprite getter functions.
2022-10-22 12:16:57 +02:00
Christoph Oelckers
e6807964ae
- don't use Build utilities in the render backend.
2022-10-22 12:16:57 +02:00
Christoph Oelckers
d7a93e140c
- added format conversion helpers to DUDEINFO.
2022-10-22 12:16:57 +02:00
Christoph Oelckers
b2d1988e50
- use engine utilities for the section builder’s inside check
2022-10-22 12:16:57 +02:00
Christoph Oelckers
f5e6503b26
- merge NearestPointLine into NearestPointOnWall
2022-10-22 12:16:57 +02:00
Christoph Oelckers
c44fd07f37
- floatified the portal displacement
2022-10-22 12:16:57 +02:00
Christoph Oelckers
c87b4a581b
- got rid of the WallStart/End macros
...
They never got much use and the places where they were used work just as well without them
2022-10-22 12:16:56 +02:00
Christoph Oelckers
cbfc9a8252
- added spriteGetZOfSlopeF for the backend
2022-10-22 12:16:56 +02:00
Christoph Oelckers
fd4f04b5fd
- eliminated fixed point GetSoundPos variants
2022-10-22 12:16:56 +02:00
Christoph Oelckers
ab23f6b114
- floatify clipangle math in HWLineToLinePortal::Setup
2022-10-22 12:16:56 +02:00
Christoph Oelckers
375d346ae8
- pass a vector to the processSprites interface.
2022-10-22 12:16:56 +02:00
Christoph Oelckers
bbf77c908b
- pass a floating point view position to the bunch drawer
2022-10-22 12:16:56 +02:00
Christoph Oelckers
16f61800ef
- simplified code a bit in clipmove
2022-10-22 12:16:56 +02:00
Christoph Oelckers
04e98f2f77
- avoid inflation of random functions.
2022-10-22 12:16:56 +02:00
Christoph Oelckers
85e4022f77
- foatified GibWall
2022-10-22 12:16:55 +02:00
Christoph Oelckers
49ae7c0c0f
- floatified sound code in useSeqSpawnerGen
2022-10-22 12:16:55 +02:00
Christoph Oelckers
d03e890833
- fixed: The GC must mark the SprInSect actor lists
2022-10-22 12:16:55 +02:00
Christoph Oelckers
2b3b7f880f
- floatified getSpritesNearWalls
2022-10-22 12:16:55 +02:00
Christoph Oelckers
60e242373c
- floatified AlignSlopes
2022-10-22 12:16:55 +02:00
Christoph Oelckers
a3d1420426
- remove int wrappers from CheckProximityWall
...
As laid out in the comment, the function is broken and only kept for compatibility purposes. Therefore it may not be refactored in any way and should retain its incorrect and often overflowing int math. The wrappers are only a refactoring marker and have no place here.
2022-10-22 12:16:55 +02:00
Christoph Oelckers
e2954dd9d5
- floatified ceilIsTooLow
2022-10-22 12:16:55 +02:00
Christoph Oelckers
02aee7f8aa
- floatification in genDudePrepare
2022-10-22 12:16:54 +02:00
Christoph Oelckers
aa909b843d
- some identical set_int_bvel_z calls
2022-10-22 12:16:54 +02:00
Christoph Oelckers
7804e23ad0
- 8x set_int_ang
2022-10-22 12:16:54 +02:00
Christoph Oelckers
775ac0564c
- convert one sound call
2022-10-22 12:16:54 +02:00
Christoph Oelckers
e682e1bd85
- the last one
2022-10-22 12:16:54 +02:00
Christoph Oelckers
8b260294ae
- two more TranslateSector calls.
2022-10-22 12:16:54 +02:00
Christoph Oelckers
ec9272491e
- second part of TranslateSector calls.
2022-10-22 12:16:54 +02:00
Christoph Oelckers
8eb4296a56
- floatified first part of TranslateSector calls.
2022-10-22 12:16:54 +02:00