Porytiles
Loading...
Searching...
No Matches
porymap_artifact_parsers.cpp File Reference
#include "porytiles/infra/algorithms/porymap_artifact_parsers.hpp"
#include <format>
#include <fstream>
#include <iterator>
Include dependency graph for porymap_artifact_parsers.cpp:

Go to the source code of this file.

Namespaces

namespace  porytiles
 

Functions

ChainableResult< std::vector< TilemapEntry > > porytiles::parse_metatiles_bin (const std::filesystem::path &path)
 Parses a metatiles.bin file into TilemapEntry objects.
 
ChainableResult< std::vector< MetatileAttribute > > porytiles::parse_emerald_metatile_attributes (const std::filesystem::path &path)
 Parses a metatile_attributes.bin file for Emerald format.
 
ChainableResult< std::vector< MetatileAttribute > > porytiles::parse_firered_metatile_attributes (const std::filesystem::path &path)
 Parses a metatile_attributes.bin file for FireRed format.
 
ChainableResult< std::unique_ptr< Image< IndexPixel > > > porytiles::load_indexed_png (const std::filesystem::path &path, const PngIndexedImageLoader &loader)
 Loads an indexed PNG file (e.g., tiles.png).
 
ChainableResult< Palette< Rgba32, pal::max_size > > porytiles::load_porymap_palette (const std::filesystem::path &path, const FilePalLoader &loader)
 Loads a Porymap palette file (e.g., 00.pal).