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

Command resources are script operations. More...

#include <command.h>

Inheritance diagram for Stark::Resources::Command:
Collaboration diagram for Stark::Resources::Command:

List of all members.

Classes

struct  Argument

Public Types

enum  SubType {
  kCommandBegin = 0, kCommandEnd = 1, kScriptCall = 2, kDialogCall = 3,
  kSetInteractiveMode = 4, kLocationGoTo = 5, kWalkTo = 7, kGameLoop = 8,
  kScriptPause = 9, kScriptPauseRandom = 10, kScriptPauseSkippable = 11, kScriptAbort = 13,
  kExit2DLocation = 16, kGoto2DLocation = 17, kRumbleScene = 19, kFadeScene = 20,
  kSwayScene = 21, kLocationGoToNewCD = 22, kGameEnd = 23, kInventoryOpen = 24,
  kFloatScene = 25, kBookOfSecretsOpen = 26, kDoNothing = 80, kItem3DPlaceOn = 81,
  kItem3DWalkTo = 82, kItem3DFollowPath = 83, kItemLookAt = 84, kItem2DFollowPath = 86,
  kItemEnable = 87, kItemSetActivity = 88, kItemSelectInInventory = 89, kUseAnimHierarchy = 92,
  kPlayAnimation = 93, kScriptEnable = 94, kShowPlay = 95, kKnowledgeSetBoolean = 96,
  kKnowledgeSetInteger = 100, kKnowledgeAddInteger = 101, kEnableFloorField = 103, kPlayAnimScriptItem = 104,
  kItemAnimFollowPath = 105, kKnowledgeAssignBool = 107, kKnowledgeAssignInteger = 110, kLocationScrollTo = 111,
  kSoundPlay = 112, kKnowledgeSetIntRandom = 115, kKnowledgeSubValue = 117, kItemLookDirection = 118,
  kStopPlayingSound = 119, kLayerGoTo = 120, kLayerEnable = 121, kLocationScrollSet = 122,
  kFullMotionVideoPlay = 123, kAnimSetFrame = 125, kKnowledgeAssignNegatedBool = 126, kDiaryEnableEntry = 127,
  kPATChangeTooltip = 128, kSoundChange = 129, kLightSetColor = 130, kLightFollowPath = 131,
  kItem3DRunTo = 132, kItemPlaceDirection = 133, kItemRotateDirection = 134, kActivateTexture = 135,
  kActivateMesh = 136, kItem3DSetWalkTarget = 137, kSpeakWithoutTalking = 139, kIsOnFloorField = 162,
  kIsItemEnabled = 163, kIsScriptEnabled = 165, kIsKnowledgeBooleanSet = 166, kIsKnowledgeIntegerInRange = 170,
  kIsKnowledgeIntegerAbove = 171, kIsKnowledgeIntegerEqual = 172, kIsKnowledgeIntegerLower = 173, kIsScriptActive = 174,
  kIsRandom = 175, kIsAnimScriptItemReached = 176, kIsItemOnPlace = 177, kIsAnimPlaying = 179,
  kIsItemActivity = 180, kIsItemNearPlace = 183, kIsAnimAtTime = 185, kIsLocation2D = 186,
  kIsInventoryOpen = 187
}

Public Member Functions

 Command (Object *parent, byte subType, uint16 index, const Common::String &name)
virtual ~Command ()
Commandexecute (uint32 callMode, Script *script)
 Execute the command.
CommandnextCommand ()
 Obtain the next command to be executed.
CommandnextCommandIf (bool predicate)
 Obtain the next command to be executed, depending on a predicate.
Common::Array< ArgumentgetArguments () const
 Get the command's list of arguments.
void resumeItemSetActivity ()
 Resume the opcode ItemSetActivity after it has stopped waiting for the action anim to complete.

Static Public Attributes

static const Type::ResourceType TYPE = Type::kCommand

Protected Member Functions

void readData (Formats::XRCReadStream *stream) override
 Deserialize the resource static data and initial state.
CommandresolveArgumentSiblingReference (const Argument &argument)
Math::Vector3d getObjectPosition (const ResourceReference &targetRef, int32 *floorFace=nullptr)
CommandopScriptBegin ()
CommandopScriptCall (Script *script, const ResourceReference &scriptRef, int32 synchronous)
CommandopDialogCall (Script *script, const ResourceReference &dialogRef, int32 suspend)
CommandopSetInteractiveMode (bool enabled)
CommandopLocationGoTo (const Common::String &level, const Common::String &location, const ResourceReference &bookmarkRef, int32 direction)
CommandopWalkTo (Script *script, const ResourceReference &objectRef, int32 suspend)
CommandopScriptPauseGameLoop (Script *script, int32 count)
CommandopScriptPause (Script *script, const ResourceReference &durationRef)
CommandopScriptPauseRandom (Script *script, const ResourceReference &itemRef)
CommandopScriptPauseSkippable (Script *script, const ResourceReference &durationRef)
CommandopScriptAbort (ResourceReference scriptRef, bool disable)
CommandopExit2DLocation ()
CommandopGoto2DLocation (const Common::String &level, const Common::String &location)
CommandopRumbleScene (Script *script, int32 rumbleDuration, int32 pause)
CommandopFadeScene (Script *script, bool fadeOut, int32 fadeDuration, bool pause)
CommandopSwayScene (int32 periodMs, int32 angleIn, int32 amplitudeIn, int32 offsetIn)
CommandopGameEnd ()
CommandopInventoryOpen (bool open)
CommandopFloatScene (int32 periodMs, int32 amplitudeIn, int32 offsetIn)
CommandopBookOfSecretsOpen ()
CommandopDoNothing ()
CommandopItem3DPlaceOn (const ResourceReference &itemRef, const ResourceReference &targetRef)
CommandopItem3DWalkTo (Script *script, const ResourceReference &itemRef, const ResourceReference &targetRef, bool suspend)
CommandopItemFollowPath (Script *script, ResourceReference itemRef, ResourceReference pathRef, uint32 speed, uint32 suspend)
CommandopItemLookAt (Script *script, const ResourceReference &itemRef, const ResourceReference &objRef, bool suspend, int32 unknown)
CommandopItemEnable (const ResourceReference &itemRef, int32 enable)
CommandopItemSetActivity (Script *script, const ResourceReference &itemRef, int32 animActivity, bool wait)
CommandopItemSelectInInventory (const ResourceReference &itemRef)
CommandopUseAnimHierachy (const ResourceReference &animHierRef)
CommandopPlayAnimation (Script *script, const ResourceReference &animRef, bool suspend)
CommandopScriptEnable (const ResourceReference &scriptRef, int32 enable)
CommandopShowPlay (Script *script, const ResourceReference &ref, int32 suspend)
CommandopKnowledgeSetBoolean (const ResourceReference &knowledgeRef, int32 enable)
CommandopKnowledgeSetInteger (const ResourceReference &knowledgeRef, int32 value)
CommandopKnowledgeSetIntRandom (const ResourceReference &knowledgeRef, uint32 min, uint32 max)
CommandopKnowledgeAddInteger (const ResourceReference &knowledgeRef, int32 increment)
CommandopKnowledgeSubValue (const ResourceReference &knowledgeRef, const ResourceReference &valueRef)
CommandopEnableFloorField (const ResourceReference &floorFieldRef, bool enable)
CommandopPlayAnimScriptItem (Script *script, const ResourceReference &animScriptItemRef, int32 suspend)
CommandopItemAnimFollowPath (Script *script, const ResourceReference &animRef, const ResourceReference &pathRef, int32 speed, bool suspend)
CommandopKnowledgeAssignBool (const ResourceReference &knowledgeRef1, const ResourceReference &knowledgeRef2)
CommandopKnowledgeAssignNegatedBool (const ResourceReference &knowledgeRef1, const ResourceReference &knowledgeRef2)
CommandopKnowledgeAssignInteger (const ResourceReference &knowledgeRef1, const ResourceReference &knowledgeRef2)
CommandopLocationScrollTo (Script *script, const ResourceReference &scrollRef, bool suspend)
CommandopSoundPlay (Script *script, const ResourceReference &soundRef, int32 suspend)
CommandopItemLookDirection (Script *script, const ResourceReference &itemRef, int32 direction, bool suspend)
CommandopStopPlayingSound (const ResourceReference &soundRef)
CommandopLayerGoTo (const ResourceReference &layerRef)
CommandopLayerEnable (const ResourceReference &layerRef, int32 enable)
CommandopLocationScrollSet (const ResourceReference &scrollRef)
CommandopFullMotionVideoPlay (Script *script, const ResourceReference &movieRef, int32 unknown)
CommandopAnimSetFrame (const ResourceReference &animRef, const ResourceReference &knowledgeRef)
CommandopDiaryEnableEntry (const ResourceReference &knowledgeRef)
CommandopPATChangeTooltip (const ResourceReference &patRef, const ResourceReference &stringRef)
CommandopSoundChange (Script *script, const ResourceReference &soundRef, int32 volume, int32 pan, int32 duration, bool pause)
CommandopLightSetColor (const ResourceReference &lightRef, int32 red, int32 green, int32 blue)
CommandopLightFollowPath (Script *script, const ResourceReference &itemRef, const ResourceReference &lightRef, const ResourceReference &pathRef, int32 speed, bool suspend)
CommandopItem3DRunTo (Script *script, const ResourceReference &itemRef, const ResourceReference &targetRef, int32 suspend)
CommandopItemPlaceDirection (const ResourceReference &itemRef, int32 direction)
CommandopItemRotateDirection (Script *script, const ResourceReference &itemRef, int32 direction, int32 speed, bool suspend)
CommandopActivateTexture (const ResourceReference &textureRef)
CommandopActivateMesh (const ResourceReference &meshRef)
CommandopItem3DSetWalkTarget (const ResourceReference &itemRef, const ResourceReference &targetRef)
CommandopSpeakWithoutTalking (Script *script, const ResourceReference &speechRef, int32 unknown)
CommandopIsOnFloorField (const ResourceReference &itemRef, const ResourceReference &floorFieldRef)
CommandopIsItemEnabled (const ResourceReference &itemRef)
CommandopIsScriptEnabled (const ResourceReference &scriptRef)
CommandopIsKnowledgeBooleanSet (const ResourceReference &knowledgeRef)
CommandopIsKnowledgeIntegerInRange (const ResourceReference &knowledgeRef, int32 min, int32 max)
CommandopIsKnowledgeIntegerAbove (const ResourceReference &knowledgeRef, int32 value)
CommandopIsKnowledgeIntegerEqual (const ResourceReference &knowledgeRef, int32 value)
CommandopIsKnowledgeIntegerLower (const ResourceReference &knowledgeRef, int32 value)
CommandopIsScriptActive (const ResourceReference &scriptRef)
CommandopIsRandom (int32 chance)
CommandopIsAnimScriptItemReached (const ResourceReference &animScriptItemRef)
CommandopIsItemNearPlace (const ResourceReference &itemRef, const ResourceReference &positionRef, int32 testDistance)
CommandopIsItemOnPlace (const ResourceReference &itemRef, const ResourceReference &positionRef)
CommandopIsAnimPlaying (const ResourceReference &animRef)
CommandopIsItemActivity (const ResourceReference &itemRef, int32 value)
CommandopIsAnimAtTime (const ResourceReference &animRef, int32 time)
CommandopIsLocation2D ()
CommandopIsInventoryOpen ()

Protected Attributes

Common::Array< Argument_arguments

Detailed Description

Command resources are script operations.

The operation code is the resource subtype.

The operation arguments can be integers, strings or resource references.

Definition at line 52 of file command.h.


Member Enumeration Documentation

Enumerator:
kCommandBegin 
kCommandEnd 
kScriptCall 
kDialogCall 
kSetInteractiveMode 
kLocationGoTo 
kWalkTo 
kGameLoop 
kScriptPause 
kScriptPauseRandom 
kScriptPauseSkippable 
kScriptAbort 
kExit2DLocation 
kGoto2DLocation 
kRumbleScene 
kFadeScene 
kSwayScene 
kLocationGoToNewCD 
kGameEnd 
kInventoryOpen 
kFloatScene 
kBookOfSecretsOpen 
kDoNothing 
kItem3DPlaceOn 
kItem3DWalkTo 
kItem3DFollowPath 
kItemLookAt 
kItem2DFollowPath 
kItemEnable 
kItemSetActivity 
kItemSelectInInventory 
kUseAnimHierarchy 
kPlayAnimation 
kScriptEnable 
kShowPlay 
kKnowledgeSetBoolean 
kKnowledgeSetInteger 
kKnowledgeAddInteger 
kEnableFloorField 
kPlayAnimScriptItem 
kItemAnimFollowPath 
kKnowledgeAssignBool 
kKnowledgeAssignInteger 
kLocationScrollTo 
kSoundPlay 
kKnowledgeSetIntRandom 
kKnowledgeSubValue 
kItemLookDirection 
kStopPlayingSound 
kLayerGoTo 
kLayerEnable 
kLocationScrollSet 
kFullMotionVideoPlay 
kAnimSetFrame 
kKnowledgeAssignNegatedBool 
kDiaryEnableEntry 
kPATChangeTooltip 
kSoundChange 
kLightSetColor 
kLightFollowPath 
kItem3DRunTo 
kItemPlaceDirection 
kItemRotateDirection 
kActivateTexture 
kActivateMesh 
kItem3DSetWalkTarget 
kSpeakWithoutTalking 
kIsOnFloorField 
kIsItemEnabled 
kIsScriptEnabled 
kIsKnowledgeBooleanSet 
kIsKnowledgeIntegerInRange 
kIsKnowledgeIntegerAbove 
kIsKnowledgeIntegerEqual 
kIsKnowledgeIntegerLower 
kIsScriptActive 
kIsRandom 
kIsAnimScriptItemReached 
kIsItemOnPlace 
kIsAnimPlaying 
kIsItemActivity 
kIsItemNearPlace 
kIsAnimAtTime 
kIsLocation2D 
kIsInventoryOpen 

Definition at line 59 of file command.h.


Constructor & Destructor Documentation

Stark::Resources::Command::Command ( Object parent,
byte  subType,
uint16  index,
const Common::String name 
)

Definition at line 74 of file command.cpp.

Stark::Resources::Command::~Command (  )  [virtual]

Definition at line 71 of file command.cpp.


Member Function Documentation

Command * Stark::Resources::Command::execute ( uint32  callMode,
Script script 
)

Execute the command.

Definition at line 79 of file command.cpp.

Common::Array< Command::Argument > Stark::Resources::Command::getArguments (  )  const

Get the command's list of arguments.

Definition at line 1356 of file command.cpp.

Math::Vector3d Stark::Resources::Command::getObjectPosition ( const ResourceReference targetRef,
int32 floorFace = nullptr 
) [protected]

Definition at line 430 of file command.cpp.

Command * Stark::Resources::Command::nextCommand (  ) 

Obtain the next command to be executed.

Definition at line 1304 of file command.cpp.

Command * Stark::Resources::Command::nextCommandIf ( bool  predicate  ) 

Obtain the next command to be executed, depending on a predicate.

Definition at line 1311 of file command.cpp.

Command * Stark::Resources::Command::opActivateMesh ( const ResourceReference meshRef  )  [protected]

Definition at line 1129 of file command.cpp.

Command * Stark::Resources::Command::opActivateTexture ( const ResourceReference textureRef  )  [protected]

Definition at line 1110 of file command.cpp.

Command * Stark::Resources::Command::opAnimSetFrame ( const ResourceReference animRef,
const ResourceReference knowledgeRef 
) [protected]

Definition at line 975 of file command.cpp.

Command * Stark::Resources::Command::opBookOfSecretsOpen (  )  [protected]

Definition at line 493 of file command.cpp.

Command * Stark::Resources::Command::opDialogCall ( Script script,
const ResourceReference dialogRef,
int32  suspend 
) [protected]

Definition at line 277 of file command.cpp.

Command * Stark::Resources::Command::opDiaryEnableEntry ( const ResourceReference knowledgeRef  )  [protected]

Definition at line 984 of file command.cpp.

Command * Stark::Resources::Command::opDoNothing (  )  [protected]

Definition at line 499 of file command.cpp.

Command * Stark::Resources::Command::opEnableFloorField ( const ResourceReference floorFieldRef,
bool  enable 
) [protected]

Definition at line 772 of file command.cpp.

Command * Stark::Resources::Command::opExit2DLocation (  )  [protected]

Definition at line 375 of file command.cpp.

Command * Stark::Resources::Command::opFadeScene ( Script script,
bool  fadeOut,
int32  fadeDuration,
bool  pause 
) [protected]

Definition at line 402 of file command.cpp.

Command * Stark::Resources::Command::opFloatScene ( int32  periodMs,
int32  amplitudeIn,
int32  offsetIn 
) [protected]

Definition at line 483 of file command.cpp.

Command * Stark::Resources::Command::opFullMotionVideoPlay ( Script script,
const ResourceReference movieRef,
int32  unknown 
) [protected]

Definition at line 957 of file command.cpp.

Command * Stark::Resources::Command::opGameEnd (  )  [protected]

Definition at line 471 of file command.cpp.

Command * Stark::Resources::Command::opGoto2DLocation ( const Common::String level,
const Common::String location 
) [protected]

Definition at line 381 of file command.cpp.

Command * Stark::Resources::Command::opInventoryOpen ( bool  open  )  [protected]

Definition at line 477 of file command.cpp.

Command * Stark::Resources::Command::opIsAnimAtTime ( const ResourceReference animRef,
int32  time 
) [protected]

Definition at line 1283 of file command.cpp.

Command * Stark::Resources::Command::opIsAnimPlaying ( const ResourceReference animRef  )  [protected]

Definition at line 1270 of file command.cpp.

Command * Stark::Resources::Command::opIsAnimScriptItemReached ( const ResourceReference animScriptItemRef  )  [protected]

Definition at line 1245 of file command.cpp.

Command * Stark::Resources::Command::opIsInventoryOpen (  )  [protected]

Definition at line 1298 of file command.cpp.

Command * Stark::Resources::Command::opIsItemActivity ( const ResourceReference itemRef,
int32  value 
) [protected]

Definition at line 1276 of file command.cpp.

Command * Stark::Resources::Command::opIsItemEnabled ( const ResourceReference itemRef  )  [protected]

Definition at line 1190 of file command.cpp.

Command * Stark::Resources::Command::opIsItemNearPlace ( const ResourceReference itemRef,
const ResourceReference positionRef,
int32  testDistance 
) [protected]

Definition at line 1261 of file command.cpp.

Command * Stark::Resources::Command::opIsItemOnPlace ( const ResourceReference itemRef,
const ResourceReference positionRef 
) [protected]

Definition at line 1252 of file command.cpp.

Command * Stark::Resources::Command::opIsKnowledgeBooleanSet ( const ResourceReference knowledgeRef  )  [protected]

Definition at line 1202 of file command.cpp.

Command * Stark::Resources::Command::opIsKnowledgeIntegerAbove ( const ResourceReference knowledgeRef,
int32  value 
) [protected]

Definition at line 1215 of file command.cpp.

Command * Stark::Resources::Command::opIsKnowledgeIntegerEqual ( const ResourceReference knowledgeRef,
int32  value 
) [protected]

Definition at line 1221 of file command.cpp.

Command * Stark::Resources::Command::opIsKnowledgeIntegerInRange ( const ResourceReference knowledgeRef,
int32  min,
int32  max 
) [protected]

Definition at line 1208 of file command.cpp.

Command * Stark::Resources::Command::opIsKnowledgeIntegerLower ( const ResourceReference knowledgeRef,
int32  value 
) [protected]

Definition at line 1227 of file command.cpp.

Command * Stark::Resources::Command::opIsLocation2D (  )  [protected]

Definition at line 1291 of file command.cpp.

Command * Stark::Resources::Command::opIsOnFloorField ( const ResourceReference itemRef,
const ResourceReference floorFieldRef 
) [protected]

Definition at line 1180 of file command.cpp.

Command * Stark::Resources::Command::opIsRandom ( int32  chance  )  [protected]

Definition at line 1239 of file command.cpp.

Command * Stark::Resources::Command::opIsScriptActive ( const ResourceReference scriptRef  )  [protected]

Definition at line 1233 of file command.cpp.

Command * Stark::Resources::Command::opIsScriptEnabled ( const ResourceReference scriptRef  )  [protected]

Definition at line 1196 of file command.cpp.

Command * Stark::Resources::Command::opItem3DPlaceOn ( const ResourceReference itemRef,
const ResourceReference targetRef 
) [protected]

Definition at line 503 of file command.cpp.

Command * Stark::Resources::Command::opItem3DRunTo ( Script script,
const ResourceReference itemRef,
const ResourceReference targetRef,
int32  suspend 
) [protected]

Definition at line 1048 of file command.cpp.

Command * Stark::Resources::Command::opItem3DSetWalkTarget ( const ResourceReference itemRef,
const ResourceReference targetRef 
) [protected]

Definition at line 1148 of file command.cpp.

Command * Stark::Resources::Command::opItem3DWalkTo ( Script script,
const ResourceReference itemRef,
const ResourceReference targetRef,
bool  suspend 
) [protected]

Definition at line 515 of file command.cpp.

Command * Stark::Resources::Command::opItemAnimFollowPath ( Script script,
const ResourceReference animRef,
const ResourceReference pathRef,
int32  speed,
bool  suspend 
) [protected]

Definition at line 800 of file command.cpp.

Command * Stark::Resources::Command::opItemEnable ( const ResourceReference itemRef,
int32  enable 
) [protected]

Definition at line 581 of file command.cpp.

Command * Stark::Resources::Command::opItemFollowPath ( Script script,
ResourceReference  itemRef,
ResourceReference  pathRef,
uint32  speed,
uint32  suspend 
) [protected]

Definition at line 534 of file command.cpp.

Command * Stark::Resources::Command::opItemLookAt ( Script script,
const ResourceReference itemRef,
const ResourceReference objRef,
bool  suspend,
int32  unknown 
) [protected]

Definition at line 554 of file command.cpp.

Command * Stark::Resources::Command::opItemLookDirection ( Script script,
const ResourceReference itemRef,
int32  direction,
bool  suspend 
) [protected]

Definition at line 876 of file command.cpp.

Command * Stark::Resources::Command::opItemPlaceDirection ( const ResourceReference itemRef,
int32  direction 
) [protected]

Definition at line 1068 of file command.cpp.

Command * Stark::Resources::Command::opItemRotateDirection ( Script script,
const ResourceReference itemRef,
int32  direction,
int32  speed,
bool  suspend 
) [protected]

Definition at line 1080 of file command.cpp.

Command * Stark::Resources::Command::opItemSelectInInventory ( const ResourceReference itemRef  )  [protected]

Definition at line 635 of file command.cpp.

Command * Stark::Resources::Command::opItemSetActivity ( Script script,
const ResourceReference itemRef,
int32  animActivity,
bool  wait 
) [protected]

Definition at line 610 of file command.cpp.

Command * Stark::Resources::Command::opKnowledgeAddInteger ( const ResourceReference knowledgeRef,
int32  increment 
) [protected]

Definition at line 751 of file command.cpp.

Command * Stark::Resources::Command::opKnowledgeAssignBool ( const ResourceReference knowledgeRef1,
const ResourceReference knowledgeRef2 
) [protected]

Definition at line 822 of file command.cpp.

Command * Stark::Resources::Command::opKnowledgeAssignInteger ( const ResourceReference knowledgeRef1,
const ResourceReference knowledgeRef2 
) [protected]

Definition at line 840 of file command.cpp.

Command * Stark::Resources::Command::opKnowledgeAssignNegatedBool ( const ResourceReference knowledgeRef1,
const ResourceReference knowledgeRef2 
) [protected]

Definition at line 831 of file command.cpp.

Command * Stark::Resources::Command::opKnowledgeSetBoolean ( const ResourceReference knowledgeRef,
int32  enable 
) [protected]

Definition at line 711 of file command.cpp.

Command * Stark::Resources::Command::opKnowledgeSetInteger ( const ResourceReference knowledgeRef,
int32  value 
) [protected]

Definition at line 734 of file command.cpp.

Command * Stark::Resources::Command::opKnowledgeSetIntRandom ( const ResourceReference knowledgeRef,
uint32  min,
uint32  max 
) [protected]

Definition at line 742 of file command.cpp.

Command * Stark::Resources::Command::opKnowledgeSubValue ( const ResourceReference knowledgeRef,
const ResourceReference valueRef 
) [protected]

Definition at line 760 of file command.cpp.

Command * Stark::Resources::Command::opLayerEnable ( const ResourceReference layerRef,
int32  enable 
) [protected]

Definition at line 922 of file command.cpp.

Command * Stark::Resources::Command::opLayerGoTo ( const ResourceReference layerRef  )  [protected]

Definition at line 913 of file command.cpp.

Command * Stark::Resources::Command::opLightFollowPath ( Script script,
const ResourceReference itemRef,
const ResourceReference lightRef,
const ResourceReference pathRef,
int32  speed,
bool  suspend 
) [protected]

Definition at line 1025 of file command.cpp.

Command * Stark::Resources::Command::opLightSetColor ( const ResourceReference lightRef,
int32  red,
int32  green,
int32  blue 
) [protected]

Definition at line 1017 of file command.cpp.

Command * Stark::Resources::Command::opLocationGoTo ( const Common::String level,
const Common::String location,
const ResourceReference bookmarkRef,
int32  direction 
) [protected]

Definition at line 295 of file command.cpp.

Command * Stark::Resources::Command::opLocationScrollSet ( const ResourceReference scrollRef  )  [protected]

Definition at line 947 of file command.cpp.

Command * Stark::Resources::Command::opLocationScrollTo ( Script script,
const ResourceReference scrollRef,
bool  suspend 
) [protected]

Definition at line 849 of file command.cpp.

Command * Stark::Resources::Command::opPATChangeTooltip ( const ResourceReference patRef,
const ResourceReference stringRef 
) [protected]

Definition at line 996 of file command.cpp.

Command * Stark::Resources::Command::opPlayAnimation ( Script script,
const ResourceReference animRef,
bool  suspend 
) [protected]

Definition at line 655 of file command.cpp.

Command * Stark::Resources::Command::opPlayAnimScriptItem ( Script script,
const ResourceReference animScriptItemRef,
int32  suspend 
) [protected]

Definition at line 782 of file command.cpp.

Command * Stark::Resources::Command::opRumbleScene ( Script script,
int32  rumbleDuration,
int32  pause 
) [protected]

Definition at line 389 of file command.cpp.

Command * Stark::Resources::Command::opScriptAbort ( ResourceReference  scriptRef,
bool  disable 
) [protected]

Definition at line 363 of file command.cpp.

Command * Stark::Resources::Command::opScriptBegin (  )  [protected]

Definition at line 256 of file command.cpp.

Command * Stark::Resources::Command::opScriptCall ( Script script,
const ResourceReference scriptRef,
int32  synchronous 
) [protected]

Definition at line 260 of file command.cpp.

Command * Stark::Resources::Command::opScriptEnable ( const ResourceReference scriptRef,
int32  enable 
) [protected]

Definition at line 672 of file command.cpp.

Command * Stark::Resources::Command::opScriptPause ( Script script,
const ResourceReference durationRef 
) [protected]

Definition at line 305 of file command.cpp.

Command * Stark::Resources::Command::opScriptPauseGameLoop ( Script script,
int32  count 
) [protected]

Definition at line 337 of file command.cpp.

Command * Stark::Resources::Command::opScriptPauseRandom ( Script script,
const ResourceReference itemRef 
) [protected]

Definition at line 345 of file command.cpp.

Command * Stark::Resources::Command::opScriptPauseSkippable ( Script script,
const ResourceReference durationRef 
) [protected]

Definition at line 354 of file command.cpp.

Command * Stark::Resources::Command::opSetInteractiveMode ( bool  enabled  )  [protected]

Definition at line 289 of file command.cpp.

Command * Stark::Resources::Command::opShowPlay ( Script script,
const ResourceReference ref,
int32  suspend 
) [protected]

Definition at line 695 of file command.cpp.

Command * Stark::Resources::Command::opSoundChange ( Script script,
const ResourceReference soundRef,
int32  volume,
int32  pan,
int32  duration,
bool  pause 
) [protected]

Definition at line 1005 of file command.cpp.

Command * Stark::Resources::Command::opSoundPlay ( Script script,
const ResourceReference soundRef,
int32  suspend 
) [protected]

Definition at line 864 of file command.cpp.

Command * Stark::Resources::Command::opSpeakWithoutTalking ( Script script,
const ResourceReference speechRef,
int32  unknown 
) [protected]

Definition at line 1166 of file command.cpp.

Command * Stark::Resources::Command::opStopPlayingSound ( const ResourceReference soundRef  )  [protected]

Definition at line 905 of file command.cpp.

Command * Stark::Resources::Command::opSwayScene ( int32  periodMs,
int32  angleIn,
int32  amplitudeIn,
int32  offsetIn 
) [protected]

Definition at line 419 of file command.cpp.

Command * Stark::Resources::Command::opUseAnimHierachy ( const ResourceReference animHierRef  )  [protected]

Definition at line 642 of file command.cpp.

Command * Stark::Resources::Command::opWalkTo ( Script script,
const ResourceReference objectRef,
int32  suspend 
) [protected]

Definition at line 312 of file command.cpp.

void Stark::Resources::Command::readData ( Formats::XRCReadStream stream  )  [override, protected, virtual]

Deserialize the resource static data and initial state.

Reimplemented from Stark::Resources::Object.

Definition at line 1327 of file command.cpp.

Command * Stark::Resources::Command::resolveArgumentSiblingReference ( const Argument argument  )  [protected]

Definition at line 1323 of file command.cpp.

void Stark::Resources::Command::resumeItemSetActivity (  ) 

Resume the opcode ItemSetActivity after it has stopped waiting for the action anim to complete.

Definition at line 625 of file command.cpp.


Member Data Documentation

Definition at line 289 of file command.h.

const Type::ResourceType Stark::Resources::Command::TYPE = Type::kCommand [static]

Definition at line 54 of file command.h.


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


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