aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/messages/messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/messages/messages.h')
-rw-r--r--engines/titanic/messages/messages.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/titanic/messages/messages.h b/engines/titanic/messages/messages.h
index 5e6e0d7939..e369157f1d 100644
--- a/engines/titanic/messages/messages.h
+++ b/engines/titanic/messages/messages.h
@@ -28,11 +28,19 @@
namespace Titanic {
+enum MessageFlag {
+ MSGFLAG_SCAN = 1,
+ MSGFLAG_BREAK_IF_HANDLED = 2,
+ MSGFLAG_CLASS_DEF = 4
+};
+
class CMessage : public CSaveableObject {
public:
CLASSDEF
CMessage();
+ bool execute(CTreeItem *target, const ClassDef *classDef, int flags);
+
/**
* Save the data for the class to file
*/