Commit graph

18283 commits

Author SHA1 Message Date
Christoph Oelckers
b202cf7a12 - added option to show the level stats on the automap. 2022-10-15 17:14:34 +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
53b32ea161 - Leverage walltype's delta() method in chase cam code. 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
8f2d6f0779 - Floatify smoothratio for render_drawrooms() and `render_camtex(). 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
5e410ff738 - Eliminate most uses of DAngle::Buildfang(). 2022-10-15 13:32:03 +02:00
Mitchell Richters
b05b98826b - Rename some smoothratio variables to indicate that they've been processed. 2022-10-15 13:32:03 +02:00
Mitchell Richters
acee39ad68 - Restore a dedicated interpolatedvalue() overload just for angles, which need special treatment. 2022-10-15 13:32:03 +02:00
Mitchell Richters
fc47cec222 - Exhumed: Change inita into a DAngle. 2022-10-15 13:32:03 +02:00
Mitchell Richters
0625d4b65f - Exhumed: Floatify smoothratio for analyzesprites(). 2022-10-15 13:32:02 +02:00
Mitchell Richters
6716d0f2e9 - Floatify smoothratio for calcChaseCamPos(). 2022-10-15 13:32:02 +02:00
Mitchell Richters
e84a0f3245 - Exhumed: Floatify nQuake[] array. 2022-10-15 13:32:02 +02:00
Mitchell Richters
953364b96b - Rename a smoothratio variable to interpfrac to show that it's not Q16.16. 2022-10-15 13:32:02 +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
ee30e770f7 - Exhumed: Floatify eyelevel. 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
f5dda2909a - Remove now-unused interpolation methods from DCoreActor class. 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
f0fe6463a4 - fixed duplicate savegame key. 2022-10-15 13:32:01 +02:00
Mitchell Richters
dea34609cd - Exhumed: nCamera -> nCamerapos. 2022-10-15 13:32:00 +02:00
Mitchell Richters
48c2b5d89a - Exhumed: nCameraa -> nCameraang. 2022-10-15 13:32:00 +02:00
Christoph Oelckers
312bc369ef - floatified move_scan's return position 2022-10-15 13:32:00 +02:00
Christoph Oelckers
1a9e255265 - the angle in aiChooseDirection must be precisely what it was in Build.
60° may only be 1/3 Build angle unit off, but it is already too much.
2022-10-15 13:32:00 +02:00
Mitchell Richters
a739928d29 - Blood: Fix lost accounting of target sprite angle in actCheckFlares(). 2022-10-15 13:32:00 +02:00
Mitchell Richters
a8f7b3f6fe - Blood: Fix bad angle direction in aiChooseDirection(). 2022-10-15 13:32:00 +02:00
Christoph Oelckers
2b5422cc53 - floatified USER::goalAng 2022-10-15 13:32:00 +02:00