57 cased_name_ = std::move(value);
73 return frame_array_identifier_;
78 frame_array_identifier_ = std::move(value);
95 frame_factor_ = value;
107 return frame_offset_;
112 frame_offset_ = value;
126 [[nodiscard]]
const std::vector<DynamicCasedName> &
frame_names()
const
133 frame_names_ = std::move(value);
147 [[nodiscard]]
const std::vector<DynamicCasedName> &
frame_order()
const
154 frame_order_ = std::move(value);
171 tile_offset_ = value;
206 width_tiles_ = value;
219 return height_tiles_;
224 height_tiles_ = value;
241 counter_max_ = value;
251 [[nodiscard]]
const std::vector<AnimOverrideEntry> &
overrides()
const
258 overrides_ = std::move(value);
263 std::string frame_array_identifier_;
266 std::vector<DynamicCasedName> frame_names_{DynamicCasedName{
"0"}};
267 std::vector<DynamicCasedName> frame_order_{DynamicCasedName{
"0"}};
268 std::size_t tile_offset_{0};
269 std::size_t tile_count_{0};
270 std::size_t width_tiles_{0};
271 std::size_t height_tiles_{0};
273 std::vector<AnimOverrideEntry> overrides_;
Configuration parameters for a single tileset animation.
void height_tiles(std::size_t value)
void width_tiles(std::size_t value)
const std::string & frame_array_identifier() const
Returns the C identifier of the frame pointer array backing this animation.
const DynamicCasedName & cased_name() const
Returns the structured name for this animation, preserving case format information.
const std::vector< AnimOverrideEntry > & overrides() const
Returns the manual override entries for this animation.
void frame_factor(std::size_t value)
const std::vector< DynamicCasedName > & frame_order() const
Returns the playback sequence.
std::size_t frame_offset() const
Returns the frame offset (remainder value for timer modulo check).
void cased_name(DynamicCasedName value)
std::size_t height_tiles() const
Returns the height of animation frames in tiles.
void frame_array_identifier(std::string value)
void frame_offset(std::size_t value)
std::size_t width_tiles() const
Returns the width of animation frames in tiles.
void tile_offset(std::size_t value)
void frame_names(std::vector< DynamicCasedName > value)
void frame_order(std::vector< DynamicCasedName > value)
void tile_count(std::size_t value)
std::size_t tile_offset() const
Returns the VRAM tile offset for this animation.
const std::vector< DynamicCasedName > & frame_names() const
Returns the unique frame definitions.
std::size_t frame_factor() const
Returns the frame factor (modulus divisor for timer).
std::size_t counter_max() const
Returns the animation counter maximum value.
void overrides(std::vector< AnimOverrideEntry > value)
void counter_max(std::size_t value)
std::size_t tile_count() const
Returns the number of tiles per animation frame.
A smart string wrapper that preserves word structure for lossless case format conversion.
constexpr std::size_t default_counter_max
constexpr std::size_t default_frame_offset
constexpr std::size_t default_frame_factor