Christoph Oelckers
|
ed4f49ac86
|
- fixed sound code for backend update.
|
2022-11-24 17:46:39 +01:00 |
|
Christoph Oelckers
|
e776e76ebf
|
- Blood: applied all changes outside of nnexts.cpp from the latest modern update.
|
2022-11-16 07:53:21 +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
|
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
|
1c82d19d37
|
- handled all remaining x/yrepeat in Blood.
|
2022-10-30 16:51:23 +01:00 |
|
Christoph Oelckers
|
1d48b0776e
|
- cleanup in Blood plus repeats in aiunicult.cpp
* removed the picWidth/Height functions because their one use can be easily inlined
* deleted the unused initvals in GENDUDEEXTRA
|
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
|
f5e1709c37
|
- renamed yet another bunch of repeat variables.
|
2022-10-30 16:51:22 +01:00 |
|
Christoph Oelckers
|
78bf99434e
|
- removed some pointless comments.
|
2022-10-30 16:51:22 +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
|
adb3cb888e
|
- manual repeats in Blood.
|
2022-10-30 16:51:20 +01:00 |
|
Christoph Oelckers
|
2589e7030c
|
- more repeats replaced by SetScale.
|
2022-10-30 16:51:19 +01:00 |
|
Christoph Oelckers
|
e60fafec52
|
- got rid of most REPEAT_SCALE factors.
|
2022-10-30 16:51:19 +01:00 |
|
Christoph Oelckers
|
8c308c8d3e
|
- added ScaleY method to spritetype and used it to get rid of a large amount of 'yrepeat * REPEAT_SCALE'
|
2022-10-30 16:51:18 +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
|
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
|
84dfe98f17
|
- replaced all set_native_clipdist in Blood
|
2022-10-30 16:51:16 +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
|
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 |
|
Christoph Oelckers
|
7684b64b28
|
- floatified GENDUDEEXTRA::fireDist and all related things.
|
2022-10-25 07:07:12 +02:00 |
|
Christoph Oelckers
|
e52c311592
|
- added a wrapper for VECTORDATA::maxDist
|
2022-10-25 07:07:12 +02:00 |
|
Christoph Oelckers
|
8673d692f0
|
- floatified genDudeAdjustSlope's dist.
|
2022-10-25 07:07:11 +02:00 |
|
Christoph Oelckers
|
b2dc69ad5d
|
- floatified dudeSlope.
|
2022-10-25 07:07:10 +02:00 |
|
Christoph Oelckers
|
27c0a00df6
|
- use dudeslope wrappers.
|
2022-10-25 07:07:10 +02:00 |
|
Christoph Oelckers
|
e44759d2ea
|
- renamed dudeSlope
|
2022-10-25 07:07:09 +02:00 |
|
Christoph Oelckers
|
32ed2dd596
|
- some trivial things.
|
2022-10-25 07:07:08 +02:00 |
|
Christoph Oelckers
|
e4f8178947
|
- all int_ang() in aiunicult.cpp
|
2022-10-25 07:07:07 +02:00 |
|
Christoph Oelckers
|
2692684e73
|
- floatified distance checks in unicultThinkChase
|
2022-10-25 07:07:07 +02:00 |
|
Christoph Oelckers
|
d349eabcbc
|
- floatified dudeLeechOperate
|
2022-10-25 07:07:05 +02:00 |
|
Christoph Oelckers
|
e54719e6f5
|
- floatified coordinate stuff in ThrowThing
|
2022-10-25 07:07:05 +02:00 |
|
Christoph Oelckers
|
211c77138b
|
- floatified most of unicultThinkChase
|
2022-10-25 07:07:02 +02:00 |
|
Christoph Oelckers
|
4388401e6e
|
- floatified unicultThinkGoto
|
2022-10-25 07:07:01 +02:00 |
|
Christoph Oelckers
|
5e2e53d684
|
- more CanMove fixes, plus salvaging the rest of the old commit.
CanMove twice uses the texel-based nRange as a Build-unit value, this caused strange problems with the initial floatification.
|
2022-10-25 07:06:57 +02:00 |
|
Christoph Oelckers
|
a4ec938526
|
- renamed HitScan to HitScan_ as a refactoring aid.
|
2022-10-25 07:06:56 +02:00 |
|
Christoph Oelckers
|
105e20a32d
|
- eliminated lots of approxDist calls.
Only the really simple ones.
|
2022-10-25 07:06:50 +02:00 |
|
Christoph Oelckers
|
9927d5e25d
|
- always use FrontSpeed() access function for nAccel.
This gets rid of a large amount of FixedToFloat calls.
|
2022-10-25 07:06:50 +02:00 |
|
Christoph Oelckers
|
8b96a93e80
|
- turned TurnRange calculation into a subfunction.
This formula was used in 36 places
|
2022-10-25 07:06:50 +02:00 |
|
Christoph Oelckers
|
0ef9527209
|
- eliminated the last uses of int_hitpos.
|
2022-10-25 07:06:48 +02:00 |
|
Christoph Oelckers
|
6c6fdaf332
|
- floatified actSpawnDude and removed its unused last parameter.
All callers left it at 0.
|
2022-10-22 20:41:26 +02:00 |
|
Christoph Oelckers
|
e00eda6cb8
|
- Blood: floatified VectorScan.
The texture checks in here definitely need some more verification, though.
Doing a quick test looked ok, but I do not think this was enough.
|
2022-10-22 20:41:25 +02:00 |
|
Christoph Oelckers
|
02aee7f8aa
|
- floatification in genDudePrepare
|
2022-10-22 12:16:54 +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
|
f777e84c75
|
- 2x copy_clipdist
|
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
|
28a3a8e314
|
- wrapped all literal assignments to clipdist - part 1
|
2022-10-17 17:03:52 +02:00 |
|