Exemple #1
0
 public void CreateFormationsWindow()
 {
     if (formations == null || !formations.Visible)
     {
         Cursor.Current = Cursors.WaitCursor;
         formations     = new FormationsEditor();
         if (dockEditors)
         {
             Do.AddControl(editor.Panel2, formations);
         }
         else
         {
             formations.Show();
         }
         Cursor.Current = Cursors.Arrow;
     }
     formations.KeyDown += new KeyEventHandler(editor_KeyDown);
     formations.BringToFront();
 }
Exemple #2
0
 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();
     }
 }