1
0
forked from 0ad/0ad
0ad/source/graphics/MeshManager.h
Ykkrosh f6de818ea8 # Added support for automatically loading 3d models in the COLLADA format.
* CMeshManager: Changed to check for .pmd and .dae files and convert
and cache as appropriate.
 * CModelDef: Fixed misinterpreted doc comments in.
 * lib:
   * Fixed init/shutdown sequences to support multiple VFS-using tests
correctly.
   * Fixed most reported memory leaks from the new leak-reporting test
system.
   * Fixed error when trying to dump debug data about fonts after
unloading them.
 * Added sphere dae/pmd data for tests.
 * Added output buffering to DAE->PMD converter.
 * Added precompiled COLLADA converter DLLs.
 * Removed old redundant conversion script.

This was SVN commit r4709.
2006-12-20 03:22:24 +00:00

30 lines
464 B
C++

#ifndef __H_MESHMANAGER_H__
#define __H_MESHMANAGER_H__
#include "ps/Singleton.h"
#include <boost/shared_ptr.hpp>
class CModelDef;
typedef boost::shared_ptr<CModelDef> CModelDefPtr;
class CStr8;
#define g_MeshManager CMeshManager::GetSingleton()
class CMeshManagerImpl;
class CMeshManager : public Singleton<CMeshManager>
{
public:
CMeshManager();
~CMeshManager();
CModelDefPtr GetMesh(const CStr8& filename);
private:
CMeshManagerImpl* m;
};
#endif