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
|
bc018dd946
|
- Use getCorrectedScale() in conjunction with looking keys like scaletozero() functions.
|
2022-10-18 19:52:02 +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 |
|
Mitchell Richters
|
bdc6a5cf69
|
- Remove fudging from I_GetInputFrac() and correct getPushBuild() .
|
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
|
a3fadff0e6
|
- simplified getangle call.
|
2022-10-18 18:34:24 +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 |
|