public void CreateWorldMapsWindow() { if (worldMaps == null || !worldMaps.Visible) { Cursor.Current = Cursors.WaitCursor; worldMaps = new WorldMaps(); if (dockEditors) { Do.AddControl(editor.Panel2, worldMaps); } else { worldMaps.Show(); } Cursor.Current = Cursors.Arrow; } worldMaps.KeyDown += new KeyEventHandler(editor_KeyDown); worldMaps.BringToFront(); }
public void ScreencapHotkeys() { if (allies == null || !allies.Visible) { allies = new AlliesEditor(); } if (animations == null || !animations.Visible) { animations = new AnimationScripts(); } if (attacks == null || !attacks.Visible) { attacks = new AttacksEditor(); } if (audio == null || !audio.Visible) { audio = new Audio(); } if (battlefields == null || !battlefields.Visible) { battlefields = new Battlefields(); } if (dialogues == null || !dialogues.Visible) { dialogues = new Dialogues(); } if (effects == null || !effects.Visible) { effects = new Effects(); } if (eventScripts == null || !eventScripts.Visible) { eventScripts = new EventScripts(); } if (formations == null || !formations.Visible) { formations = new FormationsEditor(); } if (items == null || !items.Visible) { items = new ItemsEditor(); } if (levels == null || !levels.Visible) { levels = new Levels(); } if (monsters == null || !monsters.Visible) { monsters = new Monsters(); } if (intro == null || !intro.Visible) { intro = new Intro(); } if (menus == null || !menus.Visible) { menus = new MenusEditor(); } if (miniGames == null || !miniGames.Visible) { miniGames = new MiniGames(); } if (sprites == null || !sprites.Visible) { sprites = new Sprites(); } if (worldMaps == null || !worldMaps.Visible) { worldMaps = new WorldMaps(); } }