Beispiel #1
0
 public static ResourceData AddResource()
 {
     ResourceData data = new ResourceData();
     data.Index = ResourceInterface.ResourceData.Count;
     ResourceInterface.ResourceData.Add(data);
     return data;
 }
Beispiel #2
0
        public static void Init(MainForm main_form)
        {
            IndieCivEditorApp.mainForm = main_form;
            IndieCivCore.IndieCivCoreApp.Init(EExecutionEnvironment.EExecutionEnvironment_Editor);

            IndieCivEditorApp.SelectedTerrain = ResourceInterface.TerrainData[3];
            IndieCivEditorApp.SelectedResource = null;
            IndieCivEditorApp.SelectedRelief = ResourceInterface.ReliefData[0];

            //IndieCivCore.Map.MapCiv3 worldMap = new IndieCivCore.Map.MapCiv3();
            //worldMap.Init(100, 100);
            //worldMap.RegisterTerrainArt(Art);
            //IndieCivCore.MapManager.Add(worldMap);
        }