Rename SharedROM to SharedRom

This commit is contained in:
scawful
2024-04-14 14:51:53 -05:00
parent 7e46cf1c64
commit 5953e58bd4
21 changed files with 26 additions and 24 deletions

View File

@@ -28,7 +28,7 @@ struct SubtypeInfo {
uint32_t routine_ptr;
};
class DungeonObjectRenderer : public SharedROM {
class DungeonObjectRenderer : public SharedRom {
public:
DungeonObjectRenderer() = default;

View File

@@ -116,7 +116,7 @@ struct ChestData {
struct StaircaseRooms {};
class Room : public SharedROM, public core::ExperimentFlags {
class Room : public SharedRom, public core::ExperimentFlags {
public:
Room() = default;
Room(int room_id) : room_id_(room_id) {}

View File

@@ -58,7 +58,7 @@ enum ObjectOption {
Stairs = 32
};
class RoomObject : public SharedROM {
class RoomObject : public SharedRom {
public:
enum LayerType { BG1 = 0, BG2 = 1, BG3 = 2 };

View File

@@ -480,7 +480,7 @@ struct MapData {
* This class is responsible for loading and saving the overworld data,
* as well as creating the tilesets and tilemaps for the overworld.
*/
class Overworld : public SharedROM, public core::ExperimentFlags {
class Overworld : public SharedRom, public core::ExperimentFlags {
public:
OWBlockset &GetMapTiles(int world_type);
absl::Status Load(Rom &rom);

View File

@@ -15,7 +15,7 @@ namespace screen {
constexpr int kInventoryStart = 0x6564A;
constexpr int kBowItemPos = 0x6F631;
class Inventory : public SharedROM {
class Inventory : public SharedRom {
public:
auto Bitmap() const { return bitmap_; }
auto Tilesheet() const { return tilesheets_bmp_; }