reaperrr
969be686a3
Fix aircraft with TakeOffOnResupply not taking off
...
...after auto-resupply.
2019-08-09 09:45:40 +02:00
abcdefg30
ddf824b494
Fix AutoCarryall crashing when the cargo dies
2019-08-08 17:46:34 +02:00
reaperrr
ac3b3db7ac
Made Resupply canceling more robust
...
The following improvements are made here:
- merged and streamlined the two IsCanceling checks in Tick
into one that covers both isCloseEnough cases
- isCloseEnough now only checks distance to host
if host is still valid and otherwise returns 'false'
- called transports are now also cancelled when host becomes
invalid, not only if the activity is cancelled via order
- aircraft now always take off if the host becomes invalid
- ground actors only try to leave if host is still existing
2019-08-08 17:22:53 +02:00
Paul Chote
ddc4c4ff06
Add queuing support to RepairOrderGenerator for units.
2019-08-07 21:31:20 +02:00
Paul Chote
1543ccb749
Reverse target line draw order.
2019-08-07 14:03:40 +02:00
Paul Chote
8ffd8ae822
Remove ShowTargetLines from delivery Lua API calls.
...
Lines should only be activated in response to an
explicit player action.
2019-08-06 17:56:56 +02:00
Paul Chote
96263d47c5
Restore target line display for allied players and spectators.
...
Change behaviour to require the force-display modifier to reduce
visual noise.
2019-08-06 17:52:43 +02:00
tovl
58bb7fcbc0
Rework minefield visualisation.
2019-08-05 02:53:09 +01:00
tovl
b7a7b7aa7e
Revise target line colours to distinguish different attack types.
2019-08-05 02:53:09 +01:00
Turupawn
3240b1e9eb
Overhaul target line rendering:
...
- Targets are now defined by the activities
- Queued activities are shown
- Support custom attack colors
2019-08-05 02:53:09 +01:00
tovl
8c7ff3b5b0
Make VisualMove uninterruptible by making Turn a Child of Drag.
2019-08-04 11:48:59 +02:00
tovl
9e6f8aef60
Do not cancel parent activity when refinery is destroyed.
2019-07-29 19:56:23 +02:00
Paul Chote
a4b8ffa99d
Allow PBOG to nudge blocking helicopters.
2019-07-28 11:31:24 +02:00
Paul Chote
2f99512bd4
Clear dirty blocking cells after updating.
2019-07-27 17:21:43 +02:00
Paul Chote
6345655bb1
Add a PerfSample to UpdateCellBlocking.
2019-07-27 17:21:43 +02:00
teinarss
b5c387774c
Fixed selecting none in spec dropdown should set none as active panel
2019-07-27 10:17:34 +01:00
teinarss
cc84daacea
Added cache for cell cost and blocking
2019-07-26 15:54:22 +02:00
teinarss
fb1af81280
Updated TerrainInfo cost to use short
2019-07-26 15:54:22 +02:00
teinarss
27077d6427
Added CellUpdated event to ActorMap
2019-07-26 15:54:22 +02:00
teinarss
2ddf9fa826
Using Locomotor instead of Info for pathfinding
2019-07-26 15:54:22 +02:00
Paul Chote
c00b13a18e
Fix player color when a client is bumped to a spectator slot.
2019-07-24 23:07:12 +02:00
reaperrr
4c3f2f3afa
Fix aircraft allowing enter when it should not
...
Show "enter-blocked" cursor when resupply is not possible,
except when
- the actor CanForceLand,
- does not TakeOffOnResupply,
- and has active ForceEnter modifier.
2019-07-23 17:01:41 +02:00
reaperrr
5b3e6175ea
Fix Repairable returning order targeter for aircraft
...
Aircraft (currently) does its own order targeting for resupplies,
so this could lead to conflicts.
2019-07-23 17:01:41 +02:00
reaperrr
e7769357a8
Improve AircraftCanEnter readability
2019-07-23 17:01:41 +02:00
reaperrr
e662f17f06
Fix that VTOLs can ignore TurnToDock/-Land
...
When already at horizontal target position, no Turn was queued.
2019-07-23 16:17:18 +02:00
tovl
d9e1a68453
Cancel carryall transport request when cancelling order.
2019-07-22 22:54:01 +02:00
reaperrr
30c2e6b4d2
Remove Resupply re-queueing hack from Aircraft
...
By preventing that other traits can remotely cancel Resupply
or ReturnToBase.
2019-07-21 16:29:38 +02:00
reaperrr
bfcdb3a8a2
Add IdleBehavior enum to Aircraft
2019-07-21 16:29:38 +02:00
reaperrr
d185f6e9f1
Remove AbortOnResupply from Aircraft again
...
This was accidentally re-added during a rebase in
a previous PR.
2019-07-21 16:29:38 +02:00
reaperrr
7f4fbfcf46
Change Resupply closeEnough 'infinite' to negative
...
...instead of 'zero'.
Returning 'true' at a distance of zero was a legacy left-over
that isn't used anymore once #16695 is merged.
2019-07-21 15:17:09 +02:00
reaperrr
fa41554309
Fix actors resupplying even if too far from resupplier
2019-07-21 15:17:09 +02:00
teinarss
f46cad5347
Fix game minute in PlayerStatistics
2019-07-21 14:23:25 +02:00
teinarss
e06c97bc03
Updated the LineGraphWidget with new layout
2019-07-21 14:23:25 +02:00
teinarss
60250e621c
Fix random flag for spec in score screen
2019-07-21 13:50:02 +02:00
teinarss
551d72b061
Fixes flag in spec ui
2019-07-21 13:50:02 +02:00
tovl
c5558e2145
Remove SequenceActivities.
2019-07-20 23:41:31 +02:00
Ivaylo Draganov
86c8dfe96e
Add a tooltip text to overflowing ButtonWidget in hotkey settings panel
2019-07-20 17:39:07 +02:00
Ivaylo Draganov
ef0cb7552d
Revert "Scissor the text of a ButtonWidget if it overflows and display a tooltip"
...
This reverts parts of commit 76a6e7ec92 .
2019-07-20 17:39:07 +02:00
tovl
a38c2d9aae
Allow ReturnToBase to exit if actor does not land at building.
2019-07-19 12:19:15 +02:00
tovl
ed18ecfcaf
Allow explicit landing orders to be disabled in yaml.
2019-07-19 12:14:39 +02:00
tovl
0e62490d57
Let autocarryall switch destination when carryable switches destination.
2019-07-19 10:49:24 +02:00
tovl
231825d0d0
Remove WaitForTransport activity.
2019-07-19 10:49:24 +02:00
tovl
922c6e9c40
Fix harvesters losing their last harvesting position when carried by carryall.
2019-07-19 10:49:24 +02:00
tovl
d59b01597a
Always clear requested targets when exiting AttackActivity/Flyattack.
2019-07-18 23:14:56 +01:00
reaperrr
83a607e089
Fix resupply anim continuing if docked actor dies during resupply
2019-07-18 22:59:27 +01:00
reaperrr
4bf659ca38
CanSlide update rule
2019-07-18 10:26:43 +02:00
reaperrr
cf4d73ab91
Revert FlightDynamics
...
This needs more thought and most parts might get superseded
by other approaches.
Kept CanSlide separation from CanHover.
2019-07-18 10:26:43 +02:00
reaperrr
aa5c8b4efa
Revert FlightDynamics update rule
2019-07-18 10:26:43 +02:00
Mustafa Alperen Seki
30e2b69dba
Fix several traits missing OrderString checks for VoicePhraseForOrder
2019-07-16 10:04:55 +01:00
reaperrr
c51f2c036a
Make aircraft always take off after repair
...
Reservable logic doesn't handle repairs, and we
don't want aircraft to block repair bays etc. until it does.
2019-07-15 23:48:54 +01:00