arsa  2.7
IAnimatedMeshMD2.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
4 
5 #ifndef __I_ANIMATED_MESH_MD2_H_INCLUDED__
6 #define __I_ANIMATED_MESH_MD2_H_INCLUDED__
7 
8 #include "IAnimatedMesh.h"
9 
10 namespace irr
11 {
12 namespace scene
13 {
14 
17  {
39 
42  };
43 
46  {
47  public:
48 
50 
55  virtual void getFrameLoop(EMD2_ANIMATION_TYPE l, s32& outBegin,
56  s32& outEnd, s32& outFPS) const = 0;
57 
59 
64  virtual bool getFrameLoop(const c8* name,
65  s32& outBegin, s32& outEnd, s32& outFPS) const = 0;
66 
68  virtual s32 getAnimationCount() const = 0;
69 
71 
72  virtual const c8* getAnimationName(s32 nr) const = 0;
73  };
74 
75 } // end namespace scene
76 } // end namespace irr
77 
78 #endif
79 
Not an animation, but amount of animation types.
char c8
8 bit character variable.
Definition: irrTypes.h:35
virtual const c8 * getAnimationName(s32 nr) const =0
Get name of md2 animation.
GLuint const GLchar * name
Everything in the Irrlicht Engine can be found in this namespace.
Definition: CARSADPad.h:6
Interface for using some special functions of MD2 meshes.
EMD2_ANIMATION_TYPE
Types of standard md2 animations.
signed int s32
32 bit signed variable.
Definition: irrTypes.h:70
virtual void getFrameLoop(EMD2_ANIMATION_TYPE l, s32 &outBegin, s32 &outEnd, s32 &outFPS) const =0
Get frame loop data for a default MD2 animation type.
virtual s32 getAnimationCount() const =0
Get amount of md2 animations in this file.
Interface for an animated mesh.
Definition: IAnimatedMesh.h:20