#include <tileanimation.h>
◆ deSerialize()
void TileAnimationParams::deSerialize |
( |
std::istream & |
is, |
|
|
u8 |
tiledef_version |
|
) |
| |
◆ determineParams()
void TileAnimationParams::determineParams |
( |
v2u32 |
texture_size, |
|
|
int * |
frame_count, |
|
|
int * |
frame_length_ms, |
|
|
v2u32 * |
frame_size |
|
) |
| const |
◆ getTextureCoords()
v2f TileAnimationParams::getTextureCoords |
( |
v2u32 |
texture_size, |
|
|
int |
frame |
|
) |
| const |
◆ getTextureModifer()
void TileAnimationParams::getTextureModifer |
( |
std::ostream & |
os, |
|
|
v2u32 |
texture_size, |
|
|
int |
frame |
|
) |
| const |
◆ serialize()
void TileAnimationParams::serialize |
( |
std::ostream & |
os, |
|
|
u8 |
tiledef_version |
|
) |
| const |
◆ aspect_h
int TileAnimationParams::aspect_h |
◆ aspect_w
int TileAnimationParams::aspect_w |
◆ frame_length
float TileAnimationParams::frame_length |
◆ frames_h
int TileAnimationParams::frames_h |
◆ frames_w
int TileAnimationParams::frames_w |
◆ length
float TileAnimationParams::length |
struct { ... } TileAnimationParams::sheet_2d |
◆ type
Referenced by CommonParticleParams::CommonParticleParams(), TileDef::TileDef(), deSerialize(), determineParams(), fillTileAttribs(), getTextureCoords(), getTextureModifer(), read_json_value(), serialize(), Particle::step(), and Particle::updateVertices().
struct { ... } TileAnimationParams::vertical_frames |
The documentation for this struct was generated from the following files: