Christoph Oelckers
|
e52c311592
|
- added a wrapper for VECTORDATA::maxDist
|
2022-10-25 07:07:12 +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
|
a843c0bdb6
|
- removed some unnecessary factors.
|
2022-10-25 07:07:09 +02:00 |
|
Christoph Oelckers
|
e793b878c1
|
3 HitScan fixes
|
2022-10-25 07:07:08 +02:00 |
|
Christoph Oelckers
|
a4ec938526
|
- renamed HitScan to HitScan_ as a refactoring aid.
|
2022-10-25 07:06:56 +02:00 |
|
Christoph Oelckers
|
298d029d55
|
- found one last place where an integer wrapper was called in actor.cpp
|
2022-10-25 07:06:49 +02:00 |
|
Christoph Oelckers
|
f7fe24b19e
|
- some remaining cleanup on actor.cpp
|
2022-10-25 07:06:49 +02:00 |
|
Christoph Oelckers
|
b0160bb87c
|
- removed the int vector in actCheckExplosion.
|
2022-10-25 07:06:49 +02:00 |
|
Christoph Oelckers
|
080d6969ec
|
- Blood: floatified some smaller parts in actor.cpp
|
2022-10-25 07:06:49 +02:00 |
|
Christoph Oelckers
|
b29000c9e1
|
- this wasn't really a fixed point value - just some scaling factor, so it shouldn't use FixedToFloat.
|
2022-10-25 07:06:48 +02:00 |
|
Christoph Oelckers
|
a655b3835f
|
- like actFireVector, the direction vector needs to have unit length in 2D for actFireMissile as well.
May later be turned into a 3D unit vector for pitch correct missile movement.
|
2022-10-25 07:06:48 +02:00 |
|
Christoph Oelckers
|
5e4d45f6b8
|
- floatified actFireMissile
|
2022-10-25 07:06:48 +02:00 |
|
Christoph Oelckers
|
a070342f0c
|
- floatified actFireThing
|
2022-10-25 07:06:48 +02:00 |
|
Christoph Oelckers
|
a8cc6c1189
|
- floatified angles in useSectorWindGen plus two other set_int_ang.
|
2022-10-23 18:47:17 +02:00 |
|
Christoph Oelckers
|
6c6fdaf332
|
- floatified actSpawnDude and removed its unused last parameter.
All callers left it at 0.
|
2022-10-22 20:41:26 +02:00 |
|
Christoph Oelckers
|
fc011e847f
|
- Blood: floatified actCheckTraps
|
2022-10-22 20:41:26 +02:00 |
|
Christoph Oelckers
|
e6cfb165f8
|
- converted all remaining add_int_bvel* calls.
|
2022-10-22 20:41:26 +02:00 |
|
Christoph Oelckers
|
068feae64e
|
- floatified actFireVector.
|
2022-10-22 20:41:25 +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
|
3b76de7b7d
|
- Blood: renamed actFireVector's arguments.
No way this can be refactored with names like a2, a3, a4 etc...
|
2022-10-22 20:41:25 +02:00 |
|
Mitchell Richters
|
633fb01487
|
- Blood: Rename some weapon function variables to give us half a chance of refactoring it.
|
2022-10-22 19:45:10 +02:00 |
|
Christoph Oelckers
|
39d100c970
|
- Blood: floatified debrisConcuss
|
2022-10-22 19:45:09 +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
|
761412313f
|
- did some trivial replacements for deprecated functions.
|
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
|
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 |
|
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
|
f2be65777b
|
- Blood: Floatify remaining gib interfaces.
|
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
|
de38eb4dab
|
- add_int_pos in MoveDude
|
2022-10-22 12:16:53 +02:00 |
|
Christoph Oelckers
|
305bca68c0
|
- Z velocity in MoveMissile
|
2022-10-22 12:16:53 +02:00 |
|
Mitchell Richters
|
c76540664d
|
- Blood: Fixed bad target angle setup in MoveMissile() where 90° counter-clockwise rotation was lost.
|
2022-10-22 12:16:52 +02:00 |
|
Christoph Oelckers
|
e1bcb4962e
|
- cleaned up some function calls where passing a vector is doable
|
2022-10-22 12:16:52 +02:00 |
|
Christoph Oelckers
|
96a5954c80
|
- fixed: gView references gViewIndex, not myconnectindex.
|
2022-10-18 18:29:09 +02:00 |
|
Mitchell Richters
|
59bee2f9f6
|
- Blood: Eliminate gView extern'd pointer.
|
2022-10-18 18:29:09 +02:00 |
|
Mitchell Richters
|
06d0d9b5fd
|
- Blood: Floatify player inertia correction code.
|
2022-10-18 18:29:06 +02:00 |
|
Christoph Oelckers
|
c6a0d30245
|
- wrapped most remaining clipdist access
Only modifying operators left
|
2022-10-17 17:03:53 +02:00 |
|
Christoph Oelckers
|
1ba20c7dce
|
- wrapped most clipdist assignments
|
2022-10-17 17:03:53 +02:00 |
|
Christoph Oelckers
|
3e36b5627b
|
- wrap clipdist << 2
|
2022-10-17 17:03:52 +02:00 |
|
Mitchell Richters
|
a739928d29
|
- Blood: Fix lost accounting of target sprite angle in actCheckFlares() .
|
2022-10-15 13:32:00 +02:00 |
|
Christoph Oelckers
|
2b5422cc53
|
- floatified USER::goalAng
|
2022-10-15 13:32:00 +02:00 |
|