ScummVM API documentation
LastExpress::Menu Class Reference

Public Member Functions

 Menu (LastExpressEngine *engine)
 
void doEgg (bool doSaveGame, int type, int32 time)
 
void endEgg ()
 
void eggFree ()
 
void eggMouse (Event *event)
 
void eggTimer (Event *event)
 
void clearSprites ()
 
void updateEgg ()
 
bool eggCursorAction (int8 action, int8 flags)
 
void setSprite (int sequenceType, int index, bool redrawFlag)
 
void setCity (int cityIndex)
 
void switchEggs (int whichEgg)
 
bool isShowingMenu ()
 
void setEggTimerDelta (int delta)
 
int getEggTimerDelta ()
 

Protected Attributes

LastExpressEngine_engine = nullptr
 
bool _isShowingMenu = false
 
bool _hasShownIntro = false
 
bool _hasShownStartScreen = false
 
Link_currentHotspotLink = nullptr
 
bool _moveClockHandsFlag = false
 
int _eggTimerDelta = 15
 
int32 _eggCurrentMouseFlags = 0
 
int32 _eggCreditsIndex = 0
 
Seq_menuSeqs [8]
 
Sprite_startMenuFrames [8]
 
char _eggButtonsSeqNames [8][13]
 
uint8 _cityIndexes [8] = { 64, 128, 129, 130, 131, 132, 192, 0 }
 
bool _gameInNotStartedInFile = false
 

Member Data Documentation

◆ _menuSeqs

Seq* LastExpress::Menu::_menuSeqs[8]
protected
Initial value:
= {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr
}

◆ _startMenuFrames

Sprite* LastExpress::Menu::_startMenuFrames[8]
protected
Initial value:
= {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr
}

◆ _eggButtonsSeqNames

char LastExpress::Menu::_eggButtonsSeqNames[8][13]
protected
Initial value:
= {
"helpnewr.seq",
"buttns.seq",
"quit.seq",
"bogus!.seq",
"jlinetl.seq",
"jlinecen.seq",
"jlinebr.seq",
"credits.seq"
}

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