ScummVM API documentation
Access::Scripts Class Referenceabstract
Inheritance diagram for Access::Scripts:
Access::Manager Access::Amazon::AmazonScripts Access::Martian::MartianScripts

Public Member Functions

 Scripts (AccessEngine *vm)
 
void setOpcodes ()
 
void setOpcodes_v2 ()
 
void setScript (Resource *data, bool restartFlag=false)
 
void freeScriptData ()
 
void searchForSequence ()
 
int executeScript ()
 
void findNull ()
 
void doCmdPrint_v1 (Common::String msg)
 
void printString (const Common::String &msg)
 
void cmdFreeSound ()
 
void cmdRetPos ()
 
void converse1 (int val)
 
- Public Member Functions inherited from Access::Manager
 Manager (AccessEngine *vm)
 

Public Attributes

int _sequence
 
bool _endFlag
 
int _returnCode
 
int _scriptCommand
 
int _choice
 
int32 _choiceStart
 
Common::Point _charsOrg
 
Common::Point _texsOrg
 

Protected Member Functions

virtual void executeSpecial (int commandIndex, int param1, int param2)=0
 
virtual void executeCommand (int commandIndex)
 
void charLoop ()
 
Common::String readString ()
 
void cmdObject ()
 
void cmdEndObject ()
 
void cmdJumpLook ()
 
void cmdJumpHelp ()
 
void cmdJumpGet ()
 
void cmdJumpMove ()
 
void cmdJumpUse ()
 
void cmdJumpTalk ()
 
void cmdNull ()
 
void cmdPrint_v1 ()
 
void cmdPrint_v2 ()
 
void cmdAnim ()
 
void cmdSetFlag ()
 
void cmdCheckFlag ()
 
void cmdGoto ()
 
void cmdAddScore ()
 
void cmdSetInventory ()
 
void cmdCheckInventory ()
 
void cmdSetTex ()
 
void cmdNewRoom ()
 
void cmdConverse ()
 
void cmdCheckFrame ()
 
void cmdCheckAnim ()
 
void cmdSnd ()
 
void cmdRetNeg ()
 
void cmdCheckLoc ()
 
void cmdSetAnim ()
 
void cmdDispInv_v1 ()
 
void cmdDispInv_v2 ()
 
void cmdSetAbout ()
 
void cmdSetTimer ()
 
void cmdCheckTimer ()
 
void cmdJumpGoto ()
 
void cmdSetTravel ()
 
void cmdSetVideo ()
 
void cmdPlayVideo ()
 
void cmdPlotImage ()
 
void cmdSetDisplay ()
 
void cmdSetBuffer ()
 
void cmdSetScroll ()
 
void cmdSaveRect ()
 
void cmdVideoEnded ()
 
void cmdSetBufVid ()
 
void cmdPlayBufVid ()
 
void cmdRemoveLast ()
 
void cmdDoTravel ()
 
void cmdCheckAbout ()
 
void cmdSpecial ()
 
void cmdSetCycle ()
 
void cmdCycle ()
 
void cmdCharSpeak ()
 
void cmdTexSpeak ()
 
void cmdTexChoice ()
 
void cmdWait ()
 
void cmdSetConPos ()
 
void cmdCheckVFrame ()
 
void cmdJumpChoice ()
 
void cmdReturnChoice ()
 
void cmdClearBlock ()
 
void cmdLoadSound ()
 
void cmdSetVideoSound ()
 
void cmdPlayVideoSound ()
 
void cmdPrintWatch ()
 
void cmdDispAbout ()
 
void cmdPushLocation ()
 
void cmdCheckTravel ()
 
void cmdBlock ()
 
void cmdPlayerOff ()
 
void cmdPlayerOn ()
 
void cmdDead ()
 
void cmdFadeOut ()
 
void cmdEndVideo ()
 
void cmdHelp_v1 ()
 
void cmdHelp_v2 ()
 
void cmdCycleBack ()
 
void cmdSetHelp ()
 

Protected Attributes

Resource_resource
 
Common::SeekableReadStream_data
 
ScriptMethodPtr COMMAND_LIST [100]
 
- Protected Attributes inherited from Access::Manager
AccessEngine_vm
 

Member Function Documentation

◆ readString()

Common::String Access::Scripts::readString ( )
protected

Read a null terminated string from the script

◆ cmdGoto()

void Access::Scripts::cmdGoto ( )
protected

Jump to another script

◆ printString()

void Access::Scripts::printString ( const Common::String msg)

Print a given message to the screen in a bubble box


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