OverworldMap housekeeping
This commit is contained in:
@@ -18,7 +18,7 @@ namespace zelda3 {
|
|||||||
|
|
||||||
OverworldMap::OverworldMap(int index, ROM& rom,
|
OverworldMap::OverworldMap(int index, ROM& rom,
|
||||||
const std::vector<gfx::Tile16>& tiles16)
|
const std::vector<gfx::Tile16>& tiles16)
|
||||||
: parent_(index), index_(index), rom_(rom), tiles16_(tiles16) {
|
: parent_(index), index_(index), tiles16_(tiles16), rom_(rom) {
|
||||||
LoadAreaInfo();
|
LoadAreaInfo();
|
||||||
bitmap_.Create(512, 512, 8, 512 * 512);
|
bitmap_.Create(512, 512, 8, 512 * 512);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
#ifndef YAZE_APP_ZELDA3_OVERWORLD_MAP_H
|
||||||
|
#define YAZE_APP_ZELDA3_OVERWORLD_MAP_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include <imgui/imgui.h>
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
@@ -65,4 +68,6 @@ class OverworldMap {
|
|||||||
|
|
||||||
} // namespace zelda3
|
} // namespace zelda3
|
||||||
} // namespace app
|
} // namespace app
|
||||||
} // namespace yaze
|
} // namespace yaze
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user