diff options
author | Eugene Sandulenko | 2016-06-09 20:55:18 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-06-10 14:17:04 +0200 |
commit | 50868e9e1003e47698247fc9afb5fec514a20b21 (patch) | |
tree | f4fa1fb5e593236320537ef49786dbd5acfb85e2 /engines/toltecs/menu.cpp | |
parent | 455d433afd2ab8018a8ceca42fb91e9a517fcea3 (diff) | |
download | scummvm-rg350-50868e9e1003e47698247fc9afb5fec514a20b21.tar.gz scummvm-rg350-50868e9e1003e47698247fc9afb5fec514a20b21.tar.bz2 scummvm-rg350-50868e9e1003e47698247fc9afb5fec514a20b21.zip |
TOLTECS: Initialize Menu class
Diffstat (limited to 'engines/toltecs/menu.cpp')
-rw-r--r-- | engines/toltecs/menu.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/toltecs/menu.cpp b/engines/toltecs/menu.cpp index a58771433e..5fc0599c2a 100644 --- a/engines/toltecs/menu.cpp +++ b/engines/toltecs/menu.cpp @@ -37,6 +37,16 @@ namespace Toltecs { MenuSystem::MenuSystem(ToltecsEngine *vm) : _vm(vm) { + _background = nullptr; + _running = false; + _currMenuID = _newMenuID = kMenuIdNone; + _currItemID = kItemIdNone; + _top = 0; + _savegameListTopIndex = 0; + _editingDescription = false; + _editingDescriptionID = kItemIdNone; + _editingDescriptionItem = nullptr; + _needRedraw = false; } MenuSystem::~MenuSystem() { |