/* EVENTS */ private void main_Load(object sender, EventArgs e) { // TECHNICALS this.Location = new Point(10, 10); this.Cursor = new Cursor(Resources.mousepointer.Handle); // INITIAL MENU menuScreen = "main"; // LEVEL EDITOR editor = EditorLevel.newEditor(this); // CINEMATIC mode = Mode.CINEMATIC; cinematic = Cinematic.fromString("startup", this); // APPLY SETTINGS gameSettings = GameSettings.defaultSettings(); applySettings(); // CAMPAIGN TEST campaign = new List <String>(); //campaign.Add("main20"); //campaign.Add("main34"); //campaign.Add("main35"); //campaign.Add("main36"); //campaign.Add("main37"); //campaign.Add("main38"); //campaign.Add("main50"); //campaign.Add("main75"); //campaign.Add("main76"); //campaign.Add("main77"); //campaign.Add("main74"); for (int i = 0; i < 17; i++) { campaign.Add("main" + i); //campaign.Add("classic" + i); //campaign.Add("classic" + (i + 8)); } //campaign.Add("behemoth"); generateLevel(true); }
public void resetEditor() { editor = EditorLevel.newEditor(this); }