#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 {} |
Definition at line 19 of file scratch_workspace.h.
| 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.
| TileBrush yaze::editor::ScratchPage::AsBrush | ( | ) | const |
Definition at line 121 of file scratch_workspace.cc.
References yaze::editor::TileBrush::height, height, tile_data, yaze::editor::TileBrush::tile_ids, yaze::editor::TileBrush::width, and width.
| uint64_t yaze::editor::ScratchPage::id = 1 |
Definition at line 20 of file scratch_workspace.h.
Referenced by yaze::editor::ScratchWorkspace::AddPage(), operator==(), and yaze::editor::anonymous_namespace{scratch_workspace.cc}::ParsePage().
| std::string yaze::editor::ScratchPage::name = "Scratch Space" |
Definition at line 21 of file scratch_workspace.h.
Referenced by yaze::editor::ScratchWorkspace::AddPage(), operator==(), yaze::editor::anonymous_namespace{scratch_workspace.cc}::ParsePage(), and yaze::editor::ScratchWorkspace::Rename().
| int yaze::editor::ScratchPage::width = 16 |
Definition at line 22 of file scratch_workspace.h.
Referenced by AsBrush(), operator==(), yaze::editor::anonymous_namespace{scratch_workspace.cc}::ParsePage(), yaze::editor::OverworldEditor::RebuildScratchBitmapFromTileData(), yaze::editor::ScratchWorkspace::Resize(), and yaze::editor::anonymous_namespace{scratch_space.cc}::ScratchPreviewRevision().
| int yaze::editor::ScratchPage::height = 16 |
Definition at line 23 of file scratch_workspace.h.
Referenced by AsBrush(), operator==(), yaze::editor::anonymous_namespace{scratch_workspace.cc}::ParsePage(), yaze::editor::ScratchWorkspace::Resize(), and yaze::editor::anonymous_namespace{scratch_space.cc}::ScratchPreviewRevision().
| bool yaze::editor::ScratchPage::in_use = false |
Definition at line 24 of file scratch_workspace.h.
Referenced by operator==(), yaze::editor::anonymous_namespace{scratch_workspace.cc}::ParsePage(), and yaze::editor::anonymous_namespace{scratch_space.cc}::ScratchPreviewRevision().
| int yaze::editor::ScratchPage::source_map = -1 |
Definition at line 25 of file scratch_workspace.h.
Referenced by operator==(), and yaze::editor::anonymous_namespace{scratch_workspace.cc}::ParsePage().
| std::array<std::array<int, 32>, 32> yaze::editor::ScratchPage::tile_data {} |
Definition at line 26 of file scratch_workspace.h.
Referenced by AsBrush(), operator==(), yaze::editor::anonymous_namespace{scratch_workspace.cc}::ParsePage(), and yaze::editor::anonymous_namespace{scratch_space.cc}::ScratchPreviewRevision().