Gustas
d4e6815f64
Fix AutoTarget ignoring frozen actor bot targeting hack
...
Mirrors check of the function Recalculate which is found it TargetExtensions class
2023-07-30 20:32:18 +02:00
dnqbob
a3c5945f2a
Set BackwardDuration to -1 means ignore the time and set MaxBackwardCells to -1 means ignore the distance.
2023-07-29 18:01:40 +03:00
dnqbob
d7ef22d64f
Add MaxBackwardCells for moving backward control
2023-07-29 18:01:40 +03:00
michaeldgg2
d907192be0
Added GrantConditionOnMinelaying trait
...
Uses INotifyMineLaying callbacks
2023-07-28 12:55:06 +03:00
Gustas
a84b7591f6
Fix invalid color adjuster not considering saturation and V as mutable
2023-07-26 20:00:54 +02:00
Gustas
9d8f0634b1
Revert color validator
2023-07-26 20:00:54 +02:00
Gustas
3207d01cf2
Consider AutoTarget ScanRadius when attack moving
2023-07-25 19:48:57 +02:00
Gustas
9fc0f79703
Add a description for AttackBomber
2023-07-25 13:11:17 +02:00
michaeldgg2
1a2d43fc99
WorldRenderer: use string.IsNullOrEmpty for check in Palette method
...
Unified usage of WorldRenderer.Palette method when it comes to appending player name (in case of player palette)
2023-07-25 13:33:11 +03:00
EoralMilk
b944b21325
Aircraft won't take off on terrain height change when idle
2023-07-25 12:48:50 +03:00
Gustas
c7e0bc4c08
Add missing carryall checks
2023-07-25 10:02:46 +03:00
Gustas
c36609cc9f
Don't call DetachCarryable every tick
2023-07-25 10:02:46 +03:00
michaeldgg2
8aa548f70c
Minelayer: extract creating BeginMinefield order so it can be triggered from outside
2023-07-17 20:18:52 +02:00
michaeldgg2
ce6e73dc92
Minelayer: supports specifying both mine laying and post laying delays
2023-07-17 20:18:52 +02:00
RoosterDragon
58e8b123db
Avoid some allocations during loading.
...
- In FieldLoader, cache boxed bools and some boxed ints.
- In FieldLoader, presize collections when parsing a List, HashSet or Dictionary.
- In FieldLoader, don't allocate a list of missing items until required.
- In FieldLoader, when a string value is passed, avoid wrapping this in a MiniYaml object by allowing both strings and yaml to be passed in the GetValue overload that does the real work.
- In Animation, avoid allocating no-op actions.
- In VxlReader, use EnsureCapcity to better size the Dictionary.
- In VxlReader change VxlElement to a struct.
- In Locomotor, presize TerrainSpeeds dictionary.
2023-07-16 23:21:20 +02:00
Gustas
659ec5e335
Make phase transport uncloak on loading cargo
2023-07-14 17:25:30 +02:00
michaeldgg2
433d69af7a
Make Voiced trait conditional
2023-07-10 18:05:56 +03:00
michaeldgg2
22b39f35aa
Mine + related classes are public
2023-07-04 23:52:25 +02:00
michaeldgg2
5ab3276a2d
Moved Minelaying related traits and activity to Common
2023-07-04 23:52:25 +02:00
Gustas
99226c3df5
Always have ActorReference string on optional arrays instantiated
2023-07-01 18:29:59 +02:00
dnqbob
628cc837ef
Fix a crash when RallyPoint creates RallyPointIndicator
2023-07-01 12:51:54 +02:00
RoosterDragon
231bf01f18
Fix CA1854
2023-06-20 17:57:40 +02:00
RoosterDragon
0958197df2
Fix CA1052
2023-06-20 17:57:40 +02:00
RoosterDragon
f336a956cf
Fix CA1012
2023-06-20 17:57:40 +02:00
michaeldgg2
fd2b14f464
DrawLineToTarget: made palette for rendering sprites customizable (and thus optional too)
2023-06-12 21:10:52 +03:00
RoosterDragon
f4af5c1764
Fix CA1852
2023-06-06 11:51:47 +03:00
RoosterDragon
277699cbd5
Fix CA1822
2023-06-06 11:51:47 +03:00
Vapre
7c0f6ead3a
ActorMap, avoid IPositionable trait lookup.
2023-06-03 13:41:14 +02:00
Vapre
d72b1ffd49
ActorMap, do not look up influence node up to three times in cell layer.
2023-06-03 13:06:38 +02:00
michaeldgg2
dac35a60ad
WithDecoration: fixed crash when Palette is null
2023-06-02 11:49:59 +02:00
abcdefg30
74ed202b29
Support enabling and disabling the low power notification via Lua
2023-06-01 20:42:39 +03:00
Matthias Mailänder
c9dddc342c
Extract editor brush texts.
2023-05-23 19:45:15 +02:00
dnqbob
6af14c16c9
Fix a rare crash when actor in IBotRespondToAttack is dead
2023-05-21 10:40:21 +02:00
dnqbob
e8dd85419f
add Autocrusher for baby visc
2023-05-20 12:53:29 +02:00
dnqbob
69441a4fee
Add TurnsWhileMoving to Mobile
2023-05-11 17:27:18 +02:00
dnqbob
a65bb17d68
Cache the notifyAttacks in AttackGarrisoned
2023-05-09 22:49:41 +02:00
RoosterDragon
0b4a54ab54
TechTree.GatherOwnedPrerequisites performance improvements.
...
- Consuming methods cared only about the count and not the actual actors, so only counts the actors rather that creating lists.
- ProvidesPrerequisites implementations return cached objects rather then allocating new enumerables on each call.
2023-05-06 20:07:35 +03:00
Matthias Mailänder
65c0cf1065
Deprecate string format shorthand.
2023-05-05 19:03:09 +02:00
Matthias Mailänder
1c2ce0dcc0
Deprecate string format log shorthand.
2023-05-05 19:03:09 +02:00
Gustas
44f1af7059
Move TileScale to MapGrid
2023-05-02 16:37:30 +03:00
Matthias Mailänder
4f7a01a291
Localize difficulty settings.
2023-04-25 21:33:02 +03:00
Matthias Mailänder
0d36bc19c6
Document radar appear trait and fields.
2023-04-22 23:24:24 +02:00
Matthias Mailänder
68eec52cef
Add TranslationProvider
2023-04-22 19:23:41 +02:00
Gustas
a065e6a47c
Fix map level lobby options not being translated
2023-04-22 19:23:41 +02:00
Gustas
dc390a7301
Add IMove.MoveOntoTarget interface
...
In `TraitsInterfaces` we expose offset as WPos instead of CPos. In an upcoming PR we'll translate the same change to yaml.
2023-04-21 18:29:43 +02:00
Gustas
1c2eaa2654
Use nameof for ContrailEndColor description
2023-04-21 17:58:42 +02:00
Gustas
7ef1dccdcf
Add ContrailEndWidth
2023-04-21 17:58:42 +02:00
Gustas
3ca2bb1d23
Fix IDE0074, SA1316 and followup CS8141
2023-04-09 10:26:04 +01:00
Gustas
d838d08570
Add IColorPickerManagerInfo interface
2023-04-08 18:05:20 +03:00
darkademic
265f915442
Resurrected old colour picker.
2023-04-08 18:05:20 +03:00