Christoph Oelckers
e6cfb165f8
- converted all remaining add_int_bvel* calls.
2022-10-22 20:41:26 +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
Christoph Oelckers
09d66914f4
- LinePlaneIntersect
...
This is for calculating intersections with slope sprites later.
2022-10-22 12:17:04 +02:00
Christoph Oelckers
243c071834
- got rid of bsinf and bcosf.
2022-10-22 12:17:04 +02:00
Christoph Oelckers
6dd7fac902
- eliminated the sine table and moved tilehasmodelorvoxel to a different file to delete engine.cpp.
2022-10-22 12:17:04 +02:00
Christoph Oelckers
ef2f781e09
- rewrite from scratch of neartag.
2022-10-22 12:17:04 +02:00
Christoph Oelckers
20043f6223
- use symbolic constants in neartag calls.
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
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
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
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
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
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
0b8f7f6a9f
- deleted add_int_pos
2022-10-22 12:16:53 +02:00
Christoph Oelckers
fb2c4efa2f
- eliminated the last place where tspritetype’s add_int_z was used
2022-10-22 12:16:53 +02:00
Christoph Oelckers
ca8b9e9793
- overhauled getzrangepoint to use backend utilities
2022-10-22 12:09:54 +02:00
Christoph Oelckers
c511e5dca9
- eliminated int_xvel
2022-10-22 11:33:16 +02:00
Christoph Oelckers
671e75ba5f
- eliminate the last int_zvel call
2022-10-22 09:34:16 +02:00
Christoph Oelckers
666f768413
- deleted set_int_xvel and set_int_zvel.
2022-10-22 09:34:15 +02:00
Christoph Oelckers
9cfd56a912
- mathutil is not needed anymore.
2022-10-22 09:34:13 +02:00
Christoph Oelckers
1111251887
type safe CVAR declaration.
2022-10-22 09:25:27 +02:00
Mitchell Richters
db5fcde0db
- Fix issues with startup on fresh config following CVAR overhaul.
2022-10-22 14:42:12 +11:00
Mitchell Richters
4e8331b16b
- Fix broken wrap-around in the double version of BobVal()
.
...
* My first time actually witnessing this, but was only a problem with GCC...
2022-10-22 13:51:31 +11:00
Christoph Oelckers
479616a80f
- got new CVar system from GZDoom.
2022-10-22 00:12:17 +02:00
Christoph Oelckers
e224abb949
- silenced warnings.
2022-10-21 00:00:07 +02:00
Christoph Oelckers
1814274124
- eliminated all of add_int_zvel.
2022-10-21 00:00:05 +02:00
Christoph Oelckers
0432930e5b
- converted all dist() calls to vector math and deleted the utilities
2022-10-21 00:00:04 +02:00