aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/parser.h')
-rw-r--r--engines/hugo/parser.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/engines/hugo/parser.h b/engines/hugo/parser.h
index 4717ef7c16..8d2b326d5d 100644
--- a/engines/hugo/parser.h
+++ b/engines/hugo/parser.h
@@ -52,23 +52,24 @@ public:
void keyHandler(uint16 nChar, uint16 nFlags);
void lineHandler();
-private:
+protected:
HugoEngine &_vm;
+private:
char _ringBuffer[32]; // Ring buffer
uint16 _putIndex;
uint16 _getIndex; // Index into ring buffer
bool _checkDoubleF1Fl; // Flag used to display user help or instructions
- bool isBackgroundWord(objectList_t obj, char *line);
+ bool isBackgroundWord(objectList_t obj);
bool isCarrying(uint16 wordIndex);
- bool isCatchallVerb(objectList_t obj, char *line);
- bool isGenericVerb(object_t *obj, char *line, char *comment);
+ bool isCatchallVerb(objectList_t obj);
+ bool isGenericVerb(object_t *obj, char *comment);
bool isNear(object_t *obj, char *verb, char *comment);
- bool isObjectVerb(object_t *obj, char *line, char *comment);
+ bool isObjectVerb(object_t *obj, char *comment);
- char *findNoun(char *line);
- char *findVerb(char *line);
+ char *findNoun();
+ char *findVerb();
void dropObject(object_t *obj);
void showDosInventory();