Commit Graph

102 Commits

Author SHA1 Message Date
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
Ashley Newson
5f407211ac Add D2K random map generator
Adds a random map generator tailored for the Dune 2000 mod,
D2kMapGenerator.

This map generator has some limitations compared to the RA/CnC
map generator (ExperimentalMapGenerator):

- Symmetry is far less accurate for non-trivial rotations.
- No circular map shapes.
- Unplayable regions are not obstructed and no symmetry corrections
  are applied. This is partly due to mod limitations (e.g., no
  decorative actors), but I've also considered it less important.
- Somewhat higher map generation failure rates, due to more extreme
  play-space requirements.

In order to support the map generator, some additional features are
added to common map generation utilties:

- A "FromTemplates" MultiBrush collection shorthand.
- Path partitioning logic in Terraformer, use to split paths into
  multiple TilingPaths with different segment types.
2025-07-17 18:43:54 +03:00
N.N
fcae6a26d1 D2k Multibrush 2025-06-30 19:44:36 +03:00
Paul Chote
90013bc6d3 Migrate tileset names to Fluent. 2025-04-28 15:41:54 +03:00
Paul Chote
25188e849e Move TileSize definition to terrain info. 2025-04-01 20:10:39 +03:00
N.N
a584bd8598 Fix frame on 1141 tile 2025-03-12 16:48:19 +02:00
Gustas
0e438dd508 Automated fixup 2024-09-19 17:53:43 +02:00
N.N
9302bac619 Replace BLOXMAS.R8 with R16 eqivalent
- file BLOXXMAS.R8 removed from mod content as its no longer needed
2024-06-08 22:11:50 +03:00
N.N
0e5447d6d2 Replace 8-bit custom tiles with 16bit equivalents 2024-01-06 13:26:12 +02:00
Paul Chote
34ff23d030 Use higher colour depth sprites in D2k. 2023-12-20 12:38:00 +02:00
N.N
43094742fb Change tile 9 to Rough TerrainType 2022-12-21 19:31:15 +02:00
Paul Chote
8d2ec78713 Replace TerrainType.CustomCursor with Mobile.TerrainCursors. 2021-05-04 11:56:23 +02:00
Paul Chote
4f0aa89c01 Remove TileSet.Palette and PaletteFromCurrentTileset. 2018-04-08 21:14:29 +02:00
reaperrr
9107ca3bc1 Remove unused legacy IsWater flag
This was planned anyway, we had just forgotten about it when the last blocker was removed.
2018-02-22 11:51:10 +01:00
reaperrr
2218b1a078 Fix terrain type of d2k tile #401 2017-12-08 02:41:11 +02:00
Mustafa Alperen Seki
f4086e4fe0 Update one of the dead worm tiles 2017-12-02 05:18:19 +01:00
rob-v
c3ccd1906d D2K - Rename Template.Category to Template.Categories 2017-07-05 22:46:59 +02:00
C. Helmig
8a508ecafa Change concrete radar color to match rock.
This is/was problematic, because right now players can spot expansions through the fog-of-war instantly.
This replicates original game behavior, too. Concrete in original dune2k doesn't show up on the radar.
2017-06-27 23:31:09 +02:00
C. Helmig
452aed0a97 Multiple passability changes to replicate original game behavior. (= Items comments on #12868 )
Fix the passability of some bridge tiles
2017-06-07 18:54:39 +02:00
abcdefg30
5d40ed3e32 Move tiles into correct category. 2017-06-07 18:54:39 +02:00
abcdefg30
8494200321 Renamed and reordered Categories - uniform naming, similar categories adjacent to one another, most used to top. 2017-06-07 18:54:39 +02:00
C. Helmig
b11af3bcb5 D2k editor: Moved all appropriate tiles into Cliff-Type-Changer and replaced Sand-Smooth with Cliff-Ends category. 2017-05-13 10:48:37 -07:00
C. Helmig
b331065b87 Add the missing d2k tiles for the MP maps 2017-03-17 20:00:25 +01:00
abcdefg30
a6078b6e46 Add missing templates to arrakis.yaml 2017-03-17 19:58:32 +01:00
Paul Chote
ba8d17e670 Merge pull request #12783 from MustaphaTR/d2k-fix-tile-99-100
D2K - Fix tiles 99 and 100
2017-02-17 21:56:17 +00:00
Mustafa Alperen Seki
05cf09f9ac Fix tiles 99 and 100 2017-02-15 18:57:20 +02:00
reaperrr
ab161c0a24 Merge pull request #12781 from MustaphaTR/d2k-fix-195
D2K - Fix tile 195
2017-02-15 17:53:25 +01:00
Mustafa Alperen Seki
3eb03e0743 Fix tile 195 2017-02-15 16:48:49 +02:00
Mustafa Alperen Seki
db08535231 Add new tiles that will be in Harkonnen Missions 2017-02-11 16:11:47 +02:00
reaperrr
5458f459b1 Merge pull request #12688 from MustaphaTR/d2k-fix-some-more-tiles
D2K - Fix tiles 58, 365, 366 and 368
2017-02-06 19:45:00 +01:00
Mustafa Alperen Seki
fcba36cd31 Fix Tiles 58, 365, 366 and 368 2017-02-04 10:12:55 +02:00
Mustafa Alperen Seki
d85526d5d2 Fix tiles 251, 306, 435 and 618. 2017-02-02 08:26:59 +02:00
Mustafa Alperen Seki
8304807c1b Fix tile 443. 2017-01-16 18:35:19 +02:00
Paul Chote
fdc74353fc Migrate to 1.06 patch content. 2016-07-30 09:14:35 +01:00
evgeniysergeev
e83ffbec1c add RemoveSmudge function and trait 2016-07-05 12:03:04 +03:00
Hanzik
52c8d165f8 Changed grid to darker red 2016-03-15 22:40:55 +01:00
Paul Chote
dd963b75f5 Per-terrain color validation. 2016-01-27 21:43:55 +00:00
Paul Chote
4f1d8b7ac9 Remove spurious final newline from mod files. 2016-01-02 20:06:53 +00:00
OmegaBolt
ce217d0fdd D2k spice no longer erases map details & terrain fixes 2015-11-19 21:51:22 +00:00
atlimit8
949994f10b Convert MiniYaml colors to hex 2015-10-27 16:10:33 -05:00
reaperrr
87d6b3c7f2 Remove d2k.pal from D2k bits
And use palette.bin instead.
2015-10-02 18:13:49 +02:00
abcdefg30
c79f416461 Fix a wrong tileset definition 2015-09-12 02:18:50 +02:00
reaperrr
a4bac0ab29 Fix ground type of some D2k cliffs 2015-08-28 17:37:14 +02:00
penev92
95eb8b27b5 Add tile BLOXTREE-345 2015-05-06 17:11:25 +03:00
Paul Chote
84e85d8a5d Rename Image -> Images. 2015-03-30 20:20:36 +01:00
Paul Chote
b2458fc614 Remove GlobalFilesystem.OpenWithExts. Closes #5272. 2015-03-28 12:38:48 +00:00
Paul Chote
9b33d7b1e5 Disable legacy sequence parsing in D2K. 2015-03-24 18:01:30 +00:00
Paul Chote
491c851c87 Fix D2K tileset. 2015-03-23 20:33:23 +00:00
Matthias Mailänder
edbb31afe1 remove mistaken templates 2015-03-23 21:03:24 +01:00
penev92
922af4d9cf Add missing tiles BLOXBGBS-29 (1x1) and BLOXBGBS-617 (2x2) 2015-02-18 13:18:42 +02:00