teinarss
19b02875c7
Use Tuple syntax
2020-08-15 10:37:10 +01:00
Paul Chote
75cb5c2166
Convert turret facings to WAngle relative to the body.
2020-08-09 19:43:53 +02:00
Andre Mohren
006a87692a
Removed unused imports.
2020-07-28 18:22:51 +02:00
Paul Chote
ac975f4139
Convert yaml-exposed facings to WAngle.
2020-07-19 10:41:05 +02:00
Paul Chote
8c3793e7ea
Rename WRot.Zero to WRot.None.
2020-07-17 15:02:32 +02:00
Paul Chote
a2269e7ee7
Convert (Dynamic)FacingInit, (Dynamic)TurretFacingInit to WAngle.
2020-07-08 20:38:30 +02:00
KorGgenT
b57c68e392
Fix units walk over tunnels and under bridges.
2020-06-28 17:21:54 +02:00
tovl
b79aa7eb6a
Add AlwaysTurnInPlace option to Mobile.
2020-06-28 00:11:26 +02:00
Paul Chote
6dcde3af72
Allow voxel-based aircraft to pitch and roll.
2020-06-21 18:05:40 +02:00
matjaeck
5280637adf
Fix PickupUnit not validating cargo on first run.
2020-06-19 15:59:14 +02:00
Matthias Mailänder
3bce55ac44
Cancel the attack when no traits are active.
2020-06-19 13:43:03 +02:00
Paul Chote
803b930405
Change IFacing.TurnSpeed to WAngle.
2020-06-12 18:35:41 +02:00
Paul Chote
6adf45bcb4
Convert IFacing.Facing and TurnSpeed to WAngle.
2020-06-12 18:35:41 +02:00
reaperrr
4bf614c5cd
Use OccupiesSpace to avoid Mobile look-up in Move
...
While individual trait look-ups may be cheap,
if a large army that is currently standing still gets
its first move-including order, the look-ups of dozens
or even hundreds of actors may happen on the same tick.
Therefore this may help reducing that first-order lag spike,
at least a little bit.
2020-06-02 20:08:34 +02:00
abcdefg30
96b06c75d1
Make Resupply display target lines for all queued move activities
2020-06-02 18:23:54 +02:00
Paul Chote
6d6b21a0eb
Convert Aircraft.Facing to WAngle.
2020-06-01 20:25:38 +02:00
Paul Chote
c999b2d778
Convert QuantizeFacing to WAngle facings.
2020-05-28 21:23:51 +02:00
Paul Chote
626b40f31b
Account for ramps in terrain height calculations.
2020-05-28 09:41:55 -05:00
abcdefg30
8b13d3e4c7
Fix resupply not displaying target lines correctly
2020-05-19 22:11:20 +02:00
atlimit8
1ef27d18c1
check name for Actor.GrantCondition()
2020-05-17 12:33:29 +02:00
thisisjacob
3119f831b3
Added notice for entering vehicles in docs
2020-05-13 17:25:49 -05:00
thisisjacob
8a07b762a2
Changed documentation for OnEnterComplete
2020-05-13 17:25:49 -05:00
atlimit8
259c8d2c98
Merge ConditionManager trait directly into Actor
2020-05-09 15:46:11 +02:00
Adam Mitchell
0a9eb1ff83
Fix units stuck on transit-only when resupplying
2020-04-17 11:13:46 +02:00
abcdefg30
1e64048956
Cache PlayerResources and unit cost in Resupply
2020-04-07 21:27:16 +02:00
Mustafa Alperen Seki
101843fbb7
Make EngineerRepairable conditional.
2020-04-03 04:09:43 -05:00
Zimmermann Gyula
9e534f3804
Add damagetypes to repairing.
2020-03-31 01:10:51 -05:00
Paul Chote
4d4f94208e
Cache CandidateMovementCells within the same tick.
2020-03-12 17:07:14 +01:00
Paul Chote
416713de0c
Fix infantry switching subcells and blocking eachother while moving.
2020-03-11 15:40:12 +01:00
abcdefg30
a5bc841355
Ignore the types of an exit when the production type is null or empty
2020-02-28 18:48:05 +01:00
Paul Chote
7e72cd262c
Fix FlyAttack invalid target crash.
2020-02-19 23:35:16 -06:00
Paul Chote
9a6602656b
Ignore nearEnough if we think the actor can get closer.
2020-02-18 19:37:17 +01:00
Paul Chote
3a688e03f0
Add multiple levels of fallback.
2020-02-12 21:17:39 +00:00
Paul Chote
a43335c7b0
Restore transient blocker check in pathfinding queries.
2020-02-12 21:17:39 +00:00
Paul Chote
b2f0ac15e8
Generalize RallyPointInfo.Offset to support arbitrary length paths.
2020-02-09 16:52:22 +01:00
reaperrr
6220d7e62e
Introduce WarheadArgs
...
- Passes additional arguments to warheads on impact
- Uses that to reduce parameter count of DoImpact by 1
2020-01-21 19:31:34 +01:00
Paul Chote
d0f44143c2
Fix activity cancellation on FlyAttack RTB.
...
* AbortOnResupply will now cancel queued activities
in addition to the current attack.
* Resupply if no ammo is available during a standard attack.
* Don't resupply (move directly to target) if no ammo is available
during an attack move (C&C3 style).
2020-01-18 16:38:53 +01:00
Paul Chote
51870a471a
Add AttackSource enum.
2020-01-18 16:38:53 +01:00
Paul Chote
adb3c8e39c
Split fixed-wing attack and strafe attack types.
2020-01-12 21:06:35 +01:00
tovl
85bc843554
Fix aircraft failing to engage targets within range.
2020-01-12 21:06:35 +01:00
Paul Chote
0106ed3669
Restore red lines for harvester targets.
2020-01-12 04:08:59 +01:00
reaperrr
ac44367440
Refactor Spin to MaximumSpinSpeed
...
Additionally, add descriptions to
other FallsToEarth properties.
2020-01-06 21:47:53 +00:00
reaperrr
4499343ed2
Make Aircraft actually pausable/disableable
...
This commit makes aircraft
- ignore any aircraft-specific orders while disabled
- show blocked move cursor while paused
- set speeds to zero while paused or disabled
2020-01-06 21:47:53 +00:00
reaperrr
4b006bc484
Make Aircraft PausableConditional
...
Note: This commit only does the minimum changes
to implement PausableConditional, there are no
logic changes yet (like disabling movement on PauseOnCondition).
2020-01-06 21:47:53 +00:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
tovl
2094142b7d
Include tunnel check in CanStayInCell.
2020-01-04 16:04:27 +00:00
tovl
434c46058f
Disallow units idling on service depot.
2020-01-04 16:04:27 +00:00
tovl
c360d8bcef
Make service depot passable.
2020-01-04 16:04:27 +00:00
reaperrr
804d61a6a1
Fix DeliverUnit-related crash
2020-01-01 20:42:36 +01:00
abcdefg30
1e138a9774
Drop invisible invalid targets immediately when changing stance
2019-12-14 17:17:36 +01:00