Commit graph

1604 commits

Author SHA1 Message Date
Christoph Oelckers
7c2fc9efea - minor jweapon.cpp cleanup 2022-10-15 17:49:33 +02:00
Christoph Oelckers
85945c7f27 - interpolate SO angles with full precision. 2022-10-15 17:49:33 +02:00
Christoph Oelckers
dfd768d8d9 - hornet.cpp 2022-10-15 17:16:58 +02:00
Christoph Oelckers
a95e7a9527 - handle eel.cpp 2022-10-15 17:16:57 +02:00
Christoph Oelckers
fd5cf15e0e - function separators 2022-10-15 17:16:57 +02:00
Christoph Oelckers
e3d2e85760 - floatified remaining parts of bunny.cpp 2022-10-15 17:16:57 +02:00
Christoph Oelckers
19e703aaed - formatting the rest of break.cpp 2022-10-15 17:16:57 +02:00
Christoph Oelckers
0644add7be - floatified AutoBreakWall and WallBreakPosition 2022-10-15 17:16:57 +02:00
Christoph Oelckers
9cd3b3456a - missed one last DistanceI call in ai.cpp 2022-10-15 17:16:57 +02:00
Christoph Oelckers
145b563736 - floatified InitActorReposition 2022-10-15 17:16:57 +02:00
Christoph Oelckers
ac87016c3e - floatified FindNewAngle 2022-10-15 17:16:56 +02:00
Christoph Oelckers
6d3aaa0b6a - lots of function separators 2022-10-15 17:16:56 +02:00
Christoph Oelckers
79b3223f9a - a few distance checks 2022-10-15 17:16:56 +02:00
Christoph Oelckers
fe14b5378b - floatified DoActorPickClosePlayer 2022-10-15 17:16:56 +02:00
Christoph Oelckers
b18bbf248d - function separators 2022-10-15 17:16:56 +02:00
Christoph Oelckers
f9fb48b930 - handle DoActorSetSpeed 2022-10-15 17:16:56 +02:00
Christoph Oelckers
0f5d66a4a7 - one last change plus formatting of actor.cpp 2022-10-15 17:11:33 +02:00
Christoph Oelckers
7ba56bc6cc - floatified USER slide variables. 2022-10-15 13:32:06 +02:00
Christoph Oelckers
2ab87ad18c - renamed variables for refactoring. 2022-10-15 13:32:06 +02:00
Christoph Oelckers
44e4367ee7 - function separators in the first half of actor.cpp 2022-10-15 13:32:06 +02:00
Christoph Oelckers
84eace7680 - handle all remaining wrappers in the first half of sw/actor.cpp 2022-10-15 13:32:05 +02:00
Christoph Oelckers
32289a51e9 - floatified DoPickTarget 2022-10-15 13:32:05 +02:00
Christoph Oelckers
11ff044d87 - floatified DoFlagRangeTest 2022-10-15 13:32:05 +02:00
Christoph Oelckers
e8e69abdf7 - floatified JS_DrawCameras 2022-10-15 13:32:05 +02:00
Christoph Oelckers
fe8a059726 - floatified JS_ProcessEchoSpot 2022-10-15 13:32:05 +02:00
Christoph Oelckers
1501558139 - floatified USER::Dist 2022-10-15 13:32:05 +02:00
Christoph Oelckers
872833d6be - floatified USER::targetDist and distCheck. 2022-10-15 13:32:05 +02:00
Mitchell Richters
7c7eb038d8 - SW: Remove unused bool DrawScreen from draw screen code. 2022-10-15 13:32:04 +02:00
Mitchell Richters
c9e33b92cc - Ensure all games consistently scale out for chase cam mode. 2022-10-15 13:32:04 +02:00
Mitchell Richters
f776489f06 - SW: Flatten smoothratio back to float and rename to interpfrac. 2022-10-15 13:32:04 +02:00
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