aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/objects.h
diff options
context:
space:
mode:
authorNicola Mettifogo2011-01-29 07:21:31 +0000
committerNicola Mettifogo2011-01-29 07:21:31 +0000
commite1046d3eae8207bc3c65cd6a558dd20191aede3c (patch)
treebc7a381278c0163269b7f7c4218afa59ddaaac8e /engines/parallaction/objects.h
parentc3698a2cd5c98bf69ed7eb5425398f15f3453021 (diff)
downloadscummvm-rg350-e1046d3eae8207bc3c65cd6a558dd20191aede3c.tar.gz
scummvm-rg350-e1046d3eae8207bc3c65cd6a558dd20191aede3c.tar.bz2
scummvm-rg350-e1046d3eae8207bc3c65cd6a558dd20191aede3c.zip
PARALLACTION: Simplify text comparisons in dialogue code.
Encapsulate text comparison into string owners and removed some ugly double negative logic. svn-id: r55605
Diffstat (limited to 'engines/parallaction/objects.h')
-rw-r--r--engines/parallaction/objects.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/parallaction/objects.h b/engines/parallaction/objects.h
index 36231cfcc5..50a188e91b 100644
--- a/engines/parallaction/objects.h
+++ b/engines/parallaction/objects.h
@@ -163,6 +163,7 @@ struct Answer {
int _counterOp;
Answer();
+ bool textIsNull();
};
struct Question {
@@ -173,6 +174,7 @@ struct Question {
Question(const Common::String &name);
~Question();
+ bool textIsNull();
};
struct Dialogue {