diff options
author | Peter Kohaut | 2018-03-24 17:20:27 +0100 |
---|---|---|
committer | Peter Kohaut | 2018-03-24 17:28:34 +0100 |
commit | 5e9985bd6e4d136ec20e5e3be7589d34051227f1 (patch) | |
tree | e8b8f70ad0f509ec7b919c68c2f09bd2bbf0e8a1 /engines/bladerunner/crimes_database.h | |
parent | 2a646f8cc287a98f90e561ce8072c2af4322fd22 (diff) | |
download | scummvm-rg350-5e9985bd6e4d136ec20e5e3be7589d34051227f1.tar.gz scummvm-rg350-5e9985bd6e4d136ec20e5e3be7589d34051227f1.tar.bz2 scummvm-rg350-5e9985bd6e4d136ec20e5e3be7589d34051227f1.zip |
BLADERUNNER: Load game methods
save methods update
replaced few char* with Common::String
changed few pointers to references
Diffstat (limited to 'engines/bladerunner/crimes_database.h')
-rw-r--r-- | engines/bladerunner/crimes_database.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/bladerunner/crimes_database.h b/engines/bladerunner/crimes_database.h index 1374d52424..9bb83f148f 100644 --- a/engines/bladerunner/crimes_database.h +++ b/engines/bladerunner/crimes_database.h @@ -28,7 +28,8 @@ namespace BladeRunner { class BladeRunnerEngine; -class SaveFile; +class SaveFileReadStream; +class SaveFileWriteStream; class TextResource; class CrimesDatabase { @@ -38,7 +39,7 @@ class CrimesDatabase { TextResource *_cluesText; public: - CrimesDatabase(BladeRunnerEngine *vm, const char *cluesResource, int crimeCount); + CrimesDatabase(BladeRunnerEngine *vm, const Common::String &cluesResource, int crimeCount); ~CrimesDatabase(); void setCrime(int clueId, int crimeId); @@ -49,7 +50,8 @@ public: const char *getClueText(int clueId) const; - void save(SaveFile &f); + void save(SaveFileWriteStream &f); + void load(SaveFileReadStream &f); }; } // End of namespace BladeRunner |