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

#include <scratch_workspace.h>

Public Member Functions

bool operator== (const ScratchPage &other) const
 
TileBrush AsBrush () const
 

Public Attributes

uint64_t id = 1
 
std::string name = "Scratch Space"
 
int width = 16
 
int height = 16
 
bool in_use = false
 
int source_map = -1
 
std::array< std::array< int, 32 >, 32 > tile_data {}
 

Detailed Description

Definition at line 19 of file scratch_workspace.h.

Member Function Documentation

◆ operator==()

bool yaze::editor::ScratchPage::operator== ( const ScratchPage & other) const

Definition at line 115 of file scratch_workspace.cc.

References height, id, in_use, name, source_map, tile_data, and width.

◆ AsBrush()

TileBrush yaze::editor::ScratchPage::AsBrush ( ) const

Member Data Documentation

◆ id

uint64_t yaze::editor::ScratchPage::id = 1

◆ name

◆ width

◆ height

◆ in_use

◆ source_map

int yaze::editor::ScratchPage::source_map = -1

◆ tile_data

std::array<std::array<int, 32>, 32> yaze::editor::ScratchPage::tile_data {}

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