diff options
author | Paul Gilbert | 2016-04-18 17:25:58 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:11:30 -0400 |
commit | 42206332d0d7474dfead288c643ef4980c739773 (patch) | |
tree | e924415f3200711d566dbaace70bc91d0d71e8d8 /engines/titanic/pet_control/pet_control.cpp | |
parent | 47024115941c125452bb787758091686c91fc4fb (diff) | |
download | scummvm-rg350-42206332d0d7474dfead288c643ef4980c739773.tar.gz scummvm-rg350-42206332d0d7474dfead288c643ef4980c739773.tar.bz2 scummvm-rg350-42206332d0d7474dfead288c643ef4980c739773.zip |
TITANIC: Adding new class stubs for PET Real Life btns & elements
Diffstat (limited to 'engines/titanic/pet_control/pet_control.cpp')
-rw-r--r-- | engines/titanic/pet_control/pet_control.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/titanic/pet_control/pet_control.cpp b/engines/titanic/pet_control/pet_control.cpp index fed17d5b4b..0bba2c2330 100644 --- a/engines/titanic/pet_control/pet_control.cpp +++ b/engines/titanic/pet_control/pet_control.cpp @@ -51,7 +51,7 @@ CPetControl::CPetControl() : CGameObject(), _sections[PET_CONVERSATION] = &_conversations; _sections[PET_REMOTE] = &_remote; _sections[PET_ROOMS] = &_rooms; - _sections[PET_SAVE] = &_saves; + _sections[PET_REAL_LIFE] = &_realLife; _sections[PET_5] = &_sub5; _sections[PET_6] = &_sub7; } @@ -87,7 +87,7 @@ void CPetControl::setup() { _remote.setup(this); _inventory.setup(this); _sub5.setup(this); - _saves.setup(this); + _realLife.setup(this); _sub7.setup(this); _frame.setup(this); } @@ -98,7 +98,7 @@ bool CPetControl::isValid() { _remote.isValid(this) && _inventory.isValid(this) && _sub5.isValid(this) && - _saves.isValid(this) && + _realLife.isValid(this) && _sub7.isValid(this) && _frame.isValid(this); } @@ -109,7 +109,7 @@ void CPetControl::loadAreas(SimpleFile *file, int param) { _remote.load(file, param); _inventory.load(file, param); _sub5.load(file, param); - _saves.load(file, param); + _realLife.load(file, param); _sub7.load(file, param); _frame.load(file, param); } @@ -120,7 +120,7 @@ void CPetControl::saveAreas(SimpleFile *file, int indent) const { _remote.save(file, indent); _inventory.save(file, indent); _sub5.save(file, indent); - _saves.save(file, indent); + _realLife.save(file, indent); _sub7.save(file, indent); _frame.save(file, indent); } @@ -165,7 +165,7 @@ void CPetControl::loaded() { _remote.postLoad(); _inventory.postLoad(); _sub5.postLoad(); - _saves.postLoad(); + _realLife.postLoad(); _sub7.postLoad(); _frame.postLoad(); } @@ -330,7 +330,7 @@ bool CPetControl::VirtualKeyCharMsg(CVirtualKeyCharMsg *msg) { break; case Common::KEYCODE_F5: result = true; - setArea(PET_SAVE); + setArea(PET_REAL_LIFE); break; default: break; |