|
Porytiles
|
A single pixel modification within a tile. More...
#include <anim_key_frame_mangler.hpp>
Public Attributes | |
| std::size_t | pixel_index {} |
| Which pixel in the tile (0-63, linear index) | |
| IndexPixel | original_pixel |
| The pixel value before mangling. | |
| IndexPixel | mangled_pixel |
| The pixel value after mangling. | |
A single pixel modification within a tile.
Records which pixel was changed and the before/after values. Multiple PixelMangleChange entries can exist per tile when multi-pixel mangling is required (e.g., for solid-color tiles where single-pixel swaps are insufficient).
Definition at line 28 of file anim_key_frame_mangler.hpp.
| IndexPixel porytiles::PixelMangleChange::mangled_pixel |
The pixel value after mangling.
Definition at line 31 of file anim_key_frame_mangler.hpp.
| IndexPixel porytiles::PixelMangleChange::original_pixel |
The pixel value before mangling.
Definition at line 30 of file anim_key_frame_mangler.hpp.
| std::size_t porytiles::PixelMangleChange::pixel_index {} |
Which pixel in the tile (0-63, linear index)
Definition at line 29 of file anim_key_frame_mangler.hpp.