Commit graph

5072 commits

Author SHA1 Message Date
Christoph Oelckers
dc22b2e0ae - smaller changes in sector.cpp 2022-10-16 10:21:43 +02:00
Christoph Oelckers
fce5f01f07 - floatified SINE_WAVE_FLOOR 2022-10-16 10:21:43 +02:00
Christoph Oelckers
af6f96caa4 - floatified SINE_WALL 2022-10-16 10:21:42 +02:00
Christoph Oelckers
3bd8a02c3f - floatified ROTATOR 2022-10-16 09:40:29 +02:00
Christoph Oelckers
b53e4b824e - handle the portals in Duke and Blood. 2022-10-16 09:40:29 +02:00
Christoph Oelckers
0e628ed222 - floatified CollectPortals and its helpers 2022-10-16 09:40:28 +02:00
Christoph Oelckers
37e859c3b9 - floatified FAFgetzrange/point 2022-10-16 09:40:28 +02:00
Christoph Oelckers
211ee808eb - missed two lines. 2022-10-16 09:40:28 +02:00
Christoph Oelckers
5cda92b629 - partial floatification of FAFgetzrange/point 2022-10-16 09:40:28 +02:00
Christoph Oelckers
5b52af9b85 - renamed base FAFgetzrangepoint function 2022-10-16 09:40:28 +02:00
Christoph Oelckers
860dde17ca - floatified FAFcansee 2022-10-16 09:40:28 +02:00
Christoph Oelckers
8bedc1193b - floatified FAFhitscan 2022-10-16 09:40:28 +02:00
Christoph Oelckers
2936cb022c - migrated all FAFhitscan calls to the DVector3 variant.
Most with temporary wraps - this is needed to migrate the function itself to DVector3.
2022-10-16 09:40:12 +02:00
Christoph Oelckers
2be5ea9f15 - function separators in 3 files. 2022-10-16 09:22:28 +02:00
Christoph Oelckers
735d82e8d3 - function separators and minor cleanup in ripper*.cpp 2022-10-16 09:22:27 +02:00
Christoph Oelckers
a55b7f950e - function separators in quake.cpp. 2022-10-16 09:21:20 +02:00
Christoph Oelckers
f9f26bbfe2 - cleaned out most MOVEx/y calls and the last remaining wrappers in player.cpp. 2022-10-16 09:21:20 +02:00
Christoph Oelckers
64e906d8fc - remaining wrappers in coolg.cpp and jweapon.cpp 2022-10-15 23:47:33 +02:00
Mitchell Richters
b81a465336 - SW: Fix bad setup for following killer actor upon death. 2022-10-15 18:22:10 +02:00
Christoph Oelckers
d68bd0d11d - player.cpp is done 2022-10-15 18:22:10 +02:00
Christoph Oelckers
3f135cbdfe - final function separators 2022-10-15 18:22:10 +02:00
Christoph Oelckers
856f82c97c - last FindDistance call in player.cpp 2022-10-15 18:22:09 +02:00
Christoph Oelckers
aba453dccf - lots of function separators 2022-10-15 18:22:09 +02:00
Christoph Oelckers
d1e29aad36 - floatified GetOverlapSector and its callers 2022-10-15 18:22:09 +02:00
Christoph Oelckers
92b7ede649 - floatified PlayerOnLadder 2022-10-15 18:22:09 +02:00
Christoph Oelckers
0222c69490 - clean up DoPlayerWadeSuperJump 2022-10-15 18:22:09 +02:00
Christoph Oelckers
addda94ee5 - floatified sop->crush_z 2022-10-15 18:22:09 +02:00
Christoph Oelckers
da8805ad69 - another bunch of function separators 2022-10-15 18:22:09 +02:00
Christoph Oelckers
cd4d3ee2d2 - a handful more calls cleaned up 2022-10-15 18:22:09 +02:00
Christoph Oelckers
bd4d539f27 - cleaned up 3 function calls 2022-10-15 18:22:08 +02:00
Christoph Oelckers
7b05beeb75 - floatified several Distance calls 2022-10-15 18:22:08 +02:00
Christoph Oelckers
79100eeb08 - 4 angle assignments 2022-10-15 18:22:08 +02:00
Christoph Oelckers
603a213347 - 4 updatesector calls 2022-10-15 18:22:08 +02:00
Christoph Oelckers
2840303e35 - some function separators in player.cpp, panel.cpp and ninja.cpp 2022-10-15 18:22:08 +02:00
Christoph Oelckers
22bd451872 - minor math cleanup 2022-10-15 18:22:08 +02:00
Christoph Oelckers
3c1e478325 - function separators 2022-10-15 18:22:08 +02:00
Christoph Oelckers
5ed2cb67d9 - handle the remaining velocity assignments in jweapon.cpp 2022-10-15 18:22:08 +02:00
Christoph Oelckers
bd79d544d6 - UpdateChange 2022-10-15 18:22:07 +02:00
Christoph Oelckers
c3510091b0 - unwrapped PlayerDamageSlide and removed the wrappers. 2022-10-15 17:52:08 +02:00
Christoph Oelckers
a3dd506171 - DoPlayerClimb unwrapped 2022-10-15 17:52:08 +02:00
Christoph Oelckers
8efe6f638b - DoTankTreads and DoPlayerMoveVehicle unwrapped 2022-10-15 17:52:08 +02:00
Christoph Oelckers
a5f0788f15 - PlayerSlide and PlayerMove unwrapped. 2022-10-15 17:52:08 +02:00
Christoph Oelckers
40ede3371f - unwrapped more of vect, plus some minor cleanup elsewhere. 2022-10-15 17:52:08 +02:00
Christoph Oelckers
608c964f02 - unwrap all places where the vect vectors were just used in their native form. 2022-10-15 17:52:07 +02:00
Christoph Oelckers
4f47472ef4 - floatified the vect variables.
No change to the logic yet, only the copies have been transitioned.
2022-10-15 17:52:07 +02:00
Christoph Oelckers
66474142a4 - wrapped as much of _slide_vect as possible. 2022-10-15 17:52:07 +02:00
Christoph Oelckers
6c5010835c - wrapped most of _ovect 2022-10-15 17:52:07 +02:00
Christoph Oelckers
8ce39f1922 - wrapped most writes to _vect 2022-10-15 17:52:07 +02:00
Christoph Oelckers
4547372d4d - use access functions for reading _vect. 2022-10-15 17:52:07 +02:00
Christoph Oelckers
9d101a4f73 - renamed player vector variables 2022-10-15 17:52:06 +02:00
Christoph Oelckers
77bc524950 - eliminated add_int_change 2022-10-15 17:52:06 +02:00
Christoph Oelckers
e42267f246 - function separators plus one last change in coolg.cpp 2022-10-15 17:52:06 +02:00
Christoph Oelckers
3dcf7399cf - these angles stored in Vis were never used 2022-10-15 17:52:06 +02:00
Christoph Oelckers
e81dba2ea9 - random angle cleanup 2022-10-15 17:52:06 +02:00
Christoph Oelckers
dfabdff553 - set_int_hitpos is not used anymore 2022-10-15 17:49:34 +02:00
Christoph Oelckers
3647eb6b09 - minor cleanup 2022-10-15 17:49:34 +02:00
Christoph Oelckers
7907589afe - floatified SpawnRadiationCloud 2022-10-15 17:49:34 +02:00
Christoph Oelckers
9651a7f694 - minor code cleanup 2022-10-15 17:49:34 +02:00
Christoph Oelckers
5653793bdc - floatified DoBloodSpray 2022-10-15 17:49:33 +02:00
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
64e915868e - use setfloorz 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
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