예제 #1
0
        public NewCountryForm()
        {
            InitializeComponent();
            baseGame = BaseGameReader.BaseGame;
            modFile  = ModFileReader.ModFile;



            UpdateNewCountryTag(NewCountryTagBox.Text);
        }
예제 #2
0
        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();
        }