ScummVM API documentation
LingoDec::Script Struct Reference

Public Member Functions

 Script (unsigned int version_)
 
void read (Common::SeekableReadStream &stream)
 
Common::Array< int16 > readVarnamesTable (Common::SeekableReadStream &stream, uint16 count, uint32 offset)
 
bool validName (int id) const
 
Common::String getName (int id) const
 
void setContext (ScriptContext *ctx)
 
void parse ()
 
void writeVarDeclarations (CodeWriterVisitor &code) const
 
void writeScriptText (CodeWriterVisitor &code) const
 
Common::String scriptText (const char *lineEnding, bool dotSyntax) const
 
void writeBytecodeText (CodeWriterVisitor &code) const
 
Common::String bytecodeText (const char *lineEnding, bool dotSyntax) const
 
bool isFactory () const
 

Public Attributes

uint32 totalLength
 
uint32 totalLength2
 
uint16 headerLength
 
uint16 scriptNumber
 
int16 unk20
 
int16 parentNumber
 
uint32 scriptFlags
 
int16 unk42
 
int32 castID
 
int16 factoryNameID
 
uint16 handlerVectorsCount
 
uint32 handlerVectorsOffset
 
uint32 handlerVectorsSize
 
uint16 propertiesCount
 
uint32 propertiesOffset
 
uint16 globalsCount
 
uint32 globalsOffset
 
uint16 handlersCount
 
uint32 handlersOffset
 
uint16 literalsCount
 
uint32 literalsOffset
 
uint32 literalsDataCount
 
uint32 literalsDataOffset
 
Common::Array< int16 > propertyNameIDs
 
Common::Array< int16 > globalNameIDs
 
Common::String factoryName
 
Common::Array< Common::StringpropertyNames
 
Common::Array< Common::StringglobalNames
 
Common::Array< Handlerhandlers
 
Common::Array< LiteralStoreliterals
 
Common::Array< Script * > factories
 
unsigned int version
 
ScriptContextcontext
 

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