|
Porytiles
|
Represents parsed metadata for a single layout from layouts.json. More...
#include <project_layout_metadata.hpp>
Public Member Functions | |
| ProjectLayoutMetadata (std::string id, std::string name, std::size_t width, std::size_t height, std::string primary_tileset, std::string secondary_tileset, std::filesystem::path border_filepath, std::filesystem::path blockdata_filepath) | |
| Constructs a ProjectLayoutMetadata from parsed layout fields. | |
| const std::string & | id () const |
| const std::string & | name () const |
| std::size_t | width () const |
| std::size_t | height () const |
| const std::string & | primary_tileset () const |
| const std::string & | secondary_tileset () const |
| const std::filesystem::path & | border_filepath () const |
| const std::filesystem::path & | blockdata_filepath () const |
Represents parsed metadata for a single layout from layouts.json.
ProjectLayoutMetadata captures the key fields from a pokeemerald layout definition:
Definition at line 33 of file project_layout_metadata.hpp.
|
inline |
Constructs a ProjectLayoutMetadata from parsed layout fields.
| id | The layout ID (e.g., "LAYOUT_PETALBURG_CITY") |
| name | The layout name (e.g., "PetalburgCity_Layout") |
| width | The layout width in metatiles |
| height | The layout height in metatiles |
| primary_tileset | The primary tileset name (e.g., "gTileset_General") |
| secondary_tileset | The secondary tileset name (e.g., "gTileset_Petalburg") |
| border_filepath | Relative path to the border file |
| blockdata_filepath | Relative path to the blockdata file |
Definition at line 47 of file project_layout_metadata.hpp.
|
inline |
Definition at line 97 of file project_layout_metadata.hpp.
|
inline |
Definition at line 92 of file project_layout_metadata.hpp.
|
inline |
Definition at line 77 of file project_layout_metadata.hpp.
|
inline |
Definition at line 62 of file project_layout_metadata.hpp.
|
inline |
Definition at line 67 of file project_layout_metadata.hpp.
|
inline |
Definition at line 82 of file project_layout_metadata.hpp.
|
inline |
Definition at line 87 of file project_layout_metadata.hpp.
|
inline |
Definition at line 72 of file project_layout_metadata.hpp.