Commit graph

11796 commits

Author SHA1 Message Date
Christoph Oelckers
620613b088 - floatified wallmove. 2022-10-16 23:54:18 +02:00
Christoph Oelckers
cc73e90ce5 - function separators and dead code removal in weapon.cpp and wallmove.cpp 2022-10-16 23:54:18 +02:00
Christoph Oelckers
da664b9964 - deal with the last remaining bits of integer math in track.cpp. 2022-10-16 23:54:18 +02:00
Christoph Oelckers
e4b0be9f1d - pass a vector to JS_CameraParms 2022-10-16 23:54:17 +02:00
Christoph Oelckers
ca7488672f - floatified angle assignments in skull.cpp 2022-10-16 23:54:17 +02:00
Christoph Oelckers
31eb2e5f10 - fixed: Arrays serialized as array elements may not skip their serialization if their content are all zero. 2022-10-16 23:47:18 +02:00
Christoph Oelckers
3e3e3714dc - function separators in 6 files 2022-10-16 10:59:05 +02:00
Christoph Oelckers
05af0c81d5 - floatified the remaining parts of draw.cpp 2022-10-16 10:59:05 +02:00
Mitchell Richters
4f6aea576b - Blood: Delete unused prediction function that was never called anywhere. 2022-10-16 10:59:05 +02:00
Mitchell Richters
b13a9e69eb - Blood: Floatify VIEW::pos and remove old union. 2022-10-16 10:59:05 +02:00
Mitchell Richters
5c23e29c15 - Blood: Rename all remaining disassembly names for VIEW struct. 2022-10-16 10:59:05 +02:00
Mitchell Richters
c7dab8a059 - Blood: Get rid of gInterpolate global, make it local to viewDrawScreen(). 2022-10-16 10:59:05 +02:00
Mitchell Richters
acd3304b7e - Duke: Give displayrooms() a slight tidy-up. 2022-10-16 10:59:05 +02:00
Mitchell Richters
2c6435377a - Duke: Change clamping of ceilz/floorz in draw code.
* Also repair potential bug between actor's cz/fz vs. player's truecz/truecz introduced in "- Duke: Floatify `displayrooms()` and flatten smoothratio back out to float.".
2022-10-16 10:59:04 +02:00
Mitchell Richters
ecd880ad6c - Duke: Floatify displayrooms() and flatten smoothratio back out to float. 2022-10-16 10:59:04 +02:00
Mitchell Richters
ea3ca4a4ea - Duke: Tidy up old multiplayer variables to modern standards. 2022-10-16 10:59:04 +02:00
Christoph Oelckers
e737551b64 - moved setuo of opbob_pos to the correct place. 2022-10-16 10:59:04 +02:00
Mitchell Richters
8fec35b278 - SW: Interpolate player's pbob_amt. 2022-10-16 10:59:04 +02:00
Christoph Oelckers
baa6516e8c - floatified more of SW's draw.cpp 2022-10-16 10:59:04 +02:00
Christoph Oelckers
5efc032a4c - increase angular threshold for aligning wall sprites.
With full precision angles the old threshold is simply too low.
2022-10-16 10:59:04 +02:00
Christoph Oelckers
9d1edf9cc5 - clean up angle math in wall drawer. 2022-10-16 10:59:04 +02:00
Christoph Oelckers
7a9f89b95d - removed obsolete scripting exports. 2022-10-16 10:59:04 +02:00
Christoph Oelckers
4dedda91c5 - floatified motion blur 2022-10-16 10:59:03 +02:00
Christoph Oelckers
5b8af8ff04 - removed useless line of code. 2022-10-16 10:59:03 +02:00
Christoph Oelckers
3df3676468 - got rid of int_ppos() 2022-10-16 10:59:03 +02:00
Christoph Oelckers
9103f4dbe8 - missed 2 vel in skull.cpp 2022-10-16 10:59:03 +02:00
Christoph Oelckers
b3a3f89f50 - silenced some warnings 2022-10-16 10:59:03 +02:00
Christoph Oelckers
4b2dd2136b - got rid of some leftovers 2022-10-16 10:58:34 +02:00
Christoph Oelckers
c0cc2b0760 - some remaining angle stuff in ripper code 2022-10-16 10:58:34 +02:00
Christoph Oelckers
68608b081b - function separators 2022-10-16 10:58:34 +02:00
Christoph Oelckers
5628590c7c - eliminated move_sprite wrapper 2022-10-16 10:58:34 +02:00
Christoph Oelckers
efe7f7c90e - floatified more of sprite.cpp 2022-10-16 10:57:45 +02:00
Christoph Oelckers
30d4d5ddfe - a bit more of sprite.cpp 2022-10-16 10:31:12 +02:00
Christoph Oelckers
1433253ca9 - floatified SpriteSetup 2022-10-16 10:31:12 +02:00
Christoph Oelckers
64b5ba8c68 - pass floating point velocities to SpawnActor
Also remove the fixed point variant
2022-10-16 10:31:12 +02:00
Christoph Oelckers
b03f3bbc1e - function separators again 2022-10-16 10:26:30 +02:00
Christoph Oelckers
327161de9f - floatified SpawnSplashXY 2022-10-16 10:26:30 +02:00
Christoph Oelckers
2e31e9d97c - floatified SpawnShotgunSparks, SpawnBoatSparks and ContinueHitscan 2022-10-16 10:26:30 +02:00
Christoph Oelckers
b73809c90c - floatified SpawnSwordSparks 2022-10-16 10:26:30 +02:00
Christoph Oelckers
9486d39360 - floatiified SW PlaySound 2022-10-16 10:26:30 +02:00
Christoph Oelckers
50668e45dd - had to partially revert the math for panning to integers.
The higher precision causes panning speed differences that are visible.
2022-10-16 10:26:30 +02:00
Christoph Oelckers
78c6888973 - eliminated remaining int math in sector.cpp 2022-10-16 10:26:30 +02:00
Christoph Oelckers
4d8386af39 - floatified BuildNearTagList 2022-10-16 10:26:30 +02:00
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
6de279282e - marked integer dragpoint function deprecated. 2022-10-16 10:19:40 +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