aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/objects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/objects.cpp')
-rw-r--r--engines/parallaction/objects.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/parallaction/objects.cpp b/engines/parallaction/objects.cpp
index ecdb0683f4..c345b92ffb 100644
--- a/engines/parallaction/objects.cpp
+++ b/engines/parallaction/objects.cpp
@@ -261,6 +261,10 @@ Answer::Answer() {
bool Answer::textIsNull() {
return (_text.equalsIgnoreCase("NULL"));
}
+
+int Answer::speakerMood() {
+ return _mood & 0xF;
+}
Question::Question(const Common::String &name) : _name(name), _mood(0) {
memset(_answers, 0, sizeof(_answers));
@@ -276,6 +280,15 @@ bool Question::textIsNull() {
return (_text.equalsIgnoreCase("NULL"));
}
+int Question::speakerMood() {
+ return _mood & 0xF;
+}
+
+int Question::balloonWinding() {
+ return _mood & 0x10;
+}
+
+
Instruction::Instruction() {
_index = 0;
_flags = 0;