Add ScreenEditor to main Editor

This commit is contained in:
Justin Scofield
2022-07-19 20:53:03 +00:00
parent 3f4d589c98
commit 86150f82bd
4 changed files with 22 additions and 3 deletions

View File

@@ -11,6 +11,7 @@
#include "app/editor/assembly_editor.h"
#include "app/editor/dungeon_editor.h"
#include "app/editor/overworld_editor.h"
#include "app/editor/screen_editor.h"
#include "app/gfx/snes_palette.h"
#include "app/gfx/snes_tile.h"
#include "app/rom.h"
@@ -41,6 +42,7 @@ class Editor {
void DrawProjectEditor();
void DrawOverworldEditor();
void DrawDungeonEditor();
void DrawScreenEditor();
void DrawGraphicsEditor();
void DrawSpriteEditor();
@@ -52,6 +54,7 @@ class Editor {
AssemblyEditor assembly_editor_;
OverworldEditor overworld_editor_;
DungeonEditor dungeon_editor_;
ScreenEditor screen_editor_;
std::shared_ptr<SDL_Renderer> sdl_renderer_;
std::unordered_map<uint, SDL_Texture *> image_cache_;