aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/hammer_dispensor_button.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-02-26 22:08:54 -0500
committerPaul Gilbert2016-02-26 22:08:54 -0500
commitbc3e04400843615a77fd8df5a911070350f2323e (patch)
tree3a2d7a3258499f6d64448b84d5ae31217c06e9dd /engines/titanic/game/hammer_dispensor_button.h
parentb7cd6be9ebacf5ff7d0ee2e9a5220397c00e6943 (diff)
downloadscummvm-rg350-bc3e04400843615a77fd8df5a911070350f2323e.tar.gz
scummvm-rg350-bc3e04400843615a77fd8df5a911070350f2323e.tar.bz2
scummvm-rg350-bc3e04400843615a77fd8df5a911070350f2323e.zip
TITANIC: Implemented CStartAction and CHammerDispensorButton
Diffstat (limited to 'engines/titanic/game/hammer_dispensor_button.h')
-rw-r--r--engines/titanic/game/hammer_dispensor_button.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/engines/titanic/game/hammer_dispensor_button.h b/engines/titanic/game/hammer_dispensor_button.h
new file mode 100644
index 0000000000..e4b5fc13b1
--- /dev/null
+++ b/engines/titanic/game/hammer_dispensor_button.h
@@ -0,0 +1,60 @@
+/* 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.
+ *
+ */
+
+#ifndef TITANIC_HAMMER_DISPENSOR_H
+#define TITANIC_HAMMER_DISPENSOR_H
+
+#include "titanic/game/start_action.h"
+
+namespace Titanic {
+
+class CHammerDispensorButton : public CStartAction {
+private:
+ int _fieldF8;
+ int _fieldFC;
+ int _field100;
+ int _field104;
+ int _field108;
+ int _field10C;
+ int _field110;
+public:
+ CHammerDispensorButton();
+
+ /**
+ * Return the class name
+ */
+ virtual const char *getClassName() const { return "CHammerDispensorButton"; }
+
+ /**
+ * Save the data for the class to file
+ */
+ virtual void save(SimpleFile *file, int indent) const;
+
+ /**
+ * Load the data for the class from file
+ */
+ virtual void load(SimpleFile *file);
+};
+
+} // End of namespace Titanic
+
+#endif /* TITANIC_HAMMER_DISPENSOR_H */