Christoph Oelckers
|
2df12e7961
|
- these are the final repeats
|
2022-10-30 16:51:31 +01:00 |
|
Christoph Oelckers
|
854c42e4ca
|
- handle all remaining repeat constants.
|
2022-10-30 16:51:31 +01:00 |
|
Christoph Oelckers
|
42b36d97b9
|
- half of the remainint repeats in weapon.cpp.
|
2022-10-30 16:51:30 +01:00 |
|
Christoph Oelckers
|
391b8ffc34
|
- batch of repeats in weapons.cpp
|
2022-10-30 16:51:30 +01:00 |
|
Christoph Oelckers
|
0e8594628e
|
- did the messier parts of weapon.cpp's repeats.
|
2022-10-30 16:51:30 +01:00 |
|
Christoph Oelckers
|
ce0a40320c
|
- handle all 'notreallypos' places.
|
2022-10-30 16:51:30 +01:00 |
|
Christoph Oelckers
|
8a455aa09b
|
- all remaining repeats outside weapon.cpp plus a few more.
|
2022-10-30 16:51:30 +01:00 |
|
Christoph Oelckers
|
60782efd01
|
- some odd repeats.
|
2022-10-30 16:51:29 +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
|
8ede08ce69
|
- mostly coolie related scaling factors.
|
2022-10-30 16:51:29 +01:00 |
|
Christoph Oelckers
|
abf5c9feee
|
- all repeats in SW’s draw code
|
2022-10-30 16:51:29 +01:00 |
|
Christoph Oelckers
|
509d56d042
|
- handle bunny scaling in SW
|
2022-10-30 16:51:29 +01:00 |
|
Christoph Oelckers
|
dd3346cbc5
|
- mostly comparisons and code surrounding them
|
2022-10-30 16:51:26 +01:00 |
|
Christoph Oelckers
|
1085752e01
|
- added more Scale wrappers to spritetype.
|
2022-10-30 16:51:23 +01:00 |
|
Christoph Oelckers
|
8a8ef22e53
|
- mostly '>' comparisons with scale values.
|
2022-10-30 16:51:22 +01:00 |
|
Christoph Oelckers
|
a11a366697
|
- some automatic replacements.
|
2022-10-30 16:51:21 +01:00 |
|
Christoph Oelckers
|
91c318b708
|
- renamed most non-sprite xrepeat and yrepeat as refactpring aid.
These will be renamed back later but now they create too much search noise.
A few local variables have been permanently renamed to scale*.
|
2022-10-30 16:51:20 +01:00 |
|
Christoph Oelckers
|
e60fafec52
|
- got rid of most REPEAT_SCALE factors.
|
2022-10-30 16:51:19 +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
|
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
|
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
|
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
|
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
|
88dcc37e94
|
- got rid of the wrappers for the SO angles.
|
2022-10-30 16:51:13 +01:00 |
|
Mitchell Richters
|
215fc7d407
|
- SW: Optimise DoPlayerDeathHoriz() a bit.
|
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 |
|
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
|
679e029c6d
|
- do not save randomseed twice.
|
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
|
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
|
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
|
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
|
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 |
|