ScummVM API documentation
Director::LingoArchive Struct Reference

Public Member Functions

 LingoArchive (Cast *c)
 
ScriptContextgetScriptContext (ScriptType type, uint16 id)
 
ScriptContextfindScriptContext (uint16 id)
 
Common::String getName (uint16 id)
 
Common::String formatFunctionList (const char *prefix)
 
void addCode (const Common::U32String &code, ScriptType type, uint16 id, const char *scriptName=nullptr, uint32 preprocFlags=kLPPNone)
 
void patchCode (const Common::U32String &code, ScriptType type, uint16 id, const char *scriptName=nullptr, uint32 preprocFlags=kLPPNone)
 
void removeCode (ScriptType type, uint16 id)
 
void replaceCode (const Common::U32String &code, ScriptType type, uint16 id, const char *scriptName=nullptr)
 
void addCodeV4 (Common::SeekableReadStreamEndian &stream, uint16 lctxIndex, const Common::String &archName, uint16 version)
 
void addNamesV4 (Common::SeekableReadStreamEndian &stream)
 
void patchScriptHandler (ScriptType type, CastMemberID id)
 

Public Attributes

Castcast
 
ScriptContextHash lctxContexts
 
ScriptContextHash scriptContexts [kMaxScriptType+1]
 
FactoryContextHash factoryContexts
 
Common::Array< Common::Stringnames
 
Common::HashMap< uint32, Common::StringprimaryEventHandlers
 
SymbolHash functionHandlers
 

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