Commit Graph

30408 Commits

Author SHA1 Message Date
RoosterDragon
36660b89e9 Silence IDE0290.
This rule recommends use of primary constructors. Apply the suggestions on simple POCOs, adjusting some to readonly/structs/records at the same time. For more complex classes, the use of primary constructors is more distracting than helpful, so silence the rule. IDEs can still offer fixes for using primary constructors, but it will not show up as a build issue.
2025-04-02 10:18:32 +03:00
Paul Chote
3de6a5fd5a Use the TerrainRenderer for rendering template-based bridges. 2025-04-02 10:08:39 +03:00
Paul Chote
737890d395 Fix PBOG offset not accounting for zoom. 2025-04-02 09:59:40 +03:00
Paul Chote
c04041e328 Add StructureSold notification placeholder for TDHD. 2025-04-01 20:23:05 +03:00
Paul Chote
c028d8ad29 Define ColorShift data for TDHD. 2025-04-01 20:23:05 +03:00
Paul Chote
597e8e1573 Replace fog palette with sequence alpha. 2025-04-01 20:23:05 +03:00
Paul Chote
0b03d7ea31 Enable player color for crushed sequences. 2025-04-01 20:23:05 +03:00
Paul Chote
ee24d0539a Replace custom oil derrick sprite with palette. 2025-04-01 20:23:05 +03:00
Paul Chote
25188e849e Move TileSize definition to terrain info. 2025-04-01 20:10:39 +03:00
Pavel Penev
0f7b24a8c0 Made SupportPower abstract
Because it really needs to be.
2025-04-01 19:28:56 +03:00
Pavel Penev
fc8103098e Formatted .csproj files according to editorconfig 2025-04-01 19:28:56 +03:00
RoosterDragon
79454d8fd2 Fix IDE0028, IDE0300, IDE0301, IDE0302, IDE0303, IDE0304.
Silence IDE0305.
2025-03-31 12:02:41 +03:00
Gustas
0740991c12 Increase perf for parsing remote maps 2025-03-30 18:32:00 +01:00
Gustas
117a47f81f Add a backup for unloaded bots 2025-03-30 18:16:53 +01:00
Gustas
299c9b5506 Make lobby names dynamic, incase players don't have maps 2025-03-30 18:16:53 +01:00
Gustas
30300d18bf Fix game browser tooltips being untranslated 2025-03-30 18:16:53 +01:00
Gustas
665bebc460 Fix custom bot names being untranslated in lobby 2025-03-30 10:20:35 +01:00
Gustas
385999dce9 Add sound to capturable blink 2025-03-30 03:37:48 +02:00
Gustas
13991f12c4 Fix resource area calculation 2025-03-29 16:54:48 +02:00
Gustas
b623c5aa72 Fix rallypoints not showing full target lines 2025-03-29 16:41:52 +02:00
Gustas
37b8912a91 Add missing dispose calls 2025-03-29 13:58:11 +00:00
Gustas
e7d49723ea Fix camera being in an incorrect position of first frame 2025-03-28 21:18:16 +00:00
Gustas
e2cb83436c Fix telemetry data description 2025-03-28 21:12:51 +00:00
Gustas
2b28da97f9 Fix alignment regressions 2025-03-28 21:12:51 +00:00
Paul Chote
5da2f1ba8a Implement sonic blast rendering effect. 2025-03-28 18:36:16 +02:00
N.N
3111d06fcf SonicBlast projectile
-add sonicblast projectile
- Adjust Sonic tank to match original D2k
2025-03-27 23:38:42 +02:00
JovialFeline
6340379e3d Get Fluent bot names in server list 2025-03-27 23:05:51 +02:00
N.N
e78ab81b26 Fix wrong Spread in Warheads 2025-03-23 16:11:23 +02:00
Paul Chote
e8391de36a Work around Raspberry Pi GLSL bug. 2025-03-23 15:44:11 +02:00
JovialFeline
ad3caf7e00 Add explosion effects to RA bridges 2025-03-23 10:17:31 +00:00
Matthias Mailänder
7e669013d9 Avoid a thirdparty action. 2025-03-18 14:57:58 +02:00
N.N
d9425e4119 Fix crush anim 2025-03-18 14:26:46 +02:00
Matthias Mailänder
c4756b78ae Avoid thirdparty action. 2025-03-18 14:18:26 +02:00
Paul Chote
b40b67242f Fix FlashPostProcessEffect channel order. 2025-03-18 14:09:30 +02:00
Ashley Newson
37e5b0d74c Fix CnC generated map oceans becoming debris-filled
Water is not playable in CnC, so, the map generator may fill it in if
it's not attributed to the largest playable region. This would often
happen for circular-in-water maps when DenyWalledAreas is enabled.

This change adds a step to adopt any neighboring partially playable
space (such as beaches and water) into the largest region, which is
exempt from debris filling.

The change is almost purely cosmetic, though the previous debris filling
could slightly reduce playable space (due to filling playable beach
tiles), possibly causing generation to fail. As such, map generation is
now a very tiny bit more reliable.
2025-03-18 13:58:04 +02:00
RoosterDragon
cf3e213e7d Harvesters prefer ore near to the refinery.
When searching for ore, harvesters will prefer ore close to their refinery, the dockPos. However this only works when this is set, and is was not being set when expected. Fixing this prevents harvesters moving in straight lines, particularly when the ore is to the left of the refinery, which is the default path search direction.

Fixes a regression from d0974cfdd2.
2025-03-16 10:39:15 +00:00
Gustas
f679bb1e2e Fix a potential crash when cancelling capture 2025-03-16 10:29:34 +00:00
Gustas
9c6ee3ad02 Fix tree husks on jungle tileset 2025-03-16 10:25:55 +00:00
N.N
a584bd8598 Fix frame on 1141 tile 2025-03-12 16:48:19 +02:00
JovialFeline
efce78179f Add civilian idle sequences 2025-03-05 21:43:21 +02:00
JovialFeline
cdef6413e7 Add AutoTarget & Selectable to CnC civilians 2025-03-05 10:23:52 +02:00
Paul Chote
9913ecb42f Remove save dialog when creating a new map. 2025-03-05 09:31:11 +02:00
Paul Chote
1707dbd92b Add support for in-memory ReadWriteZipFiles. 2025-03-05 09:31:11 +02:00
Paul Chote
fceb8a479d Allow maps to be loaded directly, bypassing the MapCache. 2025-03-05 09:31:11 +02:00
Paul Chote
e186dc428e Rework MapCache API.
This clarifies the ownership of the underlying
IReadOnlyPackage objects, and avoids passing
around some unnecessary state.
2025-03-05 09:31:11 +02:00
Paul Chote
5c0b82e65b Remove unused MapPreview ctor. 2025-03-05 09:31:11 +02:00
Matthias Mailänder
d379258afb Define app brand colors. 2025-03-04 09:22:04 +02:00
Matthias Mailänder
e4ec2dfb4a Quiet the chocolatey install. 2025-03-04 09:10:35 +02:00
Paul Chote
e06d74b417 Simplify map generator naming. 2025-03-04 09:05:59 +02:00
Paul Chote
ab3b6a0e43 Cache Fluent queries. 2025-03-04 09:05:59 +02:00