Files
itgmania212121/stepmania/src/ModelManager.h
T
Chris Danford 4106625ad3 split Model into ModelGeometry and materials+animations
single-instance Model geometry
2004-02-08 09:04:23 +00:00

36 lines
767 B
C++

#ifndef ModelManager_H
#define ModelManager_H
/*
-----------------------------------------------------------------------------
Class: ModelManager
Desc: Interface for loading and releasing textures.
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
-----------------------------------------------------------------------------
*/
#include "Model.h"
#include <map>
class ModelManager
{
public:
ModelManager();
~ModelManager();
RageModelGeometry* LoadMilkshapeAscii( CString sFile );
void UnloadModel( RageModelGeometry *m );
// void ReloadAll();
protected:
std::map<CString, RageModelGeometry*> m_mapFileToModel;
};
extern ModelManager* MODELMAN; // global and accessable from anywhere in our program
#endif