aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/star_control_sub1.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-05 21:44:57 -0500
committerPaul Gilbert2016-03-05 21:44:57 -0500
commit20725a0edaa8e92d49a59328e6a63bfb97c4a57c (patch)
tree22adabae9f3aa12b7e6418a06814269002fdb303 /engines/titanic/star_control/star_control_sub1.cpp
parentf01bd1be9f6334a614cdd5ca7a7123b40c4397be (diff)
downloadscummvm-rg350-20725a0edaa8e92d49a59328e6a63bfb97c4a57c.tar.gz
scummvm-rg350-20725a0edaa8e92d49a59328e6a63bfb97c4a57c.tar.bz2
scummvm-rg350-20725a0edaa8e92d49a59328e6a63bfb97c4a57c.zip
TITANIC: Further work on CStarControl support classes and loading
Diffstat (limited to 'engines/titanic/star_control/star_control_sub1.cpp')
-rw-r--r--engines/titanic/star_control/star_control_sub1.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/engines/titanic/star_control/star_control_sub1.cpp b/engines/titanic/star_control/star_control_sub1.cpp
index 7122347677..6adc9a64d0 100644
--- a/engines/titanic/star_control/star_control_sub1.cpp
+++ b/engines/titanic/star_control/star_control_sub1.cpp
@@ -29,4 +29,21 @@ CStarControlSub1::CStarControlSub1() :
_field7DB4(1), _field7DB8(0), _field7DBC(0) {
}
+void CStarControlSub1::load(SimpleFile *file, int param) {
+ if (!param) {
+ _sub7.load(file);
+ _sub8.load(file);
+ _field7DA8 = file->readNumber();
+ _field7DAC = file->readNumber();
+ _field7DB0 = file->readNumber();
+ _field7DB4 = file->readNumber();
+ _field7DBC = file->readNumber();
+ }
+}
+
+bool CStarControlSub1::initDocument() {
+ warning("CStarControlSub1::initDocument");
+ return true;
+}
+
} // End of namespace Titanic