ScummVM API documentation
Cine::RawScript Class Reference

#include <script.h>

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

Public Member Functions

 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

uint16 _size
 Bytecode length.
 

Protected Member Functions

void computeLabels (const FWScriptInfo &info)
 
int getNextLabel (const FWScriptInfo &info, int offset) const
 

Detailed Description

Script bytecode and initial labels, ScriptStruct replacement.

_data is one byte longer to make sure strings in bytecode are properly terminated


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