|
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_palette (std::size_t palette_index, Palette< Rgba32, palette::max_size > palette) |
| const Palette< Rgba32, palette::max_size > & | palette_at (std::size_t palette_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, palette::max_size >, palette::num_palettes > & | palettes () 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 54 of file porymap_tileset_component.hpp.
|
inline |
Definition at line 99 of file porymap_tileset_component.hpp.
|
inline |
Definition at line 94 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 49 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 74 of file porymap_tileset_component.hpp.
|
inline |
Definition at line 64 of file porymap_tileset_component.hpp.
|
inline |
Definition at line 59 of file porymap_tileset_component.hpp.
|
inline |
Definition at line 69 of file porymap_tileset_component.hpp.
| const Palette< Rgba32, palette::max_size > & porytiles::PorymapTilesetComponent::palette_at | ( | std::size_t | palette_index | ) | const |
Definition at line 42 of file porymap_tileset_component.cpp.
|
inline |
Definition at line 89 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_palette | ( | std::size_t | palette_index, |
| Palette< Rgba32, palette::max_size > | palette | ||
| ) |
Definition at line 34 of file porymap_tileset_component.cpp.
|
inline |
Definition at line 79 of file porymap_tileset_component.hpp.
|
inline |
Definition at line 84 of file porymap_tileset_component.hpp.