yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::GraphicsSheetStoreHolder Struct Reference

#include <graphics_sheet_store.h>

Inheritance diagram for yaze::zelda3::GraphicsSheetStoreHolder:
Collaboration diagram for yaze::zelda3::GraphicsSheetStoreHolder:

Public Member Functions

 GraphicsSheetStoreHolder ()=default
 
 GraphicsSheetStoreHolder (const GraphicsSheetStoreHolder &other)
 
 GraphicsSheetStoreHolder (GraphicsSheetStoreHolder &&other) noexcept
 
GraphicsSheetStoreHolder & operator= (const GraphicsSheetStoreHolder &other)
 
GraphicsSheetStoreHolder & operator= (GraphicsSheetStoreHolder &&other) noexcept
 

Public Attributes

GraphicsSheetStore sheet_store
 
std::vector< uint8_t > & graphics_buffer = sheet_store.mutable_pixels()
 Legacy name for sheet_store.mutable_pixels().
 

Detailed Description

Base of GameData that owns the store and the legacy graphics_buffer alias. Copying or moving rebinds the alias to the new object's own store; the default copy would leave it pointing at the source.

Definition at line 109 of file graphics_sheet_store.h.

Constructor & Destructor Documentation

◆ GraphicsSheetStoreHolder() [1/3]

yaze::zelda3::GraphicsSheetStoreHolder::GraphicsSheetStoreHolder ( )
default

◆ GraphicsSheetStoreHolder() [2/3]

yaze::zelda3::GraphicsSheetStoreHolder::GraphicsSheetStoreHolder ( const GraphicsSheetStoreHolder & other)
inline

Definition at line 111 of file graphics_sheet_store.h.

◆ GraphicsSheetStoreHolder() [3/3]

yaze::zelda3::GraphicsSheetStoreHolder::GraphicsSheetStoreHolder ( GraphicsSheetStoreHolder && other)
inlinenoexcept

Definition at line 113 of file graphics_sheet_store.h.

Member Function Documentation

◆ operator=() [1/2]

GraphicsSheetStoreHolder & yaze::zelda3::GraphicsSheetStoreHolder::operator= ( const GraphicsSheetStoreHolder & other)
inline

Definition at line 115 of file graphics_sheet_store.h.

References sheet_store.

◆ operator=() [2/2]

GraphicsSheetStoreHolder & yaze::zelda3::GraphicsSheetStoreHolder::operator= ( GraphicsSheetStoreHolder && other)
inlinenoexcept

Definition at line 119 of file graphics_sheet_store.h.

References sheet_store.

Member Data Documentation

◆ sheet_store

GraphicsSheetStore yaze::zelda3::GraphicsSheetStoreHolder::sheet_store

Definition at line 125 of file graphics_sheet_store.h.

Referenced by yaze::editor::ActiveSheetStore(), yaze::editor::AttachSheetStore(), yaze::editor::PaletteReorderControl::Begin(), yaze::editor::GraphicsEditor::BuildContextSnapshot(), yaze::zelda3::GameData::Clear(), yaze::editor::GfxGroupEditor::DrawSheetPicker(), yaze::editor::GfxGroupEditor::EditGraphicsSheet(), yaze::editor::DungeonEditorV2::EditRoomGraphicsSheet(), yaze::editor::UsagePreviewView::HashWatchedSheets(), yaze::editor::ScreenEditor::Load(), yaze::zelda3::LoadGraphics(), yaze::editor::SpriteEditor::LoadSpriteGraphicsBuffer(), yaze::editor::sprite_graphics_context::Make(), yaze::editor::MakeDungeonMapTilesGfxEditContext(), yaze::editor::GraphicsEditor::OpenInContext(), operator=(), operator=(), yaze::editor::PlanPalettePixelPermutation(), yaze::editor::GfxGroupEditor::PrepareSheetPreview(), yaze::zelda3::Room::RecordSourceSheet(), yaze::zelda3::OverworldMap::RecordSourceSheetRevisions(), yaze::editor::ScreenEditor::RefreshDungeonMapGraphicsFromSession(), yaze::editor::SpriteEditor::RefreshSpritePreviewGraphics(), yaze::editor::RomSession::ReloadGraphicsDisplay(), yaze::editor::RenderDungeonMapTilesGfxPreview(), yaze::editor::ResolveOverworldQuadrantTarget(), yaze::editor::UsagePreviewView::SharedUsesHash(), yaze::zelda3::anonymous_namespace{resolved_graphics_context.cc}::SheetRevision(), yaze::zelda3::Overworld::SheetRevisionsForKey(), yaze::editor::usage_preview::SnapshotSessionSheets(), yaze::editor::PaletteReorderControl::SourceChanged(), yaze::zelda3::Room::SourceSheetsChanged(), and yaze::zelda3::OverworldMap::SourceSheetsChanged().

◆ graphics_buffer


The documentation for this struct was generated from the following file: