Ashley Newson
037326024b
Remove floating points from map generation
...
Removes all use of floating point from the RaMapGenerator map generator
and its dependencies.
Floating point behavior is potentially non-portable across client
hardware. Removing them should make the map generation logic
consistent even across clients with different floating point hardware
or compiler behavior. This may be useful for sync-safe multiplayer map
generation where clients independently generate the map from settings.
Most previously fractional public-facing settings are now represented
as numbers out of 1000, with some exceptions using 1000000. Most
internal logic which relies on fixed-point concepts now uses 1024ths,
though some floating point mechanisms have been replaced with
alternative discrete approximations (e.g. gaussian to binomial).
2025-01-27 20:42:38 +02:00
Ashley Newson
417f787294
Add experimental RA procedural map generator
...
Add an experimental procedural map generator for the Red Alert mod,
along with supporting code that may assist in the development of map
generators for other mods.
Map generation may be accessed as a tool in the Map Editor. This change
does not presently introduce direct lobby options for generated maps.
Features:
- Terrain with land, water, beaches, cliffs, roads, debris, and trees.
- Placement of mpspawns, neutral buildings, and resources.
- Rotational and mirror symmetry options.
- Various configurable parameters with presets.
- Deterministic with configurable seed.
- Performant.
2025-01-09 16:47:10 +02:00
Gustas
b75976b6d8
Remove bogus bridge tiles from temperate tileset
2023-01-07 17:02:12 +01:00
Smittytron
74cced319c
Change terrain type of clear straight bridge tiles
2022-01-31 14:19:47 +01:00
Smittytron
6f919fc232
Change anthill to correct impassable tiles
2021-05-22 13:42:09 +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
abc013
fb74c8351f
Change Road -> Bridge on bridge tiles
2017-10-07 10:27:18 +02:00
rob-v
03cfd5b880
RA - Rename Template.Category to Template.Categories
2017-07-05 22:46:59 +02:00
Mustafa Alperen Seki
ab6b7c8551
Add Nooze's 1 Tile Cliffs to RA
2017-03-13 17:19:46 +02: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
Oliver Brakmann
ada72ee501
Merge pull request #9868 from abcdefg30/build107_8
...
Allow building on tiles 107 and 108
2015-11-03 19:35:11 +01:00
abcdefg30
f3b364d749
Allow building on tiles 107 and 108
...
(in the snow and temperat tilesets)
2015-11-02 19:14:36 +01:00
atlimit8
949994f10b
Convert MiniYaml colors to hex
2015-10-27 16:10:33 -05: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
08aa1e86a9
Disable legacy sequence parsing in RA.
2015-03-27 17:35:15 +00:00
Paul Chote
6e1307d08d
Fix RA tilesets.
2015-03-23 20:32:28 +00:00
abcdefg30
b51a2263b3
Fixed sh31 tile
2014-08-27 12:27:30 +02:00
Matthias Mailänder
3cc8c31d36
remove tile templates for non-existing sprites
2014-05-25 21:36:41 +02:00
Matthias Mailänder
76b7b3b18e
add unused sprites to rv05 tile
2014-05-25 21:36:14 +02:00
Matthias Mailänder
af5eed22a8
fixed the ant hill tile
2014-03-29 19:33:55 +01:00
Matthias Mailänder
3ced83e94e
temperate roads should be brown in the minimap
2014-01-04 09:57:17 +01:00
Matthias Mailänder
3de1516747
allow invalid terrain targets for Air/Water bound weapons
...
made terrain targeting consistent with actors
2014-01-04 09:57:09 +01:00
Matthias Mailänder
e3a2addca0
new Bridge terrain type with grey minimap color
2014-01-04 09:39:43 +01:00
Matthias Mailänder
c6d9574d52
automatically fix open areas
...
and don't hard-code the tiles no more
2014-01-03 16:46:38 +01:00
Curtis Shmyr
0eaf1bb289
Use proper tile ID for RA anthills
2013-10-27 13:20:50 -06:00
Matthias Mailänder
016292fca4
added the ant hill from Counterstrike
2013-07-11 20:52:10 +02:00
Matthias Mailänder
8358597fd2
render crystals in a different color on the mini-map
2013-03-01 21:06:09 +01:00
Curtis Shmyr
ac301b22e2
Editor - Template categories are now ordered by whats specified in the tileset yaml
2013-01-08 20:11:22 +13:00
Curtis Shmyr
b362ddac15
Fixed terrain categories for two river tiles in RA Temperat
2013-01-08 20:11:22 +13:00
Curtis Shmyr
189a6c337e
Fix Water Cliff terrain types in temperate / desert tilesets
2013-01-08 20:11:22 +13:00
Matthias Mailänder
9ce8c90d25
added Harissons high-quality temperate terrain expansion
...
new brigdes, fjords, debris, cliffs
2012-08-15 08:51:01 +12:00
Matthias Mailänder
d3915ad291
string AcceptsSmudgeType replaces boolean AcceptSmudge
...
because Dune 2000 has different craters for rock and sand
2012-06-27 13:19:52 +12:00
Chris Forbes
aa06751de5
categorize the rest of the temperat tileset
2012-06-26 20:12:01 +12:00
Chris Forbes
f10eb9e082
add category headers in editor
2012-06-26 19:58:04 +12:00
Chris Forbes
67b4ef3084
#1108 changed BuildingInfo.WaterBound to a list of terraintypes. makes it possible to have buildings with custom terrain requirements
2011-08-17 07:52:35 +12:00
Bob
6012f1d592
fix a water-walk bug
2010-10-20 20:39:18 +13:00
Chris Forbes
f7eca1157e
fix walkability of sh30 template in RA temperate and snow
2010-09-18 11:56:22 +12:00
Paul Chote
9ea3a404a3
Tidy ra dir
2010-09-09 20:31:54 +12:00