#include <game_data.h>

Public Member Functions | |
| GameData ()=default | |
| GameData (Rom *rom) | |
| Rom * | rom () const |
| void | set_rom (Rom *rom) |
| void | Clear () |
Public Attributes | |
| zelda3_version | version = zelda3_version::US |
| std::string | title |
| std::vector< uint8_t > | graphics_buffer |
| std::array< std::vector< uint8_t >, kNumGfxSheets > | raw_gfx_sheets |
| std::array< gfx::Bitmap, kNumGfxSheets > | gfx_bitmaps |
| std::array< gfx::Bitmap, kNumLinkSheets > | link_graphics |
| gfx::Bitmap | font_graphics |
| gfx::PaletteGroupMap | palette_groups |
| std::array< std::array< uint8_t, 8 >, kNumMainBlocksets > | main_blockset_ids |
| std::array< std::array< uint8_t, 4 >, kNumRoomBlocksets > | room_blockset_ids |
| std::array< std::array< uint8_t, 4 >, kNumSpritesets > | spriteset_ids |
| std::array< std::array< uint8_t, 4 >, kNumPalettesets > | paletteset_ids |
| GraphicsLoadDiagnostics | diagnostics |
Private Attributes | |
| Rom * | rom_ = nullptr |
Definition at line 68 of file game_data.h.
|
default |
|
inlineexplicit |
Definition at line 71 of file game_data.h.
|
inline |
|
inline |
|
inline |
Definition at line 104 of file game_data.h.
References yaze::gfx::PaletteGroupMap::clear(), graphics_buffer, palette_groups, and raw_gfx_sheets.
Referenced by yaze::zelda3::LoadGameData().

| zelda3_version yaze::zelda3::GameData::version = zelda3_version::US |
Definition at line 78 of file game_data.h.
Referenced by yaze::zelda3::LoadGfxGroups(), yaze::zelda3::LoadGraphics(), yaze::zelda3::LoadMetadata(), yaze::zelda3::SaveGfxGroups(), yaze::zelda3::Room::version_constants(), yaze::zelda3::Overworld::version_constants(), and yaze::zelda3::OverworldMap::version_constants().
| std::string yaze::zelda3::GameData::title |
Definition at line 79 of file game_data.h.
Referenced by yaze::zelda3::LoadMetadata().
| std::vector<uint8_t> yaze::zelda3::GameData::graphics_buffer |
Definition at line 82 of file game_data.h.
Referenced by yaze::zelda3::OverworldMap::BuildTileset(), yaze::zelda3::TitleScreen::BuildTileset(), Clear(), yaze::zelda3::Room::CopyRoomGraphicsToBuffer(), yaze::zelda3::Room::LoadAnimatedGraphics(), yaze::zelda3::LoadGraphics(), and yaze::zelda3::OverworldMap::ProcessGraphicsBuffer().
| std::array<std::vector<uint8_t>, kNumGfxSheets> yaze::zelda3::GameData::raw_gfx_sheets |
Definition at line 83 of file game_data.h.
Referenced by Clear(), and yaze::zelda3::LoadGraphics().
| std::array<gfx::Bitmap, kNumGfxSheets> yaze::zelda3::GameData::gfx_bitmaps |
Definition at line 84 of file game_data.h.
Referenced by yaze::zelda3::LoadGraphics(), and yaze::test::RomDependentTestSuite::RunRomGraphicsExtractionTest().
| std::array<gfx::Bitmap, kNumLinkSheets> yaze::zelda3::GameData::link_graphics |
Definition at line 85 of file game_data.h.
| gfx::Bitmap yaze::zelda3::GameData::font_graphics |
Definition at line 86 of file game_data.h.
| gfx::PaletteGroupMap yaze::zelda3::GameData::palette_groups |
Definition at line 89 of file game_data.h.
Referenced by yaze::editor::PaletteControlsPanel::ApplyPaletteToAllSheets(), yaze::editor::Tile16Editor::ApplyPaletteToCurrentTile16Bitmap(), yaze::editor::PaletteControlsPanel::ApplyPaletteToSheet(), yaze::zelda3::Inventory::BuildTileset(), Clear(), yaze::zelda3::TitleScreen::Create(), yaze::editor::GraphicsEditor::DecompressImportData(), yaze::editor::GraphicsEditor::DecompressSuperDonkey(), yaze::gui::PaletteEditorWidget::Draw(), yaze::gui::PaletteEditorWidget::DrawColorPicker(), yaze::editor::DungeonCanvasViewer::DrawDungeonCanvas(), yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser(), yaze::editor::PaletteControlsPanel::DrawPaletteDisplay(), yaze::editor::PaletteEditor::DrawPaletteGroup(), yaze::editor::palette_utility::DrawPalettePreview(), yaze::gui::PaletteEditorWidget::DrawPaletteSelector(), yaze::editor::PalettesetEditorPanel::DrawPalettesetEditor(), yaze::gfx::PaletteManager::GetGroup(), yaze::gfx::PaletteManager::GetMutableGroup(), yaze::editor::OverworldMainPalettePanel::GetPaletteGroup(), yaze::editor::OverworldAnimatedPalettePanel::GetPaletteGroup(), yaze::editor::DungeonMainPalettePanel::GetPaletteGroup(), yaze::editor::SpritePalettePanel::GetPaletteGroup(), yaze::editor::SpritesAux1PalettePanel::GetPaletteGroup(), yaze::editor::SpritesAux2PalettePanel::GetPaletteGroup(), yaze::editor::SpritesAux3PalettePanel::GetPaletteGroup(), yaze::editor::EquipmentPalettePanel::GetPaletteGroup(), getRomPaletteGroup(), yaze::cli::HandlePaletteExportLegacy(), yaze::cli::HandlePaletteImportLegacy(), yaze::editor::MessageEditor::Initialize(), yaze::gfx::PaletteManager::Initialize(), yaze::emu::render::EmulatorRenderService::InjectRoomContext(), yaze::editor::DungeonEditorV2::Load(), yaze::editor::ScreenEditor::Load(), yaze::editor::DungeonRoomLoader::LoadAllRooms(), yaze::zelda3::LoadDungeonMapGfxFromBinary(), yaze::zelda3::LoadDungeonMapTile16(), yaze::zelda3::LoadGraphics(), yaze::zelda3::Room::LoadLayoutTilesToBuffer(), yaze::zelda3::OverworldMap::LoadPalette(), yaze::emu::render::EmulatorRenderService::LoadPaletteIntoCgram(), yaze::zelda3::LoadPalettes(), yaze::gui::CanvasUtils::LoadROMPaletteGroups(), yaze::gui::PaletteEditorWidget::LoadROMPalettes(), yaze::editor::SpriteEditor::LoadSpritePalettes(), yaze::editor::DungeonEditorV2::OnRoomSelected(), yaze::editor::Tile16Editor::PreviewPaletteChange(), yaze::editor::Tile16Editor::RefreshAllPalettes(), yaze::emu::render::EmulatorRenderService::RenderDungeonObjectStatic(), yaze::zelda3::Room::RenderObjectsToBackground(), yaze::zelda3::Room::RenderRoomGraphics(), yaze::test::RomDependentTestSuite::RunTile16EditorTest(), yaze::zelda3::SaveGameData(), yaze::editor::DungeonObjectSelector::SelectObject(), yaze::zelda3::palette_internal::SetColorsPalette(), yaze::editor::Tile16Editor::SetCurrentTile(), yaze::gui::DungeonObjectEmulatorPreview::TriggerEmulatedRender(), yaze::gui::DungeonObjectEmulatorPreview::TriggerStaticRender(), yaze::editor::GfxGroupEditor::UpdateCurrentPalette(), yaze::editor::Tile16Editor::UpdateLivePreview(), yaze::editor::Tile16Editor::UpdateTile8Palette(), and yaze_get_color_from_paletteset().
| std::array<std::array<uint8_t, 8>, kNumMainBlocksets> yaze::zelda3::GameData::main_blockset_ids |
Definition at line 91 of file game_data.h.
Referenced by yaze::editor::GfxGroupEditor::DrawBlocksetViewer(), yaze::zelda3::LoadGfxGroups(), yaze::zelda3::Room::LoadRoomGraphics(), and yaze::zelda3::SaveGfxGroups().
| std::array<std::array<uint8_t, 4>, kNumRoomBlocksets> yaze::zelda3::GameData::room_blockset_ids |
Definition at line 92 of file game_data.h.
Referenced by yaze::editor::GfxGroupEditor::DrawRoomsetViewer(), yaze::zelda3::LoadGfxGroups(), yaze::zelda3::Room::LoadRoomGraphics(), and yaze::zelda3::SaveGfxGroups().
| std::array<std::array<uint8_t, 4>, kNumSpritesets> yaze::zelda3::GameData::spriteset_ids |
Definition at line 93 of file game_data.h.
Referenced by yaze::editor::GfxGroupEditor::DrawSpritesetViewer(), yaze::zelda3::LoadGfxGroups(), yaze::zelda3::Room::LoadRoomGraphics(), and yaze::zelda3::SaveGfxGroups().
| std::array<std::array<uint8_t, 4>, kNumPalettesets> yaze::zelda3::GameData::paletteset_ids |
Definition at line 99 of file game_data.h.
Referenced by yaze::editor::DungeonCanvasViewer::DrawDungeonCanvas(), yaze::editor::PalettesetEditorPanel::DrawPalettesetEditor(), yaze::editor::DungeonRoomLoader::LoadAllRooms(), yaze::zelda3::LoadGfxGroups(), yaze::zelda3::Room::LoadLayoutTilesToBuffer(), yaze::zelda3::Room::RenderObjectsToBackground(), yaze::zelda3::Room::RenderRoomGraphics(), and yaze::zelda3::SaveGfxGroups().
| GraphicsLoadDiagnostics yaze::zelda3::GameData::diagnostics |
Definition at line 102 of file game_data.h.
Referenced by yaze::zelda3::LoadGraphics().
|
private |
Definition at line 112 of file game_data.h.