53 void serialize(std::ostream &os, u8 tiledef_version)
const;
54 void deSerialize(std::istream &is, u8 tiledef_version);
56 v2u32 *frame_size)
const;
core::vector2d< f32 > v2f
Definition: irr_v2d.h:26
core::vector2d< u32 > v2u32
Definition: irr_v2d.h:29
Definition: tileanimation.h:33
enum TileAnimationType type
Definition: tileanimation.h:34
int aspect_h
Definition: tileanimation.h:42
int frames_h
Definition: tileanimation.h:48
void deSerialize(std::istream &is, u8 tiledef_version)
Definition: tileanimation.cpp:36
v2f getTextureCoords(v2u32 texture_size, int frame) const
Definition: tileanimation.cpp:93
void serialize(std::ostream &os, u8 tiledef_version) const
Definition: tileanimation.cpp:22
void getTextureModifer(std::ostream &os, v2u32 texture_size, int frame) const
Definition: tileanimation.cpp:76
float length
Definition: tileanimation.h:43
float frame_length
Definition: tileanimation.h:49
struct TileAnimationParams::@20::@23 sheet_2d
int frames_w
Definition: tileanimation.h:47
struct TileAnimationParams::@20::@22 vertical_frames
int aspect_w
Definition: tileanimation.h:41
void determineParams(v2u32 texture_size, int *frame_count, int *frame_length_ms, v2u32 *frame_size) const
Definition: tileanimation.cpp:51
TileAnimationType
Definition: tileanimation.h:26
@ TAT_NONE
Definition: tileanimation.h:27
@ TAT_SHEET_2D
Definition: tileanimation.h:29
@ TAT_VERTICAL_FRAMES
Definition: tileanimation.h:28