|
Porytiles
|
#include <porymap_tileset_component.hpp>
Public Member Functions | |
| PorymapTilesetComponent () | |
| void | push_back_tilemap_entry (TilemapEntry entry) |
| Add a TilemapEntry to the end of the entry vector. | |
| void | push_back_attribute (MetatileAttribute attribute) |
| Add a MetatileAttribute to the end of the attribute vector. | |
| void | set_pal (std::size_t pal_index, Palette< Rgba32, pal::max_size > pal) |
| const Palette< Rgba32, pal::max_size > & | pal_at (std::size_t pal_index) const |
| bool | is_empty () const |
| ChainableResult< LayerMode > | detect_layer_mode () const |
| void | add_anim (Animation< IndexPixel > anim) |
| bool | has_anim (const std::string &name) const |
| const Animation< IndexPixel > & | anim_for_name (const std::string &name) const |
| const std::vector< TilemapEntry > & | metatiles_bin () const |
| std::vector< TilemapEntry > & | metatiles_bin () |
| void | metatiles_bin (const std::vector< TilemapEntry > &new_entries) |
| const std::vector< MetatileAttribute > & | metatile_attributes_bin () const |
| const Image< IndexPixel > & | tiles_png () const |
| void | tiles_png (const Image< IndexPixel > &tiles_png) |
| const std::array< Palette< Rgba32, pal::max_size >, pal::num_pals > & | pals () const |
| const std::map< std::string, Animation< IndexPixel > > & | anims () const |
| std::map< std::string, Animation< IndexPixel > > & | anims () |
Definition at line 19 of file porymap_tileset_component.hpp.
| porytiles::PorymapTilesetComponent::PorymapTilesetComponent | ( | ) |
Definition at line 18 of file porymap_tileset_component.cpp.
| void porytiles::PorymapTilesetComponent::add_anim | ( | Animation< IndexPixel > | anim | ) |
Definition at line 85 of file porymap_tileset_component.cpp.
|
inline |
Definition at line 58 of file porymap_tileset_component.hpp.
|
inline |
Definition at line 103 of file porymap_tileset_component.hpp.
|
inline |
Definition at line 98 of file porymap_tileset_component.hpp.
| ChainableResult< LayerMode > porytiles::PorymapTilesetComponent::detect_layer_mode | ( | ) | const |
Definition at line 55 of file porymap_tileset_component.cpp.
|
inline |
Definition at line 53 of file porymap_tileset_component.hpp.
| bool porytiles::PorymapTilesetComponent::is_empty | ( | ) | const |
Definition at line 50 of file porymap_tileset_component.cpp.
|
inline |
Definition at line 78 of file porymap_tileset_component.hpp.
|
inline |
Definition at line 68 of file porymap_tileset_component.hpp.
|
inline |
Definition at line 63 of file porymap_tileset_component.hpp.
|
inline |
Definition at line 73 of file porymap_tileset_component.hpp.
| const Palette< Rgba32, pal::max_size > & porytiles::PorymapTilesetComponent::pal_at | ( | std::size_t | pal_index | ) | const |
Definition at line 42 of file porymap_tileset_component.cpp.
|
inline |
Definition at line 93 of file porymap_tileset_component.hpp.
| void porytiles::PorymapTilesetComponent::push_back_attribute | ( | MetatileAttribute | attribute | ) |
Add a MetatileAttribute to the end of the attribute vector.
Moves the provided MetatileAttribute into the attribute vector.
| attribute | The MetatileAttribute to move into the vector. |
Definition at line 29 of file porymap_tileset_component.cpp.
| void porytiles::PorymapTilesetComponent::push_back_tilemap_entry | ( | TilemapEntry | entry | ) |
Add a TilemapEntry to the end of the entry vector.
Moves the provided TilemapEntry into the entry vector.
| entry | The TilemapEntry to move into the vector. |
Definition at line 23 of file porymap_tileset_component.cpp.
| void porytiles::PorymapTilesetComponent::set_pal | ( | std::size_t | pal_index, |
| Palette< Rgba32, pal::max_size > | pal | ||
| ) |
Definition at line 34 of file porymap_tileset_component.cpp.
|
inline |
Definition at line 83 of file porymap_tileset_component.hpp.
|
inline |
Definition at line 88 of file porymap_tileset_component.hpp.