ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <script.h>

Collaboration diagram for Myst3::Script:

List of all members.

Classes

struct  Command
struct  Context

Public Member Functions

 Script (Myst3Engine *vm)
virtual ~Script ()
bool run (const Common::Array< Opcode > *script)
void runSingleOp (const Opcode &op)
const Common::String describeOpcode (const Opcode &opcode)

Private Types

enum  ArgumentType {
  kUnknown = 'u', kVar = 'v', kValue = 'i', kEvalValue = 'e',
  kCondition = 'c'
}
typedef void(Script::* CommandProc )(Context &c, const Opcode &cmd)

Private Member Functions

const CommandfindCommand (uint16 op)
const CommandfindCommandByProc (CommandProc proc)
const Common::String describeCommand (uint16 op)
const Common::String describeArgument (char type, int16 value)
void shiftCommands (uint16 base, int32 value)
void runOp (Context &c, const Opcode &op)
void goToElse (Context &c)
void runScriptForVarDrawTicksHelper (uint16 var, int32 startValue, int32 endValue, uint16 script, int32 numTicks)
 DECLARE_OPCODE (badOpcode)
 DECLARE_OPCODE (uselessOpcode)
 DECLARE_OPCODE (nodeCubeInit)
 DECLARE_OPCODE (nodeCubeInitIndex)
 DECLARE_OPCODE (nodeFrameInit)
 DECLARE_OPCODE (nodeFrameInitCond)
 DECLARE_OPCODE (nodeFrameInitIndex)
 DECLARE_OPCODE (nodeMenuInit)
 DECLARE_OPCODE (stopWholeScript)
 DECLARE_OPCODE (spotItemAdd)
 DECLARE_OPCODE (spotItemAddCond)
 DECLARE_OPCODE (spotItemAddCondFade)
 DECLARE_OPCODE (spotItemAddMenu)
 DECLARE_OPCODE (movieInitLooping)
 DECLARE_OPCODE (movieInitCondLooping)
 DECLARE_OPCODE (movieInitCond)
 DECLARE_OPCODE (movieInitPreloadLooping)
 DECLARE_OPCODE (movieInitCondPreloadLooping)
 DECLARE_OPCODE (movieInitCondPreload)
 DECLARE_OPCODE (movieInitFrameVar)
 DECLARE_OPCODE (movieInitFrameVarPreload)
 DECLARE_OPCODE (movieInitOverrridePosition)
 DECLARE_OPCODE (movieInitScriptedPosition)
 DECLARE_OPCODE (movieInitCondScriptedPosition)
 DECLARE_OPCODE (movieRemove)
 DECLARE_OPCODE (movieRemoveAll)
 DECLARE_OPCODE (movieSetLooping)
 DECLARE_OPCODE (movieSetNotLooping)
 DECLARE_OPCODE (waterEffectSetSpeed)
 DECLARE_OPCODE (waterEffectSetAttenuation)
 DECLARE_OPCODE (waterEffectSetWave)
 DECLARE_OPCODE (shakeEffectSet)
 DECLARE_OPCODE (sunspotAdd)
 DECLARE_OPCODE (sunspotAddIntensity)
 DECLARE_OPCODE (sunspotAddVarIntensity)
 DECLARE_OPCODE (sunspotAddIntensityColor)
 DECLARE_OPCODE (sunspotAddVarIntensityColor)
 DECLARE_OPCODE (sunspotAddIntensityRadius)
 DECLARE_OPCODE (sunspotAddVarIntensityRadius)
 DECLARE_OPCODE (sunspotAddIntColorRadius)
 DECLARE_OPCODE (sunspotAddVarIntColorRadius)
 DECLARE_OPCODE (inventoryAddFront)
 DECLARE_OPCODE (inventoryAddBack)
 DECLARE_OPCODE (inventoryRemove)
 DECLARE_OPCODE (inventoryReset)
 DECLARE_OPCODE (inventoryAddSaavChapter)
 DECLARE_OPCODE (varSetZero)
 DECLARE_OPCODE (varSetOne)
 DECLARE_OPCODE (varSetTwo)
 DECLARE_OPCODE (varSetOneHundred)
 DECLARE_OPCODE (varSetValue)
 DECLARE_OPCODE (varToggle)
 DECLARE_OPCODE (varSetOneIfNotZero)
 DECLARE_OPCODE (varOpposite)
 DECLARE_OPCODE (varAbsolute)
 DECLARE_OPCODE (varDereference)
 DECLARE_OPCODE (varReferenceSetZero)
 DECLARE_OPCODE (varReferenceSetValue)
 DECLARE_OPCODE (varRandRange)
 DECLARE_OPCODE (polarToRectSimple)
 DECLARE_OPCODE (polarToRect)
 DECLARE_OPCODE (varSetDistanceToZone)
 DECLARE_OPCODE (varSetMinDistanceToZone)
 DECLARE_OPCODE (varRemoveBits)
 DECLARE_OPCODE (varToggleBits)
 DECLARE_OPCODE (varCopy)
 DECLARE_OPCODE (varSetBitsFromVar)
 DECLARE_OPCODE (varSetBits)
 DECLARE_OPCODE (varApplyMask)
 DECLARE_OPCODE (varSwap)
 DECLARE_OPCODE (varIncrement)
 DECLARE_OPCODE (varIncrementMax)
 DECLARE_OPCODE (varIncrementMaxLooping)
 DECLARE_OPCODE (varAddValueMaxLooping)
 DECLARE_OPCODE (varDecrement)
 DECLARE_OPCODE (varDecrementMin)
 DECLARE_OPCODE (varDecrementMinLooping)
 DECLARE_OPCODE (varAddValueMax)
 DECLARE_OPCODE (varSubValueMin)
 DECLARE_OPCODE (varZeroRange)
 DECLARE_OPCODE (varCopyRange)
 DECLARE_OPCODE (varSetRange)
 DECLARE_OPCODE (varIncrementMaxTen)
 DECLARE_OPCODE (varAddValue)
 DECLARE_OPCODE (varArrayAddValue)
 DECLARE_OPCODE (varAddVarValue)
 DECLARE_OPCODE (varSubValue)
 DECLARE_OPCODE (varSubVarValue)
 DECLARE_OPCODE (varModValue)
 DECLARE_OPCODE (varMultValue)
 DECLARE_OPCODE (varMultVarValue)
 DECLARE_OPCODE (varDivValue)
 DECLARE_OPCODE (varDivVarValue)
 DECLARE_OPCODE (varCrossMultiplication)
 DECLARE_OPCODE (varMinValue)
 DECLARE_OPCODE (varClipValue)
 DECLARE_OPCODE (varClipChangeBound)
 DECLARE_OPCODE (varAbsoluteSubValue)
 DECLARE_OPCODE (varAbsoluteSubVar)
 DECLARE_OPCODE (varRatioToPercents)
 DECLARE_OPCODE (varRotateValue3)
 DECLARE_OPCODE (ifElse)
 DECLARE_OPCODE (ifCondition)
 DECLARE_OPCODE (ifCond1AndCond2)
 DECLARE_OPCODE (ifCond1OrCond2)
 DECLARE_OPCODE (ifOneVarSetInRange)
 DECLARE_OPCODE (ifVarEqualsValue)
 DECLARE_OPCODE (ifVarNotEqualsValue)
 DECLARE_OPCODE (ifVar1EqualsVar2)
 DECLARE_OPCODE (ifVar1NotEqualsVar2)
 DECLARE_OPCODE (ifVarSupEqValue)
 DECLARE_OPCODE (ifVarInfEqValue)
 DECLARE_OPCODE (ifVarInRange)
 DECLARE_OPCODE (ifVarNotInRange)
 DECLARE_OPCODE (ifVar1SupEqVar2)
 DECLARE_OPCODE (ifVar1SupVar2)
 DECLARE_OPCODE (ifVar1InfEqVar2)
 DECLARE_OPCODE (ifVarHasAllBitsSet)
 DECLARE_OPCODE (ifVarHasNoBitsSet)
 DECLARE_OPCODE (ifVarHasSomeBitsSet)
 DECLARE_OPCODE (ifHeadingInRange)
 DECLARE_OPCODE (ifPitchInRange)
 DECLARE_OPCODE (ifHeadingPitchInRect)
 DECLARE_OPCODE (ifMouseIsInRect)
 DECLARE_OPCODE (leverDrag)
 DECLARE_OPCODE (leverDragPositions)
 DECLARE_OPCODE (leverDragXY)
 DECLARE_OPCODE (itemDrag)
 DECLARE_OPCODE (runScriptWhileDragging)
 DECLARE_OPCODE (chooseNextNode)
 DECLARE_OPCODE (goToNodeTransition)
 DECLARE_OPCODE (goToNodeTrans2)
 DECLARE_OPCODE (goToNodeTrans1)
 DECLARE_OPCODE (goToRoomNode)
 DECLARE_OPCODE (zipToNode)
 DECLARE_OPCODE (zipToRoomNode)
 DECLARE_OPCODE (drawTransition)
 DECLARE_OPCODE (reloadNode)
 DECLARE_OPCODE (redrawFrame)
 DECLARE_OPCODE (moviePlay)
 DECLARE_OPCODE (moviePlaySynchronized)
 DECLARE_OPCODE (moviePlayFullFrame)
 DECLARE_OPCODE (moviePlayFullFrameTrans)
 DECLARE_OPCODE (moviePlayChangeNode)
 DECLARE_OPCODE (moviePlayChangeNodeTrans)
 DECLARE_OPCODE (lookAt)
 DECLARE_OPCODE (lookAtInXFrames)
 DECLARE_OPCODE (lookAtMovieStart)
 DECLARE_OPCODE (lookAtMovieStartInXFrames)
 DECLARE_OPCODE (cameraLimitMovement)
 DECLARE_OPCODE (cameraFreeMovement)
 DECLARE_OPCODE (cameraLookAt)
 DECLARE_OPCODE (cameraLookAtVar)
 DECLARE_OPCODE (cameraGetLookAt)
 DECLARE_OPCODE (lookAtMovieStartImmediate)
 DECLARE_OPCODE (cameraSetFOV)
 DECLARE_OPCODE (changeNode)
 DECLARE_OPCODE (changeNodeRoom)
 DECLARE_OPCODE (changeNodeRoomAge)
 DECLARE_OPCODE (drawXTicks)
 DECLARE_OPCODE (drawWhileCond)
 DECLARE_OPCODE (whileStart)
 DECLARE_OPCODE (whileEnd)
 DECLARE_OPCODE (runScriptWhileCond)
 DECLARE_OPCODE (runScriptWhileCondEachXFrames)
 DECLARE_OPCODE (runScriptForVar)
 DECLARE_OPCODE (runScriptForVarEachXFrames)
 DECLARE_OPCODE (runScriptForVarStartVar)
 DECLARE_OPCODE (runScriptForVarStartVarEachXFrames)
 DECLARE_OPCODE (runScriptForVarEndVar)
 DECLARE_OPCODE (runScriptForVarEndVarEachXFrames)
 DECLARE_OPCODE (runScriptForVarStartEndVar)
 DECLARE_OPCODE (runScriptForVarStartEndVarEachXFrames)
 DECLARE_OPCODE (drawFramesForVar)
 DECLARE_OPCODE (drawFramesForVarEachTwoFrames)
 DECLARE_OPCODE (drawFramesForVarStartEndVarEachTwoFrames)
 DECLARE_OPCODE (runScript)
 DECLARE_OPCODE (runScriptWithVar)
 DECLARE_OPCODE (runCommonScript)
 DECLARE_OPCODE (runCommonScriptWithVar)
 DECLARE_OPCODE (runPuzzle1)
 DECLARE_OPCODE (runPuzzle2)
 DECLARE_OPCODE (runPuzzle3)
 DECLARE_OPCODE (runPuzzle4)
 DECLARE_OPCODE (ambientLoadNode)
 DECLARE_OPCODE (ambientReloadCurrentNode)
 DECLARE_OPCODE (ambientPlayCurrentNode)
 DECLARE_OPCODE (ambientApply)
 DECLARE_OPCODE (ambientApplyWithFadeDelay)
 DECLARE_OPCODE (soundPlayBadClick)
 DECLARE_OPCODE (soundPlayBlocking)
 DECLARE_OPCODE (soundPlay)
 DECLARE_OPCODE (soundPlayVolume)
 DECLARE_OPCODE (soundPlayVolumeDirection)
 DECLARE_OPCODE (soundPlayVolumeDirectionAtt)
 DECLARE_OPCODE (soundStopEffect)
 DECLARE_OPCODE (soundFadeOutEffect)
 DECLARE_OPCODE (soundPlayLooping)
 DECLARE_OPCODE (soundPlayFadeInOut)
 DECLARE_OPCODE (soundChooseNext)
 DECLARE_OPCODE (soundRandomizeNext)
 DECLARE_OPCODE (soundChooseNextAfterOther)
 DECLARE_OPCODE (soundRandomizeNextAfterOther)
 DECLARE_OPCODE (ambientSetFadeOutDelay)
 DECLARE_OPCODE (ambientAddSound1)
 DECLARE_OPCODE (ambientAddSound2)
 DECLARE_OPCODE (ambientAddSound3)
 DECLARE_OPCODE (ambientAddSound4)
 DECLARE_OPCODE (ambientAddSound5)
 DECLARE_OPCODE (ambientSetCue1)
 DECLARE_OPCODE (ambientSetCue2)
 DECLARE_OPCODE (ambientSetCue3)
 DECLARE_OPCODE (ambientSetCue4)
 DECLARE_OPCODE (runAmbientScriptNode)
 DECLARE_OPCODE (runAmbientScriptNodeRoomAge)
 DECLARE_OPCODE (runSoundScriptNode)
 DECLARE_OPCODE (runSoundScriptNodeRoom)
 DECLARE_OPCODE (runSoundScriptNodeRoomAge)
 DECLARE_OPCODE (soundStopMusic)
 DECLARE_OPCODE (movieSetStartupSound)
 DECLARE_OPCODE (movieSetStartupSoundVolume)
 DECLARE_OPCODE (movieSetStartupSoundVolumeH)
 DECLARE_OPCODE (drawOneFrame)
 DECLARE_OPCODE (cursorHide)
 DECLARE_OPCODE (cursorShow)
 DECLARE_OPCODE (cursorSet)
 DECLARE_OPCODE (cursorLock)
 DECLARE_OPCODE (cursorUnlock)
 DECLARE_OPCODE (dialogOpen)
 DECLARE_OPCODE (newGame)

Private Attributes

Myst3Engine_vm
Puzzles_puzzles
Common::Array< Command_commands

Detailed Description

Definition at line 36 of file script.h.


Member Typedef Documentation

typedef void(Script::* Myst3::Script::CommandProc)(Context &c, const Opcode &cmd) [private]

Definition at line 55 of file script.h.


Member Enumeration Documentation

Enumerator:
kUnknown 
kVar 
kValue 
kEvalValue 
kCondition 

Definition at line 57 of file script.h.


Constructor & Destructor Documentation

Myst3::Script::Script ( Myst3Engine vm  ) 

Definition at line 40 of file script.cpp.

Myst3::Script::~Script (  )  [virtual]

Definition at line 292 of file script.cpp.


Member Function Documentation

Myst3::Script::DECLARE_OPCODE ( badOpcode   )  [private]
Myst3::Script::DECLARE_OPCODE ( newGame   )  [private]
Myst3::Script::DECLARE_OPCODE ( dialogOpen   )  [private]
Myst3::Script::DECLARE_OPCODE ( cursorUnlock   )  [private]
Myst3::Script::DECLARE_OPCODE ( cursorLock   )  [private]
Myst3::Script::DECLARE_OPCODE ( cursorSet   )  [private]
Myst3::Script::DECLARE_OPCODE ( cursorShow   )  [private]
Myst3::Script::DECLARE_OPCODE ( cursorHide   )  [private]
Myst3::Script::DECLARE_OPCODE ( drawOneFrame   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieSetStartupSoundVolumeH   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieSetStartupSoundVolume   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieSetStartupSound   )  [private]
Myst3::Script::DECLARE_OPCODE ( soundStopMusic   )  [private]
Myst3::Script::DECLARE_OPCODE ( runSoundScriptNodeRoomAge   )  [private]
Myst3::Script::DECLARE_OPCODE ( runSoundScriptNodeRoom   )  [private]
Myst3::Script::DECLARE_OPCODE ( runSoundScriptNode   )  [private]
Myst3::Script::DECLARE_OPCODE ( runAmbientScriptNodeRoomAge   )  [private]
Myst3::Script::DECLARE_OPCODE ( runAmbientScriptNode   )  [private]
Myst3::Script::DECLARE_OPCODE ( nodeFrameInit   )  [private]
Myst3::Script::DECLARE_OPCODE ( ambientSetCue3   )  [private]
Myst3::Script::DECLARE_OPCODE ( ambientSetCue2   )  [private]
Myst3::Script::DECLARE_OPCODE ( ambientSetCue1   )  [private]
Myst3::Script::DECLARE_OPCODE ( ambientAddSound5   )  [private]
Myst3::Script::DECLARE_OPCODE ( ambientAddSound4   )  [private]
Myst3::Script::DECLARE_OPCODE ( ambientAddSound3   )  [private]
Myst3::Script::DECLARE_OPCODE ( ambientAddSound2   )  [private]
Myst3::Script::DECLARE_OPCODE ( ambientAddSound1   )  [private]
Myst3::Script::DECLARE_OPCODE ( ambientSetFadeOutDelay   )  [private]
Myst3::Script::DECLARE_OPCODE ( soundRandomizeNextAfterOther   )  [private]
Myst3::Script::DECLARE_OPCODE ( soundChooseNextAfterOther   )  [private]
Myst3::Script::DECLARE_OPCODE ( soundRandomizeNext   )  [private]
Myst3::Script::DECLARE_OPCODE ( soundChooseNext   )  [private]
Myst3::Script::DECLARE_OPCODE ( soundPlayFadeInOut   )  [private]
Myst3::Script::DECLARE_OPCODE ( soundPlayLooping   )  [private]
Myst3::Script::DECLARE_OPCODE ( nodeFrameInitCond   )  [private]
Myst3::Script::DECLARE_OPCODE ( soundStopEffect   )  [private]
Myst3::Script::DECLARE_OPCODE ( soundPlayVolumeDirectionAtt   )  [private]
Myst3::Script::DECLARE_OPCODE ( soundPlayVolumeDirection   )  [private]
Myst3::Script::DECLARE_OPCODE ( soundPlayVolume   )  [private]
Myst3::Script::DECLARE_OPCODE ( soundPlay   )  [private]
Myst3::Script::DECLARE_OPCODE ( soundPlayBlocking   )  [private]
Myst3::Script::DECLARE_OPCODE ( soundPlayBadClick   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieInitFrameVarPreload   )  [private]
Myst3::Script::DECLARE_OPCODE ( ambientApply   )  [private]
Myst3::Script::DECLARE_OPCODE ( ambientPlayCurrentNode   )  [private]
Myst3::Script::DECLARE_OPCODE ( ambientReloadCurrentNode   )  [private]
Myst3::Script::DECLARE_OPCODE ( ambientLoadNode   )  [private]
Myst3::Script::DECLARE_OPCODE ( runPuzzle4   )  [private]
Myst3::Script::DECLARE_OPCODE ( runPuzzle3   )  [private]
Myst3::Script::DECLARE_OPCODE ( runPuzzle2   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieInitOverrridePosition   )  [private]
Myst3::Script::DECLARE_OPCODE ( runCommonScriptWithVar   )  [private]
Myst3::Script::DECLARE_OPCODE ( runCommonScript   )  [private]
Myst3::Script::DECLARE_OPCODE ( runScriptWithVar   )  [private]
Myst3::Script::DECLARE_OPCODE ( runScript   )  [private]
Myst3::Script::DECLARE_OPCODE ( drawFramesForVarStartEndVarEachTwoFrames   )  [private]
Myst3::Script::DECLARE_OPCODE ( drawFramesForVarEachTwoFrames   )  [private]
Myst3::Script::DECLARE_OPCODE ( drawFramesForVar   )  [private]
Myst3::Script::DECLARE_OPCODE ( runScriptForVarStartEndVarEachXFrames   )  [private]
Myst3::Script::DECLARE_OPCODE ( runScriptForVarStartEndVar   )  [private]
Myst3::Script::DECLARE_OPCODE ( runScriptForVarEndVarEachXFrames   )  [private]
Myst3::Script::DECLARE_OPCODE ( runScriptForVarEndVar   )  [private]
Myst3::Script::DECLARE_OPCODE ( runScriptForVarStartVarEachXFrames   )  [private]
Myst3::Script::DECLARE_OPCODE ( runScriptForVarStartVar   )  [private]
Myst3::Script::DECLARE_OPCODE ( runScriptForVarEachXFrames   )  [private]
Myst3::Script::DECLARE_OPCODE ( runScriptForVar   )  [private]
Myst3::Script::DECLARE_OPCODE ( varSetOneIfNotZero   )  [private]
Myst3::Script::DECLARE_OPCODE ( runScriptWhileCond   )  [private]
Myst3::Script::DECLARE_OPCODE ( whileEnd   )  [private]
Myst3::Script::DECLARE_OPCODE ( whileStart   )  [private]
Myst3::Script::DECLARE_OPCODE ( drawWhileCond   )  [private]
Myst3::Script::DECLARE_OPCODE ( drawXTicks   )  [private]
Myst3::Script::DECLARE_OPCODE ( changeNodeRoomAge   )  [private]
Myst3::Script::DECLARE_OPCODE ( changeNodeRoom   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifVar1InfEqVar2   )  [private]
Myst3::Script::DECLARE_OPCODE ( cameraSetFOV   )  [private]
Myst3::Script::DECLARE_OPCODE ( lookAtMovieStartImmediate   )  [private]
Myst3::Script::DECLARE_OPCODE ( cameraGetLookAt   )  [private]
Myst3::Script::DECLARE_OPCODE ( cameraLookAtVar   )  [private]
Myst3::Script::DECLARE_OPCODE ( cameraLookAt   )  [private]
Myst3::Script::DECLARE_OPCODE ( cameraFreeMovement   )  [private]
Myst3::Script::DECLARE_OPCODE ( cameraLimitMovement   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifVarHasAllBitsSet   )  [private]
Myst3::Script::DECLARE_OPCODE ( lookAtMovieStart   )  [private]
Myst3::Script::DECLARE_OPCODE ( lookAtInXFrames   )  [private]
Myst3::Script::DECLARE_OPCODE ( lookAt   )  [private]
Myst3::Script::DECLARE_OPCODE ( moviePlayChangeNodeTrans   )  [private]
Myst3::Script::DECLARE_OPCODE ( moviePlayChangeNode   )  [private]
Myst3::Script::DECLARE_OPCODE ( moviePlayFullFrameTrans   )  [private]
Myst3::Script::DECLARE_OPCODE ( moviePlayFullFrame   )  [private]
Myst3::Script::DECLARE_OPCODE ( moviePlaySynchronized   )  [private]
Myst3::Script::DECLARE_OPCODE ( moviePlay   )  [private]
Myst3::Script::DECLARE_OPCODE ( redrawFrame   )  [private]
Myst3::Script::DECLARE_OPCODE ( reloadNode   )  [private]
Myst3::Script::DECLARE_OPCODE ( drawTransition   )  [private]
Myst3::Script::DECLARE_OPCODE ( zipToRoomNode   )  [private]
Myst3::Script::DECLARE_OPCODE ( zipToNode   )  [private]
Myst3::Script::DECLARE_OPCODE ( goToRoomNode   )  [private]
Myst3::Script::DECLARE_OPCODE ( varOpposite   )  [private]
Myst3::Script::DECLARE_OPCODE ( goToNodeTrans2   )  [private]
Myst3::Script::DECLARE_OPCODE ( goToNodeTransition   )  [private]
Myst3::Script::DECLARE_OPCODE ( chooseNextNode   )  [private]
Myst3::Script::DECLARE_OPCODE ( runScriptWhileDragging   )  [private]
Myst3::Script::DECLARE_OPCODE ( itemDrag   )  [private]
Myst3::Script::DECLARE_OPCODE ( leverDragXY   )  [private]
Myst3::Script::DECLARE_OPCODE ( leverDragPositions   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifVarHasNoBitsSet   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifMouseIsInRect   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifVarHasSomeBitsSet   )  [private]
Myst3::Script::DECLARE_OPCODE ( varAbsolute   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifHeadingInRange   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifPitchInRange   )  [private]
Myst3::Script::DECLARE_OPCODE ( varDereference   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifHeadingPitchInRect   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieInitScriptedPosition   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifVar1SupVar2   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifVar1SupEqVar2   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifVarNotInRange   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifVarInRange   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifVarInfEqValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifVarSupEqValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifVar1NotEqualsVar2   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifVar1EqualsVar2   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifVarNotEqualsValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifVarEqualsValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifOneVarSetInRange   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifCond1OrCond2   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifCond1AndCond2   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifCondition   )  [private]
Myst3::Script::DECLARE_OPCODE ( ifElse   )  [private]
Myst3::Script::DECLARE_OPCODE ( ambientSetCue4   )  [private]
Myst3::Script::DECLARE_OPCODE ( varRatioToPercents   )  [private]
Myst3::Script::DECLARE_OPCODE ( varAbsoluteSubVar   )  [private]
Myst3::Script::DECLARE_OPCODE ( varAbsoluteSubValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( varClipChangeBound   )  [private]
Myst3::Script::DECLARE_OPCODE ( varClipValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( varMinValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( varCrossMultiplication   )  [private]
Myst3::Script::DECLARE_OPCODE ( soundFadeOutEffect   )  [private]
Myst3::Script::DECLARE_OPCODE ( varDivValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( varMultVarValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( varMultValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( ambientApplyWithFadeDelay   )  [private]
Myst3::Script::DECLARE_OPCODE ( varSubVarValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( varSubValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( varAddVarValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( runPuzzle1   )  [private]
Myst3::Script::DECLARE_OPCODE ( varAddValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( varIncrementMaxTen   )  [private]
Myst3::Script::DECLARE_OPCODE ( varSetRange   )  [private]
Myst3::Script::DECLARE_OPCODE ( varCopyRange   )  [private]
Myst3::Script::DECLARE_OPCODE ( varZeroRange   )  [private]
Myst3::Script::DECLARE_OPCODE ( varSubValueMin   )  [private]
Myst3::Script::DECLARE_OPCODE ( varAddValueMax   )  [private]
Myst3::Script::DECLARE_OPCODE ( runScriptWhileCondEachXFrames   )  [private]
Myst3::Script::DECLARE_OPCODE ( varDecrementMin   )  [private]
Myst3::Script::DECLARE_OPCODE ( varDecrement   )  [private]
Myst3::Script::DECLARE_OPCODE ( varAddValueMaxLooping   )  [private]
Myst3::Script::DECLARE_OPCODE ( changeNode   )  [private]
Myst3::Script::DECLARE_OPCODE ( varIncrementMax   )  [private]
Myst3::Script::DECLARE_OPCODE ( varIncrement   )  [private]
Myst3::Script::DECLARE_OPCODE ( varSwap   )  [private]
Myst3::Script::DECLARE_OPCODE ( lookAtMovieStartInXFrames   )  [private]
Myst3::Script::DECLARE_OPCODE ( varSetBits   )  [private]
Myst3::Script::DECLARE_OPCODE ( varSetBitsFromVar   )  [private]
Myst3::Script::DECLARE_OPCODE ( varCopy   )  [private]
Myst3::Script::DECLARE_OPCODE ( varToggleBits   )  [private]
Myst3::Script::DECLARE_OPCODE ( varRemoveBits   )  [private]
Myst3::Script::DECLARE_OPCODE ( varSetMinDistanceToZone   )  [private]
Myst3::Script::DECLARE_OPCODE ( varSetDistanceToZone   )  [private]
Myst3::Script::DECLARE_OPCODE ( goToNodeTrans1   )  [private]
Myst3::Script::DECLARE_OPCODE ( polarToRectSimple   )  [private]
Myst3::Script::DECLARE_OPCODE ( varReferenceSetZero   )  [private]
Myst3::Script::DECLARE_OPCODE ( leverDrag   )  [private]
Myst3::Script::DECLARE_OPCODE ( varReferenceSetValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieInitCondScriptedPosition   )  [private]
Myst3::Script::DECLARE_OPCODE ( varRandRange   )  [private]
Myst3::Script::DECLARE_OPCODE ( nodeFrameInitIndex   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieRemove   )  [private]
Myst3::Script::DECLARE_OPCODE ( varToggle   )  [private]
Myst3::Script::DECLARE_OPCODE ( varSetValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( varSetOneHundred   )  [private]
Myst3::Script::DECLARE_OPCODE ( varSetTwo   )  [private]
Myst3::Script::DECLARE_OPCODE ( varSetOne   )  [private]
Myst3::Script::DECLARE_OPCODE ( varSetZero   )  [private]
Myst3::Script::DECLARE_OPCODE ( inventoryAddSaavChapter   )  [private]
Myst3::Script::DECLARE_OPCODE ( varRotateValue3   )  [private]
Myst3::Script::DECLARE_OPCODE ( inventoryRemove   )  [private]
Myst3::Script::DECLARE_OPCODE ( inventoryAddBack   )  [private]
Myst3::Script::DECLARE_OPCODE ( inventoryAddFront   )  [private]
Myst3::Script::DECLARE_OPCODE ( varDivVarValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( sunspotAddIntColorRadius   )  [private]
Myst3::Script::DECLARE_OPCODE ( varModValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( sunspotAddIntensityRadius   )  [private]
Myst3::Script::DECLARE_OPCODE ( varArrayAddValue   )  [private]
Myst3::Script::DECLARE_OPCODE ( sunspotAddIntensityColor   )  [private]
Myst3::Script::DECLARE_OPCODE ( sunspotAddVarIntensity   )  [private]
Myst3::Script::DECLARE_OPCODE ( sunspotAddIntensity   )  [private]
Myst3::Script::DECLARE_OPCODE ( varDecrementMinLooping   )  [private]
Myst3::Script::DECLARE_OPCODE ( shakeEffectSet   )  [private]
Myst3::Script::DECLARE_OPCODE ( varIncrementMaxLooping   )  [private]
Myst3::Script::DECLARE_OPCODE ( waterEffectSetAttenuation   )  [private]
Myst3::Script::DECLARE_OPCODE ( varApplyMask   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieSetNotLooping   )  [private]
Myst3::Script::DECLARE_OPCODE ( polarToRect   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieRemoveAll   )  [private]
Myst3::Script::DECLARE_OPCODE ( nodeMenuInit   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieSetLooping   )  [private]
Myst3::Script::DECLARE_OPCODE ( stopWholeScript   )  [private]
Myst3::Script::DECLARE_OPCODE ( spotItemAdd   )  [private]
Myst3::Script::DECLARE_OPCODE ( waterEffectSetSpeed   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieInitFrameVar   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieInitCondPreload   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieInitCondPreloadLooping   )  [private]
Myst3::Script::DECLARE_OPCODE ( inventoryReset   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieInitCond   )  [private]
Myst3::Script::DECLARE_OPCODE ( sunspotAddVarIntColorRadius   )  [private]
Myst3::Script::DECLARE_OPCODE ( sunspotAddVarIntensityRadius   )  [private]
Myst3::Script::DECLARE_OPCODE ( sunspotAddVarIntensityColor   )  [private]
Myst3::Script::DECLARE_OPCODE ( spotItemAddCondFade   )  [private]
Myst3::Script::DECLARE_OPCODE ( waterEffectSetWave   )  [private]
Myst3::Script::DECLARE_OPCODE ( spotItemAddCond   )  [private]
Myst3::Script::DECLARE_OPCODE ( sunspotAdd   )  [private]
Myst3::Script::DECLARE_OPCODE ( uselessOpcode   )  [private]
Myst3::Script::DECLARE_OPCODE ( spotItemAddMenu   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieInitLooping   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieInitCondLooping   )  [private]
Myst3::Script::DECLARE_OPCODE ( nodeCubeInitIndex   )  [private]
Myst3::Script::DECLARE_OPCODE ( nodeCubeInit   )  [private]
Myst3::Script::DECLARE_OPCODE ( movieInitPreloadLooping   )  [private]
const Common::String Myst3::Script::describeArgument ( char  type,
int16  value 
) [private]

Definition at line 384 of file script.cpp.

const Common::String Myst3::Script::describeCommand ( uint16  op  )  [private]

Definition at line 357 of file script.cpp.

const Common::String Myst3::Script::describeOpcode ( const Opcode opcode  ) 

Definition at line 366 of file script.cpp.

const Script::Command & Myst3::Script::findCommand ( uint16  op  )  [private]

Definition at line 319 of file script.cpp.

const Script::Command & Myst3::Script::findCommandByProc ( CommandProc  proc  )  [private]

Definition at line 328 of file script.cpp.

void Myst3::Script::goToElse ( Context c  )  [private]

Definition at line 1410 of file script.cpp.

bool Myst3::Script::run ( const Common::Array< Opcode > *  script  ) 

Definition at line 296 of file script.cpp.

void Myst3::Script::runOp ( Context c,
const Opcode op 
) [private]

Definition at line 343 of file script.cpp.

void Myst3::Script::runScriptForVarDrawTicksHelper ( uint16  var,
int32  startValue,
int32  endValue,
uint16  script,
int32  numTicks 
) [private]

Definition at line 2289 of file script.cpp.

void Myst3::Script::runSingleOp ( const Opcode op  ) 

Definition at line 352 of file script.cpp.

void Myst3::Script::shiftCommands ( uint16  base,
int32  value 
) [private]

Definition at line 337 of file script.cpp.


Member Data Documentation

Definition at line 78 of file script.h.

Definition at line 76 of file script.h.

Definition at line 75 of file script.h.


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


Generated on Sat Nov 9 2019 05:02:22 for ResidualVM by doxygen 1.7.1
curved edge   curved edge