Paul Chote
8c9b9df125
Change WithColoredOverlay to use a color instead of a palette.
2021-01-06 00:06:51 +01:00
Paul Chote
96641873ae
Replace highlight palette with tint effects.
2021-01-06 00:06:51 +01:00
Paul Chote
8edd9de278
Replace ITintableRenderable with IModifyableRenderable.
2021-01-06 00:06:51 +01:00
Paul Chote
67754e8693
Add alpha support to SpriteRenderer.
2021-01-06 00:06:51 +01:00
Paul Chote
b88495c689
Remove palettes from base IRenderable.
2021-01-06 00:06:51 +01:00
nvrnight
b3f39bffce
Issue #18936 : The game no longer crashes when TextFieldWidget sends Enter key press and onSelect action is null.
2021-01-03 12:26:52 +01:00
Paul Chote
2fee62af4d
Fix exit priority ordering.
2021-01-02 15:43:03 +01:00
Paul Chote
fc1032cd9e
Start rally point lines at the spawn position instead of the exit cell.
2021-01-02 15:29:18 +01:00
Paul Chote
60195e2842
Prevent Health: 100 from being added to actors.
2021-01-02 15:12:20 +01:00
Paul Chote
3aa6fd3dc4
Add a friendly type name for Nullable<T>.
2021-01-02 11:38:24 +01:00
teinarss
5e74e58b22
Add support for dotnet core for Windows
2021-01-01 19:42:01 +01:00
abcdefg30
fef7a018f2
Add an update rule
2020-12-31 12:09:56 +01:00
abcdefg30
1d4891b017
Rename several MP traits
2020-12-31 12:09:56 +01:00
Ivaylo Draganov
ff60540fac
Add player random faction info in the objectives panel
2020-12-30 01:44:50 +00:00
Paul Chote
62fa3b7c9c
Rename SpriteFrameType enums.
2020-12-25 18:51:25 +01:00
Paul Chote
ce09b402d0
Fix definition and use of non-indexed sprite color channels.
...
Our SpriteFrameType names refer to the byte channel order rather than
the bit order, meaning that SpriteFrameType.BGRA corresponds to the
standard Color.ToArgb() etc byte order when the (little-endian) integer
is read as 4 individual bytes.
The previous code did not account for the fact that non-indexed Png
uses big-endian storage for its RGBA colours, and that SheetBuilder
had the color channels incorrectly swapped to match and cancel this out.
New SpriteFrameType enums are introduced to distinguish between BGRA
(little-endian) and RGBA (big-endian) formats, and also for 24bit data
without alpha. The channel swizzling / alpha creation is now handled
when copying into the texture atlas, removing the need for non-png
ISpriteLoader implementations to allocate an additional temporary array
and reorder the channels during load.
2020-12-25 18:51:25 +01:00
Paul Chote
6e7ad9df25
Remove vestigial translation plumbing.
...
This was never completed to the level required to
be properly used ingame.
2020-12-25 16:18:28 +01:00
Matthias Mailänder
fb20479379
Add .vxl support to the asset browser.
2020-12-25 00:00:11 +00:00
Taryn Hill
2671e40c1d
feat: ActorSpawnManager.SpawnInterval supports 1 or 2 values
...
Providing 2 values creates a range from which a value is randomly selected.
2020-12-24 22:15:15 +00:00
Matthias Mailänder
d38fe542a2
Improve performance.
2020-12-24 15:56:18 +00:00
teinarss
73bba97aaa
Update MasterServerPinger to modern approach
2020-12-22 20:57:40 +01:00
Paul Chote
e0b3e631fe
Remove obsolete null checks.
2020-12-19 13:07:01 +01:00
Paul Chote
2518a353af
Add lint test for invalid map tiles.
2020-12-19 13:07:01 +01:00
Paul Chote
920d00bbae
Use nearest-neighbour scaling in --debug-chrome-regions utility command.
2020-12-14 22:38:25 +01:00
abcdefg30
ef9f26a60d
Fix MissionObjectives not properly ending the game
2020-12-12 14:59:49 +01:00
Paul Chote
4c01c772f8
Fix incorrect animation playing when moving infantry stop to attack.
2020-12-12 14:40:13 +01:00
Paul Chote
ed94f7680a
Revert "Fix WithInfantryBody wrongly overwriting attack animations"
...
This reverts commit 1a63cc4a414665b5f6fc41bde8147b31d20f6aac.
2020-12-12 14:40:13 +01:00
Paul Chote
8ded6dafd4
Add AvoidTerrainTypes to ScaredyCat.
2020-12-12 12:54:46 +01:00
Paul Chote
57a94ad667
Add AvoidTerrainTypes to Wanders.
2020-12-12 12:54:46 +01:00
Paul Chote
6606d7dd93
Add DisplayFaction details to the replay metadata.
2020-12-11 18:05:44 +01:00
Paul Chote
7a256dcafa
Fix rally point target line exit display.
2020-12-11 17:25:30 +01:00
abcdefg30
7899c52b6d
Add an update rule
2020-12-11 17:13:02 +01:00
abcdefg30
aac3174efc
Rename Stances to Relationships in the yaml api
2020-12-11 17:13:02 +01:00
Paul Chote
a8d3d5c79a
Fix Neutral crushing checks.
2020-12-08 20:17:11 +01:00
Paul Chote
7c852d90fb
Ignore aircraft when searching for enemy targets.
2020-12-07 23:39:22 +01:00
Paul Chote
53d98ec255
Abort squad states that are not able to move.
2020-12-07 23:39:22 +01:00
abcdefg30
2b363e4e1c
Fix WithInfantryBody wrongly overwriting attack animations
2020-12-07 00:29:16 +01:00
Paul Chote
f3ebe07540
Fix WithDeliveryAnimation overriding sell animation.
2020-12-06 09:49:40 +01:00
Paul Chote
5a2f91be1c
Fix building bibs not blocking placement.
2020-12-05 17:06:04 +00:00
Paul Chote
d61bd675c4
Revert "Remove BuildingInfluence from ResourceLayer."
...
This reverts commit 1634f3b70e97c015b97a047facd877155af2a402.
2020-12-05 17:06:04 +00:00
Paul Chote
582e2774ac
Revert "Remove BuildingInfluence from building adjacency check."
...
This reverts commit 33a1ca5965d10079f89bd9aa1e33f1b07db72a48.
2020-12-05 17:06:04 +00:00
Paul Chote
5a52ce5330
Revert "Remove BuildingInfluence trait."
...
This reverts commit 34bf14332887267e206d217956aab143720fc87d.
2020-12-05 17:06:04 +00:00
abcdefg30
4953ce314b
Make Attack turn during its own tick
2020-12-05 16:41:30 +00:00
Paul Chote
86519bfda5
Expose Player.HomeLocation to the Lua API.
2020-12-05 14:14:56 +01:00
teinarss
2c9a36b9a3
Update float3 to readonly and use in modifier for parameters.
2020-12-02 20:37:50 +01:00
teinarss
e6db2c98d0
Make WRot readonly and use in parameter modifier
2020-12-01 22:54:39 +00:00
Paul Chote
942f1e2d9e
Fix infantry ignoring the default subcell when produced.
...
They were being created with the correct subcell, but was rejecting it
as invalid because it was already occupied (by the unit itself).
2020-12-01 22:39:11 +01:00
Paul Chote
da5c94858f
Evaluate exit distance from the exit cell instead of the spawn position.
2020-12-01 22:35:43 +01:00
Paul Chote
77ffc20a5f
Convert Attack*.FacingTolerance to WAngle.
2020-11-30 16:39:48 +01:00
Paul Chote
3b1f4ba07f
Fix production exit desync.
2020-11-28 17:49:36 +01:00