Vapre
5ae4662f08
RunUnsynced, do not recalculate sync hash on reentry. Cache debug settings.
2021-09-12 10:06:44 +02:00
Matthias Mailänder
978de64903
Don't count suicides into the game score.
2021-09-02 08:00:44 +02:00
Paul Chote
52b597d5d2
Remove order latency checks from BaseBuilderQueueManager.
2021-08-26 22:00:59 +02:00
Paul Chote
7f94d67d39
Replace Map.CustomTerrain radar colors with IRadarTerrainLayer.
...
* TSVeinsRenderer now shows border cells on the radar
* BuildableTerrainLayer now uses the radar colors defined on the individual tiles
* CliffBackImpassabilityLayer no longer overrides the underlying terrain color.
2021-08-21 14:16:02 +02:00
Paul Chote
68710e48a6
Add terrain orientation support for Mobile.
2021-08-21 13:45:41 +02:00
Paul Chote
d509d3f5f9
Fix carryall InitialActor creation.
2021-08-20 21:04:18 +02:00
Paul Chote
864cc4becc
Fix weather particle physics.
...
The trait documentation specified that the speed
and offset values are px/tick, but they have actually
always been treated as px/render.
Fix the update logic and rescale the map definitions
to account for the fixed behaviour.
2021-08-20 20:38:37 +02:00
MustaphaTR
2f44b016b0
Add a condition per tileset.
2021-08-11 19:09:20 -05:00
Matthias Mailänder
b7bba5d55a
Restrict sonar pulse to unshrouded water.
2021-08-11 22:46:19 +02:00
Vapre
573a6cf645
FindAndDeliverResources, trivial optimizations.
2021-08-10 23:59:43 +03:00
reaperrr
eff7e803bf
Minor MoveOrderTargeter optimization
...
IsTraitPaused should be cheaper than Map.Contains,
so let's perform the cheaper check first.
2021-08-10 18:26:05 +02:00
reaperrr
58f55b808a
Add comment in Mobile
...
This isn't obvious to people not entirely familiar
with the code.
2021-08-10 18:26:05 +02:00
abcdefg30
453d59ae16
Defer rollover checks while generating selection decorations
2021-08-05 01:43:35 +03:00
Paul Chote
8fc042fed1
Fix style nits in OrderEffects.
2021-08-02 21:50:32 +02:00
Paul Chote
2c5fce5e3c
Add missing TraitLocation to OrderEffects.
2021-08-02 21:50:32 +02:00
Paul Chote
7a93ff3258
Add support for TS-style tinted target flashes.
2021-08-02 21:50:32 +02:00
Paul Chote
9291263609
Fix indentation in OrderEffects.
2021-08-02 21:50:32 +02:00
Paul Chote
b08117dc93
Don't report "Primary Building Selected" when nothing changes.
2021-07-29 16:19:53 +02:00
Paul Chote
99322cee8f
Set the closest production to Primary when force-targeting rallypoints.
2021-07-29 16:19:53 +02:00
Vapre
e201e410f4
PathGraph, skip closed cells early.
...
In path finding GetConnections considers connections to already closed cells and calculates the cost for them. The caller afterwards ignores them. These are 15% of all connections.
2021-07-27 14:49:22 +02:00
abcdefg30
dcaa658678
Remove an outdated reference to ConditionManager
2021-07-23 11:04:07 -05:00
Chris Harris
1c6ca394c1
Fix duplicate ActorIDs
2021-07-17 23:27:25 +02:00
Paul Chote
7bfe83cce7
Fix WithIdleOverlay PlayerPalette editor rendering.
2021-07-15 12:05:09 +02:00
Matthias Mailänder
d169210531
Display the production overlay only where the unit will exit.
2021-07-14 19:06:22 -05:00
Mustafa Alperen Seki
dcb70d12e3
Make Harvester conditional.
2021-07-12 15:41:04 +02:00
reaperrr
df8295fa2c
Make aircraft turn speed scale with speed modifiers
2021-07-04 21:26:45 +01:00
reaperrr
0ac277a88d
Improve Aircraft TurnSpeed getters readability
2021-07-04 21:26:45 +01:00
reaperrr
5a548d6acc
Introduce IdleMovementSpeed
...
That actually factors in speed modifiers and trait pause/disable.
2021-07-04 21:26:45 +01:00
reaperrr
5ecb3eec16
Fix IdleTurnSpeed ignoring trait pause/disable
2021-07-04 21:26:45 +01:00
reaperrr
9371cecc00
Render disabled targetable positions in gray
...
Instead of not rendering them at all.
Also moved their debug overlay to HitShape.
2021-07-02 10:58:29 +01:00
reaperrr
feba9f2b9f
Make orientation caching in HitShape readonly
...
HitShape Requires<BodyOrientation> anyway.
2021-07-02 10:58:29 +01:00
reaperrr
6d55161043
Show disabled HitShapes in gray
...
Instead of disabling their debug overlay entirely.
2021-07-02 10:58:29 +01:00
Andre Mohren
7356f2506b
Moved flashimage to world trait.
2021-07-01 16:38:51 +02:00
Matthias Mailänder
c8ab409d38
Allow mod code to access the buildable terrain overlay.
2021-07-01 12:41:06 +01:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
Andre Mohren
de6b8b6a74
32bpp terrain does not need a palette.
2021-06-25 10:38:53 +02:00
tjk-ws
a893cf9cb6
Unhardcode weapon ammo consumption
...
fix gh actions
2021-06-11 10:21:24 -05:00
Matthias Mailänder
44b2dda585
Add an editor overlay for unbuildable terrain.
2021-06-06 21:14:44 +02:00
Matthias Mailänder
3980e4fa90
Use consistent and easy to read debug command names.
...
Reorganize dev cheat command handling.
2021-06-06 18:40:48 +02:00
teinarss
82115c6bf7
Move Text handling to its own class
2021-06-04 21:47:39 +02:00
abc013
8fede9d6ba
Add ValidStances checks to BlocksProjectiles and Gate.
2021-05-27 21:37:37 +02:00
Matthias Mailänder
6876fe45e1
Use nameof for additional robustness in trait documentation.
2021-05-22 23:22:31 +01:00
Matthias Mailänder
52a4b5acd7
Fix documentation about GeneratesShroud to CreatesShroud rename.
2021-05-22 23:22:31 +01:00
Paul Chote
98caae106f
Move Palette traits to their own directory.
...
Also adds missing TraitLocation definitions.
2021-05-15 15:29:46 +02:00
Paul Chote
3bc42543fa
Decouple color picker palette definitions to their own trait.
2021-05-15 15:29:46 +02:00
Paul Chote
57d955ec72
Change Color.ToAhsv to tuple syntax.
2021-05-15 15:29:46 +02:00
Paul Chote
560f1a6466
Restrict player color choices to the hue-saturation plane.
2021-05-15 15:29:46 +02:00
Paul Chote
4042d5b179
Preserve original brightness when remapping player colors.
2021-05-15 15:29:46 +02:00
Paul Chote
9d62ce214c
Move color picker actor type from metrics to ColorPickerManager.
2021-05-15 15:29:46 +02:00
Paul Chote
f65de2dd43
Merge ColorPreviewManagerWidget into ColorPickerManager.
2021-05-15 15:29:46 +02:00