Commit Graph

30545 Commits

Author SHA1 Message Date
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
Rampoina
8a0197c88b Make AttackMoveInfo public 2025-07-28 23:56:08 +03:00
Gustas
b2215c6dd1 Only allow using path tool when panel is enabled 2025-07-28 21:44:58 +02:00
Gustas
42181d77a5 Allow tools to disable themselves 2025-07-28 21:44:58 +02:00
Gustas
f8921226b8 Limit path outer type options 2025-07-28 21:44:58 +02:00
JovialFeline
c2c56c6374 allies-08ab: Remove tech center as bomber target 2025-07-28 20:10:40 +02:00
Vapre
f325e9c7b9 Add server setting 'AdvertiseOnLocalNetwork' to be able to disable BeaconLib. 2025-07-27 21:45:22 +02:00
Gustas
c19a7d338b Allow null sequence arrays 2025-07-27 21:34:04 +02:00
Gustas
7206a33d0d Make rules lint utility cleaner 2025-07-27 21:13:21 +02:00
Gustas
c27d6dd1b1 Test mod content 2025-07-27 21:06:25 +02:00
Gustas
28a8f3a01f Window title is optional 2025-07-27 21:06:25 +02:00
Gustas
32750700a4 Lint ModPackage 2025-07-27 21:06:25 +02:00
Gustas
be971c4a34 Mode doesn't need to have terrain defined 2025-07-27 21:06:25 +02:00
Paul Chote
d2780382bc Remove redundant placeholder world definition.
Co-Authored-By: Gustas Kažukauskas <37534529+punkpun@users.noreply.github.com>
2025-07-27 21:06:25 +02:00