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
Paul Chote
7b58f03f1c
Move ColorValidator logic into a new ColorPickerManager trait.
2021-05-15 15:29:46 +02:00
teinarss
10676be377
Replace F extension with string interpolation
2021-05-08 22:20:59 +02:00
abcdefg30
121959efe4
Update the Desc of AttackBase.FacingTolerance
2021-05-04 10:44:23 -05:00
Paul Chote
8d2ec78713
Replace TerrainType.CustomCursor with Mobile.TerrainCursors.
2021-05-04 11:56:23 +02:00
Paul Chote
01371f2c65
Expose TransformsIntoAircraft move cursor to yaml.
2021-05-04 11:56:23 +02:00
Paul Chote
b344bba59a
Expose Aircraft move cursor to yaml.
2021-05-04 11:56:23 +02:00
Matthias Mailänder
b491e892ff
Lint check the harvest cursor.
2021-05-03 10:58:35 +01:00
reaperrr
f1a9a5180d
Use real (milli)seconds for notifications
...
Allows for more fine-grained control, while
adding independence from gamespeed and getting
rid of magic * 25 multiplications.
2021-04-21 19:34:16 +02:00
Paul Chote
abee274f88
Remove direct access to MapPreview.Rules.
2021-04-21 18:57:44 +02:00
reaperrr
53e6d974f0
Change Crate.Lifetime from 'seconds' to ticks
...
As far as I could tell, this was the last place that still
used 'seconds' instead of ticks, apart from
some sound notification intervals (which are better
converted to real [milli]seconds).
Also renamed ScaredyCat.PanicLength to PanicDuration for
consistency and easier finding.
2021-04-19 20:03:08 +02:00
reaperrr
e3fd54e147
Replace * 25 in internal tick defaults with actual total
...
While the idea behind it is understandable,
this was inconsistent with the bulk of other defaults.
2021-04-19 20:03:08 +02:00
Matthias Mailänder
5a0bcc01a6
Add a lint check for trait placement on hardcoded actor names.
2021-04-11 20:20:00 +02:00
reaperrr
aa834db1e3
Make perf.log output for ticking things opt-in
...
Both writing to perf.log frequently as well as GetTimestamp
aren't free and hurt performance particularly on slower systems
(which can have notably higher output to perf.log, further
amplifying the problem).
Therefore we make simulation perf logging opt-in.
Additionally, logging of the current tick and tick type
(local/net) is removed from debug.log, and some
remnant debug logging for kills and pips is removed
to keep performance-sensitive logging limited to
perf.log.
2021-04-10 15:59:24 +02:00
Paul Chote
a1df91b665
Allow BuildingInfluence to track overlapping buildings in the same cell.
2021-04-10 14:28:31 +02:00
Paul Chote
bc286b78bf
Add AnyBuildingAt method to BuildingInfluence.
2021-04-10 14:28:31 +02:00
Paul Chote
19c7e14393
Simplify BuildingInfo.IsCloseEnoughToBase adjacency checks.
2021-04-10 14:28:31 +02:00
reaperrr
1a9dfc0893
Refactor GameSpeed setting
...
*Remove internal GameSpeed defaults
Enforce setting values explicitly all the time
Require definition of a DefaultSpeed
*Remove Global.Timestep default
*Remove the hacky Timestep/OrderLatency setting via LobbyInfo
*Fix shellmaps ignoring mod-defined gamespeeds
*Make DateTimeGlobal use the MapOptions gamespeed
2021-04-09 22:58:14 +01:00
teinarss
8b0a3ea680
Remove our own impl of ReadOnlyList and update usages
2021-04-03 11:33:31 +02:00
teinarss
e12ff2c59d
Remove our own ReadOnlyDictionary and update usages
2021-04-03 11:33:31 +02:00
reaperrr
40aafe586d
Move Game.Timestep to Widget
...
Game.Timestep wasn't used for anything other than
UI anymore anyway, moving it makes this more clear.
2021-04-02 12:00:42 +01:00