private void ReloadSpriteGraphicEditor() { if (spriteGraphicEditor != null) { spriteGraphicEditor.Reload(Model.ObjectGraphics, Model.ObjectGraphics.Length, 0, Model.ObjectPaletteSet, 0, 0x20); } }
private void ReloadGraphicEditor() { if (GraphicEditor != null) { GraphicEditor.Reload(Tileset.Graphics, Tileset.Graphics.Length, 0, PaletteSet, 0, 0x20); } }
private void ReloadMenuGraphicEditor() { if (menuGraphicEditor != null) { menuGraphicEditor.Reload(Model.Graphics_BattleMenu, Model.Graphics_BattleMenu.Length, 0, Model.Palette_BattleMenu, 0, 0x20); } }
private void ReloadGraphicEditor() { if (graphicEditor != null) { graphicEditor.Reload(graphics, graphics.Length, 0, PaletteSet, 0, 0x20, 1); } }
private void ReloadNumeralGraphicEditor() { if (numeralGraphicEditor != null) { numeralGraphicEditor.Reload(Model.Graphics_Numerals, Model.Graphics_Numerals.Length, 0, Model.Palette_Numerals, 0, 0x20); } }
private void ReloadGraphicEditor() { if (graphicEditor != null) { graphicEditor.Reload(animation.GraphicSet, animation.GraphicSetLength, 0, animation.PaletteSet, 0, animation.Codec == 1 ? (byte)0x10 : (byte)0x20); } }
private void ReloadFontGraphicEditor() { if (fontGraphicEditor != null) { fontGraphicEditor.Reload(Glyphs[currentGlyph], paletteSet, paletteRow, paletteCol, 0x10); fontGraphicEditor.SetControlSizes(Glyphs[currentGlyph].Width, Glyphs[currentGlyph].Height, Glyphs[currentGlyph].MaxWidth / 8, Glyphs[currentGlyph].Height / 8); } }
private void LoadLogoGraphicEditor() { if (logoGraphicEditor == null) { logoGraphicEditor = new GraphicEditor(new LogoGraphicUpdater(), Model.Logos_Graphics, Model.Logos_Graphics.Length, 0, Model.Logos_PaletteSet, 0, 0x20); logoGraphicEditor.Owner = this; } else { logoGraphicEditor.Reload(Model.Logos_Graphics, Model.Logos_Graphics.Length, 0, Model.Logos_PaletteSet, 0, 0x20); } }
private void LoadGraphicEditor() { if (graphicEditor == null) { graphicEditor = new GraphicEditor(new GraphicUpdater(), tileset.Graphics, tileset.Graphics.Length, 0, paletteSets[palette], 1, 0x20); graphicEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { graphicEditor.Reload(tileset.Graphics, tileset.Graphics.Length, 0, paletteSets[palette], 1, 0x20); } }
private void LoadGraphicEditor() { if (graphicEditor == null) { graphicEditor = new GraphicEditor(new GraphicPreGameUpdater(), castGraphics, castGraphics.Length, 0, paletteSet, 0, 0x10); graphicEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); graphicEditor.Owner = this.Owner; } else { graphicEditor.Reload(castGraphics, castGraphics.Length, 0, paletteSet, 0, 0x10); } }
private void LoadSpriteGraphicEditor() { if (spriteGraphicEditor == null) { spriteGraphicEditor = new GraphicEditor(new GraphicSpriteUpdater(), Model.Title_SpriteGraphics, Model.Title_SpriteGraphics.Length, 0, spritePaletteSet, 0, 0x20); spriteGraphicEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); spriteGraphicEditor.Owner = this; } else { spriteGraphicEditor.Reload(Model.Title_SpriteGraphics, Model.Title_SpriteGraphics.Length, 0, spritePaletteSet, 0, 0x20); } }
private void LoadSpriteGraphicEditor() { if (spriteGraphicEditor == null) { spriteGraphicEditor = new GraphicEditor(new LogoGraphicUpdater(), Model.Sprites_Graphics, Model.Sprites_Graphics.Length, 0, logoPalette, 0, 0x20); spriteGraphicEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); spriteGraphicEditor.Owner = this; } else { spriteGraphicEditor.Reload(Model.Sprites_Graphics, Model.Sprites_Graphics.Length, 0, logoPalette, 0, 0x20); } }
private void LoadMenuGraphicEditor() { if (menuGraphicEditor == null) { menuGraphicEditor = new GraphicEditor(new Function(MenuGraphicUpdate), Model.BattleMenuGraphics, Model.BattleMenuGraphics.Length, 0, Model.BattleMenuPalette, 0, 0x20); menuGraphicEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { menuGraphicEditor.Reload(new Function(MenuGraphicUpdate), Model.BattleMenuGraphics, Model.BattleMenuGraphics.Length, 0, Model.BattleMenuPalette, 0, 0x20); } }
// private void LoadGraphicEditor() { if (numeralGraphicEditor == null) { numeralGraphicEditor = new GraphicEditor(new Function(GraphicUpdate), Model.NumeralGraphics, Model.NumeralGraphics.Length, 0, Model.NumeralPaletteSet, 0, 0x20); numeralGraphicEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { numeralGraphicEditor.Reload(new Function(GraphicUpdate), Model.NumeralGraphics, Model.NumeralGraphics.Length, 0, Model.NumeralPaletteSet, 0, 0x20); } }
public void LoadGraphicEditor() { if (graphicEditor == null) { graphicEditor = new GraphicEditor(new Function(GraphicUpdate), graphics, graphics.Length, 0, paletteSet, 0, 0x20, 1); graphicEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { graphicEditor.Reload(new Function(GraphicUpdate), graphics, graphics.Length, 0, paletteSet, 0, 0x20, 1); } }
private void LoadLogoGraphicEditor() { if (logoGraphicEditor == null) { logoGraphicEditor = new GraphicEditor(new Function(LogoGraphicUpdate), Model.WorldMapLogos, Model.WorldMapLogos.Length, 0, logoPalette, 0, 0x20); logoGraphicEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { logoGraphicEditor.Reload(new Function(LogoGraphicUpdate), Model.WorldMapLogos, Model.WorldMapLogos.Length, 0, logoPalette, 0, 0x20); } }
private void LoadSpriteGraphicEditor() { if (spriteGraphicEditor == null) { spriteGraphicEditor = new GraphicEditor(new Function(SpriteGraphicUpdate), Model.TitleSpriteGraphics, Model.TitleSpriteGraphics.Length, 0, spritePaletteSet, 0, 0x20); spriteGraphicEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { spriteGraphicEditor.Reload(new Function(SpriteGraphicUpdate), Model.TitleSpriteGraphics, Model.TitleSpriteGraphics.Length, 0, spritePaletteSet, 0, 0x20); } }
private void LoadStageGraphicEditor() { if (stageGraphicEditor == null) { stageGraphicEditor = new GraphicEditor(new Function(StageGraphicUpdate), tileset.Graphics, tileset.Graphics.Length, 0, paletteSet, 0, 0x20); stageGraphicEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { stageGraphicEditor.Reload(new Function(StageGraphicUpdate), tileset.Graphics, tileset.Graphics.Length, 0, paletteSet, 0, 0x20); } }
public void LoadGraphicEditor() { if (graphicEditor == null) { graphicEditor = new GraphicEditor(new Function(GraphicUpdate), animation.GraphicSet, animation.GraphicSetLength, 0, animation.PaletteSet, 0, animation.Codec == 1 ? (byte)0x10 : (byte)0x20); graphicEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { graphicEditor.Reload(new Function(GraphicUpdate), animation.GraphicSet, animation.GraphicSetLength, 0, animation.PaletteSet, 0, animation.Codec == 1 ? (byte)0x10 : (byte)0x20); } }
private void LoadGraphicEditor() { if (GraphicEditor == null) { GraphicEditor = new GraphicEditor(new GraphicTitleUpdater(), Layer != 2 ? Tileset.Graphics : Tileset.GraphicsL3, Layer != 2 ? Tileset.Graphics.Length : Tileset.GraphicsL3.Length, 0, PaletteSet, 0, 0x20); GraphicEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); GraphicEditor.Owner = this.Owner; } else { GraphicEditor.Reload(Layer != 2 ? Tileset.Graphics : Tileset.GraphicsL3, Layer != 2 ? Tileset.Graphics.Length : Tileset.GraphicsL3.Length, 0, PaletteSet, 0, 0x20); } }
private void LoadGraphicEditor() { if (graphicEditor == null) { graphicEditor = new GraphicEditor(new Function(GraphicUpdate), layer != 2 ? tileset.Graphics : tileset.GraphicsL3, layer != 2 ? tileset.Graphics.Length : tileset.GraphicsL3.Length, 0, paletteSet, 0, 0x20); graphicEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { graphicEditor.Reload(new Function(GraphicUpdate), layer != 2 ? tileset.Graphics : tileset.GraphicsL3, layer != 2 ? tileset.Graphics.Length : tileset.GraphicsL3.Length, 0, paletteSet, 0, 0x20); } }
private void LoadFontGraphicEditor() { if (fontGraphicEditor == null) { fontGraphicEditor = new GraphicEditor(new Function(FontGraphicUpdate), font[currentFontChar], paletteSet, paletteRow, paletteCol, 0x10); fontGraphicEditor.SetWidth(font[currentFontChar].Width, font[currentFontChar].Height, font[currentFontChar].MaxWidth / 8, font[currentFontChar].Height / 8); fontGraphicEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); fontGraphicEditor.DockToPanel(panelCharacter, true, false); fontGraphicEditor.ZoomIn(); } else { fontGraphicEditor.Reload(new Function(FontGraphicUpdate), font[currentFontChar], paletteSet, paletteRow, paletteCol, 0x10); fontGraphicEditor.SetWidth(font[currentFontChar].Width, font[currentFontChar].Height, font[currentFontChar].MaxWidth / 8, font[currentFontChar].Height / 8); } }