Commit graph

1574 commits

Author SHA1 Message Date
Mitchell Richters
1f7362c158 - SW: Delete all camera code guarded by CameraTestMode, which is never set true anywhere.
* At least I wasted my time floatifying it... 😏
2022-10-15 13:32:04 +02:00
Mitchell Richters
7a98e3e45b - SW: Tidy up drawscreen() and floatify it. This includes the quake code as well. 2022-10-15 13:32:04 +02:00
Mitchell Richters
7f1fb3c024 - SW: Floatify CameraView(). 2022-10-15 13:32:04 +02:00
Mitchell Richters
427d4c1c1a - SW: Floatify CircleCamera(). 2022-10-15 13:32:04 +02:00
Mitchell Richters
61ec3490e8 - SW: Remove extern'd smoothratio variable. 2022-10-15 13:32:03 +02:00
Mitchell Richters
3019f9effc - Floatify smoothratio for GameInterface::processSprites().
* Exhumed is now completely free of any Q16.16 interpolation scaling.
2022-10-15 13:32:03 +02:00
Mitchell Richters
01d185dc6b - Floatify smoothratio for DrawOverheadMap(). 2022-10-15 13:32:03 +02:00
Mitchell Richters
a71d0779e5 - SW: Add helper comment to some yet to be refactored code. 2022-10-15 13:32:02 +02:00
Mitchell Richters
45d4d3e41a - Eliminate __interpvalue() and clean up Q16.16 smoothratio values where it made sense to do so.
* Also eliminates a now empty header.
2022-10-15 13:32:02 +02:00
Mitchell Richters
f02035b15a - Eliminate __interpvaluef() and clean up Q16.16 smoothratio values where it made sense to do so. 2022-10-15 13:32:01 +02:00
Mitchell Richters
2c8cb8f052 - Rename DCoreActor method interpolatedvec3() to interpolatedpos(). 2022-10-15 13:32:01 +02:00
Mitchell Richters
39ac3b44b0 - Add scaler operators to fixedhorizon class and eliminate class-specific interpolatedhorizon() inlines. 2022-10-15 13:32:01 +02:00
Mitchell Richters
74167e1a7c - Remove interpolators for TVector and TAngle objects, replacing with single generic version. 2022-10-15 13:32:01 +02:00
Mitchell Richters
06e772b44b - Rename interpolatedvalue() in preparation for replacement. 2022-10-15 13:32:01 +02:00
Mitchell Richters
8fd6452baf - Rename interpolatedvaluef() in preparation for replacement. 2022-10-15 13:32:01 +02:00
Christoph Oelckers
312bc369ef - floatified move_scan's return position 2022-10-15 13:32:00 +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
92379863f1 - don't use DAngle for calculating bobbing amplitudes.
It makes more sense here to have a dedicated function since this is not really angular math.
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
398e66f359 - migrated all uses outside of 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
9df83edd10 - DoPlayerTurnVehicle 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
caa41e312d - floating point MultiClip API. 2022-10-15 13:31:55 +02:00