7 #ifndef CAFU_CMDL_MODEL_LOADER_HPP_INCLUDED
8 #define CAFU_CMDL_MODEL_LOADER_HPP_INCLUDED
24 LoaderCafuT(
const std::string& FileName,
int Flags=NONE);
33 bool Load(
unsigned int Level,
CafuModelT*& DlodModel,
float& DlodDist) {
return false; }
38 static int SetVersion(lua_State* LuaState);
40 lua_State* m_LuaState;
41 unsigned int m_Version;
This class represents a native Cafu model.
Definition: Model_cmdl.hpp:45
bool Load(unsigned int Level, CafuModelT *&DlodModel, float &DlodDist)
Loads the dlod-model and dlod-distance at the given level.
Definition: Loader_cmdl.hpp:33
This class loads a native Cafu (.cmdl) model file into a new Cafu model.
Definition: Loader_cmdl.hpp:17
The base class for importing arbitrary model files into Cafu models.
Definition: Loader.hpp:15
This class implements the MaterialManagerI interface.
Definition: MaterialManagerImpl.hpp:23
LoaderCafuT(const std::string &FileName, int Flags=NONE)
The constructor for loading a native Cafu (.cmdl) model file into a new Cafu model.
Definition: Loader_cmdl.cpp:19
~LoaderCafuT()
The destructor.
Definition: Loader_cmdl.cpp:66
void Load(ArrayT< CafuModelT::JointT > &Joints, ArrayT< CafuModelT::MeshT > &Meshes, ArrayT< CafuModelT::AnimT > &Anims, MaterialManagerImplT &MaterialMan)
Actually loads the file data into the appropriate parts of the Cafu model.
Definition: Loader_cmdl.cpp:96