ScummVM API documentation
Hugo::Scheduler Class Referenceabstract
Inheritance diagram for Hugo::Scheduler:
Hugo::Scheduler_v1d Hugo::Scheduler_v2d Hugo::Scheduler_v3d Hugo::Scheduler_v1w

Public Member Functions

 Scheduler (HugoEngine *vm)
 
virtual void decodeString (char *line)=0
 
virtual void runScheduler ()=0
 
int16 calcMaxPoints () const
 
void freeScheduler ()
 
void initCypher ()
 
void initEventQueue ()
 
void insertActionList (const uint16 actIndex)
 
void loadActListArr (Common::ReadStream &in)
 
void loadAlNewscrIndex (Common::ReadStream &in)
 
void loadPoints (Common::SeekableReadStream &in)
 
void loadScreenAct (Common::SeekableReadStream &in)
 
void newScreen (const int screenIndex)
 
void processBonus (const int bonusIndex)
 
void processMaze (const int x1, const int x2, const int y1, const int y2)
 
void restoreSchedulerData (Common::ReadStream *in)
 
void restoreScreen (const int screenIndex)
 
void saveSchedulerData (Common::WriteStream *out)
 
void waitForRefresh ()
 

Protected Member Functions

virtual const char * getCypher () const =0
 
virtual uint32 getTicks ()=0
 
virtual void promptAction (Act *action)=0
 
EventdoAction (Event *curEvent)
 
EventgetQueue ()
 
uint32 getDosTicks (const bool updateFl)
 
uint32 getWinTicks () const
 
void delEventType (const Action actTypeDel)
 
void delQueue (Event *curEvent)
 
void findAction (const Act *action, int16 *index, int16 *subElem)
 
void insertAction (Act *action)
 
void readAct (Common::ReadStream &in, Act &curAct)
 
void restoreActions (Common::ReadStream *f)
 
void restoreEvents (Common::ReadStream *f)
 
void restorePoints (Common::ReadStream *in)
 
void saveActions (Common::WriteStream *f) const
 
void saveEvents (Common::WriteStream *f)
 
void savePoints (Common::WriteStream *out) const
 
void screenActions (const int screenNum)
 

Protected Attributes

HugoEngine_vm
 
Common::String _cypher
 
uint16 _actListArrSize
 
uint16 _alNewscrIndex
 
uint16 _screenActsSize
 
uint16 ** _screenActs
 
byte _numBonuses
 
Point_points
 
uint32 _curTick
 
uint32 _oldTime
 
uint32 _refreshTimeout
 
Event_freeEvent
 
Event_headEvent
 
Event_tailEvent
 
Event _events [kMaxEvents]
 
Act ** _actListArr
 

Static Protected Attributes

static const int kFilenameLength = 12
 
static const int kMaxEvents = 50
 
static const int kShiftSize = 8
 

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