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

Project rules for graphics sheets ([graphics_sheets]). More...

#include <project.h>

Public Member Functions

bool empty () const
 

Public Attributes

std::vector< uint16_t > reserved_sheets
 
std::vector< uint16_t > flagged_sheets
 
std::map< uint16_t, std::vector< uint16_t > > reserved_blocks
 

Detailed Description

Project rules for graphics sheets ([graphics_sheets]).

reserved_sheets are never written and never offered as free space (merged with the hack manifest's graphics_sheet_regions.reserved_sheets). flagged_sheets look free but need the owner's approval before art goes in. reserved_blocks maps a sheet to 16x16 block indices (0-15, row-major over the 8x2 block grid) that must keep their current pixels.

Definition at line 114 of file project.h.

Member Function Documentation

◆ empty()

bool yaze::project::GraphicsSheetSettings::empty ( ) const
inline

Member Data Documentation

◆ reserved_sheets

std::vector<uint16_t> yaze::project::GraphicsSheetSettings::reserved_sheets

◆ flagged_sheets

std::vector<uint16_t> yaze::project::GraphicsSheetSettings::flagged_sheets

◆ reserved_blocks

std::map<uint16_t, std::vector<uint16_t> > yaze::project::GraphicsSheetSettings::reserved_blocks

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