Ejemplo n.º 1
0
        public NewCountryForm()
        {
            InitializeComponent();
            baseGame = BaseGameReader.BaseGame;
            modFile  = ModFileReader.ModFile;



            UpdateNewCountryTag(NewCountryTagBox.Text);
        }
Ejemplo n.º 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();
        }