Christoph Oelckers
cfb9ebf8e5
- fixed bad velocity assignment in DoLaser, causing an endless loop.
2022-11-10 10:00:44 +01:00
Christoph Oelckers
e88b24bce7
- SW: fixed clipdist for brown rippers.
2022-11-09 20:16:47 +01:00
Christoph Oelckers
d2f0981091
- SW: fixed distance check in DoGet.
2022-11-09 19:03:23 +01:00
Christoph Oelckers
870801b8ac
- SW: explicitly initialize sector object turn angle values.
...
The integer code relied on the memset to -1, but with floats that sets it to -NaN.
2022-11-09 18:35:03 +01:00
Christoph Oelckers
fd1864bb48
- fixed bad iterator setup in SpriteSetupPost
2022-11-07 13:48:01 +01:00
Mitchell Richters
d892fa10d2
- SW: Fix ladder speed with unnecessary amplification applied.
...
* Fixes #745 .
2022-11-07 20:23:14 +11:00
Mitchell Richters
143f691c06
- SW: Try to fix up the camera drawing a bit.
...
* Slight pitch adjustment, plus factoring in that values of 0 constituted 100 under original game.
* View screens in game are not actually 1:1 AR but 1.12:1
2022-11-06 21:59:07 +11:00
Christoph Oelckers
99753fd03a
- fixed bad scaling factor in girlninj.cpp.
2022-11-04 18:18:23 +01:00
Christoph Oelckers
0c87bcb91b
- renamed getzsofslopeptr to calcSlope and removed one redundant inline.
2022-10-30 16:51:40 +01:00
Christoph Oelckers
32b2e84fdc
- added episode and total episode time display to alt HUD
2022-10-30 16:51:40 +01:00
Christoph Oelckers
f4c8ac0140
- made AnimSet's vel parameter an actual double.
...
This does not affect any outcome, it just avoids pointless type conversions.
2022-10-30 16:51:36 +01:00
Christoph Oelckers
4ac3820511
- deleted two unused local variables.
2022-10-30 16:51:36 +01:00
Christoph Oelckers
98e2fecd37
- another bunch of type conversion warnings fixed.
...
the ones in the findplayer functions are not critical in singleplayer.
2022-10-30 16:51:35 +01:00
Christoph Oelckers
902f8c9706
- silenced lots of warnings for deliberate type conversions.
...
The ones in d_net.cpp are not in active code.
2022-10-30 16:51:35 +01:00
Christoph Oelckers
0c8a76dc9c
- use ActorVect… functions in a few more places
2022-10-30 16:51:35 +01:00
Christoph Oelckers
e5efb5c15f
- fixed seeker missile aiming
...
merge to "floatified VectorMissileSeek"
2022-10-30 16:51:34 +01:00
Christoph Oelckers
c159953ac6
- use normalangle().
2022-10-30 16:51:33 +01:00
Christoph Oelckers
3c6b64d621
- renamed everything back
2022-10-30 16:51:33 +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
da523eb8e3
- unwrapped vector SetScale.
2022-10-30 16:51:32 +01:00
Christoph Oelckers
15db7a7143
- unwrapped SetScaleX/Y.
2022-10-30 16:51:32 +01:00
Christoph Oelckers
8265239d2d
- removed AddScale wrappers.
2022-10-30 16:51:32 +01:00
Christoph Oelckers
85b52b1c77
- removed Scale(), CopyScale() and MultScale wrappers.
2022-10-30 16:51:32 +01:00
Christoph Oelckers
51768439a9
- started removing wrappers. ScaleX() and ScaleY() done.
...
No manual changes in here.
2022-10-30 16:51:31 +01:00
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