#include <Anim.hpp>
Public Types | |
typedef short | MovementMode |
Public Member Functions | |
Anim () | |
void | setAnim (const Anim &original) |
void | setMovementMode (short mode) |
Set the movement mode. | |
void | setMovementMode (long when, short mode) |
Set the movement mode. | |
short | movementMode () const |
Get the present movement mode. | |
long | movementWhen (long when) const |
Get long this movement mode has been active. | |
void | setSpeed (scale_t s) |
scale_t | speed () const |
void | setWeight (scale_t w) |
scale_t | weight () const |
void | setStartPos (float p) |
void | addStartPos (float p) |
scale_t | startPos () const |
scale_t | pos () const |
void | resetPos () |
void | addPos (scale_t s) |
void | updatePos () |
Static Public Member Functions | |
void | setMovementModeCount (int c) |
Static Public Attributes | |
int | MOVEMENT_MODE_COUNT = 12 |
|
|
|
|
|
|
|
|
|
Get the present movement mode.
Definition at line 59 of file Anim.cpp. Referenced by se_ogre::ThingEntity::animate(), se_basic::SimpleAreaThingEncoder::encode(), and se_ogre::ThingEntity::setAnimation(). |
|
Get long this movement mode has been active. Used to check how far into an animation we are Use modulus () to for repeating animations.
|
|
Definition at line 94 of file Anim.hpp. References scale_t. Referenced by se_ogre::ThingEntity::animate(), and se_basic::SimpleAreaThingEncoder::encode(). |
|
|
|
Definition at line 40 of file Anim.cpp. Referenced by se_core::DefaultTC::_pop(), and se_core::CoDefault::_pop(). |
|
Set the movement mode. The movement mode is used by the graphics engine to choose wich animation to choose for an in game thing. This is the full version, setting both the time when the movement started and the mode itself.
|
|
Set the movement mode. The movement mode is used by the graphics engine to choose wich animation to choose for an in game thing. This simplified version has no when parameter, and should only be used for animations that does not should continue using the started when of the previous movement mode, or of the time when the movement started has no significance.
|
|
|
|
|
|
|
|
Definition at line 80 of file Anim.hpp. Referenced by se_ogre::ThingEntity::animate(), and se_core::PhDefault::blendAnims(). |
|
Definition at line 78 of file Anim.hpp. References scale_t. Referenced by se_basic::SimpleAreaThingEncoder::encode(). |
|
Definition at line 89 of file Anim.hpp. References scale_t. Referenced by se_basic::SimpleAreaThingEncoder::encode(). |
|
Definition at line 97 of file Anim.hpp. Referenced by se_core::PhDefault::blendAnims(). |
|
Definition at line 81 of file Anim.hpp. References scale_t. Referenced by se_ogre::ThingEntity::animate(), se_core::PhDefault::blendAnims(), and se_basic::SimpleAreaThingEncoder::encode(). |
|
|
Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:27 2007 by Doxygen version 1.3.9.1.