Commit graph

689 commits

Author SHA1 Message Date
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
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
ee30e770f7 - Exhumed: Floatify eyelevel. 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
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
e5b2a0f0a6 - simple angle stuff. 2022-10-15 12:42:31 +02:00
Christoph Oelckers
6b0b8f944c - floatified the height parameter of nextsectorneighborptr 2022-10-15 12:42:30 +02:00
Mitchell Richters
f378c481b3 - Exhumed: Flatten smoothratio back to float and rename to interpfrac. 2022-10-15 12:41:12 +02:00
Mitchell Richters
8a4601ef8d - Exhumed: Tidy up nCameraa. 2022-10-15 12:41:12 +02:00
Mitchell Richters
91c0ff814f - Exhumed: Tidy up nCamerapan. 2022-10-15 12:41:12 +02:00
Mitchell Richters
7cbe3564ce - Exhumed: Repair what looked like a bug with camera Z clamping.
* Looked wrong, compared to GDX and confirmed.
2022-10-15 12:40:36 +02:00
Mitchell Richters
36ed1ac1de - Exhumed: Convert draw code to floating point. 2022-10-15 12:16:53 +02:00
Mitchell Richters
7d5040f560 - Fix all calls to interpolatedangle() that didn't revert smoothratio back to a float. 2022-10-15 12:16:53 +02:00
Mitchell Richters
f72d42bb8e - Uplift renderer entry point to DVector3 and provide wrappers for old setups. 2022-10-15 12:16:53 +02:00
Mitchell Richters
977d8f8109 - Convert gi->chaseCamPos() to return a floating point DVector3 object. 2022-10-15 12:16:53 +02:00
Mitchell Richters
5685af33d8 - Exhumed: Remove zbob from draw code, it's not used at all. 2022-10-15 12:16:53 +02:00
Mitchell Richters
ef56d00d78 - Pass automap angle vector as an actual vector.
* Also reconfigure setup so that angle requires zero pre-processing or setup in the automap code, have it all handled in `OutAutomapVector()`.
2022-10-15 12:16:52 +02:00
Christoph Oelckers
b84158ecec - Exhumed snake stuff 2022-10-15 11:35:38 +02:00
Christoph Oelckers
486ef8bfc5 - floatify VelFromAngle 2022-10-15 11:35:38 +02:00
Christoph Oelckers
b462c3d998 - consolidated Exhumed’s velocity setters 2022-10-15 11:35:37 +02:00
Christoph Oelckers
eed7f0806c - more quick replacements 2022-10-15 10:15:21 +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
Christoph Oelckers
9621cd08d2 - use PlayerIndex plus a bit of cleanup. 2022-10-14 23:17:45 +02:00
Christoph Oelckers
45d95ec053 - spr.yvel is gone in Exhumed 2022-10-14 23:13:34 +02:00
Christoph Oelckers
490d4d3555 - set_int_yvel 2022-10-14 23:13:34 +02:00
Christoph Oelckers
b0e67ab88d - clear_yvel 2022-10-14 23:13:34 +02:00
Christoph Oelckers
9600face4a - the rest. 2022-10-14 23:13:33 +02:00
Christoph Oelckers
567b20f9ef - almost the rest. 2022-10-14 23:13:33 +02:00
Christoph Oelckers
643dda6085 -add_int_xvel(- 2022-10-14 23:13:33 +02:00
Christoph Oelckers
d19e99481d - add_int_xvel 2022-10-14 23:13:33 +02:00
Christoph Oelckers
33eeb8d9c2 - right shifts 2022-10-14 23:13:33 +02:00
Christoph Oelckers
ec88d1ea6c - set_int_xvel 2022-10-14 23:13:32 +02:00
Christoph Oelckers
fb1a9881e3 - half done with xvel 2022-10-14 23:13:32 +02:00
Christoph Oelckers
434548a5aa - more xvel wraps. 2022-10-14 23:13:32 +02:00
Christoph Oelckers
0aad018796 - second batch of xvel wraps. 2022-10-14 23:13:32 +02:00
Christoph Oelckers
36f109502d - use clear_xvel wrapper. 2022-10-14 23:02:11 +02:00