Mitchell Richters
|
15f1d89855
|
- Wrap access to current pitch.
|
2022-12-11 18:41:56 +01:00 |
|
Mitchell Richters
|
b9f5bb71cc
|
- Merge PlayerHorizon and PlayerAngle structs into PlayerAngles struct.
|
2022-12-11 18:41:56 +01:00 |
|
Mitchell Richters
|
bd063de5f5
|
- Rename PlayerAngle::ang in preparation for replacement work.
|
2022-12-11 18:41:54 +01:00 |
|
Mitchell Richters
|
401a829d54
|
- Rename PlayerHorizon::horiz in preparation for replacement work.
|
2022-12-11 18:41:53 +01:00 |
|
Mitchell Richters
|
2e0b9490e1
|
- Change spritetypebase::angle to a DRotator named Angles .
* Major pre-requisite for the next steps I'm undertaking, let's get it into the branch now.
|
2022-12-11 18:41:52 +01:00 |
|
Mitchell Richters
|
703db0e3c3
|
- SW: Remove PLAYER::posGet() .
|
2022-12-11 18:41:49 +01:00 |
|
Mitchell Richters
|
a54d0f7639
|
- SW: Wrap calls that get PLAYER::PlayerNowPosition .
|
2022-12-11 18:41:46 +01:00 |
|
Mitchell Richters
|
cf25884675
|
- SW: Rename Player::pos to Player::PlayerNowPosition to make it easier to search upon.
|
2022-12-11 18:41:45 +01:00 |
|
Mitchell Richters
|
a012fd8f94
|
- SW: Pitch-adjusted velocity for SpawnShell() .
|
2022-11-30 10:03:52 +01:00 |
|
Mitchell Richters
|
84dbd935d7
|
- SW: Pitch-adjusted velocity for PlayerInitCaltrops() .
|
2022-11-30 10:03:52 +01:00 |
|
Mitchell Richters
|
b6665a9855
|
- SW: Pitch-adjusted velocity for PlayerInitChemBomb() .
|
2022-11-30 10:03:52 +01:00 |
|
Christoph Oelckers
|
0c87bcb91b
|
- renamed getzsofslopeptr to calcSlope and removed one redundant inline.
|
2022-10-30 16:51:40 +01:00 |
|
Christoph Oelckers
|
0c8a76dc9c
|
- use ActorVect… functions in a few more places
|
2022-10-30 16:51:35 +01:00 |
|
Christoph Oelckers
|
81341ce4a6
|
- unwrapped SetScale as well.
Again no edits here - it's one big replace action.
|
2022-10-30 16:51:33 +01:00 |
|
Christoph Oelckers
|
15db7a7143
|
- unwrapped SetScaleX/Y.
|
2022-10-30 16:51:32 +01:00 |
|
Christoph Oelckers
|
33aed76977
|
- random scale stuff in jweapon.cpp
|
2022-10-30 16:51:29 +01:00 |
|
Christoph Oelckers
|
8cb40291f2
|
- lots of repeat literals in SW
|
2022-10-30 16:51:29 +01:00 |
|
Christoph Oelckers
|
8d1626de02
|
- yet more SetScale uses.
|
2022-10-30 16:51:18 +01:00 |
|
Christoph Oelckers
|
d8fac32459
|
- more simple SetScale replacements.
|
2022-10-30 16:51:17 +01:00 |
|
Christoph Oelckers
|
86d6ba43d4
|
- more automatic SetScale replacement, plus all of SetScale(0.5, 0.5);
|
2022-10-30 16:51:17 +01:00 |
|
Christoph Oelckers
|
9f19a1315b
|
- replaced most native_clipdist() calls
Only those in nnext using internal int storage remain.
|
2022-10-30 16:51:16 +01:00 |
|
Christoph Oelckers
|
a6e35edc6c
|
- replaced all set_native_clipdist
Note that truncation has to be preserved here to ensure the size stays the same as before so the MulScales were not resolved into their factors.
|
2022-10-30 16:51:16 +01:00 |
|
Christoph Oelckers
|
7ed45d713a
|
- refactor all oclipdist uses
|
2022-10-30 16:51:15 +01:00 |
|
Christoph Oelckers
|
48fda0cafd
|
- second batch of set_const_clipdist replacements
|
2022-10-30 16:51:15 +01:00 |
|
Christoph Oelckers
|
4af4983d3e
|
- floatified clipdist and replaced fClipdist wrapper.
This uses a new variable because a few things use clipdist as a flag byte
|
2022-10-30 16:51:14 +01:00 |
|
Mitchell Richters
|
cea2b6b428
|
- Rename PlayerHorizon::__horiz back to horiz .
|
2022-10-30 16:51:12 +01:00 |
|
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 |
|
Mitchell Richters
|
1e7cce28af
|
- VecToAngle() with delta() inside to .Angle() replacements.
|
2022-10-27 16:55:53 +02:00 |
|
Mitchell Richters
|
d8a6471680
|
- Add fixedhoriz::Tan() and replace most asbuildf() calls with it.
|
2022-10-25 07:06:53 +02:00 |
|
Mitchell Richters
|
f6f88f587d
|
- SW: Consolidate random range applied to weapon vel.Z into an inline.
|
2022-10-25 07:06:53 +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
|
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
|
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
|
c55fdd41e8
|
- wrapped all literal assignments to clipdist - part 5
|
2022-10-17 17:03:53 +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
|
64e906d8fc
|
- remaining wrappers in coolg.cpp and jweapon.cpp
|
2022-10-15 23:47:33 +02:00 |
|
Christoph Oelckers
|
3c1e478325
|
- function separators
|
2022-10-15 18:22:08 +02:00 |
|
Christoph Oelckers
|
5ed2cb67d9
|
- handle the remaining velocity assignments in jweapon.cpp
|
2022-10-15 18:22:08 +02:00 |
|
Christoph Oelckers
|
608c964f02
|
- unwrap all places where the vect vectors were just used in their native form.
|
2022-10-15 17:52:07 +02:00 |
|
Christoph Oelckers
|
4547372d4d
|
- use access functions for reading _vect.
|
2022-10-15 17:52:07 +02:00 |
|
Christoph Oelckers
|
9d101a4f73
|
- renamed player vector variables
|
2022-10-15 17:52:06 +02:00 |
|
Christoph Oelckers
|
77bc524950
|
- eliminated add_int_change
|
2022-10-15 17:52:06 +02:00 |
|
Christoph Oelckers
|
e81dba2ea9
|
- random angle cleanup
|
2022-10-15 17:52:06 +02:00 |
|
Christoph Oelckers
|
3647eb6b09
|
- minor cleanup
|
2022-10-15 17:49:34 +02:00 |
|
Christoph Oelckers
|
7907589afe
|
- floatified SpawnRadiationCloud
|
2022-10-15 17:49:34 +02:00 |
|
Christoph Oelckers
|
9651a7f694
|
- minor code cleanup
|
2022-10-15 17:49:34 +02:00 |
|
Christoph Oelckers
|
5653793bdc
|
- floatified DoBloodSpray
|
2022-10-15 17:49:33 +02:00 |
|