Mitchell Richters
0600bf5860
- Negate everything to do with PlayerHorizon::__horiz
where appropriate, including some loose horizoff
members.
2022-10-30 16:51:11 +01:00
Mitchell Richters
619b8005ac
- Rename PlayerHorizon::horiz
in prep for negating this angle throughout code.
2022-10-30 16:51:11 +01:00
Christoph Oelckers
a6b55dca74
- removed handling for Exhumed clipping mode.
...
All this does is disable slopes in a few places and use extremely less precise math. Nothing critical is guarded by it.
2022-10-30 16:51:10 +01:00
Mitchell Richters
29eb729cd3
- Fix multiple bad calls to pushmove()
.
2022-10-30 16:51:09 +01:00
Christoph Oelckers
7d3babd678
- ported all pushmove calls to the float version.
2022-10-30 16:51:08 +01:00
Christoph Oelckers
600c2a0243
- map all clipmove calls to the version with a full float interface.
2022-10-30 16:50:48 +01:00
Mitchell Richters
8bc34f3dac
- Handle all remaining VecToAngle()
calls.
2022-10-27 16:55:53 +02:00
Mitchell Richters
1e7cce28af
- VecToAngle() with delta()
inside to .Angle() replacements.
2022-10-27 16:55:53 +02:00
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