diff options
author | Thanasis Antoniou | 2019-04-05 21:33:47 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-04-05 21:35:55 +0300 |
commit | a0beaa6f4e925292f3ffaa8045e580cd579d3ed0 (patch) | |
tree | 8debb2e8a7d8d7a58295d939ea8cd8bfe2b3e8e5 /engines/bladerunner/settings.h | |
parent | 62660da0bc8bdbaa464f8b25ee993f6dfb90aa85 (diff) | |
download | scummvm-rg350-a0beaa6f4e925292f3ffaa8045e580cd579d3ed0.tar.gz scummvm-rg350-a0beaa6f4e925292f3ffaa8045e580cd579d3ed0.tar.bz2 scummvm-rg350-a0beaa6f4e925292f3ffaa8045e580cd579d3ed0.zip |
BLADERUNNER: SFX named constants and MissSound fix
Still pending cleaning up Ambient_Sounds_Add_Sound and Ambient_Sounds_Add_Looping_Sound calls
Diffstat (limited to 'engines/bladerunner/settings.h')
-rw-r--r-- | engines/bladerunner/settings.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/bladerunner/settings.h b/engines/bladerunner/settings.h index 393c11d053..5fe7cebb60 100644 --- a/engines/bladerunner/settings.h +++ b/engines/bladerunner/settings.h @@ -30,6 +30,8 @@ class SaveFileReadStream; class SaveFileWriteStream; class Settings { + static const int kAmmoTypesCount = 3; + BladeRunnerEngine *_vm; int _chapter; @@ -55,7 +57,7 @@ class Settings { int _playerAgenda; int _ammoType; - int _ammoAmounts[3]; + int _ammoAmounts[kAmmoTypesCount]; bool _learyMode; @@ -117,6 +119,7 @@ public: bool openNewScene(); + static int getAmmoTypesCount(); int getAmmoType() const; void setAmmoType(int ammoType); int getAmmo(int ammoType) const; |