aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/cstime_cases.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/cstime_cases.h')
-rw-r--r--engines/mohawk/cstime_cases.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/engines/mohawk/cstime_cases.h b/engines/mohawk/cstime_cases.h
new file mode 100644
index 0000000000..5f6791fdc1
--- /dev/null
+++ b/engines/mohawk/cstime_cases.h
@@ -0,0 +1,47 @@
+/* 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.
+ *
+ * $URL$
+ * $Id$
+ *
+ */
+
+#ifndef MOHAWK_CSTIME_CASES_H
+#define MOHAWK_CSTIME_CASES_H
+
+#include "mohawk/cstime_game.h"
+
+namespace Mohawk {
+
+class CSTimeCase1 : public CSTimeCase {
+public:
+ CSTimeCase1(MohawkEngine_CSTime *vm);
+ ~CSTimeCase1();
+
+ bool checkConvCondition(uint16 conditionId);
+ bool checkAmbientCondition(uint16 charId, uint16 ambientId);
+ bool checkObjectCondition(uint16 objectId);
+ void selectHelpStrings();
+ void handleConditionalEvent(const CSTimeEvent &event);
+};
+
+} // End of namespace Mohawk
+
+#endif