61 cased_name_ = std::move(value);
80 frame_factor_ = value;
99 frame_offset_ = value;
115 [[nodiscard]]
const std::vector<DynamicCasedName> &
frame_names()
const
122 frame_names_ = std::move(value);
138 [[nodiscard]]
const std::vector<DynamicCasedName> &
frame_order()
const
145 frame_order_ = std::move(value);
164 tile_offset_ = value;
203 width_tiles_ = value;
218 return height_tiles_;
223 height_tiles_ = value;
242 counter_max_ = value;
254 [[nodiscard]]
const std::vector<AnimOverrideEntry> &
overrides()
const
261 overrides_ = std::move(value);
268 std::vector<DynamicCasedName> frame_names_{DynamicCasedName{
"0"}};
269 std::vector<DynamicCasedName> frame_order_{DynamicCasedName{
"0"}};
270 std::size_t tile_offset_{0};
271 std::size_t tile_count_{0};
272 std::size_t width_tiles_{0};
273 std::size_t height_tiles_{0};
275 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 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_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