OverworldMap housekeeping

This commit is contained in:
scawful
2022-07-22 20:18:23 -04:00
parent 2da8a4a126
commit 1ae0f52945
2 changed files with 7 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ namespace zelda3 {
OverworldMap::OverworldMap(int index, ROM& rom,
const std::vector<gfx::Tile16>& tiles16)
: parent_(index), index_(index), rom_(rom), tiles16_(tiles16) {
: parent_(index), index_(index), tiles16_(tiles16), rom_(rom) {
LoadAreaInfo();
bitmap_.Create(512, 512, 8, 512 * 512);
}

View File

@@ -1,3 +1,6 @@
#ifndef YAZE_APP_ZELDA3_OVERWORLD_MAP_H
#define YAZE_APP_ZELDA3_OVERWORLD_MAP_H
#include <imgui/imgui.h>
#include <cstddef>
@@ -65,4 +68,6 @@ class OverworldMap {
} // namespace zelda3
} // namespace app
} // namespace yaze
} // namespace yaze
#endif