A class to hold a shared pointer to a Rom object. More...
#include <rom.h>
Inherited by yaze::editor::DungeonEditor, yaze::editor::EditorManager, yaze::editor::GfxGroupEditor, yaze::editor::GraphicsEditor, yaze::editor::MemoryEditorWithDiffChecker, yaze::editor::MessageEditor, yaze::editor::MusicEditor, yaze::editor::PaletteEditor, yaze::editor::ScreenEditor, yaze::editor::SpriteEditor, yaze::editor::Tile16Editor, yaze::emu::Emulator, yaze::emu::Ppu, yaze::gui::Canvas, yaze::test::DungeonRoomTest, yaze::test::MessageTest, yaze::test::OverworldTest, yaze::zelda3::DungeonObjectRenderer, yaze::zelda3::Inventory, yaze::zelda3::Overworld, yaze::zelda3::Room, and yaze::zelda3::RoomObject.
Public Member Functions | |
SharedRom ()=default | |
virtual | ~SharedRom ()=default |
std::shared_ptr< Rom > | shared_rom () |
auto | rom () |
Static Public Attributes | |
static std::shared_ptr< Rom > | shared_rom_ = nullptr |
|
default |
|
virtualdefault |
|
inline |
Definition at line 376 of file rom.h.
References shared_rom_.
|
inline |
Definition at line 383 of file rom.h.
References rom(), and shared_rom_.
Referenced by yaze::zelda3::RoomObject::AddTiles(), yaze::zelda3::Overworld::AssembleMap16Tiles(), yaze::zelda3::Overworld::AssembleMap32Tiles(), yaze::zelda3::Inventory::BuildTileset(), yaze::zelda3::Room::CalculateRoomSize(), yaze::zelda3::Room::CopyRoomGraphicsToBuffer(), yaze::zelda3::Inventory::Create(), yaze::zelda3::Overworld::DecompressAllMapTiles(), yaze::editor::GraphicsEditor::DecompressImportData(), yaze::editor::GraphicsEditor::DecompressSuperDonkey(), yaze::editor::GfxGroupEditor::DrawBlocksetViewer(), yaze::gui::Canvas::DrawContextMenu(), yaze::editor::ScreenEditor::DrawDungeonMapsEditor(), yaze::editor::ScreenEditor::DrawDungeonMapsRoomGfx(), yaze::editor::DungeonEditor::DrawEntranceSelector(), yaze::editor::ScreenEditor::DrawInventoryMenuEditor(), yaze::editor::EditorManager::DrawMenuContent(), yaze::editor::GraphicsEditor::DrawPaletteControls(), yaze::editor::PaletteEditor::DrawPaletteGroup(), yaze::editor::GfxGroupEditor::DrawPaletteViewer(), yaze::editor::EditorManager::DrawPopups(), yaze::editor::DungeonEditor::DrawRoomSelector(), yaze::editor::GfxGroupEditor::DrawRoomsetViewer(), yaze::editor::GfxGroupEditor::DrawSpritesetViewer(), yaze::editor::SpriteEditor::DrawSpritesList(), yaze::editor::MusicEditor::DrawToolset(), yaze::editor::DungeonEditor::Initialize(), yaze::editor::EditorManager::Initialize(), yaze::editor::MessageEditor::Initialize(), yaze::zelda3::Overworld::Load(), yaze::zelda3::Room::LoadAnimatedGraphics(), yaze::editor::ScreenEditor::LoadBinaryGfx(), yaze::zelda3::Room::LoadChests(), yaze::editor::ScreenEditor::LoadDungeonMaps(), yaze::editor::ScreenEditor::LoadDungeonMapTile16(), yaze::zelda3::Overworld::LoadEntrances(), yaze::zelda3::Overworld::LoadExits(), yaze::zelda3::Room::LoadHeader(), yaze::zelda3::Overworld::LoadHoles(), yaze::zelda3::Overworld::LoadItems(), yaze::zelda3::DungeonObjectRenderer::LoadObject(), yaze::zelda3::Room::LoadObjects(), yaze::editor::EditorManager::LoadRom(), yaze::zelda3::Room::LoadRoomFromROM(), yaze::zelda3::Room::LoadRoomGraphics(), yaze::zelda3::Room::LoadSprites(), yaze::zelda3::Overworld::LoadSpritesFromMap(), yaze::editor::Tile16Editor::LoadTile8(), yaze::zelda3::Overworld::LoadTileTypes(), yaze::editor::EditorManager::OpenProject(), yaze::editor::EditorManager::OpenRomOrProject(), yaze::zelda3::Overworld::Overworld(), yaze::editor::MessageEditor::ReadAllTextData(), yaze::editor::MessageEditor::ReadAllTextDataV2(), yaze::editor::DungeonEditor::RefreshGraphics(), rom(), yaze::emu::Emulator::Run(), yaze::editor::MessageEditor::Save(), yaze::zelda3::Overworld::Save(), yaze::editor::ScreenEditor::SaveDungeonMaps(), yaze::editor::ScreenEditor::SaveDungeonMapTile16(), yaze::zelda3::Overworld::SaveEntrances(), yaze::zelda3::Overworld::SaveExits(), yaze::zelda3::Overworld::SaveItems(), yaze::zelda3::Overworld::SaveLargeMaps(), yaze::zelda3::Overworld::SaveMap16Expanded(), yaze::zelda3::Overworld::SaveMap16Tiles(), yaze::zelda3::Overworld::SaveMap32Expanded(), yaze::zelda3::Overworld::SaveMap32Tiles(), yaze::zelda3::Overworld::SaveMapProperties(), yaze::zelda3::Overworld::SaveOverworldMaps(), yaze::editor::EditorManager::SaveRom(), yaze::editor::Tile16Editor::SetCurrentTile(), yaze::test::DungeonRoomTest::SetUp(), yaze::zelda3::Subtype1::Subtype1(), yaze::zelda3::Subtype2::Subtype2(), yaze::zelda3::Subtype3::Subtype3(), yaze::editor::DungeonEditor::Update(), yaze::editor::EditorManager::Update(), yaze::editor::GfxGroupEditor::Update(), yaze::editor::MemoryEditorWithDiffChecker::Update(), yaze::editor::MessageEditor::Update(), yaze::editor::PaletteEditor::Update(), yaze::editor::ScreenEditor::Update(), yaze::editor::SpriteEditor::Update(), yaze::editor::Tile16Editor::UpdateBlockset(), yaze::editor::DungeonEditor::UpdateDungeonRoomView(), yaze::editor::GraphicsEditor::UpdateGfxEdit(), yaze::editor::GraphicsEditor::UpdateLinkGfxView(), yaze::editor::GraphicsEditor::UpdatePaletteColumn(), and yaze::editor::Tile16Editor::UpdateTile16Edit().
|
static |
Definition at line 392 of file rom.h.
Referenced by rom(), and shared_rom().