ScummVM API documentation
Hugo::Parser Class Referenceabstract
Inheritance diagram for Hugo::Parser:
Hugo::Parser_v1d Hugo::Parser_v2d Hugo::Parser_v3d Hugo::Parser_v1w

Public Member Functions

 Parser (HugoEngine *vm)
 
bool isWordPresent (char **wordArr) const
 
uint16 getCmdDefaultVerbIdx (const uint16 index) const
 
void charHandler ()
 
void command (const char *format,...)
 
void freeParser ()
 
void keyHandler (Common::Event event)
 
void actionHandler (Common::Event event)
 
void loadArrayReqs (Common::SeekableReadStream &in)
 
void loadBackgroundObjects (Common::ReadStream &in)
 
void loadCatchallList (Common::ReadStream &in)
 
void loadCmdList (Common::ReadStream &in)
 
void switchTurbo ()
 
const char * useBG (const char *name)
 
virtual void lineHandler ()=0
 
virtual void showInventory () const =0
 
virtual void takeObject (Object *obj)=0
 

Protected Member Functions

const char * findNoun () const
 
const char * findVerb () const
 
void readBG (Common::ReadStream &in, Background &curBG)
 
void readCmd (Common::ReadStream &in, cmd &curCmd)
 
void showDosInventory () const
 

Protected Attributes

HugoEngine_vm
 
int16 _cmdLineIndex
 
uint32 _cmdLineTick
 
char _cmdLineCursor
 
Command _cmdLine
 
uint16 _backgroundObjectsSize
 
uint16 _cmdListSize
 
uint16 ** _arrayReqs
 
Background ** _backgroundObjects
 
Background_catchallList
 
cmd ** _cmdList
 
bool _checkDoubleF1Fl
 
uint16 _getIndex
 
uint16 _putIndex
 
char _ringBuffer [32]
 

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