Classes | |
struct | glut::anim_channel_state_t |
An object can have many animations going at once. More... | |
class | glut::MaxAnimations |
class | glut::AnimationState |
Simple class of fixed size to maintain per-object animation state. More... | |
Typedefs | |
typedef stack_array < anim_channel_state_t, MaxAnimations > | glut::animation_list_t |
Functions | |
void | glut::anim_channel_state_t::clear (void) throw () |
void | glut::anim_channel_state_t::dump (IN const char *title) const throw () |
void | glut::AnimationState::serialize (OUT std::string &state) const |
serialize current state out to a string | |
bool | glut::AnimationState::deserialize (IN const char *state) |
update our internal state based on passed-in animation state string. | |
Variables | |
int16_t | glut::anim_channel_state_t::animIndex |
index of animation | |
word_t | glut::anim_channel_state_t::unused |
int32_t | glut::anim_channel_state_t::msElapsed |
milliseconds since animation started |
typedef stack_array<anim_channel_state_t, MaxAnimations> glut::animation_list_t |
Definition at line 83 of file animation-state.h.
void glut::anim_channel_state_t::clear | ( | void | ) | throw () [inline, inherited] |
Definition at line 56 of file animation-state.h.
void glut::anim_channel_state_t::dump | ( | IN const char * | title | ) | const throw () [inline, inherited] |
Definition at line 60 of file animation-state.h.
void glut::AnimationState::serialize | ( | OUT std::string & | state | ) | const [inherited] |
serialize current state out to a string
Definition at line 65 of file animation-state.cpp.
bool glut::AnimationState::deserialize | ( | IN const char * | state | ) | [inherited] |
update our internal state based on passed-in animation state string.
Returns false if deserialization fails (bad input string).
Definition at line 89 of file animation-state.cpp.
int16_t glut::anim_channel_state_t::animIndex [inherited] |
index of animation
Definition at line 66 of file animation-state.h.
word_t glut::anim_channel_state_t::unused [inherited] |
Definition at line 67 of file animation-state.h.
int32_t glut::anim_channel_state_t::msElapsed [inherited] |
milliseconds since animation started
Definition at line 68 of file animation-state.h.