public void WriteToROM() { if (NewGame != null && NewGame.Visible) { NewGame.WriteToROM(); } if (Animations != null && Animations.Visible) { Animations.WriteToROM(); } if (Attacks != null && Attacks.Visible) { Attacks.WriteToROM(); } if (Battlefields != null && Battlefields.Visible) { Battlefields.WriteToROM(); } if (Dialogues != null && Dialogues.Visible) { Dialogues.WriteToROM(); } if (EventScripts != null && EventScripts.Visible) { EventScripts.WriteToROM(); } if (Fonts != null && Fonts.Visible) { Fonts.WriteToROM(); } if (Formations != null && Formations.Visible) { Formations.WriteToROM(); } if (Items != null && Items.Visible) { Items.WriteToROM(); } if (Areas != null && Areas.Visible) { Areas.WriteToROM(); } if (Monsters != null && Monsters.Visible) { Monsters.WriteToROM(); } if (Sprites != null && Sprites.Visible) { Sprites.WriteToROM(); } if (Intro != null && Intro.Visible) { Intro.WriteToROM(); } if (WorldMaps != null && WorldMaps.Visible) { WorldMaps.WriteToROM(); } }
public void CreateEventScriptsWindow() { if (eventScripts == null || !eventScripts.Visible) { Cursor.Current = Cursors.WaitCursor; eventScripts = new EventScripts(); if (dockEditors) { Do.AddControl(editor.Panel2, eventScripts); } else { eventScripts.Show(); } Cursor.Current = Cursors.Arrow; } eventScripts.KeyDown += new KeyEventHandler(editor_KeyDown); eventScripts.BringToFront(); }
public void CreateEventScriptsWindow() { if (EventScripts == null || !EventScripts.Visible) { Cursor.Current = Cursors.WaitCursor; EventScripts = new OwnerForm(); if (DockEditors) { Do.AddControl(MainForm.PanelForms, EventScripts); } else { EventScripts.Show(); } loadedForms.Add(EventScripts); Cursor.Current = Cursors.Arrow; } EventScripts.KeyDown += new KeyEventHandler(editor_KeyDown); EventScripts.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(); } }