overworld housekeeping

This commit is contained in:
Justin Scofield
2022-07-11 21:37:20 -04:00
parent bd44cc2c96
commit 56c81ae97e
7 changed files with 21 additions and 22 deletions

View File

@@ -1,8 +1,9 @@
#include "overworld_editor.h"
#include <imgui.h>
#include <imgui/imgui.h>
#include <cmath>
#include <unordered_map>
#include "app/gfx/bitmap.h"
#include "app/gfx/snes_palette.h"
@@ -116,7 +117,7 @@ void OverworldEditor::DrawToolset() {
ImGui::TableNextColumn();
if (ImGui::Button(ICON_MD_UPDATE)) {
overworld_.Load(rom_, allgfxBitmap.GetData());
overworld_.Load(rom_);
}
ImGui::TableNextColumn();

View File

@@ -1,7 +1,10 @@
#ifndef YAZE_APP_EDITOR_OVERWORLDEDITOR_H
#define YAZE_APP_EDITOR_OVERWORLDEDITOR_H
#include <imgui.h>
#include <imgui/imgui.h>
#include <cmath>
#include <unordered_map>
#include "app/gfx/bitmap.h"
#include "app/gfx/snes_palette.h"
@@ -39,7 +42,7 @@ class OverworldEditor {
// pointer size 1048576
gfx::Bitmap tile16_blockset_bmp_;
// pointer size 32768
// pointer size 32768
gfx::Bitmap current_gfx_bmp_;
// pointer size 456704
@@ -77,7 +80,7 @@ class OverworldEditor {
ImGuiTableFlags_SizingStretchSame;
};
} // namespace editor
} // namespace gui
} // namespace app
} // namespace yaze
#endif