mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 11:20:56 +00:00
HDB: Add _actionMode and its getter-setters
This commit is contained in:
parent
2dd40d79a2
commit
15d964afec
@ -85,6 +85,10 @@ bool HDBGame::init() {
|
||||
error("LuaScript::init: Couldn't load the GLOBAL_LUA code.");
|
||||
}
|
||||
|
||||
// REMOVE: Putting this here since Menu hasn't been implemented yet.
|
||||
// Defaults the game into Action Mode
|
||||
setActionMode(1);
|
||||
|
||||
_gameShutdown = false;
|
||||
_systemInit = true;
|
||||
|
||||
|
@ -119,6 +119,13 @@ public:
|
||||
|
||||
void useEntity(AIEntity *e);
|
||||
|
||||
int getActionMode() {
|
||||
return _actionMode;
|
||||
}
|
||||
void setActionMode(int status) {
|
||||
_actionMode = status;
|
||||
}
|
||||
|
||||
bool _gameShutdown;
|
||||
Graphics::PixelFormat _format;
|
||||
|
||||
@ -129,6 +136,7 @@ private:
|
||||
|
||||
bool _systemInit;
|
||||
GameState _gameState;
|
||||
int _actionMode; // 0 or 1
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user