Christoph Oelckers
a847b23e7c
- made player.vel a real float vector with proper value range.
2022-10-20 00:48:07 +02:00
Christoph Oelckers
417dc7c330
- floatified gs.gravity and all relations to player.vel.
2022-10-20 00:47:32 +02:00
Christoph Oelckers
6f8d0e7870
- handle all remaining vel uses not related to gravity and clipmove
2022-10-20 00:47:32 +02:00
Christoph Oelckers
3e05acfcc9
- handle ca. half of the remaining use of vel.
2022-10-20 00:47:31 +02:00
Christoph Oelckers
bca4819841
- handle some simple vector additions with velocity.
2022-10-20 00:47:31 +02:00
Christoph Oelckers
c821683bc5
- copy Duke handling of movement code to RR.
2022-10-20 00:47:31 +02:00
Christoph Oelckers
cebecabe66
- search& replace of zero assignments and comparisons.
2022-10-20 00:47:31 +02:00
Christoph Oelckers
2266ae1cd6
- converted vel use in player_d.cpp's main movement functions
...
Still using conversion factors until all code has been processed.
2022-10-20 00:47:31 +02:00
Christoph Oelckers
b46b087e0c
- first round of vel refactoring.
...
VEL_FACTOR is used as a marker that later can be quickly removed once the data type gets changed over.
2022-10-20 00:47:19 +02:00
Christoph Oelckers
50a9ca49f3
- floatified player_struct::hitang
2022-10-20 00:33:31 +02:00
Christoph Oelckers
a5652655db
- floatified gs.playerfriction
2022-10-20 00:20:41 +02:00
Christoph Oelckers
477120923f
- made player.vel and gs.playerfriction floating point.
...
No change in value range yet, but having them as floats now allows easier refactoring.
2022-10-20 00:20:40 +02:00
Christoph Oelckers
8171927c2a
- renamed player_struct::vel
2022-10-20 00:19:56 +02:00
Christoph Oelckers
03a0eb7284
- floatified and consolidated handle_se29.
2022-10-20 00:19:56 +02:00
Christoph Oelckers
9a07dc5b7b
- floatified handle_se21 and most of movetongue
2022-10-20 00:19:33 +02:00
Christoph Oelckers
a9c7a5e62f
- floatified handle_se21
2022-10-19 18:26:16 +02:00
Christoph Oelckers
b0b5dbc55b
- eliminated add_int_ceilingz
2022-10-19 18:26:16 +02:00
Christoph Oelckers
81d4ca71d7
- floatified movetouchplate
2022-10-19 18:26:16 +02:00
Christoph Oelckers
8e4a3f1946
- floatified position in RANDOMSCRAP
2022-10-19 18:26:16 +02:00
Christoph Oelckers
23c529589e
- eliminated add_int_xvel
2022-10-19 18:26:16 +02:00
Christoph Oelckers
ccbe472444
- added NULL check where it can crash when noclipping.
2022-10-19 18:25:43 +02:00
Christoph Oelckers
a6bf98399c
- fixed inconsistency between angle and intangle use.
...
Angles abused as flag words should always use intangle.
2022-10-19 18:02:05 +02:00
Christoph Oelckers
1553ec812d
- magic carpet fixes for SW's $woods.map
...
* the track point code needs to retain the original distance function because in this case the difference can be critical as it interprets map data.
* two cases of bad vertical distance calculation due to unclear original code.
2022-10-19 17:49:19 +02:00
Christoph Oelckers
6e11a4317e
- SW: fixed savegame pic generation corrupting the actor list.
...
This case missed the call to PostDraw which is responsible for cleaning up some temporary data.
2022-10-19 00:11:44 +02:00
Christoph Oelckers
0cef35c345
- SW: when an actor is killed, all attached ambient sounds must be deleted.
...
Not only did the sound not stop but what happened here was very much undefined behavior as the ambient sound retained its pointer to now undefined memory.
2022-10-19 00:05:35 +02:00
Christoph Oelckers
11735c2963
- floatified handle_se13.
2022-10-18 20:02:30 +02:00
Christoph Oelckers
998d71875f
- floatified handle_se11.
2022-10-18 20:02:30 +02:00
Christoph Oelckers
b62c081d37
- renamed variables in handle_se08
2022-10-18 20:02:30 +02:00
Christoph Oelckers
845287a7ba
- floatified handle_se05
2022-10-18 20:02:30 +02:00
Christoph Oelckers
49125ffed5
- floatified handle_se02
2022-10-18 20:02:29 +02:00
Christoph Oelckers
3898e2fa4c
- floatified handle_se06 (both variants)
2022-10-18 20:02:29 +02:00
Christoph Oelckers
228db5839a
- floatified handle_se30.
2022-10-18 20:02:28 +02:00
Christoph Oelckers
e7ba113402
- use high precision storage for all of SE00's work data.
2022-10-18 20:02:28 +02:00
Christoph Oelckers
2be133aaee
- poolball stuff in Duke
2022-10-18 20:02:01 +02:00
Christoph Oelckers
fe7dfa1c53
- floatify angle stuff for bowling, henstand etc. in RR.
2022-10-18 20:02:01 +02:00
Christoph Oelckers
c30493c344
- floatified handle_se14
2022-10-18 20:02:01 +02:00
Christoph Oelckers
bd3f96e779
- floatified handle_se00
2022-10-18 20:02:01 +02:00
Christoph Oelckers
b5b159f45b
- unlimited and floatified the movesector position array.
2022-10-18 20:02:00 +02:00
Christoph Oelckers
4f9718e8a8
- added velocity checks when attempting to dive or surface.
...
This could misbehave at low velocities that could be misinterpreted as a boundary crossing due to the missing check for the movement direction.
2022-10-18 19:59:07 +02:00
Mitchell Richters
0a4ee4ac07
- Blood: Don't use degrees in the QAV drawer until hud_drawsprite()
is uplifted.
2022-10-18 19:52:02 +02:00
Mitchell Richters
f56cb7de48
- Blood: Floatify QAV's x/y coordinates.
2022-10-18 19:52:02 +02:00
Mitchell Richters
b127c37939
- Blood: Floatify all the bobbing/swaying code.
2022-10-18 19:52:02 +02:00
Mitchell Richters
33def4bd6e
- Duke: Clean up some long VecToAngle()
calls.
2022-10-18 19:52:02 +02:00
Christoph Oelckers
c84bf46611
- eliminated add_int_ceilingz in handle_se32.
2022-10-18 19:51:53 +02:00
Christoph Oelckers
b467e6c6cf
- handled a few easy to change distance calculations and nearby assignments.
2022-10-18 19:36:25 +02:00
Christoph Oelckers
4cb214f3ab
- int_vel stuff with constants.
2022-10-18 19:36:17 +02:00
Christoph Oelckers
901728d88f
- int_vel stuff with constants.
2022-10-18 19:31:11 +02:00
Christoph Oelckers
d34a423272
- int_vel stuff with constants.
2022-10-18 19:31:11 +02:00
Christoph Oelckers
eaf8a8ccca
- some minor random changes.
2022-10-18 19:31:11 +02:00
Christoph Oelckers
f7fdbcaa59
- handle the only two occurences of add_int_ang in Blood.
2022-10-18 19:01:45 +02:00
Christoph Oelckers
72dc3d5da9
- use mapangle in more places, mainly constants and random values using special formula
2022-10-18 19:01:45 +02:00
Christoph Oelckers
0e1a566d62
- added mapangle function for converting angles from map data.
...
This is just a wrapper around DAngle::fromBuild, its purpose is to clearly highlight data that cannot be refactored and needs to be converted
2022-10-18 19:01:45 +02:00
Christoph Oelckers
fdeb060ccd
- got rid of lPlayerVel
2022-10-18 19:01:45 +02:00
Christoph Oelckers
f16f9b302f
- floatified player input velocity.
2022-10-18 19:01:45 +02:00
Christoph Oelckers
b14ab1bde3
- use a lower value range for the xy factor in movespritevel.
2022-10-18 19:01:45 +02:00
Christoph Oelckers
59950062b7
- removed useless utility function
2022-10-18 19:01:44 +02:00
Christoph Oelckers
42389133d3
- function separators.
...
Also removing some dead code.
2022-10-18 19:01:44 +02:00
Christoph Oelckers
e2a6353182
- eliminated AngleDiff.
2022-10-18 19:01:44 +02:00
Christoph Oelckers
e3e11300ac
- floatify nPlayerD
2022-10-18 19:01:44 +02:00
Christoph Oelckers
3709b61fd1
- floatified PlotCourseToSprite's return
2022-10-18 18:55:22 +02:00
Christoph Oelckers
7b8b4a48f7
- floatified all of movesprite.
2022-10-18 18:34:30 +02:00
Christoph Oelckers
6854e8030d
- floatify half the movesprite calls.
2022-10-18 18:34:30 +02:00
Christoph Oelckers
ab3184eed8
- set up proper scaling of the grenade's movement vector.
2022-10-18 18:34:29 +02:00
Christoph Oelckers
1dff710a23
- floatified ThrowGrenade
2022-10-18 18:34:29 +02:00
Christoph Oelckers
a043c7fa4d
floatified body of movesprite and prepared the calls for adjustment.
2022-10-18 18:34:29 +02:00
Christoph Oelckers
98eb4a169d
- renamed movesprite functions as preparation
2022-10-18 18:34:29 +02:00
Christoph Oelckers
c41af213b4
- another set of simple changes.
2022-10-18 18:34:29 +02:00
Christoph Oelckers
efb538ba69
- floatify AISnake::Tick
2022-10-18 18:34:29 +02:00
Christoph Oelckers
f393b7e917
- floatified GetAngleToSprite
2022-10-18 18:34:29 +02:00
Christoph Oelckers
b5c315978c
- rename GetActorHeightF
...
(no edits here, just one replace.)
2022-10-18 18:34:28 +02:00
Christoph Oelckers
c65c317665
- eliminate GetActorHeight
2022-10-18 18:34:28 +02:00
Christoph Oelckers
55d01509fa
- handle most of move.cpp.
2022-10-18 18:34:28 +02:00
Christoph Oelckers
dd152f6406
- floatified BuildLavaLimb
2022-10-18 18:34:28 +02:00
Christoph Oelckers
58c2af168f
- floatified most of gun.cpp.
2022-10-18 18:34:28 +02:00
Christoph Oelckers
dc6745b935
- Set's movesprite.
2022-10-18 18:34:28 +02:00
Christoph Oelckers
31fcdd9e41
- sprite rotation angle math
2022-10-18 18:34:28 +02:00
Christoph Oelckers
18ade5e9bd
- extremely trivial angle stuff
2022-10-18 18:34:27 +02:00
Christoph Oelckers
c7d7ecb692
- floatified grenade vector.
2022-10-18 18:34:27 +02:00
Christoph Oelckers
d381b51fac
- trivial int_ang removals.
2022-10-18 18:34:27 +02:00
Christoph Oelckers
489f45ef99
- floatified AddFlow
2022-10-18 18:34:27 +02:00
Christoph Oelckers
029e0f6fa4
- floatified most of the grenade code and GetWallNormal
2022-10-18 18:34:27 +02:00
Christoph Oelckers
54a55b3d09
- floatified bobbing and a few other minor checks.
2022-10-18 18:34:27 +02:00
Christoph Oelckers
0fbddd8a2b
- floatified standHeight
2022-10-18 18:34:27 +02:00
Christoph Oelckers
8aec43a915
- bugfix for floor movement builder
2022-10-18 18:34:26 +02:00
Christoph Oelckers
1eb1eabb75
- floatified SnapSectors
2022-10-18 18:34:26 +02:00
Christoph Oelckers
a7965b1d98
- floatified LongSeek and all calling code.
2022-10-18 18:34:26 +02:00
Christoph Oelckers
01624bf340
- renamed two variables
2022-10-18 18:34:26 +02:00
Christoph Oelckers
51733df1d7
- int_pos is all gone from Exhumed.
2022-10-18 18:34:26 +02:00
Christoph Oelckers
1a7671a2b7
- snake cleanup
2022-10-18 18:34:26 +02:00
Christoph Oelckers
bbabe298ba
- floatified analyzeSprites
2022-10-18 18:34:26 +02:00
Christoph Oelckers
1e87ff8699
- floatified QueenAngleChase.
...
This was mostly copy/paste from AngleChase.
2022-10-18 18:34:26 +02:00
Christoph Oelckers
4e3c2d98d4
- angular stuff
2022-10-18 18:34:25 +02:00
Christoph Oelckers
e7f581a4fd
- floatified AngleChase.
2022-10-18 18:34:25 +02:00
Christoph Oelckers
f8c789fdcb
- floatified DExhumedActor::angle2
2022-10-18 18:34:25 +02:00
Christoph Oelckers
b777517789
- floatified MoveSector's API.
2022-10-18 18:34:25 +02:00
Christoph Oelckers
03c183d827
- clean up DoMovingSects.
2022-10-18 18:34:25 +02:00
Christoph Oelckers
52b2d1cd7d
- split out CheckMovingBlocks from AIPlayer::Tick.
2022-10-18 18:34:25 +02:00
Christoph Oelckers
9d8f06612f
- floatified MoveSector
2022-10-18 18:34:25 +02:00
Christoph Oelckers
c4a8cda95f
- decrypted some leftover raw disassembly code in MoveSector
2022-10-18 18:34:24 +02:00
Christoph Oelckers
559fe495fb
- floatified movesprite and the thrust vector.
2022-10-18 18:34:24 +02:00
Christoph Oelckers
5365066c05
- renamed variable to match its main purpose.
2022-10-18 18:34:24 +02:00
Christoph Oelckers
8137718133
- floatified movespritez
2022-10-18 18:34:24 +02:00
Christoph Oelckers
a62dcac514
- floatified BelowNear and deleted unused GetActorExtents.
2022-10-18 18:34:24 +02:00
Christoph Oelckers
48b34ad84d
- floatified BuildBullet
2022-10-18 18:34:24 +02:00
Christoph Oelckers
f4df9a25da
- pass index and angle to movesector as arguments.
...
This allows refactoring the multiple SEs using this function individually.
2022-10-18 18:30:38 +02:00
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