diff options
author | johndoe123 | 2015-11-18 16:25:42 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 41978f466d423e9b5f3c3980666c1beb4219b937 (patch) | |
tree | de8cf82e097961a85458f785bee247f0fc05e66f /engines/illusions/resourcesystem.h | |
parent | a5ad1bc1062f37dc383db6c6cecc4dcbf0081bcf (diff) | |
download | scummvm-rg350-41978f466d423e9b5f3c3980666c1beb4219b937.tar.gz scummvm-rg350-41978f466d423e9b5f3c3980666c1beb4219b937.tar.bz2 scummvm-rg350-41978f466d423e9b5f3c3980666c1beb4219b937.zip |
ILLUSIONS: Add GAM archive reader for Duckman and adjust the resource reader/system
Diffstat (limited to 'engines/illusions/resourcesystem.h')
-rw-r--r-- | engines/illusions/resourcesystem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/illusions/resourcesystem.h b/engines/illusions/resourcesystem.h index edf1cdd08c..a0c2c06f99 100644 --- a/engines/illusions/resourcesystem.h +++ b/engines/illusions/resourcesystem.h @@ -36,6 +36,7 @@ namespace Illusions { #define ResourceTypeId(x) ((x) & 0xFFFF0000) class BaseResourceLoader; +class BaseResourceReader; class IllusionsEngine; struct Resource; @@ -66,7 +67,7 @@ struct Resource { delete _instance; unloadData(); } - void loadData(); + void loadData(BaseResourceReader *resReader); void unloadData(); }; @@ -79,7 +80,6 @@ class BaseResourceLoader { public: virtual ~BaseResourceLoader() {} virtual void load(Resource *resource) = 0; - virtual void buildFilename(Resource *resource) = 0; virtual bool isFlag(int flag) = 0; }; |