ScummVM API documentation
Grim::EMIModel Class Reference
Inheritance diagram for Grim::EMIModel:
Grim::Object

Public Types

enum  TextureFlags { BlendAdditive = 0x400 }
 

Public Member Functions

 EMIModel (const Common::String &filename, Common::SeekableReadStream *data, EMICostume *costume)
 
void setTex (uint32 index)
 
void setSkeleton (Skeleton *skel)
 
void loadMesh (Common::SeekableReadStream *data)
 
void prepareForRender ()
 
void prepareTextures ()
 
void draw ()
 
void updateLighting (const Math::Matrix4 &modelToWorld)
 
void getBoundingBox (int *x1, int *y1, int *x2, int *y2) const
 
Math::AABB calculateWorldBounds (const Math::Matrix4 &matrix) const
 
- Public Member Functions inherited from Grim::Object
void reset ()
 
void reference ()
 
void dereference ()
 
int32 getId () const
 

Public Attributes

Common::String _meshName
 
Actor::AlphaMode _meshAlphaMode
 
float _meshAlpha
 
int _numVertices
 
Math::Vector3d * _vertices
 
Math::Vector3d * _drawVertices
 
Math::Vector3d * _normals
 
Math::Vector3d * _drawNormals
 
Math::Vector3d * _lighting
 
EMIColormap_colorMap
 
Math::Vector2d * _texVerts
 
uint32 _numFaces
 
EMIMeshFace_faces
 
uint32 _numTextures
 
Common::String_texNames
 
uint32 * _texFlags
 
Material ** _mats
 
Skeleton_skeleton
 
int _numBones
 
int _numBoneInfos
 
BoneInfo * _boneInfos
 
Common::String_boneNames
 
int * _vertexBoneInfo
 
float _radius
 
Math::Vector3d * _center
 
Math::Vector3d * _boxData
 
Math::Vector3d * _boxData2
 
int _numTexSets
 
int _setType
 
Common::String _fname
 
EMICostume_costume
 
void * _userData
 
bool _lightingDirty
 

The documentation for this class was generated from the following file: