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

Public Member Functions

 Scheduler_v1d (HugoEngine *vm)
 
void decodeString (char *line) override
 
void runScheduler () override
 
- Public Member Functions inherited from Hugo::Scheduler
 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)
 
virtual 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

const char * getCypher () const override
 
uint32 getTicks () override
 
void promptAction (Act *action) override
 
- Protected Member Functions inherited from Hugo::Scheduler
virtual const char * getCypher () const =0
 
virtual uint32 getTicks ()=0
 
virtual void promptAction (Act *action)=0
 
Event * doAction (Event *curEvent)
 
Event * getQueue ()
 
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)
 

Additional Inherited Members

- Protected Attributes inherited from Hugo::Scheduler
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 inherited from Hugo::Scheduler
static const int kFilenameLength = 12
 
static const int kMaxEvents = 50
 
static const int kShiftSize = 8
 

Member Function Documentation

◆ decodeString()

void Hugo::Scheduler_v1d::decodeString ( char *  line)
overridevirtual

Implements Hugo::Scheduler.

◆ runScheduler()

void Hugo::Scheduler_v1d::runScheduler ( )
overridevirtual

Implements Hugo::Scheduler.

◆ getCypher()

const char * Hugo::Scheduler_v1d::getCypher ( ) const
overrideprotectedvirtual

Implements Hugo::Scheduler.

◆ getTicks()

uint32 Hugo::Scheduler_v1d::getTicks ( )
overrideprotectedvirtual

Implements Hugo::Scheduler.

◆ promptAction()

void Hugo::Scheduler_v1d::promptAction ( Act *  action)
overrideprotectedvirtual

Implements Hugo::Scheduler.


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