ScummVM API documentation
Cine::RawObjectScript Class Reference

#include <script.h>

Inheritance diagram for Cine::RawObjectScript:
Cine::RawScript

Public Member Functions

 RawObjectScript (uint16 size, uint16 p1, uint16 p2, uint16 p3)
 
 RawObjectScript (const FWScriptInfo &info, const byte *data, uint16 size, uint16 p1, uint16 p2, uint16 p3)
 
int16 run ()
 
- Public Member Functions inherited from Cine::RawScript
 RawScript (uint16 size)
 
 RawScript (const FWScriptInfo &info, const byte *data, uint16 size)
 
 RawScript (const RawScript &src)
 
RawScriptoperator= (const RawScript &src)
 
void setData (const FWScriptInfo &info, const byte *data)
 
const ScriptVarslabels () const
 
byte getByte (unsigned int pos) const
 
uint16 getWord (unsigned int pos) const
 
const char * getString (unsigned int pos) const
 
uint16 getLabel (const FWScriptInfo &info, byte index, uint16 offset) const
 

Public Attributes

int16 _runCount
 How many times the script was used.
 
uint16 _param1
 Additional parameter not used at the moment.
 
uint16 _param2
 Additional parameter not used at the moment.
 
uint16 _param3
 Additional parameter not used at the moment.
 
- Public Attributes inherited from Cine::RawScript
uint16 _size
 Bytecode length.
 

Additional Inherited Members

- Protected Member Functions inherited from Cine::RawScript
void computeLabels (const FWScriptInfo &info)
 
int getNextLabel (const FWScriptInfo &info, int offset) const
 

Detailed Description

Object script class, RelObjectScript replacement

Script parameters are not used, this class is required by different script initialization of object scripts

Member Function Documentation

◆ run()

int16 Cine::RawObjectScript::run ( )
inline

Run the script one more time.

Returns
Run count before incrementation

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