1
1
forked from 0ad/0ad
0ad/source/graphics/MeshManager.h
Ykkrosh ec69bccb2c # Tidied up some code.
- Made some classes not be singletons, since there's no reason why they
should be.
 - Made them non-global too (because globals have unclear lifetimes, and
make it harder to test things, etc). They're now owned by CGameView and
CWorld, and mostly accessed via g_Game or arguments (vaguely trying to
avoid the graphics code calling into the game code).
 - Moved CGameView implementation into pimpl, so the header file isn't
so heavy.
 - Changed a few pointers into references, to indicate that they're
never NULL.

This was SVN commit r4756.
2007-01-08 01:56:46 +00:00

26 lines
352 B
C++

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