aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/parser.h
diff options
context:
space:
mode:
authorStrangerke2013-09-24 21:24:52 +0200
committerStrangerke2013-09-24 21:24:52 +0200
commitb3f6ce975ff7eb50eb775ce3c5113e85e60c1434 (patch)
tree510f3f55b345cdf2c932185b1fb11fa184435277 /engines/avalanche/parser.h
parent3ae30372bcf3bff39f8d4fd0df65536bc589ae8f (diff)
downloadscummvm-rg350-b3f6ce975ff7eb50eb775ce3c5113e85e60c1434.tar.gz
scummvm-rg350-b3f6ce975ff7eb50eb775ce3c5113e85e60c1434.tar.bz2
scummvm-rg350-b3f6ce975ff7eb50eb775ce3c5113e85e60c1434.zip
AVALANCHE: Use People enum as a type for several variables, modify functions accordingly
Diffstat (limited to 'engines/avalanche/parser.h')
-rw-r--r--engines/avalanche/parser.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/avalanche/parser.h b/engines/avalanche/parser.h
index 30b5929fb5..a0e26817d6 100644
--- a/engines/avalanche/parser.h
+++ b/engines/avalanche/parser.h
@@ -28,6 +28,8 @@
#ifndef AVALANCHE_PARSER_H
#define AVALANCHE_PARSER_H
+#include "avalanche/enums.h"
+
#include "common/events.h"
#include "common/scummsys.h"
#include "common/str.h"
@@ -71,7 +73,8 @@ public:
VocabEntry _vocabulary[kParserWordsNum];
Common::String _realWords[11];
- byte _verb, _person, _thing;
+ byte _verb, _thing;
+ People _person;
bool _polite;
Common::String _inputText; // Original name: current
Common::String _inputTextBackup;