|
Public Types |
| enum | {
anim_IDLE,
anim_WALK,
anim_WALKBACK,
anim_RUN,
anim_FALL,
anim_LAND,
anim_DIE,
anim_WALK_LEFT,
anim_WALK_RIGHT,
anim_WIN,
anim_LOSE,
anim_GET_BONUS,
anim_SPECIAL1,
anim_SPECIAL2,
anim_SPECIAL3,
anim_IDLE2,
anim_IDLE3,
anim_LOSE2
} |
Public Member Functions |
| void | animate (AnimationData *a) |
| void | blendToAnimation (int anim, float blendFrames) |
| virtual void | deserializeAnimState (BinaryInput &b) |
| void | endAnimation () |
| bool | finished () |
| const Box | getBoundingBox (AnimationData *=NULL) |
| void | getIndices (int *&indices, int &numTri) const |
| std::string | getName () const |
| void | getNormals (Array< Vector3 > *&normals) const |
| int | getNumberOfFrames (int animation) |
| virtual int | getNumTri () const |
| void | getScaledVertices (float *&verts, int &numVerts, Vector3 scale) |
| float | getSpeed () |
| void | getTexCoords (Array< Vector2 > *&texCoord) const |
| GImage * | getTexImage () const |
| void | getVertices (float *&verts, int &numVerts) const |
| void | init () |
| void | loop (int animation, float blendFrames) |
| void | pause () |
| void | play () |
| void | playOnce (int animation, float blendFrames) |
| void | prepareRendering (RenderDevice *rd) |
| void | releaseScaledVertices (Vector3 scale) |
| void | render (RenderDevice *rd) |
| virtual void | serializeAnimState (BinaryOutput &b) |
| void | setAnimation (int anim) |
| void | setLightMap1 (GImage *image, string entityname) |
| void | setLightMap2 (GImage *image, string entityname) |
| void | setName (std::string n) |
| void | setObjectToWorldMatrix (CoordinateFrame *_otw) |
| void | setSpeed (float speed) |
| void | update (float time) |
| | ~ADModelInstance () |
Public Attributes |
| bool | animChangedSinceSerialization |
| TextureRef | detailnormaltex |
| TextureRef | detailtex |
| TextureRef | normaltex |
| TextureRef | simpledetailtex |
| TextureRef | tex0 |
Protected Attributes |
| AnimationData * | animationData |
| ADBaseMesh * | baseMesh |
| TextureRef | lightMap |
| GImage * | lightMap1 |
| GImage * | lightMap2 |
| std::string | name |
Friends |
| class | ADBaseModel |