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 |
|
Christoph Oelckers
|
044b9e555b
|
- floatified a bit more of nnExtProcessSuperSprites
|
2022-10-22 20:41:25 +02:00 |
|
Christoph Oelckers
|
fd5bbbedaf
|
- floatified aiPatrolMove
|
2022-10-22 20:40:42 +02:00 |
|
Christoph Oelckers
|
781c2492a9
|
- Blood: floatified aiFightDudeCanSeeTarget + aiPatrolMarkerReached
|
2022-10-22 19:45:10 +02:00 |
|
Christoph Oelckers
|
ead39cb010
|
- Blood: floatified parts of condCheckDude
|
2022-10-22 19:45:09 +02:00 |
|
Christoph Oelckers
|
92f958ded0
|
- Blood: floatified debrisBubble
|
2022-10-22 19:45:09 +02:00 |
|
Christoph Oelckers
|
39d100c970
|
- Blood: floatified debrisConcuss
|
2022-10-22 19:45:09 +02:00 |
|
Christoph Oelckers
|
549f062973
|
- Blood: floatified windGenDoVerticalWind
|
2022-10-22 19:45:09 +02:00 |
|
Mitchell Richters
|
95cd74bdc0
|
- renamed slope functions so that the int versions get a special name.
|
2022-10-22 12:17:02 +02:00 |
|
Mitchell Richters
|
2e4996e8fc
|
- floatified nnextCanMove and deleted most deprecated updatesector variants.
|
2022-10-22 12:17:02 +02:00 |
|
Christoph Oelckers
|
9b84a510da
|
- Blood: floatified debrisMove
|
2022-10-22 12:17:01 +02:00 |
|
Christoph Oelckers
|
761412313f
|
- did some trivial replacements for deprecated functions.
|
2022-10-22 12:17:00 +02:00 |
|
Mitchell Richters
|
4788e26596
|
- Blood: Floatify actAirDrag() and some associated XSECTOR members.
* Left `XSECTOR::windVel` as an integer type for now.
|
2022-10-22 12:16:59 +02:00 |
|
Mitchell Richters
|
d92fda4312
|
- Blood: Floatify callbackUniMissileBurst() .
|
2022-10-22 12:16:58 +02:00 |
|
Christoph Oelckers
|
49ae7c0c0f
|
- floatified sound code in useSeqSpawnerGen
|
2022-10-22 12:16:55 +02:00 |
|
Christoph Oelckers
|
e2954dd9d5
|
- floatified ceilIsTooLow
|
2022-10-22 12:16:55 +02:00 |
|
Christoph Oelckers
|
7804e23ad0
|
- 8x set_int_ang
|
2022-10-22 12:16:54 +02:00 |
|
Christoph Oelckers
|
25bc068032
|
- simple add_int_z stuff in nnexts.cpp
|
2022-10-22 12:16:53 +02:00 |
|
Christoph Oelckers
|
e1bcb4962e
|
- cleaned up some function calls where passing a vector is doable
|
2022-10-22 12:16:52 +02:00 |
|
Christoph Oelckers
|
6310b06118
|
- got rid of set_int_z in Blood.
|
2022-10-20 00:48:09 +02:00 |
|
Mitchell Richters
|
def2b9d483
|
- Flip svel around in the input code so we can use proper anti-clockwise vector math.
|
2022-10-20 00:48:09 +02:00 |
|
Mitchell Richters
|
f56cb7de48
|
- Blood: Floatify QAV's x/y coordinates.
|
2022-10-18 19:52:02 +02:00 |
|
Christoph Oelckers
|
f7fdbcaa59
|
- handle the only two occurences of add_int_ang in Blood.
|
2022-10-18 19:01:45 +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
|
3e36b5627b
|
- wrap clipdist << 2
|
2022-10-17 17:03:52 +02:00 |
|
Mitchell Richters
|
f02035b15a
|
- Eliminate __interpvaluef() and clean up Q16.16 smoothratio values where it made sense to do so.
|
2022-10-15 13:32:01 +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
|
057d2a565a
|
- floatified Blood's velFloor and velCeil
|
2022-10-15 13:31:59 +02:00 |
|
Christoph Oelckers
|
38bb103cdd
|
- renamed velFloor and velCeil.
|
2022-10-15 13:31:59 +02:00 |
|
Christoph Oelckers
|
4af3f6e731
|
- comparison with zero replacements
|
2022-10-15 11:35:37 +02:00 |
|
Christoph Oelckers
|
ac84e3f045
|
- some simple replacements
|
2022-10-15 11:35:37 +02:00 |
|
Christoph Oelckers
|
18cc450889
|
- more easy to replace vel assignments
|
2022-10-15 11:35:36 +02:00 |
|
Christoph Oelckers
|
5cde04fee7
|
- cleaned up assignments of random values to vel
|
2022-10-15 10:33:03 +02:00 |
|
Christoph Oelckers
|
b924569755
|
- started removing trivial vel wrappers
|
2022-10-15 10:15:20 +02:00 |
|
Christoph Oelckers
|
f2d89b7609
|
- refactored actWallBounceVector as well
This completes the abstraction of velocity in Blood.
|
2022-10-15 10:15:20 +02:00 |
|
Christoph Oelckers
|
9f235b56f3
|
- rewrote actFloorBounceVector to avoid reference parameters
|
2022-10-14 23:55:32 +02:00 |
|
Christoph Oelckers
|
a69bdb3370
|
- eliminated Blood’s RotatePoint function
|
2022-10-14 23:55:31 +02:00 |
|
Christoph Oelckers
|
c45ecdae73
|
- wrapped all velocity access in Blood, except the places where an address of vel is taken
|
2022-10-14 23:55:30 +02:00 |
|
Christoph Oelckers
|
7a7a2cdb39
|
- various replacements of vel
|
2022-10-14 23:55:30 +02:00 |
|
Christoph Oelckers
|
994cb47d36
|
- set_int_bvel_z
|
2022-10-14 23:52:44 +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
|
b78d5a95ac
|
- more add_int_bvel_
|
2022-10-14 23:52:43 +02:00 |
|
Christoph Oelckers
|
1999340c8a
|
- add_int_bvel_z
|
2022-10-14 23:52:43 +02:00 |
|
Christoph Oelckers
|
49d280c665
|
- add_int_bvel_y
|
2022-10-14 23:52:43 +02:00 |
|
Christoph Oelckers
|
12e5fd133c
|
- add_int_bvel_x
|
2022-10-14 23:52:43 +02:00 |
|
Christoph Oelckers
|
193d20bb4d
|
- wrapped more xvels
|
2022-10-14 23:52:43 +02:00 |
|
Christoph Oelckers
|
e3758d6adc
|
- started wrapping vel
|
2022-10-14 23:52:42 +02:00 |
|
Christoph Oelckers
|
e7b09dbaac
|
- renamed vel.
|
2022-10-14 23:52:42 +02:00 |
|
Christoph Oelckers
|
decaff78dc
|
- floatified parts of useSeqSpawnerGen.
Also fixing a sprite size bug in here.
|
2022-10-13 20:58:11 +02:00 |
|
Christoph Oelckers
|
07826c7791
|
- eliminated DCoreActor::copyXY
|
2022-10-13 00:59:05 +02:00 |
|
Mitchell Richters
|
92b16907d2
|
- Use getincangle() in more places so it can be refactored easier later on.
|
2022-10-13 00:59:02 +02:00 |
|
Christoph Oelckers
|
40312d64c8
|
-coordinates
|
2022-10-13 00:59:01 +02:00 |
|
Christoph Oelckers
|
478672879e
|
- partial HitScan parameter change
The really easy stuff…
|
2022-10-13 00:59:00 +02:00 |
|
Christoph Oelckers
|
f80b228a83
|
- deal with int positions in approxdist calls
|
2022-10-13 00:58:59 +02:00 |
|
Christoph Oelckers
|
230913bad3
|
- another large AI cleanup batch
|
2022-10-13 00:58:59 +02:00 |
|
Christoph Oelckers
|
2f896b859b
|
- made the code mostly signed-char safe.
This eliminates all char function parameters that are not really ASCII characters and casts all char argument to the ctype is... functions.
|
2022-10-12 22:12:30 +02:00 |
|