Commit Graph

30558 Commits

Author SHA1 Message Date
N.N
76b8a949e1 balance patch 2025 2025-10-12 17:58:19 +03:00
dnqbob
b0514bdb87 Bot protection squad: try attack long range unit even not visible 2025-10-12 17:10:01 +03:00
dnqbob
961702d818 Bot mcv expansion: 1. Add ResourceMapBotModule. 2. Add McvExpansionManagerBotModule. 3. Give BaseBuilderBotModule better control over refinery. -- allow bot sell refinery too close. -- allow bot sell refinery far away from resource. (requires ResourceMapBotModule) -- allow bot recieve refinery construct requirement. 4. Give BaseBuilderBotModule control of expansion timing. (requires McvExpansionManagerBotModule) 5. Remove unused VehiclesFactoryTypes and useless BarracksTypes (now all use ProductionTypes). 6. Give HarvesterBotModule ability of order harvesters in low resource area to high resource area. 2025-10-12 17:10:01 +03:00
Ashley Newson
7a2e25af86 Fix editor grid overlay height coloring calculation
The change fixes two issues with the map editor's height-based grid
overlay color calculation:

- If the height exceeded the end of the color scale, the engine would
  crash due to attempting an out of bounds read. Now, the calculation
  caps out to using the last color in the scale.
- The calculation assumed the height step was always 512, even for
  RectangularIsometric maps. Now, the (halved) TileScale of the map's
  grid type is used.
2025-10-12 14:47:02 +03:00
Gustas
f71684a120 Fix CameraOvalMover file name 2025-10-06 17:52:43 +02:00
Matthias Mailänder
361ec67ad9 Setup SignPath for Microsoft Authenticode. 2025-10-03 13:36:50 +01:00
Gustas
48a5b5b9bc Code style 2025-09-27 19:58:06 +02:00
Gustas
2804d103ae Add smooth shellmap movement 2025-09-27 19:58:06 +02:00
Matthias Mailänder
59ecb8d8a3 Move private methods to the bottom. 2025-09-22 15:23:24 +03:00
Matthias Mailänder
148cd911d5 Don't attempt to shutdown master ping in skirmish. 2025-09-22 15:23:24 +03:00
Matthias Mailänder
2c86411eb4 Don't ping the master server in skirmish. 2025-09-22 15:23:24 +03:00
Matthias Mailänder
2d755b010c Log exceptions for dedicated servers. 2025-09-22 12:42:37 +03:00
dnqbob
619c5a13a1 Add PowerDownBotModule to RA 2025-09-15 13:09:01 +03:00
dnqbob
f7e1b4259c Add PowerDownBotModule 2025-09-15 13:09:01 +03:00
Matthias Mailänder
82f35bbe1c Don't crash when a client that was dropped sends another order. 2025-09-14 18:59:24 +02:00
Gustas
b4c767ce48 Remove unnecessary branching from ToCPos 2025-09-14 12:32:49 +01:00
Gustas
fb5aae827a Fix MPos projection 2025-09-14 12:32:49 +01:00
Paul Chote
831cce2f9c Refer to editor marker tiles by their color. 2025-09-13 13:44:31 +03:00
Paul Chote
994eddd46f Remove default hotkey binding for relationship colors. 2025-09-12 12:47:07 +03:00
Paul Chote
85637d580e Fix "Toggle player relationship colors" hotkey name. 2025-09-12 12:47:07 +03:00
Gustas
992305a1c0 Make ModifyCash virtual 2025-09-11 23:06:32 +01:00
Gustas
0da4766300 CashTrickler can be cloaked 2025-09-11 23:06:32 +01:00
Gustas
fe2c227270 Don't show resource cursor when painting 2025-09-11 20:55:19 +01:00
Gustas
955634a520 Don't update resource layer more than needed 2025-09-11 20:55:19 +01:00
Gustas
83bbb357d1 Remove redundant data 2025-09-11 20:55:19 +01:00
Gustas
bd590dfcf4 Add a preview to editor marker brush 2025-09-11 18:19:05 +01:00
Gustas
d4a08e5b58 Switch to count naming 2025-09-11 18:19:05 +01:00
Gustas
9da921756d Add replace init function 2025-09-11 18:19:05 +01:00
Gustas
cccd40ca13 Misc improvements 2025-09-11 18:19:05 +01:00
Gustas
b5b44c048d Significantly improve actor placement and removal speeds 2025-09-11 15:34:58 +01:00
Gustas
7d4a590240 Use consts 2025-09-11 15:34:58 +01:00
Gustas
082f369fe3 Add smooth minimap to world movement 2025-09-11 14:15:37 +01:00
Gustas
1a8a3eca4d Add smooth scrolling 2025-09-11 06:49:52 +01:00
Gustas
270c37764e Reduce MersenneTwister memory allocation 2025-09-11 06:39:55 +01:00
Gustas
a8b13d012b Remove AlwaysVisible 2025-09-11 06:17:04 +01:00
JovialFeline
0230b79269 Fix atreides-05 frigate reinforcement 2025-09-09 10:55:25 +03:00
dnqbob
e126c59e94 Protection: Restore BackoffTicks if target visible 2025-09-08 17:29:43 +03:00
dnqbob
d555baa0c2 Protection squad use idle unit instead of unit around conyard 2025-09-08 17:29:43 +03:00
darkademic
3f73e7a1fb Don't count refunds as income and deduct them from expenses. 2025-09-08 16:18:08 +03:00
dependabot[bot]
4823c3365f Bump actions/setup-dotnet from 4 to 5
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 4 to 5.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 09:35:15 +02:00
dnqbob
7d27df7053 Avoid AI add other squad unit to Rush squad 2025-09-02 18:12:16 +03:00
Ashley Newson
4c9ae3678b Add watercliff support to ExperimentalMapGenerator
This commit adds watercliffs to generated maps in the RA mod, based on
the path partitioning logic added for the D2K map generator.

Watercliffs are not available in CnC and unofficial mods, so their use
in the ExperimentalMapGenerator configuration is optional.
2025-08-23 17:10:02 +03:00
Ashley Newson
2cf6ac6383 Optimize Terraformer.PartitionPath
The internal Vote method (called in a tight loop) was inefficient due
to expensive iteration and data structures, which meant that
attempting to generate larger maps could take days.

It is changed to leverage some shared pre-computation to reduce its
runtime complexity and replaces the use of Dictionary with a simple
reused array.

The semantics of the Vote method in isolation are slightly modified,
but this should not impact the quality of generated maps, especially
with current usage.
2025-08-23 16:18:27 +03:00
Ashley Newson
7cd7b32042 Adjust point sequences for RA beach segments
The TEMPERAT and SNOW tilesets' MultiBrush segment definitions used
inconsistent conventions for vertical and horizontal beaches. This
meant that:

- Tiling was biased to produce horizontally wider bodies of water.
- Vertical beaches did not line up with watercliffs when connecting.

This change redefines the point sequences to fix these issues.
2025-08-22 19:28:23 +03:00
Ashley Newson
c3b22c9102 Remove Inner types from various MultiBrush segments
Inner types in MultiBrush segment definitions can usually be derived
automatically from the start and end types. This is especially
important for segments with different starts and ends, where the Inner
type could be either one (e.g. beach to watercliff changers). Inner
types are now only needed in two cases:

- The Inner type doesn't match either the start or end. For example,
  road diagonals.
- The Inner type should only match one of the start or the end. For
  example, cliffs which end into clear tiles.

This commit cleans up the unneeded or unwanted Inner type definitions
in the base mods.
2025-08-22 19:20:22 +03:00
Gustas
1124c6e6c2 Fix FireProjectilesOnDeath not working for aircraft husks 2025-08-21 11:50:17 +02:00
Matthias Mailänder
28b02f662f Limit tiling path dropdown height. 2025-08-16 15:38:33 +03:00
dependabot[bot]
792231fbb9 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 10:22:31 +02:00
Matthias Mailänder
f8c8c36307 Don't rebuild on Markdown updates. 2025-08-10 12:10:25 +03:00
Matthias Mailänder
885274e3d7 Update chat links. 2025-08-10 12:10:25 +03:00