housekeeping
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user