Ejemplo n.º 1
0
 public void CreateAlliesWindow()
 {
     if (allies == null || !allies.Visible)
     {
         Cursor.Current = Cursors.WaitCursor;
         allies         = new AlliesEditor();
         if (dockEditors)
         {
             Do.AddControl(editor.Panel2, allies);
         }
         else
         {
             allies.Show();
         }
         Cursor.Current = Cursors.Arrow;
     }
     allies.KeyDown += new KeyEventHandler(editor_KeyDown);
     allies.BringToFront();
 }
Ejemplo n.º 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();
     }
 }