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
|
ca58e3fc6b
|
- the rest of ai.cpp.
|
2022-10-25 07:06:49 +02:00 |
|
Christoph Oelckers
|
48cadbd392
|
remaining floatification on aiLookForTarget
|
2022-10-25 07:06:49 +02:00 |
|
Christoph Oelckers
|
fafb4cfc29
|
- remaining floatification on aiThinkTarget
|
2022-10-25 07:06:49 +02:00 |
|
Christoph Oelckers
|
5c6cac49c8
|
- changed a few vel setter calls.
|
2022-10-22 20:41:25 +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 |
|
Christoph Oelckers
|
c6a0d30245
|
- wrapped most remaining clipdist access
Only modifying operators left
|
2022-10-17 17:03:53 +02:00 |
|
Christoph Oelckers
|
3e36b5627b
|
- wrap clipdist << 2
|
2022-10-17 17:03:52 +02:00 |
|
Christoph Oelckers
|
1a9e255265
|
- the angle in aiChooseDirection must be precisely what it was in Build.
60° may only be 1/3 Build angle unit off, but it is already too much.
|
2022-10-15 13:32:00 +02:00 |
|
Mitchell Richters
|
a8f7b3f6fe
|
- Blood: Fix bad angle direction in aiChooseDirection() .
|
2022-10-15 13:32:00 +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
|
010fedd049
|
- 10 more AdjustVelocity calls.
|
2022-10-15 11:35:37 +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 |
|
Christoph Oelckers
|
12e5fd133c
|
- add_int_bvel_x
|
2022-10-14 23:52:43 +02:00 |
|
Christoph Oelckers
|
49f0e9c57d
|
- batch 3 of vel.
|
2022-10-14 23:52:43 +02:00 |
|
Christoph Oelckers
|
e7b09dbaac
|
- renamed vel.
|
2022-10-14 23:52:42 +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 |
|
Mitchell Richters
|
a22300fe01
|
- Blood: Replace some set_int_ang() usage.
* A lot of this repeated code should be factored out into repeated blocks when all of this floatification is done.
|
2022-10-13 00:59:02 +02:00 |
|
Christoph Oelckers
|
f80b228a83
|
- deal with int positions in approxdist calls
|
2022-10-13 00:58:59 +02:00 |
|
Christoph Oelckers
|
67d0e51919
|
- migrate Blood AI to floating point vectors, part 1
Velocity is still left untouched.
|
2022-10-12 22:18:11 +02:00 |
|
Christoph Oelckers
|
db0ce36143
|
- use engine's updatesector in Blood instead of the limited homegrown FindSector variant.
|
2022-10-11 18:09:48 +02:00 |
|
Christoph Oelckers
|
781ffc9a43
|
- cansee refactoring, part 1.
|
2022-10-10 17:37:20 +02:00 |
|
Christoph Oelckers
|
1c154a984d
|
- floatified XSPRITE::TargetPos
|
2022-10-10 17:37:19 +02:00 |
|
Christoph Oelckers
|
d26a4e70c3
|
- wrapped XSPRITE::TargetPos
|
2022-10-10 17:37:19 +02:00 |
|
Christoph Oelckers
|
9460239417
|
- pass a vector to GetClosestSpriteSectors
|
2022-10-10 17:37:18 +02:00 |
|
Christoph Oelckers
|
55ade2eda4
|
- use int_hitpos() access function where applicable
|
2022-10-05 18:10:44 +02:00 |
|
Christoph Oelckers
|
296b5d7edd
|
- renamed HitInfo::hitpos
|
2022-10-05 18:03:41 +02:00 |
|
Christoph Oelckers
|
9a27dc2020
|
- handle all leftover __int_angles.
Most were in comments but were changed anyway.
|
2022-10-05 00:36:21 +02:00 |
|
Christoph Oelckers
|
8f904c2256
|
- angle assignments in Blood.
|
2022-10-04 23:56:43 +02:00 |
|
Christoph Oelckers
|
f54e4b8a9a
|
- more int_ang()
|
2022-10-04 23:56:43 +02:00 |
|
Christoph Oelckers
|
33d5b54ce0
|
- use int_ang().
|
2022-10-04 23:56:43 +02:00 |
|
Christoph Oelckers
|
735b9a8fed
|
- renamed ang to __int_angle
|
2022-10-04 23:56:42 +02:00 |
|
Christoph Oelckers
|
458fc219ed
|
- Blood: replaced the remaining spr.pos with int_pos()
|
2022-08-26 19:53:04 +02:00 |
|
Christoph Oelckers
|
84bafe6d02
|
- manual merge of latest nnext update.
|
2022-05-11 08:31:58 +02:00 |
|
Christoph Oelckers
|
acb244653c
|
- several more Blood fixes copied from NBlood
|
2022-05-06 01:40:27 +02:00 |
|
Christoph Oelckers
|
5c9730766d
|
- dd self check for burning cultist fix
Fix issue with spawned kDudeBurningCultist dudes entering water
Copied from NBlood ae80eef10fdd42224c7b6e782f259ba23c1069e7
|
2022-05-06 01:21:48 +02:00 |
|
Christoph Oelckers
|
98c985de73
|
- Renamed dword_138BB0 -> gCultTeslaFireChance
copied from NBlood commit c253f4af105b0c588d585f199cfc20021f4f6d4e
|
2022-05-06 00:50:18 +02:00 |
|
Christoph Oelckers
|
5498699faf
|
- use DCoreActor::sector() wherever possible.
|
2021-12-30 16:51:56 +01:00 |
|
Mitchell Richters
|
f091a72db1
|
- Blood: Replace XSPRITE targetz with TargetPos.Z calls.
|
2021-12-30 23:00:41 +11:00 |
|
Mitchell Richters
|
431749cf6e
|
- Blood: Replace XSPRITE targety with TargetPos.Y calls.
|
2021-12-30 23:00:40 +11:00 |
|
Mitchell Richters
|
1d29716e6b
|
- Blood: Replace XSPRITE targetx with TargetPos.X calls.
|
2021-12-30 23:00:40 +11:00 |
|
Mitchell Richters
|
ce08fd4304
|
- Blood: Replace DBloodActor yvel with vel.Y calls.
|
2021-12-30 23:00:40 +11:00 |
|
Mitchell Richters
|
a9e66ec553
|
- Blood: Replace DBloodActor xvel with vel.X calls.
|
2021-12-30 23:00:39 +11:00 |
|
Christoph Oelckers
|
e670cf2786
|
- re-tabified several files that got mangled by repeated merging
|
2021-12-30 09:58:47 +01:00 |
|
Christoph Oelckers
|
032c597fa5
|
- renamed shadowing variables in Blood.
|
2021-12-30 09:57:32 +01:00 |
|
Christoph Oelckers
|
18c32d8fe9
|
- eliminated all x() in ai.cpp.
|
2021-12-30 09:57:11 +01:00 |
|