diff options
| -rw-r--r-- | engines/hdb/menu.cpp | 1 | ||||
| -rw-r--r-- | engines/hdb/menu.h | 9 | 
2 files changed, 10 insertions, 0 deletions
diff --git a/engines/hdb/menu.cpp b/engines/hdb/menu.cpp index 1cf9337a78..739fed4457 100644 --- a/engines/hdb/menu.cpp +++ b/engines/hdb/menu.cpp @@ -38,6 +38,7 @@ bool Menu::init() {  	_optionsScrollX = kMenuX;  	_rocketX = kMRocketX;  	_sayHDB = false; +	_menuKey = 0;  	_nebulaY = 0;		// Used as a flag  	_fStars[0].y = 0;	// Used as a flag diff --git a/engines/hdb/menu.h b/engines/hdb/menu.h index 19ff2d68fa..4c30aeb3c6 100644 --- a/engines/hdb/menu.h +++ b/engines/hdb/menu.h @@ -185,6 +185,13 @@ public:  	void fillSavegameSlots(); +	void setMenuKey(int status) { +		_menuKey = status; +	} +	int getMenuKey() { +		return _menuKey; +	} +  	Save _saveGames[kNumSaveSlots + 1];  	int _starWarp; @@ -238,6 +245,8 @@ public:  		BACKSCROLL_GALAXY1,  		BACKSCROLL_GALAXY2  	}; + +	int _menuKey;  };  } // End of Namespace  | 
