Beispiel #1
0
 private void GraphicUpdate()
 {
     dialoguesEditor.LoadFontEditor();
     dialoguesEditor.RedrawTileset();
     dialoguesEditor.RedrawText();
     tileset = new BattleDialogueTileset(fontPalette);
     SetTilesetImage();
 }
Beispiel #2
0
 private void PaletteUpdate()
 {
     dialoguesEditor.LoadFontEditor();
     dialoguesEditor.RedrawTileset();
     dialoguesEditor.RedrawText();
     tileset = new BattleDialogueTileset(fontPalette);
     SetTilesetImage();
     SetTextImage();
     dialoguesEditor.Modified = true;   // b/c switching colors won't modify checksum
 }
Beispiel #3
0
 public BattleDialogues(Dialogues dialoguesEditor)
 {
     this.dialoguesEditor = dialoguesEditor;
     this.overlay         = new Overlay();
     InitializeComponent();
     // tileset
     tileset = new BattleDialogueTileset(fontPalette);
     SetTilesetImage();
     // editors
     LoadPaletteEditor();
     LoadPaletteMenuEditor();
     LoadGraphicEditor();
     LoadTileEditor();
     // controls
     this.Updating = true;
     type          = 0;
     search        = new Search(battleDialogueNum, searchBox, searchButton, dialogues);
     RefreshBattleDialogue();
     this.Updating = false;
 }