diff options
author | Peter Kohaut | 2018-11-21 23:16:15 +0100 |
---|---|---|
committer | Peter Kohaut | 2018-11-24 08:39:03 +0100 |
commit | 824ecc0aad325c54f34c8fb7f64cf4df71c53090 (patch) | |
tree | 109abb14609bacaac2c0b1b2ed42e67a8cd2c5ec /engines/bladerunner/settings.h | |
parent | 44b68a0aeb92d6dc6b6d1b3260ec5f82c529b9f0 (diff) | |
download | scummvm-rg350-824ecc0aad325c54f34c8fb7f64cf4df71c53090.tar.gz scummvm-rg350-824ecc0aad325c54f34c8fb7f64cf4df71c53090.tar.bz2 scummvm-rg350-824ecc0aad325c54f34c8fb7f64cf4df71c53090.zip |
BLADERUNNER: Preliminary saving & loading support
Saving and loading is accessible via ScummVM dialogs.
No in-game UI support yet.
It is possible to load saves from original game via debugger console.
ScummVM saves have additional header and are incompatibile with original
game.
Diffstat (limited to 'engines/bladerunner/settings.h')
-rw-r--r-- | engines/bladerunner/settings.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/engines/bladerunner/settings.h b/engines/bladerunner/settings.h index 413786e2e5..3c7048f02b 100644 --- a/engines/bladerunner/settings.h +++ b/engines/bladerunner/settings.h @@ -70,6 +70,8 @@ class Settings { public: Settings(BladeRunnerEngine *vm); + void reset(); + void setGamma(float gamma) { _gamma = gamma; } @@ -109,16 +111,16 @@ public: _newChapter = newChapter; } - void setLoadingGame(bool loadingGame) { - _loadingGame = loadingGame; + void setLoadingGame() { + _loadingGame = true; } - bool getLoadingGame() const { + bool isLoadingGame() const { return _loadingGame; } - void setStartingGame(bool startingGame) { - _startingGame = startingGame; + void setStartingGame() { + _startingGame = true; } bool openNewScene(); @@ -130,6 +132,7 @@ public: void decreaseAmmo(); int getDifficulty() const; + void setDifficulty(int difficulty); int getPlayerAgenda() const; void setPlayerAgenda(int agenda); |