split Model into ModelGeometry and materials+animations
single-instance Model geometry
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
#include "RageFileManager.h"
|
||||
#include "Bookkeeper.h"
|
||||
#include "LightsManager.h"
|
||||
#include "ModelManager.h"
|
||||
|
||||
|
||||
#if defined(_XBOX)
|
||||
@@ -951,6 +952,7 @@ int main(int argc, char* argv[])
|
||||
MEMCARDMAN = new MemoryCardManager;
|
||||
PROFILEMAN = new ProfileManager; // must load after SONGMAN
|
||||
UNLOCKSYS = new UnlockSystem;
|
||||
MODELMAN = new ModelManager;
|
||||
delete loading_window; // destroy this before init'ing Display
|
||||
|
||||
DISPLAY = CreateDisplay();
|
||||
@@ -1027,6 +1029,7 @@ int main(int argc, char* argv[])
|
||||
SAFE_DELETE( INPUTMAPPER );
|
||||
SAFE_DELETE( INPUTFILTER );
|
||||
SAFE_DELETE( UNLOCKSYS );
|
||||
SAFE_DELETE( MODELMAN );
|
||||
SAFE_DELETE( PROFILEMAN ); // PROFILEMAN needs the songs still loaded
|
||||
SAFE_DELETE( MEMCARDMAN );
|
||||
SAFE_DELETE( SONGMAN );
|
||||
|
||||
Reference in New Issue
Block a user