aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-29 21:19:12 -0400
committerPaul Gilbert2016-03-29 21:19:12 -0400
commit8a45f47c2e1e483b5a17b2d4abe22473eaf1e143 (patch)
tree38d105edf8d1acae7b8f51f24aceea4010abb6d8 /engines/titanic/pet_control/pet_control.cpp
parent8bb9679be0877f728628609f218832bea3c103d4 (diff)
downloadscummvm-rg350-8a45f47c2e1e483b5a17b2d4abe22473eaf1e143.tar.gz
scummvm-rg350-8a45f47c2e1e483b5a17b2d4abe22473eaf1e143.tar.bz2
scummvm-rg350-8a45f47c2e1e483b5a17b2d4abe22473eaf1e143.zip
TITANIC: More renamings of PET sections
Diffstat (limited to 'engines/titanic/pet_control/pet_control.cpp')
-rw-r--r--engines/titanic/pet_control/pet_control.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/titanic/pet_control/pet_control.cpp b/engines/titanic/pet_control/pet_control.cpp
index f3e78a2212..7ef4c1494b 100644
--- a/engines/titanic/pet_control/pet_control.cpp
+++ b/engines/titanic/pet_control/pet_control.cpp
@@ -52,17 +52,17 @@ void CPetControl::load(SimpleFile *file) {
}
bool CPetControl::isValid() const {
- return _sub1.isValid() && _sub2.isValid()
- && _sub3.isValid() && _sub4.isValid()
+ return _convSection.isValid() && _roomsSection.isValid()
+ && _remoteSection.isValid() && _invSection.isValid()
&& _sub5.isValid() && _sub6.isValid()
&& _sub7.isValid() && _sub8.isValid();
}
void CPetControl::loadSubObjects(SimpleFile *file, int param) {
- _sub1.load(file, param);
- _sub2.load(file, param);
- _sub3.load(file, param);
- _sub4.load(file, param);
+ _convSection.load(file, param);
+ _roomsSection.load(file, param);
+ _remoteSection.load(file, param);
+ _invSection.load(file, param);
_sub5.load(file, param);
_sub6.load(file, param);
_sub7.load(file, param);
@@ -70,10 +70,10 @@ void CPetControl::loadSubObjects(SimpleFile *file, int param) {
}
void CPetControl::saveSubObjects(SimpleFile *file, int indent) const {
- _sub1.save(file, indent);
- _sub2.save(file, indent);
- _sub3.save(file, indent);
- _sub4.save(file, indent);
+ _convSection.save(file, indent);
+ _roomsSection.save(file, indent);
+ _remoteSection.save(file, indent);
+ _invSection.save(file, indent);
_sub5.save(file, indent);
_sub6.save(file, indent);
_sub7.save(file, indent);
@@ -93,8 +93,8 @@ void CPetControl::enterNode(CNodeItem *node) {
}
void CPetControl::enterRoom(CRoomItem *room) {
- _sub2.enterRoom(room);
- _sub3.enterRoom(room);
+ _roomsSection.enterRoom(room);
+ _remoteSection.enterRoom(room);
}
void CPetControl::clear() {