Christoph Oelckers
|
c7c3b2a20c
|
- added a SetScale method to spritetype and used it for all places setting x/yrepeat to 0.
|
2022-10-30 16:51:17 +01:00 |
|
Christoph Oelckers
|
35fbc634de
|
- silence some warnings
|
2022-10-30 16:51:17 +01:00 |
|
Christoph Oelckers
|
30112e1289
|
- deal with clipdist in nnexts
|
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
|
e80c32cfd4
|
- handle magic clipdist values
|
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
|
84dfe98f17
|
- replaced all set_native_clipdist in Blood
|
2022-10-30 16:51:16 +01:00 |
|
Christoph Oelckers
|
ed5b35453a
|
- ';;' cleanup
|
2022-10-30 16:51:15 +01:00 |
|
Christoph Oelckers
|
7ed45d713a
|
- refactor all oclipdist uses
|
2022-10-30 16:51:15 +01:00 |
|
Christoph Oelckers
|
d22c473c31
|
- manual set_const_clipdist replacements
|
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
|
03d6826fce
|
- first batch of set_const_clipdist replacements
|
2022-10-30 16:51:14 +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 |
|
Christoph Oelckers
|
3577b53c4d
|
- GetWallSpritePosition also benefits from using .dot
|
2022-10-30 16:51:14 +01:00 |
|
Christoph Oelckers
|
f1baf5c69c
|
- use dot product for getslopeval as well
|
2022-10-30 16:51:13 +01:00 |
|
Christoph Oelckers
|
02f1f79333
|
- use .dot() for calculating slopes
|
2022-10-30 16:51:13 +01:00 |
|
Christoph Oelckers
|
e83d0930bf
|
- clean out the unused sintable stuff
|
2022-10-30 16:51:13 +01:00 |
|
Christoph Oelckers
|
88dcc37e94
|
- got rid of the wrappers for the SO angles.
|
2022-10-30 16:51:13 +01:00 |
|
Christoph Oelckers
|
7cb2545f4b
|
- let TranslateSector update the player's angle if not in vanilla mode.
|
2022-10-30 16:51:13 +01:00 |
|
Christoph Oelckers
|
ce9bda47fe
|
- deleted unused getwalldist function.
|
2022-10-30 16:51:12 +01:00 |
|
Mitchell Richters
|
215fc7d407
|
- SW: Optimise DoPlayerDeathHoriz() a bit.
|
2022-10-30 16:51:12 +01:00 |
|
Mitchell Richters
|
94941adce8
|
- Duke: Fix sign on 4x tangent offsets.
|
2022-10-30 16:51:12 +01:00 |
|
Mitchell Richters
|
cea2b6b428
|
- Rename PlayerHorizon::__horiz back to horiz .
|
2022-10-30 16:51:12 +01:00 |
|
Mitchell Richters
|
ff1d51b4fe
|
- Fix 4x horiz negation issues.
|
2022-10-30 16:51:11 +01:00 |
|
Christoph Oelckers
|
a928a99328
|
- adjusted Exhumed's gun code to the horizon sign flip
|
2022-10-30 16:51:11 +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 |
|
Christoph Oelckers
|
4becce9bf4
|
- replaced the one use of uhypsq to delete the function.
|
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 |
|
Christoph Oelckers
|
513fc478bf
|
- moved clipupdatesector to updatesector.h
|
2022-10-30 16:51:10 +01:00 |
|
Christoph Oelckers
|
479c732a72
|
- moved some more things out of build.h
|
2022-10-30 16:51:10 +01:00 |
|
Christoph Oelckers
|
0eea776065
|
- moved RS_ bits to gamehud.h because that's all that uses these flags.
|
2022-10-30 16:51:09 +01:00 |
|
Christoph Oelckers
|
94b91f6ec3
|
- build.h cleanup
* moved krand and krandf into the games/duke folder because no other game uses them
* moved CVARS to gamefuncs.h.
|
2022-10-30 16:51:09 +01:00 |
|
Christoph Oelckers
|
679e029c6d
|
- do not save randomseed twice.
|
2022-10-30 16:51:09 +01:00 |
|
Christoph Oelckers
|
4af1461ec3
|
- got rid of int_clipdist.
|
2022-10-30 16:51:09 +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
|
f45acdc2a8
|
- floatified two SOP clipdist variables
|
2022-10-30 16:51:08 +01:00 |
|
Christoph Oelckers
|
69f27d42aa
|
- same for Blood's ClipMove
|
2022-10-30 16:51:08 +01:00 |
|
Christoph Oelckers
|
9257fe0078
|
- fixed clipmove factors.
|
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 |
|
Christoph Oelckers
|
63c8960769
|
- deleted mdsprite.* files.
|
2022-10-27 16:55:54 +02:00 |
|
Christoph Oelckers
|
a4dd5bb4ce
|
- rewrote the model storage code.
Using proper C++ containers now.
|
2022-10-27 16:55:54 +02:00 |
|
Mitchell Richters
|
8bc34f3dac
|
- Handle all remaining VecToAngle() calls.
|
2022-10-27 16:55:53 +02:00 |
|
Mitchell Richters
|
e7dff22095
|
- Duke: Fix some badly negated angle setups.
|
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
|
75047b6ad5
|
- Eliminate MulScaleF() .
|
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 |
|