Commit Graph

30520 Commits

Author SHA1 Message Date
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
Gustas
a66feafa3f System actors can have no traits 2025-07-27 21:06:25 +02:00
Gustas
f0ec8105b3 Players and world don't need to be visible 2025-07-27 21:06:25 +02:00
Gustas
15824ef70f Fix offset not being dynamic on each activation 2025-07-27 20:45:52 +02:00
N.N
c2ca0a1545 Added ResetOnDamaged to FloatEmitter 2025-07-27 20:45:52 +02:00
Gustas
5aa7ee43db Enforce stricter resource API 2025-07-27 19:28:07 +02:00
Gustas
7779d0c27c Add smart deploy 2025-07-27 19:06:12 +02:00
Gustas
288d839456 Stream actor layer renderables 2025-07-27 15:36:11 +02:00
Gustas
cc9fa4b3ef Stream previews, reduce casting 2025-07-27 15:36:11 +02:00
Gustas
bb0a39ba6c Don't allocate priorities 2025-07-27 15:36:11 +02:00
atlimit8
c56d2c1bbe fix possible underflow in BlowfishKeyProvider.LenBigNum() 2025-07-27 14:56:33 +02:00
Gustas
8ce9e01c1c Remove redundant checks 2025-07-27 14:56:57 +03:00
michaeldgg2
3f0126eef4 Fix the check in AllowResourceAt() method of the ResourceLayer class
This fixes incorrect check in AllowResourceAt(), which previously looked at terrain type of the given cell *before* resource was created. Hence the check did not work as expected.
2025-07-26 21:40:49 +03:00
Matthias Mailänder
5f51dec9f9 Revert "Make creationrallypoints public. Required for custom rallypoint functionality"
This reverts commit 0c5e998e31.
2025-07-26 17:01:15 +02:00
Ivan Perez
0c5e998e31 Make creationrallypoints public. Required for custom rallypoint functionality 2025-07-25 17:26:15 +02:00
Damian Ochramowicz
07d3ab2613 Removed msbuild reference from Makefile 2025-07-24 22:09:48 +03:00
Ivan Perez
de49ad6a79 Notify player when an unbuildable item is cancelled. 2025-07-24 22:02:41 +03:00
Matthias Mailänder
88043e297b Allow IDumpSheetsTerrainInfo to be implemented by thirdparties. 2025-07-24 18:56:14 +03:00
Matthias Mailänder
f416e123f0 Replace custom JSON with MiniYAML. 2025-07-24 16:26:32 +03:00
Matthias Mailänder
ec206dc359 Fix serialisation from dictionary. 2025-07-24 16:26:32 +03:00
Ivan Perez
25be2149c1 Fixed bug where infinite production queue does not notify on ready 2025-07-24 12:29:16 +03:00
Paul Chote
44c6747dec Replace ITileCache with IDumpSheetsTerrainInfo. 2025-07-21 22:10:30 +03:00
Matthias Mailänder
5d8e35088f Avoid one letter abbreviations for variables. 2025-07-21 15:25:24 +03:00
Matthias Mailänder
e61db3faea Don't hardcode implementations in interfaces. 2025-07-21 15:25:24 +03:00
darkademic
0fac8d0d31 Add script tags to map editor actor properties. 2025-07-21 14:57:51 +03:00
Matthias Mailänder
53f959e4bf Use name of for exceptions. 2025-07-21 14:11:42 +03:00