Christoph Oelckers
aae468e2b2
- migrated all of SW's neartag calls to the fully floatified version
2022-10-22 12:17:03 +02:00
Christoph Oelckers
1553ec812d
- magic carpet fixes for SW's $woods.map
...
* the track point code needs to retain the original distance function because in this case the difference can be critical as it interprets map data.
* two cases of bad vertical distance calculation due to unclear original code.
2022-10-19 17:49:19 +02:00
Christoph Oelckers
0e1a566d62
- added mapangle function for converting angles from map data.
...
This is just a wrapper around DAngle::fromBuild, its purpose is to clearly highlight data that cannot be refactored and needs to be converted
2022-10-18 19:01:45 +02:00
Christoph Oelckers
1ba20c7dce
- wrapped most clipdist assignments
2022-10-17 17:03:53 +02:00
Christoph Oelckers
ee669a1fec
- cleanup
2022-10-17 17:03:52 +02:00
Christoph Oelckers
da664b9964
- deal with the last remaining bits of integer math in track.cpp.
2022-10-16 23:54:18 +02:00
Christoph Oelckers
64b5ba8c68
- pass floating point velocities to SpawnActor
...
Also remove the fixed point variant
2022-10-16 10:31:12 +02:00
Christoph Oelckers
addda94ee5
- floatified sop->crush_z
2022-10-15 18:22:09 +02:00
Christoph Oelckers
e81dba2ea9
- random angle cleanup
2022-10-15 17:52:06 +02:00
Christoph Oelckers
1501558139
- floatified USER::Dist
2022-10-15 13:32:05 +02:00
Christoph Oelckers
1833e7de7e
- math cleanup of the rest of track.cpp.
2022-10-15 13:31:59 +02:00
Christoph Oelckers
ac998da374
- floatified SO bobbing
2022-10-15 13:31:59 +02:00
Christoph Oelckers
86c557653b
- some renamings of bob_amt to isolate the one in SECTOR_OBJECT
2022-10-15 13:31:59 +02:00
Christoph Oelckers
973c9b89a9
- floatified sop->z_tgt
2022-10-15 13:31:59 +02:00
Christoph Oelckers
5d551fcda9
- floatified sop->zorig_floor
2022-10-15 13:31:58 +02:00
Christoph Oelckers
0794663601
- math cleanup of the first third of track.cpp
2022-10-15 13:31:58 +02:00
Christoph Oelckers
3bb0ee69a1
- initialize SOP angles to 0.
...
The memset to -1 turns them into NANs.
2022-10-15 13:31:58 +02:00
Christoph Oelckers
176afdc00a
- seventh batch of migrations in track.cpp
2022-10-15 13:31:58 +02:00
Christoph Oelckers
4341578267
- sixth batch of migrations in track.cpp
2022-10-15 13:31:58 +02:00
Christoph Oelckers
a37fb3aded
- fifth batch of migrations in track.cpp
2022-10-15 13:31:58 +02:00
Christoph Oelckers
7920e0e629
- fourth batch of migrations in track.cpp
2022-10-15 13:31:58 +02:00
Christoph Oelckers
ddb6ec68a1
- third batch of migrations in track.cpp
2022-10-15 13:31:58 +02:00
Christoph Oelckers
6c82f9be22
- second batch of migrations in track.cpp
2022-10-15 13:31:57 +02:00
Christoph Oelckers
2148dba3a6
- floatified the angle variables.
2022-10-15 13:31:57 +02:00
Christoph Oelckers
d35785f1ee
- added wrappers, part 7 and final
2022-10-15 13:31:57 +02:00
Christoph Oelckers
329a912041
- added wrappers, part 6
2022-10-15 13:31:57 +02:00
Christoph Oelckers
76b733b80d
- added wrappers, part 5
2022-10-15 13:31:57 +02:00
Christoph Oelckers
8d3f95f101
- added wrappers, part 4
2022-10-15 13:31:57 +02:00
Christoph Oelckers
45bf11a341
- added wrappers, part 3
2022-10-15 13:31:57 +02:00
Christoph Oelckers
a3521c0b7e
- added wrappers, part 2
2022-10-15 13:31:56 +02:00
Christoph Oelckers
d4a0972733
- added wrappers, part 1
2022-10-15 13:31:56 +02:00
Christoph Oelckers
d2253a3aec
- renamed angle stuff.
2022-10-15 13:31:56 +02:00
Christoph Oelckers
8a320f6fa7
- OperateSectorObject
2022-10-15 13:31:56 +02:00
Christoph Oelckers
079fbd340f
- floatified sop->floor_loz and floor_hiz
2022-10-15 13:31:56 +02:00
Christoph Oelckers
9aaae82de0
- variable renaming again
2022-10-15 13:31:56 +02:00
Christoph Oelckers
3a861e168c
- floatified more movement code.
2022-10-15 13:31:55 +02:00
Christoph Oelckers
d0422ae1b5
- floatified scale_point stuff.
2022-10-15 13:31:55 +02:00
Christoph Oelckers
aa88eb49e0
- renamed another set of variables
2022-10-15 13:31:55 +02:00
Christoph Oelckers
85be297a2d
- part of RefreshPoints
2022-10-15 13:31:55 +02:00
Christoph Oelckers
09104ba6fe
- floatified ScaleRandomPoint
2022-10-15 13:31:55 +02:00
Christoph Oelckers
d80b39d184
- floatified clipbox/MultiClip of SW
2022-10-15 13:31:55 +02:00
Christoph Oelckers
17b117e86b
- renamed another set of variables.
2022-10-15 13:31:55 +02:00
Christoph Oelckers
0b642dc631
- floatified large parts of SO movement code.
2022-10-15 13:30:09 +02:00
Christoph Oelckers
212be963d9
- floatified SO scale_dist et.al.
2022-10-15 12:42:31 +02:00
Christoph Oelckers
189f791bc4
- renamed more fields.
2022-10-15 12:42:31 +02:00
Christoph Oelckers
42246f9a9d
- floatified SW's sector object morph code.
2022-10-15 12:42:31 +02:00
Christoph Oelckers
30104fca50
- renamed some variables
2022-10-15 12:42:31 +02:00
Christoph Oelckers
3e76d49b6e
- removed the mul vel wrappers
2022-10-15 10:15:21 +02:00
Christoph Oelckers
6fd8dae380
- removed the non-Blood float_* access wrappers
2022-10-15 10:15:21 +02:00
Christoph Oelckers
62ba753585
- remove vel clear wrappers
2022-10-15 10:15:21 +02:00