aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/pet/pet_pellerator.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-01 23:40:59 -0500
committerPaul Gilbert2016-03-01 23:40:59 -0500
commitf7e057e4d74a7f38ac40024bba29ebc0071975c5 (patch)
treebf01ebc556d7e6df840da413785bbe8a8e5e44eb /engines/titanic/game/pet/pet_pellerator.cpp
parent9ce8e1130cc32c49e31a2160b2f4034f05430b4b (diff)
downloadscummvm-rg350-f7e057e4d74a7f38ac40024bba29ebc0071975c5.tar.gz
scummvm-rg350-f7e057e4d74a7f38ac40024bba29ebc0071975c5.tar.bz2
scummvm-rg350-f7e057e4d74a7f38ac40024bba29ebc0071975c5.zip
TITANIC: Added more miscellaneous classes
Diffstat (limited to 'engines/titanic/game/pet/pet_pellerator.cpp')
-rw-r--r--engines/titanic/game/pet/pet_pellerator.cpp37
1 files changed, 37 insertions, 0 deletions
diff --git a/engines/titanic/game/pet/pet_pellerator.cpp b/engines/titanic/game/pet/pet_pellerator.cpp
new file mode 100644
index 0000000000..bcddc75919
--- /dev/null
+++ b/engines/titanic/game/pet/pet_pellerator.cpp
@@ -0,0 +1,37 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+#include "titanic/game/pet/pet_pellerator.h"
+
+namespace Titanic {
+
+void CPETPellerator::save(SimpleFile *file, int indent) const {
+ file->writeNumberLine(1, indent);
+ CPETTransport::save(file, indent);
+}
+
+void CPETPellerator::load(SimpleFile *file) {
+ file->readNumber();
+ CPETTransport::load(file);
+}
+
+} // End of namespace Titanic