40 kTBExit = 0, kTBMaze, kTBNoPoint, kTBNoun, kTBVerb,
41 kTBEh, kTBUnusual, kTBHave, kTBNoUse, kTBDontHave,
42 kTBNeed, kTBOk, kCmtAny1, kCmtAny2, kCmtAny3,
43 kCmtClose, kTBIntro, kTBOutro, kTBUnusual_1d, kCmtAny4,
44 kCmtAny5, kTBExit_1d, kTBEh_1d, kTBEh_2d, kTBNoUse_2d
53 uint16 _textDataNoCarryIndex;
56 uint16 _textDataWrongIndex;
57 uint16 _textDataDoneIndex;
83 bool isWordPresent(
char **wordArr)
const;
85 uint16 getCmdDefaultVerbIdx(
const uint16 index)
const;
88 void command(
const char *format, ...);
97 const char *useBG(
const char *name);
99 virtual void lineHandler() = 0;
100 virtual void showInventory()
const = 0;
101 virtual void takeObject(
Object *obj) = 0;
110 uint16 _backgroundObjectsSize;
118 const char *findNoun()
const;
119 const char *findVerb()
const;
122 void showDosInventory()
const;
124 bool _checkDoubleF1Fl;
127 char _ringBuffer[32];
130 static const int kBlinksPerSec = 2;
138 void lineHandler()
override;
139 void showInventory()
const override;
140 void takeObject(
Object *obj)
override;
143 virtual void dropObject(
Object *obj);
145 const char *findNextNoun(
const char *noun)
const;
146 bool isBackgroundWord_v1(
const char *noun,
const char *verb, ObjectList obj)
const;
147 bool isCatchallVerb_v1(
bool testNounFl,
const char *noun,
const char *verb, ObjectList obj)
const;
148 bool isGenericVerb_v1(
const char *word,
Object *obj);
149 bool isNear_v1(
const char *verb,
const char *noun,
Object *obj,
char *comment)
const;
150 bool isObjectVerb_v1(
const char *word,
Object *obj);
158 void lineHandler()
override;
166 void lineHandler()
override;
168 void dropObject(
Object *obj)
override;
169 bool isBackgroundWord_v3(ObjectList obj)
const;
170 bool isCatchallVerb_v3(ObjectList obj)
const;
171 bool isGenericVerb_v3(
Object *obj,
char *comment);
172 bool isNear_v3(
Object *obj,
const char *verb,
char *comment)
const;
173 bool isObjectVerb_v3(
Object *obj,
char *comment);
174 void takeObject(
Object *obj)
override;
182 void showInventory()
const override;
184 void lineHandler()
override;
189 #endif //HUGO_PARSER_H
Definition: algorithm.h:29