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

#include <gfx_sheet_inventory.h>

Collaboration diagram for yaze::zelda3::GfxSheetInventoryEntry:

Public Member Functions

std::vector< int > FreeBlocks () const
 

Public Attributes

uint16_t gfx = 0
 
uint32_t pc = 0
 
GfxSheetStorageKind kind = GfxSheetStorageKind::kCompressed3bpp
 
std::optional< uint8_t > sprite_value
 
std::optional< size_t > stored_bytes
 
bool has_block_stats = false
 
int empty_8x8 = 0
 
std::vector< int > empty_16x16_blocks
 
bool all_empty = false
 
std::string sha1
 
std::string error
 
bool reserved = false
 
bool flagged = false
 
std::vector< uint16_t > reserved_blocks
 
bool engine_loaded = false
 
std::vector< uint16_t > shares_pointer_with
 
std::vector< uint16_t > same_content_as
 
GfxSheetUsage usage
 
bool unreferenced = false
 
std::vector< std::string > labels
 

Detailed Description

Definition at line 70 of file gfx_sheet_inventory.h.

Member Function Documentation

◆ FreeBlocks()

std::vector< int > yaze::zelda3::GfxSheetInventoryEntry::FreeBlocks ( ) const

16x16 blocks that are empty and not reserved, on a sheet that is not reserved or engine-loaded. Flagged sheets still report their blocks.

Definition at line 79 of file gfx_sheet_inventory.cc.

References empty_16x16_blocks, engine_loaded, has_block_stats, reserved, and reserved_blocks.

Member Data Documentation

◆ gfx

uint16_t yaze::zelda3::GfxSheetInventoryEntry::gfx = 0

Definition at line 71 of file gfx_sheet_inventory.h.

◆ pc

uint32_t yaze::zelda3::GfxSheetInventoryEntry::pc = 0

Definition at line 72 of file gfx_sheet_inventory.h.

◆ kind

GfxSheetStorageKind yaze::zelda3::GfxSheetInventoryEntry::kind = GfxSheetStorageKind::kCompressed3bpp

Definition at line 73 of file gfx_sheet_inventory.h.

◆ sprite_value

std::optional<uint8_t> yaze::zelda3::GfxSheetInventoryEntry::sprite_value

Definition at line 75 of file gfx_sheet_inventory.h.

◆ stored_bytes

std::optional<size_t> yaze::zelda3::GfxSheetInventoryEntry::stored_bytes

Definition at line 77 of file gfx_sheet_inventory.h.

◆ has_block_stats

bool yaze::zelda3::GfxSheetInventoryEntry::has_block_stats = false

Definition at line 78 of file gfx_sheet_inventory.h.

Referenced by FreeBlocks().

◆ empty_8x8

int yaze::zelda3::GfxSheetInventoryEntry::empty_8x8 = 0

Definition at line 79 of file gfx_sheet_inventory.h.

◆ empty_16x16_blocks

std::vector<int> yaze::zelda3::GfxSheetInventoryEntry::empty_16x16_blocks

Definition at line 80 of file gfx_sheet_inventory.h.

Referenced by FreeBlocks().

◆ all_empty

bool yaze::zelda3::GfxSheetInventoryEntry::all_empty = false

Definition at line 81 of file gfx_sheet_inventory.h.

◆ sha1

std::string yaze::zelda3::GfxSheetInventoryEntry::sha1

Definition at line 82 of file gfx_sheet_inventory.h.

◆ error

std::string yaze::zelda3::GfxSheetInventoryEntry::error

Definition at line 83 of file gfx_sheet_inventory.h.

◆ reserved

bool yaze::zelda3::GfxSheetInventoryEntry::reserved = false

Definition at line 84 of file gfx_sheet_inventory.h.

Referenced by FreeBlocks().

◆ flagged

bool yaze::zelda3::GfxSheetInventoryEntry::flagged = false

Definition at line 85 of file gfx_sheet_inventory.h.

◆ reserved_blocks

std::vector<uint16_t> yaze::zelda3::GfxSheetInventoryEntry::reserved_blocks

Definition at line 86 of file gfx_sheet_inventory.h.

Referenced by FreeBlocks().

◆ engine_loaded

bool yaze::zelda3::GfxSheetInventoryEntry::engine_loaded = false

Definition at line 87 of file gfx_sheet_inventory.h.

Referenced by FreeBlocks().

◆ shares_pointer_with

std::vector<uint16_t> yaze::zelda3::GfxSheetInventoryEntry::shares_pointer_with

Definition at line 88 of file gfx_sheet_inventory.h.

◆ same_content_as

std::vector<uint16_t> yaze::zelda3::GfxSheetInventoryEntry::same_content_as

Definition at line 89 of file gfx_sheet_inventory.h.

◆ usage

GfxSheetUsage yaze::zelda3::GfxSheetInventoryEntry::usage

Definition at line 90 of file gfx_sheet_inventory.h.

◆ unreferenced

bool yaze::zelda3::GfxSheetInventoryEntry::unreferenced = false

Definition at line 91 of file gfx_sheet_inventory.h.

◆ labels

std::vector<std::string> yaze::zelda3::GfxSheetInventoryEntry::labels

Definition at line 92 of file gfx_sheet_inventory.h.


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