Fixed compilation times by refactoring: WResourceManager.h gets included either directly or indirectly into every header & cpp file; so does its includes & implementation details. Broke out WResourceManager into a pure virtual class that contains only the required calls, and added a WResourceManagerImpl header that contains all the dirty details that the rest of the app doesn't care about / need to know.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <JFileSystem.h>
|
||||
#include "GameOptions.h"
|
||||
#include "WResourceManager.h"
|
||||
#include "WCachedResource.h"
|
||||
#include <hge/hgeparticle.h>
|
||||
|
||||
#ifdef WITH_FMOD
|
||||
|
||||
Reference in New Issue
Block a user