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 resources/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 resources/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 resources/command.cpp.

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

Definition at line 71 of file resources/command.cpp.


Member Function Documentation

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

Execute the command.

Definition at line 79 of file resources/command.cpp.

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

Get the command's list of arguments.

Definition at line 1352 of file resources/command.cpp.

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

Definition at line 430 of file resources/command.cpp.

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

Obtain the next command to be executed.

Definition at line 1300 of file resources/command.cpp.

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

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

Definition at line 1307 of file resources/command.cpp.

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

Definition at line 1125 of file resources/command.cpp.

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

Definition at line 1106 of file resources/command.cpp.

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

Definition at line 971 of file resources/command.cpp.

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

Definition at line 485 of file resources/command.cpp.

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

Definition at line 277 of file resources/command.cpp.

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

Definition at line 980 of file resources/command.cpp.

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

Definition at line 491 of file resources/command.cpp.

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

Definition at line 765 of file resources/command.cpp.

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

Definition at line 375 of file resources/command.cpp.

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

Definition at line 402 of file resources/command.cpp.

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

Definition at line 475 of file resources/command.cpp.

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

Definition at line 951 of file resources/command.cpp.

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

Definition at line 463 of file resources/command.cpp.

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

Definition at line 381 of file resources/command.cpp.

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

Definition at line 469 of file resources/command.cpp.

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

Definition at line 1279 of file resources/command.cpp.

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

Definition at line 1266 of file resources/command.cpp.

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

Definition at line 1241 of file resources/command.cpp.

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

Definition at line 1294 of file resources/command.cpp.

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

Definition at line 1272 of file resources/command.cpp.

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

Definition at line 1186 of file resources/command.cpp.

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

Definition at line 1257 of file resources/command.cpp.

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

Definition at line 1248 of file resources/command.cpp.

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

Definition at line 1198 of file resources/command.cpp.

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

Definition at line 1211 of file resources/command.cpp.

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

Definition at line 1217 of file resources/command.cpp.

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

Definition at line 1204 of file resources/command.cpp.

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

Definition at line 1223 of file resources/command.cpp.

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

Definition at line 1287 of file resources/command.cpp.

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

Definition at line 1176 of file resources/command.cpp.

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

Definition at line 1235 of file resources/command.cpp.

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

Definition at line 1229 of file resources/command.cpp.

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

Definition at line 1192 of file resources/command.cpp.

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

Definition at line 495 of file resources/command.cpp.

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

Definition at line 1044 of file resources/command.cpp.

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

Definition at line 1144 of file resources/command.cpp.

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

Definition at line 507 of file resources/command.cpp.

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

Definition at line 794 of file resources/command.cpp.

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

Definition at line 573 of file resources/command.cpp.

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

Definition at line 526 of file resources/command.cpp.

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

Definition at line 546 of file resources/command.cpp.

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

Definition at line 870 of file resources/command.cpp.

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

Definition at line 1064 of file resources/command.cpp.

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

Definition at line 1076 of file resources/command.cpp.

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

Definition at line 626 of file resources/command.cpp.

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

Definition at line 602 of file resources/command.cpp.

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

Definition at line 744 of file resources/command.cpp.

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

Definition at line 816 of file resources/command.cpp.

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

Definition at line 834 of file resources/command.cpp.

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

Definition at line 825 of file resources/command.cpp.

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

Definition at line 704 of file resources/command.cpp.

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

Definition at line 727 of file resources/command.cpp.

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

Definition at line 735 of file resources/command.cpp.

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

Definition at line 753 of file resources/command.cpp.

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

Definition at line 916 of file resources/command.cpp.

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

Definition at line 907 of file resources/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 1021 of file resources/command.cpp.

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

Definition at line 1013 of file resources/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 resources/command.cpp.

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

Definition at line 941 of file resources/command.cpp.

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

Definition at line 843 of file resources/command.cpp.

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

Definition at line 992 of file resources/command.cpp.

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

Definition at line 646 of file resources/command.cpp.

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

Definition at line 775 of file resources/command.cpp.

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

Definition at line 389 of file resources/command.cpp.

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

Definition at line 363 of file resources/command.cpp.

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

Definition at line 256 of file resources/command.cpp.

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

Definition at line 260 of file resources/command.cpp.

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

Definition at line 665 of file resources/command.cpp.

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

Definition at line 305 of file resources/command.cpp.

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

Definition at line 337 of file resources/command.cpp.

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

Definition at line 345 of file resources/command.cpp.

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

Definition at line 354 of file resources/command.cpp.

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

Definition at line 289 of file resources/command.cpp.

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

Definition at line 688 of file resources/command.cpp.

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

Definition at line 1001 of file resources/command.cpp.

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

Definition at line 858 of file resources/command.cpp.

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

Definition at line 1162 of file resources/command.cpp.

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

Definition at line 899 of file resources/command.cpp.

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

Definition at line 419 of file resources/command.cpp.

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

Definition at line 633 of file resources/command.cpp.

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

Definition at line 312 of file resources/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 1323 of file resources/command.cpp.

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

Definition at line 1319 of file resources/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 616 of file resources/command.cpp.


Member Data Documentation

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

Definition at line 54 of file resources/command.h.


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


Generated on Sat Jan 12 2019 05:05:19 for ResidualVM by doxygen 1.7.1
curved edge   curved edge