|
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
} |
| typedef unsigned char | Passes |
| | represents the needed passes, pass 0 represented by the lsb
|
Public Member Functions |
| virtual void | animate (AnimationData *a) |
| virtual void | cull (G3D::Array< G3D::Plane > &) |
| bool | culledBy (Array< Plane > &plane) |
| virtual void | deserializeAnimState (BinaryInput &b)=0 |
| virtual bool | finished ()=0 |
| virtual const Box | getBoundingBox (AnimationData *=NULL)=0 |
| virtual const Box & | getBoundingBox () |
| virtual const Sphere & | getBoundingSphere () |
| virtual const MeshAlg::Geometry & | getGeometry () |
| virtual void | getIndices (int *&indices, int &numTri) const =0 |
| std::string | getName () const |
| virtual void | getNormals (Array< Vector3 > *&normals) const |
| virtual int | getNumberOfFrames (int animation)=0 |
| virtual int | getNumTri () const =0 |
| Passes | getPasses () const |
| const RenderProperties * | getProperties (const int &pass) const |
| RenderProperties * | getProperties (const int &pass) |
| virtual void | getScaledVertices (float *&verts, int &numVerts, Vector3 scale)=0 |
| virtual void | getTexCoords (Array< Vector2 > *&texCoord) const =0 |
| virtual GImage * | getTexImage () const =0 |
| virtual const Array< int > & | getTriangleIndices () const |
| virtual void | getVertices (float *&verts, int &numVerts) const =0 |
| virtual void | init ()=0 |
| bool | isCulled () |
| virtual void | loop (int animation, float blendFrames)=0 |
| virtual void | pause ()=0 |
| virtual void | play ()=0 |
| virtual void | playOnce (int animation, float blendFrames)=0 |
| virtual void | releaseScaledVertices (Vector3 scale)=0 |
| virtual void | render (G3D::RenderDevice *) |
| void | render (RenderDevice *rd) |
| virtual void | serializeAnimState (BinaryOutput &b)=0 |
| virtual void | setLightMap1 (GImage *lm, string entityname) |
| virtual void | setLightMap2 (GImage *lm, string entityname) |
| void | setName (std::string n) |
| void | setProperties (RenderProperties *prop, const int &pass) |
| virtual void | setSpeed (float speed)=0 |
| virtual void | update (float time)=0 |
Static Public Member Functions |
| static TestRenderModelRef | create (ADBaseModelRef base) |
Public Attributes |
| bool | animChangedSinceSerialization |
Static Public Attributes |
| static const char | MAX_PASSES |
Protected Member Functions |
| | ADModel (ADBaseModelRef base) baseModel(base) |
Protected Attributes |
| AnimationData * | animationData |
| ADBaseModelRef | baseModel |
| bool | culled |
| std::string | name |
| Passes | passes |
| G3D::Array< RenderProperties * > | renderProperties |