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 |
|
Christoph Oelckers
|
3e36b5627b
|
- wrap clipdist << 2
|
2022-10-17 17:03:52 +02:00 |
|
Christoph Oelckers
|
2b5422cc53
|
- floatified USER::goalAng
|
2022-10-15 13:32:00 +02:00 |
|
Christoph Oelckers
|
9df7c55040
|
- rename USER::goalAng
|
2022-10-15 13:32:00 +02:00 |
|
Christoph Oelckers
|
39109de22f
|
- consolidation of Blood rotation code.
24x the same pattern merged into a subfunction.
|
2022-10-15 11:35:37 +02:00 |
|
Christoph Oelckers
|
b924569755
|
- started removing trivial vel wrappers
|
2022-10-15 10:15:20 +02:00 |
|
Christoph Oelckers
|
f1d3126435
|
- vel assignments
|
2022-10-14 23:55:30 +02:00 |
|
Christoph Oelckers
|
9cbffc998e
|
- set_int_bvel_y
|
2022-10-14 23:52:44 +02:00 |
|
Christoph Oelckers
|
761da2b06e
|
- set_int_bvel_x
|
2022-10-14 23:52:43 +02:00 |
|
Christoph Oelckers
|
49d280c665
|
- add_int_bvel_y
|
2022-10-14 23:52:43 +02:00 |
|