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/waypoints.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/waypoints.h')
-rw-r--r-- | engines/bladerunner/waypoints.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/bladerunner/waypoints.h b/engines/bladerunner/waypoints.h index 9159301cfe..6bbe8d3db4 100644 --- a/engines/bladerunner/waypoints.h +++ b/engines/bladerunner/waypoints.h @@ -30,7 +30,8 @@ namespace BladeRunner { -class SaveFile; +class SaveFileReadStream; +class SaveFileWriteStream; class Waypoints { friend class Debugger; @@ -58,7 +59,8 @@ public: bool set(int waypointId, int setId, Vector3 position); bool reset(int waypointId); - void save(SaveFile &f); + void save(SaveFileWriteStream &f); + void load(SaveFileReadStream &f); }; } // End of namespace BladeRunner |