diff options
Diffstat (limited to 'scumm/saveload.h')
-rw-r--r-- | scumm/saveload.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/scumm/saveload.h b/scumm/saveload.h index 79cfb43cef..51df8865be 100644 --- a/scumm/saveload.h +++ b/scumm/saveload.h @@ -24,8 +24,10 @@ #include "common/scummsys.h" -class InSaveFile; -class OutSaveFile; +namespace Common { + class InSaveFile; + class OutSaveFile; +} namespace Scumm { @@ -126,7 +128,7 @@ typedef void *SerializerLoadReference(void *me, byte type, int ref); class Serializer { public: - Serializer(InSaveFile *in, OutSaveFile *out, uint32 savegameVersion) + Serializer(Common::InSaveFile *in, Common::OutSaveFile *out, uint32 savegameVersion) : _loadStream(in), _saveStream(out), _save_ref(0), _load_ref(0), _ref_me(0), _savegameVersion(savegameVersion) { } @@ -155,8 +157,8 @@ public: void loadBytes(void *b, int len); protected: - InSaveFile *_loadStream; - OutSaveFile *_saveStream; + Common::InSaveFile *_loadStream; + Common::OutSaveFile *_saveStream; uint32 _savegameVersion; void saveArrayOf(void *b, int len, int datasize, byte filetype); |