Christoph Oelckers
|
f5e1709c37
|
- renamed yet another bunch of repeat variables.
|
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
|
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
|
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 |
|
Christoph Oelckers
|
7d3babd678
|
- ported all pushmove calls to the float version.
|
2022-10-30 16:51:08 +01:00 |
|
Christoph Oelckers
|
69f27d42aa
|
- same for Blood's ClipMove
|
2022-10-30 16:51:08 +01:00 |
|
Mitchell Richters
|
8bc34f3dac
|
- Handle all remaining VecToAngle() calls.
|
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 |
|
Christoph Oelckers
|
22ccf33569
|
- floatified walldist parameter of getzrange
|
2022-10-25 07:07:14 +02:00 |
|
Christoph Oelckers
|
a5afbce59d
|
- fixed fxSpawnActor calls
|
2022-10-25 07:07:13 +02:00 |
|
Christoph Oelckers
|
d41e370aad
|
- angular cleanup.
|
2022-10-25 07:07:13 +02:00 |
|
Christoph Oelckers
|
d525d41ed2
|
- floatified smaller stuff
|
2022-10-25 07:07:13 +02:00 |
|
Christoph Oelckers
|
bd011c69a6
|
- wrapped most of aim
|
2022-10-25 07:07:10 +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
|
a843c0bdb6
|
- removed some unnecessary factors.
|
2022-10-25 07:07:09 +02:00 |
|
Christoph Oelckers
|
702553d65e
|
- floatified HitScan call in nnextCanMove.
|
2022-10-25 07:07:08 +02:00 |
|
Christoph Oelckers
|
7f5ae54f93
|
- 3x use proper HitScan call.
|
2022-10-25 07:07:08 +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
|
049220239c
|
- get rid of vel wrappers for nnext conditions.
The fixed point conversion here is unavoidable, so make it explcit.
|
2022-10-25 07:07:07 +02:00 |
|
Christoph Oelckers
|
5dc2d467ee
|
- the last remaining approxDist calls in nnexts.
|
2022-10-25 07:07:07 +02:00 |
|
Christoph Oelckers
|
cf2d29e921
|
- floatified aiFightGetFineTargetDist
|
2022-10-25 07:07:07 +02:00 |
|
Christoph Oelckers
|
607f119bad
|
- floatified aiPatrolAlarmFull
|
2022-10-25 07:07:06 +02:00 |
|
Christoph Oelckers
|
6e03f87671
|
- floatified GetZRange
|
2022-10-25 07:07:06 +02:00 |
|
Christoph Oelckers
|
e8718826ba
|
- renamed Heardist to HearDist.
This had to wait until the variable was refactored out.
|
2022-10-25 07:07:05 +02:00 |
|
Christoph Oelckers
|
9cd5766cd0
|
- deleted unused GetWallAngle function and comment cleanup
|
2022-10-25 07:07:05 +02:00 |
|
Christoph Oelckers
|
d213f7c92f
|
- floatified useUniMissileGen
|
2022-10-25 07:07:04 +02:00 |
|
Christoph Oelckers
|
b7afaf3ed5
|
- floatified most of aiPatrolSearchTargets
|
2022-10-25 07:07:02 +02:00 |
|
Christoph Oelckers
|
23f2e5a7b2
|
- use floats for floor/ceiling conditions.
|
2022-10-25 07:06:59 +02:00 |
|
Christoph Oelckers
|
4114f21323
|
- added wrapper function for these variables.
|
2022-10-25 07:06:58 +02:00 |
|
Christoph Oelckers
|
6dbb5a0b8c
|
- renamed 4 fields in XSECTOR
|
2022-10-25 07:06:58 +02:00 |
|
Christoph Oelckers
|
9c698c6044
|
- 3 minor changes.
|
2022-10-25 07:06:58 +02:00 |
|
Christoph Oelckers
|
2af18ec277
|
- remap all easy HitScan calls with zero range to the new base function.
|
2022-10-25 07:06:56 +02:00 |
|
Christoph Oelckers
|
a4ec938526
|
- renamed HitScan to HitScan_ as a refactoring aid.
|
2022-10-25 07:06:56 +02:00 |
|
Mitchell Richters
|
4ef9ec93ea
|
- Remove fixedhoriz::asbuildf() and associated buildf friend.
* The new friend `tanhoriz()` is just for the input code for now.
|
2022-10-25 07:06:53 +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
|
5fa27c2a72
|
- replaced the last set_int_ang calls.
|
2022-10-23 18:47:17 +02:00 |
|
Christoph Oelckers
|
4500fe6325
|
- Blood: replaced all calls to randomAngle with RandomAngle
|
2022-10-23 18:47:17 +02:00 |
|
Christoph Oelckers
|
a8cc6c1189
|
- floatified angles in useSectorWindGen plus two other set_int_ang.
|
2022-10-23 18:47:17 +02:00 |
|
Christoph Oelckers
|
a618161387
|
- floatified nnExtSpawnDude.
|
2022-10-23 18:47:16 +02:00 |
|
Christoph Oelckers
|
aa0b6bb077
|
- changed parameters in a few HitScan calls in condCheckSprite
|
2022-10-22 20:41:26 +02:00 |
|
Christoph Oelckers
|
d1d68f1570
|
- handled the last remaining set_int_bvel* calls in nnexts.cpp.
|
2022-10-22 20:41:25 +02:00 |
|
Christoph Oelckers
|
88feac4272
|
- floatified useVelocityChanger
|
2022-10-22 20:41:25 +02:00 |
|