worked on adding tile16 for overworld support

This commit is contained in:
Justin Scofield
2022-06-20 19:21:41 -04:00
parent f11e8f2aac
commit 367fe3552f
10 changed files with 276 additions and 232 deletions

View File

@@ -30,11 +30,14 @@ class OverworldEditor {
void DrawChangelist();
void Loadgfx();
void LoadBlockset();
void LoadGraphics();
app::rom::ROM rom_;
app::zelda3::Overworld overworld_;
app::gfx::Bitmap allgfxBitmap;
app::gfx::Bitmap mapblockset16Bitmap;
app::gfx::SNESPalette palette_;
app::gfx::TilePreset current_set_;
std::unordered_map<unsigned int, SDL_Texture *> all_texture_sheet_;
@@ -61,6 +64,7 @@ class OverworldEditor {
bool opt_enable_grid = true;
bool show_changelist_ = false;
bool all_gfx_loaded_ = false;
bool map_blockset_loaded_ = false;
constexpr static int kByteSize = 3;
constexpr static int kMessageIdSize = 5;