ScummVM API documentation
Mohawk::MystStacks::Preview Class Reference
Inheritance diagram for Mohawk::MystStacks::Preview:
Mohawk::MystStacks::Myst Mohawk::MystScriptParser

Public Member Functions

 Preview (MohawkEngine_Myst *vm)
 
void disablePersistentScripts () override
 
void runPersistentScripts () override
 
- Public Member Functions inherited from Mohawk::MystStacks::Myst
 Myst (MohawkEngine_Myst *vm, MystStack stackId=kMystStack)
 
- Public Member Functions inherited from Mohawk::MystScriptParser
 MystScriptParser (MohawkEngine_Myst *vm, MystStack stackId)
 
void runScript (const MystScript &script, MystArea *invokingResource=nullptr)
 
void runOpcode (uint16 op, uint16 var=0, const ArgumentsArray &args=ArgumentsArray())
 
const Common::String getOpcodeDesc (uint16 op)
 
MystScript readScript (Common::SeekableReadStream *stream, MystScriptType type)
 
void setInvokingResource (MystArea *resource)
 
bool isScriptRunning () const
 
MystStack getStackId () const
 
void showMap ()
 
void animatedUpdate (const ArgumentsArray &args, uint16 delay)
 
void soundWaitStop () const
 
void o_toggleVar (uint16 var, const ArgumentsArray &args)
 
void o_setVar (uint16 var, const ArgumentsArray &args)
 
void o_changeCardSwitch4 (uint16 var, const ArgumentsArray &args)
 
void o_changeCardSwitchLtR (uint16 var, const ArgumentsArray &args)
 
void o_changeCardSwitchRtL (uint16 var, const ArgumentsArray &args)
 
void o_takePage (uint16 var, const ArgumentsArray &args)
 
void o_redrawCard (uint16 var, const ArgumentsArray &args)
 
void o_goToDest (uint16 var, const ArgumentsArray &args)
 
void o_goToDestForward (uint16 var, const ArgumentsArray &args)
 
void o_goToDestRight (uint16 var, const ArgumentsArray &args)
 
void o_goToDestLeft (uint16 var, const ArgumentsArray &args)
 
void o_goToDestUp (uint16 var, const ArgumentsArray &args)
 
void o_triggerMovie (uint16 var, const ArgumentsArray &args)
 
void o_toggleVarNoRedraw (uint16 var, const ArgumentsArray &args)
 
void o_drawAreaState (uint16 var, const ArgumentsArray &args)
 
void o_redrawAreaForVar (uint16 var, const ArgumentsArray &args)
 
void o_changeCardDirectional (uint16 var, const ArgumentsArray &args)
 
void o_changeCardPush (uint16 var, const ArgumentsArray &args)
 
void o_changeCardPop (uint16 var, const ArgumentsArray &args)
 
void o_enableAreas (uint16 var, const ArgumentsArray &args)
 
void o_disableAreas (uint16 var, const ArgumentsArray &args)
 
void o_directionalUpdate (uint16 var, const ArgumentsArray &args)
 
void o_toggleAreasActivation (uint16 var, const ArgumentsArray &args)
 
void o_playSound (uint16 var, const ArgumentsArray &args)
 
void o_stopSoundBackground (uint16 var, const ArgumentsArray &args)
 
void o_playSoundBlocking (uint16 var, const ArgumentsArray &args)
 
void o_copyBackBufferToScreen (uint16 var, const ArgumentsArray &args)
 
void o_copyImageToBackBuffer (uint16 var, const ArgumentsArray &args)
 
void o_changeBackgroundSound (uint16 var, const ArgumentsArray &args)
 
void o_soundPlaySwitch (uint16 var, const ArgumentsArray &args)
 
void o_copyImageToScreen (uint16 var, const ArgumentsArray &args)
 
void o_soundResumeBackground (uint16 var, const ArgumentsArray &args)
 
void o_changeCard (uint16 var, const ArgumentsArray &args)
 
void o_drawImageChangeCard (uint16 var, const ArgumentsArray &args)
 
void o_changeMainCursor (uint16 var, const ArgumentsArray &args)
 
void o_hideCursor (uint16 var, const ArgumentsArray &args)
 
void o_showCursor (uint16 var, const ArgumentsArray &args)
 
void o_delay (uint16 var, const ArgumentsArray &args)
 
void o_changeStack (uint16 var, const ArgumentsArray &args)
 
void o_changeCardPlaySoundDirectional (uint16 var, const ArgumentsArray &args)
 
void o_directionalUpdatePlaySound (uint16 var, const ArgumentsArray &args)
 
void o_saveMainCursor (uint16 var, const ArgumentsArray &args)
 
void o_restoreMainCursor (uint16 var, const ArgumentsArray &args)
 
void o_soundWaitStop (uint16 var, const ArgumentsArray &args)
 
void o_exitMap (uint16 var, const ArgumentsArray &args)
 
void o_quit (uint16 var, const ArgumentsArray &args)
 
void NOP (uint16 var, const ArgumentsArray &args)
 

Additional Inherited Members

- Protected Types inherited from Mohawk::MystScriptParser
typedef Common::Functor2< uint16, const ArgumentsArray &, void > OpcodeProcMyst
 
- Protected Member Functions inherited from Mohawk::MystStacks::Myst
void setupOpcodes ()
 
uint16 getVar (uint16 var) override
 
void toggleVar (uint16 var) override
 
bool setVarValue (uint16 var, uint16 value) override
 
uint16 getMap () override
 
void towerRotationMap_run ()
 
void generatorControlRoom_run ()
 
void libraryCombinationBook_run ()
 
void libraryBook_run ()
 
void clockWheel_run ()
 
void matchBurn_run ()
 
void boilerPressureIncrease_run ()
 
void boilerPressureDecrease_run ()
 
void basementPressureIncrease_run ()
 
void basementPressureDecrease_run ()
 
void tree_run ()
 
void imagerValidation_run ()
 
void imager_run ()
 
void observatory_run ()
 
void observatoryMonthChange_run ()
 
void observatoryDayChange_run ()
 
void observatoryYearChange_run ()
 
void observatoryTimeChange_run ()
 
void greenBook_run ()
 
void clockGears_run ()
 
void gullsFly1_run ()
 
void gullsFly2_run ()
 
void gullsFly3_run ()
 
void o_libraryBookPageTurnLeft (uint16 var, const ArgumentsArray &args)
 
void o_libraryBookPageTurnRight (uint16 var, const ArgumentsArray &args)
 
void o_fireplaceToggleButton (uint16 var, const ArgumentsArray &args)
 
void o_fireplaceRotation (uint16 var, const ArgumentsArray &args)
 
void o_courtyardBoxesCheckSolution (uint16 var, const ArgumentsArray &args)
 
void o_towerRotationStart (uint16 var, const ArgumentsArray &args)
 
void o_towerRotationEnd (uint16 var, const ArgumentsArray &args)
 
void o_imagerChangeSelection (uint16 var, const ArgumentsArray &args)
 
void o_dockVaultOpen (uint16 var, const ArgumentsArray &args)
 
void o_dockVaultClose (uint16 var, const ArgumentsArray &args)
 
void o_bookGivePage (uint16 var, const ArgumentsArray &args)
 
void o_clockWheelsExecute (uint16 var, const ArgumentsArray &args)
 
void o_imagerPlayButton (uint16 var, const ArgumentsArray &args)
 
void o_imagerEraseButton (uint16 var, const ArgumentsArray &args)
 
void o_towerElevatorAnimation (uint16 var, const ArgumentsArray &args)
 
void o_generatorButtonPressed (uint16 var, const ArgumentsArray &args)
 
void o_cabinSafeChangeDigit (uint16 var, const ArgumentsArray &args)
 
void o_cabinSafeHandleStartMove (uint16 var, const ArgumentsArray &args)
 
void o_cabinSafeHandleMove (uint16 var, const ArgumentsArray &args)
 
void o_cabinSafeHandleEndMove (uint16 var, const ArgumentsArray &args)
 
void o_treePressureReleaseStart (uint16 var, const ArgumentsArray &args)
 
void o_observatoryMonthChangeStartIncrease (uint16 var, const ArgumentsArray &args)
 
void o_observatoryMonthChangeStartDecrease (uint16 var, const ArgumentsArray &args)
 
void o_observatoryDayChangeStartIncrease (uint16 var, const ArgumentsArray &args)
 
void o_observatoryDayChangeStartDecrease (uint16 var, const ArgumentsArray &args)
 
void o_observatoryGoButton (uint16 var, const ArgumentsArray &args)
 
void o_observatoryMonthSliderMove (uint16 var, const ArgumentsArray &args)
 
void o_observatoryDaySliderMove (uint16 var, const ArgumentsArray &args)
 
void o_observatoryYearSliderMove (uint16 var, const ArgumentsArray &args)
 
void o_observatoryTimeSliderMove (uint16 var, const ArgumentsArray &args)
 
void o_circuitBreakerStartMove (uint16 var, const ArgumentsArray &args)
 
void o_circuitBreakerMove (uint16 var, const ArgumentsArray &args)
 
void o_circuitBreakerEndMove (uint16 var, const ArgumentsArray &args)
 
void o_boilerIncreasePressureStart (uint16 var, const ArgumentsArray &args)
 
void o_boilerLightPilot (uint16 var, const ArgumentsArray &args)
 
void o_boilerIncreasePressureStop (uint16 var, const ArgumentsArray &args)
 
void o_boilerDecreasePressureStart (uint16 var, const ArgumentsArray &args)
 
void o_boilerDecreasePressureStop (uint16 var, const ArgumentsArray &args)
 
void o_basementIncreasePressureStart (uint16 var, const ArgumentsArray &args)
 
void o_basementIncreasePressureStop (uint16 var, const ArgumentsArray &args)
 
void o_basementDecreasePressureStart (uint16 var, const ArgumentsArray &args)
 
void o_basementDecreasePressureStop (uint16 var, const ArgumentsArray &args)
 
void o_rocketPianoStart (uint16 var, const ArgumentsArray &args)
 
void o_rocketPianoMove (uint16 var, const ArgumentsArray &args)
 
void o_rocketPianoStop (uint16 var, const ArgumentsArray &args)
 
void o_rocketSoundSliderStartMove (uint16 var, const ArgumentsArray &args)
 
void o_rocketSoundSliderMove (uint16 var, const ArgumentsArray &args)
 
void o_rocketSoundSliderEndMove (uint16 var, const ArgumentsArray &args)
 
void o_rocketLeverStartMove (uint16 var, const ArgumentsArray &args)
 
void o_rocketOpenBook (uint16 var, const ArgumentsArray &args)
 
void o_rocketLeverMove (uint16 var, const ArgumentsArray &args)
 
void o_rocketLeverEndMove (uint16 var, const ArgumentsArray &args)
 
void o_cabinLeave (uint16 var, const ArgumentsArray &args)
 
void o_treePressureReleaseStop (uint16 var, const ArgumentsArray &args)
 
void o_observatoryMonthSliderStartMove (uint16 var, const ArgumentsArray &args)
 
void o_observatoryMonthSliderEndMove (uint16 var, const ArgumentsArray &args)
 
void o_observatoryDaySliderStartMove (uint16 var, const ArgumentsArray &args)
 
void o_observatoryDaySliderEndMove (uint16 var, const ArgumentsArray &args)
 
void o_observatoryYearSliderStartMove (uint16 var, const ArgumentsArray &args)
 
void o_observatoryYearSliderEndMove (uint16 var, const ArgumentsArray &args)
 
void o_observatoryTimeSliderStartMove (uint16 var, const ArgumentsArray &args)
 
void o_observatoryTimeSliderEndMove (uint16 var, const ArgumentsArray &args)
 
void o_libraryBookPageTurnStartLeft (uint16 var, const ArgumentsArray &args)
 
void o_libraryBookPageTurnStartRight (uint16 var, const ArgumentsArray &args)
 
void o_libraryCombinationBookStop (uint16 var, const ArgumentsArray &args)
 
void o_cabinMatchLight (uint16 var, const ArgumentsArray &args)
 
void o_courtyardBoxEnter (uint16 var, const ArgumentsArray &args)
 
void o_courtyardBoxLeave (uint16 var, const ArgumentsArray &args)
 
void o_clockMinuteWheelStartTurn (uint16 var, const ArgumentsArray &args)
 
void o_clockWheelEndTurn (uint16 var, const ArgumentsArray &args)
 
void o_clockHourWheelStartTurn (uint16 var, const ArgumentsArray &args)
 
void o_clockLeverStartMove (uint16 var, const ArgumentsArray &args)
 
void o_clockLeverMoveLeft (uint16 var, const ArgumentsArray &args)
 
void o_clockLeverMoveRight (uint16 var, const ArgumentsArray &args)
 
void o_clockLeverEndMove (uint16 var, const ArgumentsArray &args)
 
void o_clockResetLeverStartMove (uint16 var, const ArgumentsArray &args)
 
void o_clockResetLeverMove (uint16 var, const ArgumentsArray &args)
 
void o_clockResetLeverEndMove (uint16 var, const ArgumentsArray &args)
 
void o_libraryCombinationBookStartRight (uint16 var, const ArgumentsArray &args)
 
void o_libraryCombinationBookStartLeft (uint16 var, const ArgumentsArray &args)
 
void o_observatoryTimeChangeStartIncrease (uint16 var, const ArgumentsArray &args)
 
void o_observatoryTimeChangeStartDecrease (uint16 var, const ArgumentsArray &args)
 
void o_observatoryChangeSettingStop (uint16 var, const ArgumentsArray &args)
 
void o_observatoryYearChangeStartIncrease (uint16 var, const ArgumentsArray &args)
 
void o_observatoryYearChangeStartDecrease (uint16 var, const ArgumentsArray &args)
 
void o_dockVaultForceClose (uint16 var, const ArgumentsArray &args)
 
void o_imagerEraseStop (uint16 var, const ArgumentsArray &args)
 
void o_libraryBook_init (uint16 var, const ArgumentsArray &args)
 
void o_courtyardBox_init (uint16 var, const ArgumentsArray &args)
 
void o_towerRotationMap_init (uint16 var, const ArgumentsArray &args)
 
void o_forechamberDoor_init (uint16 var, const ArgumentsArray &args)
 
void o_shipAccess_init (uint16 var, const ArgumentsArray &args)
 
void o_butterflies_init (uint16 var, const ArgumentsArray &args)
 
void o_imager_init (uint16 var, const ArgumentsArray &args)
 
void o_libraryBookcaseTransform_init (uint16 var, const ArgumentsArray &args)
 
void o_generatorControlRoom_init (uint16 var, const ArgumentsArray &args)
 
void o_fireplace_init (uint16 var, const ArgumentsArray &args)
 
void o_clockGears_init (uint16 var, const ArgumentsArray &args)
 
void o_gulls1_init (uint16 var, const ArgumentsArray &args)
 
void o_observatory_init (uint16 var, const ArgumentsArray &args)
 
void o_gulls2_init (uint16 var, const ArgumentsArray &args)
 
void o_treeCard_init (uint16 var, const ArgumentsArray &args)
 
void o_treeEntry_init (uint16 var, const ArgumentsArray &args)
 
void o_boilerMovies_init (uint16 var, const ArgumentsArray &args)
 
void o_rocketSliders_init (uint16 var, const ArgumentsArray &args)
 
void o_rocketLinkVideo_init (uint16 var, const ArgumentsArray &args)
 
void o_greenBook_init (uint16 var, const ArgumentsArray &args)
 
void o_gulls3_init (uint16 var, const ArgumentsArray &args)
 
void o_bookAddSpecialPage_exit (uint16 var, const ArgumentsArray &args)
 
void o_treeCard_exit (uint16 var, const ArgumentsArray &args)
 
void o_treeEntry_exit (uint16 var, const ArgumentsArray &args)
 
void o_boiler_exit (uint16 var, const ArgumentsArray &args)
 
void o_generatorControlRoom_exit (uint16 var, const ArgumentsArray &args)
 
void o_rocketSliders_exit (uint16 var, const ArgumentsArray &args)
 
void generatorRedrawRocket ()
 
void generatorButtonValue (MystArea *button, uint16 &offset, uint16 &value)
 
void rocketSliderMove ()
 
uint16 rocketSliderGetSound (uint16 pos)
 
uint16 rocketCheckIfSoundMatches (uint16 sound1, uint16 sound2)
 
void rocketCheckSolution ()
 
void libraryBookPageTurnLeft ()
 
void libraryBookPageTurnRight ()
 
void libraryCombinationBookTurnRight ()
 
void libraryCombinationBookTurnLeft ()
 
uint16 bookCountPages (uint16 var)
 
void clockWheelStartTurn (uint16 wheel)
 
void clockWheelTurn (uint16 var)
 
void clockLeverMove (bool leftLever)
 
void clockGearForwardOneStep (uint16 gear)
 
void clockWeightDownOneStep ()
 
void clockGearsCheckSolution ()
 
void clockReset ()
 
void clockResetWeight ()
 
void clockResetGear (uint16 gear)
 
void towerRotationMapRotate ()
 
void towerRotationMapRedraw ()
 
void towerRotationDrawBuildings ()
 
uint16 towerRotationMapComputeAngle ()
 
Common::Point towerRotationMapComputeCoords (uint16 angle)
 
void towerRotationMapDrawLine (const Common::Point &end, bool rotationLabelVisible)
 
void boilerFireInit ()
 
void boilerFireUpdate (bool init)
 
void boilerGaugeInit ()
 
Common::Rational boilerComputeGaugeRate (uint16 pressure, uint32 delay)
 
void boilerResetGauge (const Common::Rational &rate)
 
void treeSetAlcoveAccessible ()
 
uint32 treeNextMoveDelay (uint16 pressure)
 
bool observatoryIsDDMMYYYY2400 ()
 
void observatorySetTargetToSetting ()
 
void observatoryUpdateVisualizer (uint16 x, uint16 y)
 
void observatoryMonthChangeStart (bool increase)
 
void observatoryDayChangeStart (bool increase)
 
void observatoryYearChangeStart (bool increase)
 
void observatoryTimeChangeStart (bool increase)
 
void observatoryIncrementMonth (int16 increment)
 
void observatoryIncrementDay (int16 increment)
 
void observatoryIncrementYear (int16 increment)
 
void observatoryIncrementTime (int16 increment)
 
void observatoryUpdateMonth ()
 
void observatoryUpdateDay ()
 
void observatoryUpdateYear ()
 
void observatoryUpdateTime ()
 
- Protected Member Functions inherited from Mohawk::MystScriptParser
void registerOpcode (uint16 op, const char *name, OpcodeProcMyst *command)
 
void overrideOpcode (uint16 op, const char *name, OpcodeProcMyst *command)
 
void setupCommonOpcodes ()
 
template<class T >
T * getInvokingResource () const
 
- Protected Attributes inherited from Mohawk::MystStacks::Myst
MystGameState::Myst_state
 
bool _generatorControlRoomRunning
 
uint16 _generatorVoltage
 
uint16 _rocketPianoSound
 
MystAreaSlider_rocketSlider1
 
MystAreaSlider_rocketSlider2
 
MystAreaSlider_rocketSlider3
 
MystAreaSlider_rocketSlider4
 
MystAreaSlider_rocketSlider5
 
uint16 _rocketSliderSound
 
uint16 _rocketLeverPosition
 
VideoEntryPtr _rocketLinkBook
 
bool _libraryBookPagesTurning
 
bool _libraryCombinationBookPagesTurning
 
int16 _libraryBookPage
 
uint16 _libraryBookNumPages
 
uint16 _libraryBookBaseImage
 
bool _butterfliesMoviePlayed
 
bool _gullsFlying1
 
bool _gullsFlying2
 
bool _gullsFlying3
 
uint32 _gullsNextTime
 
bool _libraryBookcaseMoving
 
MystAreaVideo_libraryBookcaseMovie
 
uint16 _libraryBookcaseSoundId
 
bool _libraryBookcaseChanged
 
uint16 _libraryBookSound1
 
uint16 _libraryBookSound2
 
uint16 _courtyardBoxSound
 
bool _imagerValidationRunning
 
MystAreaImageSwitch_imagerRedButton
 
uint16 _imagerSound [4]
 
uint16 _imagerValidationCard
 
uint16 _imagerValidationStep
 
bool _imagerRunning
 
MystAreaVideo_imagerMovie
 
uint16 _fireplaceLines [6]
 
uint16 _clockTurningWheel
 
VideoEntryPtr _clockGearsVideos [3]
 
VideoEntryPtr _clockWeightVideo
 
uint16 _clockGearsPositions [3]
 
uint16 _clockWeightPosition
 
bool _clockMiddleGearMovedAlone
 
bool _clockLeverPulled
 
uint16 _dockVaultState
 
bool _towerRotationMapRunning
 
bool _towerRotationBlinkLabel
 
uint16 _towerRotationBlinkLabelCount
 
uint16 _towerRotationMapInitialized
 
MystAreaImageSwitch_towerRotationMapTower
 
MystAreaImageSwitch_towerRotationMapLabel
 
uint16 _towerRotationSpeed
 
bool _towerRotationMapClicked
 
bool _towerRotationOverSpot
 
const Common::Point _towerRotationCenter
 
bool _matchBurning
 
uint16 _matchGoOutCnt
 
uint16 _cabinDoorOpened
 
uint16 _cabinHandleDown
 
uint16 _cabinMatchState
 
uint32 _matchGoOutTime
 
VideoEntryPtr _cabinFireMovie
 
bool _cabinGaugeMovieEnabled
 
VideoEntryPtr _cabinGaugeMovie
 
bool _boilerPressureIncreasing
 
bool _boilerPressureDecreasing
 
bool _basementPressureIncreasing
 
bool _basementPressureDecreasing
 
bool _treeStopped
 
MystAreaImageSwitch_tree
 
MystArea_treeAlcove
 
uint16 _treeMinPosition
 
uint16 _treeMinAccessiblePosition
 
uint16 _treeMaxAccessiblePosition
 
bool _observatoryRunning
 
bool _observatoryMonthChanging
 
bool _observatoryDayChanging
 
bool _observatoryYearChanging
 
bool _observatoryTimeChanging
 
MystAreaImageSwitch_observatoryVisualizer
 
MystAreaImageSwitch_observatoryGoButton
 
MystAreaSlider_observatoryDaySlider
 
MystAreaSlider_observatoryMonthSlider
 
MystAreaSlider_observatoryYearSlider
 
MystAreaSlider_observatoryTimeSlider
 
uint32 _observatoryLastTime
 
bool _observatoryNotInitialized
 
int16 _observatoryIncrement
 
MystAreaSlider_observatoryCurrentSlider
 
bool _greenBookRunning
 
- Protected Attributes inherited from Mohawk::MystScriptParser
MohawkEngine_Myst_vm
 
MystGameState::Globals_globals
 
uint16 _savedCardId
 
uint16 _savedMapCardId
 
uint16 _savedCursorId
 
int16 _tempVar
 
uint32 _startTime
 
- Static Protected Attributes inherited from Mohawk::MystScriptParser
static const MystStack _stackMap []
 
static const uint16 _startCard []
 

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