Add FindMetastamp, etc housekeeping

This commit is contained in:
scawful
2023-08-18 17:21:17 -04:00
parent 09df21a439
commit 878b1ee1eb
6 changed files with 55 additions and 13 deletions

View File

@@ -14,9 +14,8 @@ namespace zelda3 {
constexpr int kInventoryStart = 0x6564A;
constexpr int kBowItemPos = 0x6F631;
class Inventory {
class Inventory : public SharedROM {
public:
void SetupROM(ROM& rom) { rom_ = rom; }
auto Bitmap() const { return bitmap_; }
auto Tilesheet() const { return tilesheets_bmp_; }
auto Palette() const { return palette_; }
@@ -26,8 +25,6 @@ class Inventory {
private:
absl::Status BuildTileset();
ROM rom_;
Bytes data_;
gfx::Bitmap bitmap_;