Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

FWScript * Cine::OSScriptInfo::create ( const RawObjectScript script,
int16  index,
const ScriptVars labels,
const ScriptVars local,
uint16  compare,
uint16  pos 
) const [virtual]

Load saved OSScript instance.

script Object script bytecode
index Bytecode index
local Local variables
labels Script labels
compare Last compare result
pos Position in script

Reimplemented from Cine::FWScriptInfo.

Definition at line 363 of file script_os.cpp.

References Cine::OSScript::load().

      OSScript *tmp = new OSScript(script, index);
      tmp->load(labels, local, compare, pos);
      return tmp;

Generated by  Doxygen 1.6.0   Back to index