0ad/source/graphics/MaterialManager.h
janwas b755ddefda remove all author/modified by tags.
make include guards consistent.

This was SVN commit r5040.
2007-05-07 16:33:24 +00:00

22 lines
421 B
C++

#ifndef INCLUDED_MATERIALMANAGER
#define INCLUDED_MATERIALMANAGER
#include <map>
#include "ps/Singleton.h"
#include "Material.h"
#define g_MaterialManager CMaterialManager::GetSingleton()
class CMaterialManager : public Singleton<CMaterialManager>
{
public:
CMaterialManager();
~CMaterialManager();
CMaterial &LoadMaterial(const char *file);
private:
std::map<std::string, CMaterial *> m_Materials;
};
#endif