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:
@@ -3,6 +3,7 @@
|
||||
#include "WFont.h"
|
||||
#include "WResourceManager.h"
|
||||
#include "JFileSystem.h"
|
||||
#include "GameApp.h"
|
||||
|
||||
#define ISGBK(c) ((c) > 0x80 || (c) < 0x30 || (c) == '-' || (c) == '/')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user