diff options
author | Strangerke | 2014-11-27 14:58:41 +0100 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:48:06 -0500 |
commit | f75fa68c057dc5e626428415b38f7159d2d23c06 (patch) | |
tree | 61de398b7af6509ebb102888cf46a361b6e57576 /engines | |
parent | 7434c764c6899e114d07e756356a55595adb8694 (diff) | |
download | scummvm-rg350-f75fa68c057dc5e626428415b38f7159d2d23c06.tar.gz scummvm-rg350-f75fa68c057dc5e626428415b38f7159d2d23c06.tar.bz2 scummvm-rg350-f75fa68c057dc5e626428415b38f7159d2d23c06.zip |
ACCESS: Add a replacement of configSelect, currently just initializing _hintLevel
Diffstat (limited to 'engines')
-rw-r--r-- | engines/access/amazon/amazon_game.cpp | 6 | ||||
-rw-r--r-- | engines/access/amazon/amazon_game.h | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/engines/access/amazon/amazon_game.cpp b/engines/access/amazon/amazon_game.cpp index 9b9df8bc25..912c4ddfd2 100644 --- a/engines/access/amazon/amazon_game.cpp +++ b/engines/access/amazon/amazon_game.cpp @@ -87,6 +87,11 @@ void AmazonEngine::freeInactivePlayer() { _inactive._altSpritesPtr = nullptr; } +void AmazonEngine::configSelect() { + // Initialize fields contained in the config file. + _hintLevel = 3; +} + void AmazonEngine::playGame() { // Initialize Amazon game-specific objects _room = new AmazonRoom(this); @@ -95,6 +100,7 @@ void AmazonEngine::playGame() { // Setup the game setupGame(); + configSelect(); if (_loadSaveSlot == -1) { // Do introduction diff --git a/engines/access/amazon/amazon_game.h b/engines/access/amazon/amazon_game.h index 2d371ca9fb..d67f0c2150 100644 --- a/engines/access/amazon/amazon_game.h +++ b/engines/access/amazon/amazon_game.h @@ -98,6 +98,11 @@ private: */ void setupGame(); + /** + * Initialize variables found in the config file + */ + void configSelect(); + void initVariables(); void calcIQ(); void helpTitle(); |