Christoph Oelckers
05edd22f67
remove set_int_pos from TranslateSector
2022-10-22 12:16:53 +02:00
Christoph Oelckers
38558bbd39
- floatified most of CFX::fxProcess
2022-10-22 12:16:53 +02:00
Christoph Oelckers
de38eb4dab
- add_int_pos in MoveDude
2022-10-22 12:16:53 +02:00
Christoph Oelckers
fb2c4efa2f
- eliminated the last place where tspritetype’s add_int_z was used
2022-10-22 12:16:53 +02:00
Christoph Oelckers
25bc068032
- simple add_int_z stuff in nnexts.cpp
2022-10-22 12:16:53 +02:00
Christoph Oelckers
305bca68c0
- Z velocity in MoveMissile
2022-10-22 12:16:53 +02:00
Mitchell Richters
c76540664d
- Blood: Fixed bad target angle setup in MoveMissile()
where 90° counter-clockwise rotation was lost.
2022-10-22 12:16:52 +02:00
Christoph Oelckers
e1bcb4962e
- cleaned up some function calls where passing a vector is doable
2022-10-22 12:16:52 +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
Christoph Oelckers
6310b06118
- got rid of set_int_z in Blood.
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
Mitchell Richters
1eaab2f531
- Blood: Floatify POSTURE::xOffset
and POSTURE::zOffset
.
...
* POSTURE struct is now completely handled.
2022-10-20 00:48:09 +02:00
Mitchell Richters
6fa3e3fc23
- Blood: Swap around POSTURE::xOffset
and POSTURE::zOffset
given how they're used.
2022-10-20 00:48:09 +02:00
Mitchell Richters
3b5f4b9222
- Blood: Floatify POSTURE
accel values.
2022-10-20 00:48:08 +02:00
Mitchell Richters
bbb0cf73f2
- Blood: Floatify POSTURE::normalJumpZ
and POSTURE::pwupJumpZ
.
2022-10-20 00:48:08 +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
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
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
06d0d9b5fd
- Blood: Floatify player inertia correction code.
2022-10-18 18:29:06 +02:00
Christoph Oelckers
8e48911723
- very simple replacements
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
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
28a3a8e314
- wrapped all literal assignments to clipdist - part 1
2022-10-17 17:03:52 +02:00
Christoph Oelckers
3e36b5627b
- wrap clipdist << 2
2022-10-17 17:03:52 +02:00