housekeeping

This commit is contained in:
scawful
2022-07-06 22:22:29 -04:00
parent b127718ae8
commit 9d576351d0
12 changed files with 43 additions and 43 deletions

View File

@@ -29,9 +29,9 @@ void Overworld::Load(app::rom::ROM& rom, uchar* allGfxPtr) {
rom_ = rom;
allGfx16Ptr = allGfxPtr;
overworldMapPointer = std::make_shared<uchar[]>(0x40000);
mapblockset16 = std::make_shared<uchar[]>(1048576);
currentOWgfx16Ptr = std::make_shared<uchar[]>((128 * 512) / 2);
overworldMapPointer = std::make_shared<uchar>(0x40000);
mapblockset16 = std::make_shared<uchar>(1048576);
currentOWgfx16Ptr = std::make_shared<uchar>((128 * 512) / 2);
AssembleMap32Tiles();
AssembleMap16Tiles();

View File

@@ -15,13 +15,13 @@ using ushort = unsigned short;
class OverworldMap {
public:
int parent_ = 0;
int index_ = 0;
int message_id_ = 0;
int gfx_ = 0;
int palette_ = 0;
bool initialized_ = false;
bool large_map_ = false;
int parent_ = 0;
int index_ = 0;
int message_id_ = 0;
int gfx_ = 0;
int palette_ = 0;
bool initialized_ = false;
bool large_map_ = false;
uchar sprite_graphics_[3];
uchar sprite_palette_[3];
uchar musics[4];