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