Commit graph

5512 commits

Author SHA1 Message Date
Mitchell Richters
8f0e020e21 - Blood: Floatify POSTURE::eyeAboveZ and POSTURE::weaponAboveZ. 2022-10-18 18:30:38 +02:00
Mitchell Richters
954b394baa - Blood: Floatify PLAYER::zWeaponVel. 2022-10-18 18:30:38 +02:00
Mitchell Richters
0019b5ee02 - Blood: Floatify PLAYER::zWeapon. 2022-10-18 18:30:38 +02:00
Mitchell Richters
2d98c532eb - Blood: Floatify PLAYER::zViewVel. 2022-10-18 18:30:38 +02:00
Mitchell Richters
f35fffdf3d - Blood: Floatify PLAYER::zView. 2022-10-18 18:30:37 +02:00
Mitchell Richters
9eec69d810 - Blood: Floatify position drawing code and clean up now-unused wrappers.
* Still work to be done on bob/sway/zView variables.
2022-10-18 18:29:09 +02:00
Mitchell Richters
dd23b60810 - Blood: Clean up as much Q16.16 smoothratio usage as possible. 2022-10-18 18:29:09 +02:00
Christoph Oelckers
96a5954c80 - fixed: gView references gViewIndex, not myconnectindex. 2022-10-18 18:29:09 +02:00
Mitchell Richters
59bee2f9f6 - Blood: Eliminate gView extern'd pointer. 2022-10-18 18:29:09 +02:00
Christoph Oelckers
560bf3e8df - add missing null pointer checks 2022-10-18 18:29:08 +02:00
Mitchell Richters
6356aeafc2 - Blood: Eliminate gMe extern'd pointer. 2022-10-18 18:29:08 +02:00
Mitchell Richters
3c39174a22 - Blood: Eliminate VIEW structure entirely. 2022-10-18 18:29:08 +02:00
Mitchell Richters
b4af1a4600 - Blood: Eliminate VIEW::look_ang and VIEW::rotscrnang. 2022-10-18 18:29:08 +02:00
Mitchell Richters
d7b91df06e - Blood: Eliminate VIEW bobbing/swaying members. 2022-10-18 18:29:08 +02:00
Mitchell Richters
9a41145a8a - Blood: Eliminate VIEW::slope. 2022-10-18 18:29:08 +02:00
Mitchell Richters
326da6d495 - Blood: Eliminate VIEW::horiz and VIEW::horizoff. 2022-10-18 18:29:07 +02:00
Mitchell Richters
5b962e69ab - Blood: Eliminate VIEW::weaponZ. 2022-10-18 18:29:07 +02:00
Mitchell Richters
fc71b39d22 - Blood: Eliminate VIEW::viewz. 2022-10-18 18:29:07 +02:00
Mitchell Richters
85412a39e6 - Blood: Eliminate VIEW::pos. 2022-10-18 18:29:07 +02:00
Mitchell Richters
80121f6021 - Blood: Eliminate VIEW::angle. 2022-10-18 18:29:07 +02:00
Mitchell Richters
72e71cdc42 - Exhumed: Use minAngle in a place where -1 was previously.
* Setup I did in "- Exhumed: Change `inita` into a DAngle." was less than what we consider the epsilon value for angles.
2022-10-18 18:29:07 +02:00
Mitchell Richters
06d0d9b5fd - Blood: Floatify player inertia correction code. 2022-10-18 18:29:06 +02:00
Christoph Oelckers
32d49cf199 - Duke: fixed bad crusher speed in SE 25. 2022-10-18 07:10:43 +02:00
Christoph Oelckers
db810250c3 - full floatification of handle_se31. 2022-10-17 17:26:00 +02:00
Christoph Oelckers
eb0fbf4b34 - BuildElev 2022-10-17 17:26:00 +02:00
Christoph Oelckers
9850c791e3 - lots of set_int_vel. 2022-10-17 17:25:59 +02:00
Christoph Oelckers
cea437df98 - lots of set_int_vel. 2022-10-17 17:25:59 +02:00
Christoph Oelckers
c811a4a6dc - all of add_int_ang 2022-10-17 17:25:59 +02:00
Christoph Oelckers
fdc6a49a97 - another movesprite wrapper to get rid of int_yvel and int_xvel 2022-10-17 17:25:59 +02:00
Christoph Oelckers
47ad4fccdc - convert all set/add_int_x/yvel calls 2022-10-17 17:25:59 +02:00
Christoph Oelckers
39d8591ffc - handle vel from angle assignments 2022-10-17 17:25:59 +02:00
Christoph Oelckers
44ff4a19c9 - handle some sound code fudging 2022-10-17 17:25:59 +02:00
Christoph Oelckers
6c44728d4a - deleted GetUpAngle
The only caller of this function did not even use its result so it all went to waste
2022-10-17 17:25:59 +02:00
Christoph Oelckers
6caec39afa - floatified feebtag 2022-10-17 17:25:59 +02:00
Christoph Oelckers
f62b9ac118 - eliminated int_hitpos in Exhumed 2022-10-17 17:25:58 +02:00
Christoph Oelckers
8e48911723 - very simple replacements 2022-10-17 17:25:58 +02:00
Christoph Oelckers
42cb8a74ea - Exhumed radius damage and rat 2022-10-17 17:25:58 +02:00
Christoph Oelckers
c6a0d30245 - wrapped most remaining clipdist access
Only modifying operators left
2022-10-17 17:03:53 +02:00
Christoph Oelckers
1ba20c7dce - wrapped most clipdist assignments 2022-10-17 17:03:53 +02:00
Christoph Oelckers
d664f50240 - wrapped more clipdists 2022-10-17 17:03:53 +02:00
Christoph Oelckers
f777e84c75 - 2x copy_clipdist 2022-10-17 17:03:53 +02:00
Christoph Oelckers
ef47040630 - renaming stuff for search purposes 2022-10-17 17:03:53 +02:00
Christoph Oelckers
cb0be471d1 - hack macros to reduce clipdist search noise
Will be removed later
2022-10-17 17:03:53 +02:00
Christoph Oelckers
9721d80f44 - more assignment wraps 2022-10-17 17:03:53 +02:00
Christoph Oelckers
3fc592c505 - wrap clipdist copy 2022-10-17 17:03:53 +02:00
Christoph Oelckers
51c059657b - wrapped all literal assignments to clipdist - part 6 2022-10-17 17:03:53 +02:00
Christoph Oelckers
c55fdd41e8 - wrapped all literal assignments to clipdist - part 5 2022-10-17 17:03:53 +02:00
Christoph Oelckers
08a53188a8 - wrapped all literal assignments to clipdist - part 4 2022-10-17 17:03:53 +02:00
Christoph Oelckers
3c498e715d - wrapped all literal assignments to clipdist - part 3 2022-10-17 17:03:53 +02:00
Christoph Oelckers
a14c37f596 - wrapped all literal assignments to clipdist - part 2 2022-10-17 17:03:53 +02:00
Christoph Oelckers
28a3a8e314 - wrapped all literal assignments to clipdist - part 1 2022-10-17 17:03:52 +02:00
Christoph Oelckers
6b5cbac96a - consolidate common formula 2022-10-17 17:03:52 +02:00
Christoph Oelckers
3e36b5627b - wrap clipdist << 2 2022-10-17 17:03:52 +02:00
Christoph Oelckers
7fb7146b7b - floatify CloseRangeDist’s fudge parameter 2022-10-17 17:03:52 +02:00
Christoph Oelckers
cf8b650446 - floatify Bullet::x,y,z 2022-10-17 17:03:52 +02:00
Christoph Oelckers
d2795e2def - use proper angle math to calculate a delta 2022-10-17 17:03:52 +02:00
Christoph Oelckers
8f94b337ac - removed another dead function. 2022-10-17 17:03:52 +02:00
Christoph Oelckers
e15a89fc70 - found one more place using Build angles. 2022-10-17 17:03:52 +02:00
Christoph Oelckers
be1f510728 - eliminated DAMAGE function. 2022-10-17 17:03:52 +02:00
Christoph Oelckers
13c0455b0a - removed bad 'inline's. 2022-10-17 17:03:52 +02:00
Christoph Oelckers
3c78429210 - DoPickTarget. 2022-10-17 17:03:52 +02:00
Christoph Oelckers
ef6ba17dfd - more cleanup. 2022-10-17 17:03:52 +02:00
Christoph Oelckers
ee669a1fec - cleanup 2022-10-17 17:03:52 +02:00
Christoph Oelckers
1a365997d8 - took care of most of zinttoworld 2022-10-17 17:03:52 +02:00
Christoph Oelckers
82ac3c50e8 - handle bsin / bcos. 2022-10-17 17:03:52 +02:00
Christoph Oelckers
3dbf7740c0 - InitShotgun 2022-10-17 17:03:52 +02:00
Christoph Oelckers
af0809ef36 - eliminated MOVExy 2022-10-17 17:03:52 +02:00
Christoph Oelckers
d957e8cfcf - set_int_change is gone. 2022-10-17 17:03:51 +02:00
Christoph Oelckers
5a437aa563 - the last velocity bit. 2022-10-17 17:03:51 +02:00
Christoph Oelckers
a7d07df55f - the final part of z-velocity wrappers. 2022-10-17 17:03:51 +02:00
Christoph Oelckers
4043cd6f83 - TestMissileSetPos 2022-10-17 17:03:51 +02:00
Christoph Oelckers
ab89708c80 - the last int_vel's. 2022-10-17 17:03:51 +02:00
Christoph Oelckers
54acf530e7 - another portion of z-velocity awfulness. 2022-10-17 17:03:51 +02:00
Christoph Oelckers
44803c1109 - lots of z-velocity crap.
The math for this is atrocious...
2022-10-17 17:03:51 +02:00
Christoph Oelckers
5a3d4a4b42 - set_int_ang, add_int_ang in SW 2022-10-17 17:03:51 +02:00
Christoph Oelckers
37b8b63dac - handle all remaining int_ang in weapon.cpp. 2022-10-17 17:03:51 +02:00
Christoph Oelckers
b2b1522185 - fixed a few bad length calculations 2022-10-17 17:03:51 +02:00
Christoph Oelckers
0e57a9f3c7 - some more angles. 2022-10-17 17:03:51 +02:00
Christoph Oelckers
dd22e812a6 - handle several angle assignments 2022-10-17 17:03:51 +02:00
Christoph Oelckers
276960ac08 - handle PlayerFacingRange 2022-10-17 17:03:51 +02:00
Christoph Oelckers
2fd918674d - floatify FacingRange 2022-10-17 17:03:51 +02:00
Christoph Oelckers
8b70326da5 - handle PlayerDamageSlide and ActorDamageSlide. 2022-10-17 17:03:11 +02:00
Christoph Oelckers
16cc147173 - fixed bad distance check.
This originally was 18000, not 10000
2022-10-17 07:12:38 +02:00
Christoph Oelckers
2f1cda39fa - floatified DoBloodWorm 2022-10-16 23:54:20 +02:00
Christoph Oelckers
f6a21216ee - floatified InitEnemyFireball 2022-10-16 23:54:20 +02:00
Christoph Oelckers
a1993bbde4 - floatified InitTurretMgun 2022-10-16 23:54:20 +02:00
Christoph Oelckers
a75531a5b8 - floatified InitSobjMachineGun 2022-10-16 23:54:20 +02:00
Christoph Oelckers
622dea3ebf - floatify InitTurretMicro 2022-10-16 23:54:20 +02:00
Christoph Oelckers
fdabd75422 - got rid of DistanceI. 2022-10-16 23:54:19 +02:00
Christoph Oelckers
9a464e81e7 - deal with distances and CloseRangeDist. 2022-10-16 23:54:19 +02:00
Christoph Oelckers
b7b5e34fb6 - floatified WeaponAutoAimHitscan 2022-10-16 23:54:19 +02:00
Christoph Oelckers
150202d782 - third batch 2022-10-16 23:54:19 +02:00
Christoph Oelckers
2932cb81b2 - floatify TraverseBreakableWalls. 2022-10-16 23:54:19 +02:00
Christoph Oelckers
5f5b7d90f1 - second batch of weapon.cpp floatification 2022-10-16 23:54:19 +02:00
Christoph Oelckers
8cd65bf5d9 - first round of weapon.cpp floatification 2022-10-16 23:54:19 +02:00
Christoph Oelckers
75476d84dd - add a floating point wrapper for USER:Radius.
Changing the variable causes more problems than it solves.
2022-10-16 23:54:19 +02:00
Christoph Oelckers
a441e01363 - several DISTANCE calls in weapon.cpp 2022-10-16 23:54:18 +02:00
Christoph Oelckers
ab8fbb0f35 3 x DISTANCE in weapon.cpp 2022-10-16 23:54:18 +02:00
Christoph Oelckers
73998f556f - 4x DISTANCE in skull.cpp 2022-10-16 23:54:18 +02:00
Christoph Oelckers
f683f89580 - comment cleanup 2022-10-16 23:54:18 +02:00
Christoph Oelckers
f47540dd3f - floatified warp.cpp 2022-10-16 23:54:18 +02:00
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
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
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
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
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
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
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
Christoph Oelckers
9df7c55040 - rename USER::goalAng 2022-10-15 13:32:00 +02:00
Christoph Oelckers
057d2a565a - floatified Blood's velFloor and velCeil 2022-10-15 13:31:59 +02:00
Christoph Oelckers
38bb103cdd - renamed velFloor and velCeil. 2022-10-15 13:31:59 +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
Christoph Oelckers
973c9b89a9 - floatified sop->z_tgt 2022-10-15 13:31:59 +02:00
Christoph Oelckers
5d551fcda9 - floatified sop->zorig_floor 2022-10-15 13:31:58 +02:00
Christoph Oelckers
0794663601 - math cleanup of the first third of track.cpp 2022-10-15 13:31:58 +02:00
Christoph Oelckers
3bb0ee69a1 - initialize SOP angles to 0.
The memset to -1 turns them into NANs.
2022-10-15 13:31:58 +02:00
Christoph Oelckers
176afdc00a - seventh batch of migrations in track.cpp 2022-10-15 13:31:58 +02:00
Christoph Oelckers
4341578267 - sixth batch of migrations in track.cpp 2022-10-15 13:31:58 +02:00
Christoph Oelckers
a37fb3aded - fifth batch of migrations in track.cpp 2022-10-15 13:31:58 +02:00
Christoph Oelckers
7920e0e629 - fourth batch of migrations in track.cpp 2022-10-15 13:31:58 +02:00
Christoph Oelckers
ddb6ec68a1 - third batch of migrations in track.cpp 2022-10-15 13:31:58 +02:00
Christoph Oelckers
6c82f9be22 - second batch of migrations in track.cpp 2022-10-15 13:31:57 +02:00
Christoph Oelckers
398e66f359 - migrated all uses outside of track.cpp. 2022-10-15 13:31:57 +02:00
Christoph Oelckers
2148dba3a6 - floatified the angle variables. 2022-10-15 13:31:57 +02:00
Christoph Oelckers
d35785f1ee - added wrappers, part 7 and final 2022-10-15 13:31:57 +02:00
Christoph Oelckers
329a912041 - added wrappers, part 6 2022-10-15 13:31:57 +02:00
Christoph Oelckers
76b733b80d - added wrappers, part 5 2022-10-15 13:31:57 +02:00
Christoph Oelckers
8d3f95f101 - added wrappers, part 4 2022-10-15 13:31:57 +02:00
Christoph Oelckers
45bf11a341 - added wrappers, part 3 2022-10-15 13:31:57 +02:00
Christoph Oelckers
a3521c0b7e - added wrappers, part 2 2022-10-15 13:31:56 +02:00
Christoph Oelckers
d4a0972733 - added wrappers, part 1 2022-10-15 13:31:56 +02:00
Christoph Oelckers
d2253a3aec - renamed angle stuff. 2022-10-15 13:31:56 +02:00
Christoph Oelckers
8a320f6fa7 - OperateSectorObject 2022-10-15 13:31:56 +02:00
Christoph Oelckers
9df83edd10 - DoPlayerTurnVehicle 2022-10-15 13:31:56 +02:00
Christoph Oelckers
079fbd340f - floatified sop->floor_loz and floor_hiz 2022-10-15 13:31:56 +02:00
Christoph Oelckers
9aaae82de0 - variable renaming again 2022-10-15 13:31:56 +02:00
Christoph Oelckers
3a861e168c - floatified more movement code. 2022-10-15 13:31:55 +02:00
Christoph Oelckers
d0422ae1b5 - floatified scale_point stuff. 2022-10-15 13:31:55 +02:00
Christoph Oelckers
aa88eb49e0 - renamed another set of variables 2022-10-15 13:31:55 +02:00
Christoph Oelckers
85be297a2d - part of RefreshPoints 2022-10-15 13:31:55 +02:00
Christoph Oelckers
09104ba6fe - floatified ScaleRandomPoint 2022-10-15 13:31:55 +02:00
Christoph Oelckers
caa41e312d - floating point MultiClip API. 2022-10-15 13:31:55 +02:00
Christoph Oelckers
d80b39d184 - floatified clipbox/MultiClip of SW 2022-10-15 13:31:55 +02:00
Christoph Oelckers
17b117e86b - renamed another set of variables. 2022-10-15 13:31:55 +02:00
Christoph Oelckers
95477aaefb - add_int_ppos_Z is gone now. 2022-10-15 13:31:55 +02:00
Christoph Oelckers
0b642dc631 - floatified large parts of SO movement code. 2022-10-15 13:30:09 +02:00
Christoph Oelckers
212be963d9 - floatified SO scale_dist et.al. 2022-10-15 12:42:31 +02:00
Christoph Oelckers
189f791bc4 - renamed more fields. 2022-10-15 12:42:31 +02:00
Christoph Oelckers
42246f9a9d - floatified SW's sector object morph code. 2022-10-15 12:42:31 +02:00
Christoph Oelckers
30104fca50 - renamed some variables 2022-10-15 12:42:31 +02:00
Christoph Oelckers
e5b2a0f0a6 - simple angle stuff. 2022-10-15 12:42:31 +02:00
Christoph Oelckers
7dab26f04d - handle several movesprite_ex calls. 2022-10-15 12:42:30 +02:00
Christoph Oelckers
4f9ffc9437 - mainly handling angle literals. 2022-10-15 12:42:30 +02:00
Christoph Oelckers
a85bcebd09 - floatified Blood's asound.cpp 2022-10-15 12:42:30 +02:00
Mitchell Richters
f69e977411 - Blood: Fix velocity issues in MoveThing(), such as explosive bundles not sliding along the ground.
* Merge with or above `- parts of Blood's MoveThing`.
2022-10-15 12:42:30 +02:00
Christoph Oelckers
a6eec404db - parts of Blood's MoveThing 2022-10-15 12:42:30 +02:00
Christoph Oelckers
e5219382f2 - added some Sector Effector symbolic names. 2022-10-15 12:42:30 +02:00
Christoph Oelckers
4df1578064 - a few random wrapper removals in Duke 2022-10-15 12:42:30 +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
e3bbb60de4 - SW: Test adding Duke's DrawAutomapAlignmentFacing() code into SW for consistency between the ports. 2022-10-15 12:16:53 +02:00
Mitchell Richters
ab77d77a53 - Optimise automap sector loops in Duke/SW automap code. 2022-10-15 12:16:53 +02:00
Mitchell Richters
18f97c3d7e - SW: Move player sprite loop out of sector loop, and eliminate goto crap. 2022-10-15 12:16:52 +02:00
Mitchell Richters
f236cc8728 - Consolidate some duplicated automap code between Duke and SW. 2022-10-15 12:16:52 +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
48c36bd4a2 - SW ladder climbing 2022-10-15 12:16:52 +02:00
Christoph Oelckers
1dcb03e530 - got rid of set_int_bvel 2022-10-15 11:35:38 +02:00
Christoph Oelckers
712d28ff40 - clean out some stuff 2022-10-15 11:35:38 +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
6eb18eb3f6 - floatified all move_actor calls in SW 2022-10-15 11:35:37 +02:00
Christoph Oelckers
96297c95aa vel assignment with fixed point constants 2022-10-15 11:35:37 +02:00
Christoph Oelckers
010fedd049 - 10 more AdjustVelocity calls. 2022-10-15 11:35:37 +02:00
Christoph Oelckers
39109de22f - consolidation of Blood rotation code.
24x the same pattern merged into a subfunction.
2022-10-15 11:35:37 +02:00
Christoph Oelckers
b5c679f228 - got a few more 2022-10-15 11:35:37 +02:00
Christoph Oelckers
4af3f6e731 - comparison with zero replacements 2022-10-15 11:35:37 +02:00
Christoph Oelckers
ac84e3f045 - some simple replacements 2022-10-15 11:35:37 +02:00
Christoph Oelckers
18cc450889 - more easy to replace vel assignments 2022-10-15 11:35:36 +02:00
Christoph Oelckers
5cde04fee7 - cleaned up assignments of random values to vel 2022-10-15 10:33:03 +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
b924569755 - started removing trivial vel wrappers 2022-10-15 10:15:20 +02:00
Christoph Oelckers
f2d89b7609 - refactored actWallBounceVector as well
This completes the abstraction of velocity in Blood.
2022-10-15 10:15:20 +02:00
Christoph Oelckers
92532bb007 - eliminated actFloorBounceVector wrapper 2022-10-15 10:14:54 +02:00
Christoph Oelckers
9f235b56f3 - rewrote actFloorBounceVector to avoid reference parameters 2022-10-14 23:55:32 +02:00
Christoph Oelckers
fca2f8c683 - replace all ‚labs‘ with ‚abs‘ 2022-10-14 23:55:31 +02:00
Mitchell Richters
4acce612cd - Take advantage of TVector2<>::Rotated90CW() in some automap code. 2022-10-14 23:55:31 +02:00
Christoph Oelckers
fce956f83e - move stuff around 2022-10-14 23:55:31 +02:00
Christoph Oelckers
a69bdb3370 - eliminated Blood’s RotatePoint function 2022-10-14 23:55:31 +02:00
Christoph Oelckers
3bac7af313 - simple stuff in blood/actor.cpp 2022-10-14 23:55:31 +02:00
Christoph Oelckers
58642c4d2f - cleaned up the distance checks in operatetripbomb 2022-10-14 23:55:31 +02:00
Christoph Oelckers
c45ecdae73 - wrapped all velocity access in Blood, except the places where an address of vel is taken 2022-10-14 23:55:30 +02:00
Christoph Oelckers
7a7a2cdb39 - various replacements of vel 2022-10-14 23:55:30 +02:00
Christoph Oelckers
f1d3126435 - vel assignments 2022-10-14 23:55:30 +02:00
Christoph Oelckers
151fc46ef3 - removed unused wrapper. 2022-10-14 23:53:56 +02:00
Christoph Oelckers
994cb47d36 - set_int_bvel_z 2022-10-14 23:52:44 +02:00
Christoph Oelckers
9cbffc998e - set_int_bvel_y 2022-10-14 23:52:44 +02:00
Christoph Oelckers
761da2b06e - set_int_bvel_x 2022-10-14 23:52:43 +02:00
Christoph Oelckers
b78d5a95ac - more add_int_bvel_ 2022-10-14 23:52:43 +02:00
Christoph Oelckers
1999340c8a - add_int_bvel_z 2022-10-14 23:52:43 +02:00
Christoph Oelckers
49d280c665 - add_int_bvel_y 2022-10-14 23:52:43 +02:00
Christoph Oelckers
12e5fd133c - add_int_bvel_x 2022-10-14 23:52:43 +02:00
Christoph Oelckers
49f0e9c57d - batch 3 of vel. 2022-10-14 23:52:43 +02:00
Christoph Oelckers
193d20bb4d - wrapped more xvels 2022-10-14 23:52:43 +02:00
Christoph Oelckers
e3758d6adc - started wrapping vel 2022-10-14 23:52:42 +02:00
Christoph Oelckers
e7b09dbaac - renamed vel. 2022-10-14 23:52:42 +02:00
Christoph Oelckers
a5a04b1123 - moved Blood's velocity vector to DCoreActor. 2022-10-14 23:52:42 +02:00
Christoph Oelckers
2f7995619e - removed unused variables in SECTOR_OBJECT 2022-10-14 23:52:42 +02:00
Christoph Oelckers
491b6eb08c - floatified some angles. 2022-10-14 23:52:42 +02:00
Christoph Oelckers
c443d9ecb7 - floatified parts of InitUzi and InitGrenade. 2022-10-14 23:52:27 +02:00
Christoph Oelckers
d582cedaec - floatified parts of InitNuke and InitMicro 2022-10-14 23:51:15 +02:00
Christoph Oelckers
80034445b2 - floatified parts of InitRocket and InitBunnyRocket 2022-10-14 23:49:12 +02:00
Christoph Oelckers
8eab80bad2 - floatified parts of InitLaser and InitRail 2022-10-14 23:48:13 +02:00
Christoph Oelckers
b5f13c2a24 - floatified parts of InitShotgun 2022-10-14 23:47:05 +02:00
Christoph Oelckers
ce3d44f3b6 - floatify parts of InitStar 2022-10-14 23:46:00 +02:00
Christoph Oelckers
a9b19943dd - floatified bob_z and all actor spawns using it. 2022-10-14 23:39:33 +02:00
Christoph Oelckers
83adf5e88a - floatified PLAYER::Revolve 2022-10-14 23:17:46 +02:00
Christoph Oelckers
cebdc653bb - removed unused fields from PLAYER. 2022-10-14 23:17:46 +02:00
Christoph Oelckers
1300e76428 - vector assignment simplification 2022-10-14 23:17:46 +02:00
Christoph Oelckers
c3ac42a546 - removed unused PLAYER::up_speed and down_speed variables. 2022-10-14 23:17:46 +02:00
Christoph Oelckers
29d9d02b78 - floatified PLAYER::z_speed. 2022-10-14 23:17:46 +02:00
Christoph Oelckers
203e2c405f - floatified PLAYER::lv 2022-10-14 23:17:45 +02:00
Christoph Oelckers
6feb187a2a - floatified lo_step. 2022-10-14 23:17:45 +02:00
Christoph Oelckers
9ba03ac53f - renamed yvel to yint in Duke.
It's never used as velocity, but as an auxiliary parameter so name it appropriately.
2022-10-14 23:17:45 +02:00
Christoph Oelckers
5f4a0cf208 - removed bogus velocity code for RRRA's empty bike and boat. 2022-10-14 23:17:45 +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
f8ba5bb660 - final xvel cleanup. 2022-10-14 23:13:33 +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
ce20bd9c56 - more wraps 2022-10-14 23:13:33 +02:00
Christoph Oelckers
643dda6085 -add_int_xvel(- 2022-10-14 23:13:33 +02:00