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 | resetCommandLine () |
| 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 |
| void | sayInventory (const char *intro, const char *outro, int nounIndex2) const |
| void | endGamePrompt () |
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] |