protected override void Run(Player player) { WindowTabBuilder t = WindowTabBuilder.CreateT("lexicon"); t.Add(new HelpSplitTab()); t.Add(new LexiconSplitTab <DataUnit>(L.b.units)); t.Add(new LexiconSplitTab <DataBuilding>(L.b.buildings)); t.Add(new LexiconSplitTab <Nation>(L.b.nations)); t.Add(new LexiconSplitTab <Resource>(L.b.res)); t.Add(new LexiconSplitTab <DataTerrain>(L.b.terrains)); t.Add(new LexiconSplitTab <Improvement>(L.b.improvements)); t.Add(new LexiconSplitTab <DataMap>(LSys.tem.maps)); t.Add(new LexiconSplitTab <Round>(L.b.rounds)); t.Add(new LexiconSplitTab <Element>(L.b.elements)); t.Add(new LexiconSplitTab <Usage>(L.b.usages)); t.Add(new LexiconSplitTab <FightModi>(L.b.fightModis)); if (S.Debug()) { t.Add(new LexiconSplitTab <Campaign>(LSys.tem.campaigns)); t.Add(new LexiconSplitTab <Scenario>(LSys.tem.scenarios)); t.Add(new LexiconSplitTab <FDataAction>(L.b.actions)); } t.Finish(); }
protected override void Run(Player player) { L.b.gameOptions.startConfig = new Dictionary <string, string>(); WindowTabBuilder t = WindowTabBuilder.CreateT("endless"); t.Add(new MapSplitTab(L.b.gameOptions.startConfig)); t.Add(new GeneralSplitTab(L.b.gameOptions.startConfig)); t.Finish(); }