Mitchell Richters
9b98388215
- VecToAngle() with XY()
inside to .Angle() replacements.
2022-10-27 16:55:53 +02:00
Mitchell Richters
c00c8d196e
- Simple VecToAngle() > .Angle() replacements.
2022-10-27 16:55:52 +02:00
Mitchell Richters
d15e1017bd
- Exhumed: Restore original tangent-based slope tilting code.
...
* Pitch-based version just doesn't work, and hasn't since it was changed to pitch before the fixedhoriz > DAngle changeover.
2022-10-27 16:55:52 +02:00
Mitchell Richters
fc8c0b80aa
- Clean up chase cam backwards scaling since we're now using floats of the same scale.
2022-10-25 07:07:14 +02:00
Mitchell Richters
9dd27ee3a2
- Remove old integer dragpoint()
interface that was used by floats in lots of places.
...
* Cannot wait until all the narrowing warnings can be re-enabled...
2022-10-25 07:07:14 +02:00
Christoph Oelckers
22ccf33569
- floatified walldist parameter of getzrange
2022-10-25 07:07:14 +02:00
Mitchell Richters
8d3f3c6025
- Cut over to DAngle
from fixedhoriz
and remove the latter.
2022-10-25 07:06:55 +02:00
Mitchell Richters
92798b5a07
- Remove most buildhoriz()
calls.
2022-10-25 07:06:55 +02:00
Mitchell Richters
293a71ed55
- Remove horizon from gi->WarpToCoords()
since we don't even print the horizon in our stats.
2022-10-25 07:06:54 +02:00
Mitchell Richters
8697e5f054
- Replace all q16horiz(0)
calls.
2022-10-25 07:06:54 +02:00
Mitchell Richters
22a9f89b64
- Remove all uses of fixedhoriz::asq16()
.
2022-10-25 07:06:54 +02:00
Mitchell Richters
5851c0f2c6
- Clean up some q16horiz usage and how the view pitch is clamped.
2022-10-25 07:06:53 +02:00
Mitchell Richters
4ef9ec93ea
- Remove fixedhoriz::asbuildf()
and associated buildf friend.
...
* The new friend `tanhoriz()` is just for the input code for now.
2022-10-25 07:06:53 +02:00
Mitchell Richters
d8a6471680
- Add fixedhoriz::Tan()
and replace most asbuildf()
calls with it.
2022-10-25 07:06:53 +02:00
Christoph Oelckers
f9d8763ed5
- Exhumed: fixed wasp's death animation
2022-10-24 20:56:41 +02:00
Christoph Oelckers
c2e5bdbdce
- Exhumed: fixed grenade bouncing.
2022-10-24 20:41:15 +02:00
Christoph Oelckers
20043f6223
- use symbolic constants in neartag calls.
2022-10-22 12:17:03 +02:00
Christoph Oelckers
ac2a3c443f
- got rid of all deprecated updatesector variants.
...
This required a few changes in the map loader and render interface.
2022-10-22 12:17:02 +02:00
Christoph Oelckers
375d346ae8
- pass a vector to the processSprites interface.
2022-10-22 12:16:56 +02:00
Christoph Oelckers
ff25dc7ae5
- fixed AngleChase pitch calculation.
...
This had one variable replacement missing.
2022-10-21 23:57:49 +02:00
Christoph Oelckers
81a688ee75
- fixed bad z-scale relations in BuildBullet
2022-10-21 23:17:07 +02:00
Mitchell Richters
8bfcb8c939
- Floatify InputPacket::fvel
and InputPacket::svel
.
...
* Since all velocities are floated, we can now take each game's keymove scaling into its ticker and use a consistent keymove size, making non-mouselook and controller input truly identical across the games without having to try and fudge any values.
2022-10-20 00:48:09 +02:00
Mitchell Richters
def2b9d483
- Flip svel
around in the input code so we can use proper anti-clockwise vector math.
2022-10-20 00:48:09 +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
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
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
1ba20c7dce
- wrapped most clipdist assignments
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
3fc592c505
- wrap clipdist copy
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
3e36b5627b
- wrap clipdist << 2
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
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