Begin OWMapTile refactoring

This commit is contained in:
Justin Scofield
2022-07-18 19:21:44 -04:00
parent 9295f9c713
commit 99136bae05
4 changed files with 44 additions and 35 deletions

View File

@@ -18,6 +18,12 @@ namespace yaze {
namespace app {
namespace zelda3 {
struct OWMapTiles {
std::vector<std::vector<ushort>> light_world; // 64 maps * (32*32 tiles)
std::vector<std::vector<ushort>> dark_world; // 64 maps * (32*32 tiles)
std::vector<std::vector<ushort>> special_world; // 32 maps * (32*32 tiles)
}
class Overworld {
public:
void Load(ROM& rom);
@@ -42,6 +48,8 @@ class Overworld {
std::vector<std::vector<ushort>> allmapsTilesDW; // 64 maps * (32*32 tiles)
std::vector<std::vector<ushort>> allmapsTilesSP; // 32 maps * (32*32 tiles)
OWMapTiles map_tiles_;
gfx::Bitmap mapblockset16;
gfx::Bitmap currentOWgfx16;
gfx::Bitmap overworldMapBitmap;