public NewCountryForm() { InitializeComponent(); baseGame = BaseGameReader.BaseGame; modFile = ModFileReader.ModFile; UpdateNewCountryTag(NewCountryTagBox.Text); }
void initialSetup() { modFile = new ModFileReader(Properties.Settings.Default.ModFilePath, Properties.Settings.Default.DefaultModFolder); lblModName.Text = modFile.Name; lblHOI4Path.ForeColor = Color.Black; //comboRegion.Items.AddRange(baseGame.getContinents().ToArray()); stateIndexer = new StateIndexer(baseGame, modFile, ModFileReader.StatesPath); StateDetailsPanel.Visible = false; RebuildStateList(); StrategicRegionCombo.Items.AddRange(stateIndexer.loadStrategicRegions().ToArray()); foreach (State s in stateIndexer.AllStates) { //StateExporter.ExportState(s); } CountryIndexer.LoadCountries(); }