Skip to content

Commit

Permalink
ACCESS: Add a replacement of configSelect, currently just initializin…
Browse files Browse the repository at this point in the history
…g _hintLevel
  • Loading branch information
Strangerke authored and dreammaster committed Dec 13, 2014
1 parent 7434c76 commit f75fa68
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions engines/access/amazon/amazon_game.cpp
Expand Up @@ -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);
Expand All @@ -95,6 +100,7 @@ void AmazonEngine::playGame() {

// Setup the game
setupGame();
configSelect();

if (_loadSaveSlot == -1) {
// Do introduction
Expand Down
5 changes: 5 additions & 0 deletions engines/access/amazon/amazon_game.h
Expand Up @@ -98,6 +98,11 @@ class AmazonEngine : public AccessEngine {
*/
void setupGame();

/**
* Initialize variables found in the config file
*/
void configSelect();

void initVariables();
void calcIQ();
void helpTitle();
Expand Down

0 comments on commit f75fa68

Please sign in to comment.