|
Porytiles
|
Represents resolved filesystem paths for tileset artifacts from INCBIN declarations. More...
#include <project_tileset_artifact_paths.hpp>
Public Member Functions | |
| ProjectTilesetArtifactPaths (std::filesystem::path tiles_path, std::vector< std::filesystem::path > palette_paths, std::filesystem::path metatiles_path, std::filesystem::path metatile_attributes_path) | |
| Constructs TilesetArtifactPaths from resolved INCBIN paths. | |
| const std::filesystem::path & | tiles_path () const |
| Returns the path to the tiles file. | |
| const std::vector< std::filesystem::path > & | palette_paths () const |
| Returns all palette file paths. | |
| const std::filesystem::path & | metatiles_path () const |
| Returns the path to the metatiles file. | |
| const std::filesystem::path & | metatile_attributes_path () const |
| Returns the path to the metatile attributes file. | |
Represents resolved filesystem paths for tileset artifacts from INCBIN declarations.
TilesetArtifactPaths holds the actual file paths extracted from INCBIN macro declarations in pokeemerald's graphics.h and metatiles.h files (and a few other assorted files):
This domain model provides direct access to individual artifact paths.
Definition at line 34 of file project_tileset_artifact_paths.hpp.
|
inline |
Constructs TilesetArtifactPaths from resolved INCBIN paths.
| tiles_path | Path to tiles file (e.g., "data/tilesets/primary/general/tiles.4bpp") |
| palette_paths | Paths to palette files (e.g., [.../palettes/00.gbapal, ...]) |
| metatiles_path | Path to metatiles file (e.g., "data/tilesets/primary/general/metatiles.bin") |
| metatile_attributes_path | Path to attributes file (e.g., ".../metatile_attributes.bin") |
Definition at line 44 of file project_tileset_artifact_paths.hpp.
|
inline |
Returns the path to the metatile attributes file.
Definition at line 89 of file project_tileset_artifact_paths.hpp.
|
inline |
Returns the path to the metatiles file.
Definition at line 79 of file project_tileset_artifact_paths.hpp.
|
inline |
Returns all palette file paths.
Definition at line 69 of file project_tileset_artifact_paths.hpp.
|
inline |
Returns the path to the tiles file.
Definition at line 59 of file project_tileset_artifact_paths.hpp.