Rename "Experimental" map generator to "Classic"

Renames the "Experimental" map generator to "Classic" in internal
code, configuration, and user-facing text.

Additionally, replace the user-facing names for the Experimental and
D2K map generators (as seen in the map editor tools dropdown) with
"Map Generator".
This commit is contained in:
Ashley Newson
2026-01-09 20:17:02 +00:00
committed by Gustas Kažukauskas
parent 2cf2d7eed7
commit df20709158
6 changed files with 13 additions and 13 deletions

View File

@@ -23,7 +23,7 @@ using static OpenRA.Mods.Common.Traits.ResourceLayerInfo;
namespace OpenRA.Mods.Common.Traits
{
[TraitLocation(SystemActors.EditorWorld)]
public sealed class ExperimentalMapGeneratorInfo : TraitInfo, IEditorMapGeneratorInfo
public sealed class ClassicMapGeneratorInfo : TraitInfo, IEditorMapGeneratorInfo
{
[FieldLoader.Require]
public readonly string Type = null;
@@ -955,18 +955,18 @@ namespace OpenRA.Mods.Common.Traits
public override object Create(ActorInitializer init)
{
return new ExperimentalMapGenerator(init, this);
return new ClassicMapGenerator(init, this);
}
}
public class ExperimentalMapGenerator : IEditorTool
public class ClassicMapGenerator : IEditorTool
{
public string Label { get; }
public string PanelWidget { get; }
public TraitInfo TraitInfo { get; }
public bool IsEnabled { get; }
public ExperimentalMapGenerator(ActorInitializer init, ExperimentalMapGeneratorInfo info)
public ClassicMapGenerator(ActorInitializer init, ClassicMapGeneratorInfo info)
{
Label = info.Name;
PanelWidget = info.PanelWidget;

View File

@@ -51,7 +51,7 @@ faction-nod =
and the alien substance Tiberium. They use stealth technology
and guerilla tactics to defeat those who oppose them.
map-generator-experimental = Experimental RMG
map-generator-classic = Map Generator
map-generator-clear = Clear Terrain
## defaults.yaml

View File

@@ -1,7 +1,7 @@
^MapGenerators:
ExperimentalMapGenerator@experimental:
Type: experimental
Name: map-generator-experimental
ClassicMapGenerator@classic:
Type: classic
Name: map-generator-classic
Tilesets: DESERT, SNOW, TEMPERAT, WINTER
Settings:
MultiChoiceOption@hidden_defaults:

View File

@@ -104,7 +104,7 @@ faction-smugglers =
faction-fremen =
.name = Fremen
map-generator-d2k = D2K RMG
map-generator-d2k = Map Generator
map-generator-clear = Clear Terrain
## defaults.yaml

View File

@@ -34,7 +34,7 @@ options-starting-units =
resource-minerals = Valuable Minerals
map-generator-experimental = Experimental RMG
map-generator-classic = Map Generator
map-generator-clear = Clear Terrain
## Faction

View File

@@ -1,7 +1,7 @@
^MapGenerators:
ExperimentalMapGenerator@experimental:
Type: experimental
Name: map-generator-experimental
ClassicMapGenerator@classic:
Type: classic
Name: map-generator-classic
Tilesets: DESERT, SNOW, TEMPERAT
Settings:
MultiChoiceOption@hidden_defaults: