|
Porytiles
|
Result of matching a tile against animation keyframes. More...
#include <anim_tile_matcher.hpp>
Public Attributes | |
| std::string | anim_name |
| Name of the animation this keyframe belongs to. | |
| std::size_t | tile_index |
| Absolute tile index in tiles.png. | |
| std::size_t | keyframe_tile_idx |
| Index within the keyframe (0, 1, 2, ...) | |
| bool | h_flip |
| Horizontal flip required to match. | |
| bool | v_flip |
| Vertical flip required to match. | |
| bool | is_cross_tileset {false} |
| True if this match is against a primary animation (cross-tileset linking) | |
Result of matching a tile against animation keyframes.
Contains all the information needed to reference an animation keyframe tile in a metatile entry: the tile index in tiles.png, the flip bits to apply, and metadata about which animation the match came from.
Definition at line 21 of file anim_tile_matcher.hpp.
| std::string porytiles::AnimTileMatch::anim_name |
Name of the animation this keyframe belongs to.
Definition at line 22 of file anim_tile_matcher.hpp.
| bool porytiles::AnimTileMatch::h_flip |
Horizontal flip required to match.
Definition at line 25 of file anim_tile_matcher.hpp.
| bool porytiles::AnimTileMatch::is_cross_tileset {false} |
True if this match is against a primary animation (cross-tileset linking)
Definition at line 27 of file anim_tile_matcher.hpp.
| std::size_t porytiles::AnimTileMatch::keyframe_tile_idx |
Index within the keyframe (0, 1, 2, ...)
Definition at line 24 of file anim_tile_matcher.hpp.
| std::size_t porytiles::AnimTileMatch::tile_index |
Absolute tile index in tiles.png.
Definition at line 23 of file anim_tile_matcher.hpp.
| bool porytiles::AnimTileMatch::v_flip |
Vertical flip required to match.
Definition at line 26 of file anim_tile_matcher.hpp.