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:
@@ -982,6 +982,10 @@
|
||||
RelativePath=".\include\AllAbilities.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\include\CacheEngine.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\include\CardDescriptor.h"
|
||||
>
|
||||
@@ -1374,6 +1378,10 @@
|
||||
RelativePath=".\include\WResourceManager.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\include\WResourceManagerImpl.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Resource Files"
|
||||
|
||||
Reference in New Issue
Block a user