Christoph Oelckers
3f540c3201
- removed unused global variable.
2022-10-22 12:17:03 +02:00
Christoph Oelckers
0501482160
- added missing distance check for sprites to hitscan.
2022-10-22 12:17:03 +02:00
Christoph Oelckers
dcd4ee133b
- use a simpler method to calculate the intersection point in intersectSprite and fixed the distance check.
2022-10-22 12:17:03 +02:00
Christoph Oelckers
9c564db015
- replaced try_facespr_intersect with something independently written.
2022-10-22 12:17:03 +02:00
Christoph Oelckers
9ce30d7963
- deleted the unused integer rotatepoint function.
2022-10-22 12:17:03 +02:00
Christoph Oelckers
28a169d02d
- cansee floating point rewrite using backend utilities.
2022-10-22 12:17:02 +02:00
Christoph Oelckers
14a8dd451e
- redid lintersect with backend utilities.
...
I left out EDuke32's new handling for collinear traces because it not only was never active but also makes really no sense with neartag which is lintersect's only caller.
2022-10-22 12:17:02 +02:00
Mitchell Richters
95cd74bdc0
- renamed slope functions so that the int versions get a special name.
2022-10-22 12:17:02 +02:00
Christoph Oelckers
9172ab27ca
- move all deprecated functions to the bottom in gamefuncs.h.
2022-10-22 12:17:02 +02:00
Christoph Oelckers
ac2a3c443f
- got rid of all deprecated updatesector variants.
...
This required a few changes in the map loader and render interface.
2022-10-22 12:17:02 +02:00
Christoph Oelckers
e4ca397898
- corrected sector check output in validateSprite.
2022-10-22 12:17:02 +02:00
Mitchell Richters
2e4996e8fc
- floatified nnextCanMove and deleted most deprecated updatesector variants.
2022-10-22 12:17:02 +02:00
Christoph Oelckers
c5a5e3cef5
- deleted some unused deprecated functions.
2022-10-22 12:17:01 +02:00
Christoph Oelckers
9b84a510da
- Blood: floatified debrisMove
2022-10-22 12:17:01 +02:00
Christoph Oelckers
d9453138f9
- fixed FAFcansee not working in some edge cases where one actor is very small and poorly placed.
...
Instead of directly going to the alternative, let's just do a regular cansee anyway and only run the fallback if this fails. hitscan is not good enough to perform sight checks.
2022-10-22 12:17:01 +02:00
Christoph Oelckers
2cc81d0165
- floating point version of rintersect, based on GZDoom's P_InterceptVector.
2022-10-22 12:17:01 +02:00
Christoph Oelckers
b7ddd9e784
- added InterceptVector from GZDoom.
...
This will be useful for some backend stuff.
2022-10-22 12:17:01 +02:00
Mitchell Richters
ef3be6181e
- Blood: Floatified GibThing()
.
2022-10-22 12:17:01 +02:00
Mitchell Richters
2e202a022c
- Blood: Floatified GibFX()
.
2022-10-22 12:17:01 +02:00
Mitchell Richters
3d16b76c9a
- Blood: Floatified ghostThinkChase()
.
2022-10-22 12:17:01 +02:00
Mitchell Richters
8025682334
- Blood: Floatified gargThinkChase()
.
2022-10-22 12:17:00 +02:00
Mitchell Richters
ad8fbc51de
- Blood: Floatified batThinkChase()
.
2022-10-22 12:17:00 +02:00
Christoph Oelckers
761412313f
- did some trivial replacements for deprecated functions.
2022-10-22 12:17:00 +02:00
Christoph Oelckers
335df86213
- output floating point coordinates in validateSprite
2022-10-22 12:17:00 +02:00
Christoph Oelckers
a8ae8babe2
- cleanup of updatesector.h
...
Mainly not routing the float variants through the integer variants anymore and deprecating those.
FindSector was also moved into DoUpdateSector because both always need to be used together.
2022-10-22 12:17:00 +02:00
Mitchell Richters
85f716e49b
- floatify calcviewpitch
2022-10-22 12:17:00 +02:00
Christoph Oelckers
6a1ff029b7
- floatified getslopeval and all related code.
2022-10-22 12:17:00 +02:00
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