mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Filesystem handling is now more flexible
- removed CResourceLoader class in favor of one that implements resource loader interface - removed global pool of files, in favour of more dynamic approach - renamed some files to match current situation All these changes are needed mostly for future mod manager + .zip support
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "StdInc.h"
|
||||
#include "CCampaignHandler.h"
|
||||
|
||||
#include "../filesystem/CResourceLoader.h"
|
||||
#include "../filesystem/Filesystem.h"
|
||||
#include "../filesystem/CCompressedStream.h"
|
||||
#include "../VCMI_Lib.h"
|
||||
#include "../vcmi_endian.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include "CMapEditManager.h"
|
||||
|
||||
#include "../JsonNode.h"
|
||||
#include "../filesystem/CResourceLoader.h"
|
||||
#include "../filesystem/Filesystem.h"
|
||||
#include "../CDefObjInfoHandler.h"
|
||||
|
||||
MapRect::MapRect() : x(0), y(0), z(0), width(0), height(0)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "StdInc.h"
|
||||
#include "CMapService.h"
|
||||
|
||||
#include "../filesystem/CResourceLoader.h"
|
||||
#include "../filesystem/Filesystem.h"
|
||||
#include "../filesystem/CBinaryReader.h"
|
||||
#include "../filesystem/CCompressedStream.h"
|
||||
#include "../filesystem/CMemoryStream.h"
|
||||
|
||||
@@ -15,8 +15,7 @@
|
||||
|
||||
#include "../CStopWatch.h"
|
||||
|
||||
#include "../filesystem/CResourceLoader.h"
|
||||
#include "../filesystem/CInputStream.h"
|
||||
#include "../filesystem/Filesystem.h"
|
||||
#include "CMap.h"
|
||||
|
||||
#include "../CSpellHandler.h"
|
||||
|
||||
Reference in New Issue
Block a user