ScummVM API documentation
Avalanche::Parser Class Reference

Classes

struct  VocabEntry
 

Public Member Functions

 Parser (AvalancheEngine *vm)
 
void init ()
 
void parse ()
 
void doThat ()
 
void verbOpt (byte verb, Common::String &answer, char &ansKey)
 
void drink ()
 
void handleInputText (const Common::Event &event)
 
void handleBackspace ()
 
void handleReturn ()
 
void handleFunctionKey (const Common::Event &event)
 
void plotText ()
 
void cursorOn ()
 
void cursorOff ()
 
void tryDropdown ()
 
int16 getPos (const Common::String &crit, const Common::String &src)
 
void doVerb (VerbCode id)
 
Common::String rank ()
 
void resetVariables ()
 
void synchronize (Common::Serializer &sz)
 

Public Attributes

VocabEntry _vocabulary [kParserWordsNum]
 
Common::String _realWords [11]
 
VerbCode _verb
 
byte _thing
 
People _person
 
bool _polite
 
Common::String _inputText
 
Common::String _inputTextBackup
 
byte _inputTextPos
 
bool _quote
 
bool _cursorState
 
bool _weirdWord
 
byte _wearing
 

Static Public Attributes

static const int16 kParserWordsNum = 277
 
static const int16 kFirstPassword = 88
 
static const byte kPardon = 254
 
static const byte kNothing = 250
 
static const byte kMoved = 0
 

The documentation for this class was generated from the following file: