ScummVM API documentation
Director::Cast Class Reference

Public Member Functions

 Cast (Movie *movie, uint16 castLibID, bool isShared=false, bool isExternal=false, uint16 libResourceId=1024)
 
void loadArchive ()
 
void setArchive (Archive *archive)
 
ArchivegetArchive () const
 
Common::String getMacName () const
 
bool loadConfig ()
 
void loadCast ()
 
void loadCastDataVWCR (Common::SeekableReadStreamEndian &stream)
 
void loadCastData (Common::SeekableReadStreamEndian &stream, uint16 id, Resource *res)
 
void loadCastInfo (Common::SeekableReadStreamEndian &stream, uint16 id)
 
void loadCastLibInfo (Common::SeekableReadStreamEndian &stream, uint16 id)
 
void loadLingoContext (Common::SeekableReadStreamEndian &stream)
 
void loadExternalSound (Common::SeekableReadStreamEndian &stream)
 
void loadSord (Common::SeekableReadStreamEndian &stream)
 
int getCastSize ()
 
int getCastMaxID ()
 
int getNextUnusedID ()
 
Common::Rect getCastMemberInitialRect (int castId)
 
void setCastMemberModified (int castId)
 
CastMembersetCastMember (int castId, CastMember *cast)
 
bool duplicateCastMember (CastMember *source, CastMemberInfo *info, int targetId)
 
bool eraseCastMember (int castId)
 
CastMembergetCastMember (int castId, bool load=true)
 
CastMembergetCastMemberByNameAndType (const Common::String &name, CastType type)
 
CastMembergetCastMemberByScriptId (int scriptId)
 
CastMemberInfogetCastMemberInfo (int castId)
 
const StxtgetStxt (int castId)
 
Common::String getLinkedPath (int castId)
 
Common::String getVideoPath (int castId)
 
Common::SeekableReadStreamEndiangetResource (uint32 tag, uint16 id)
 
void rebuildCastNameCache ()
 
void releaseCastMemberWidget ()
 
void dumpScript (const char *script, ScriptType type, uint16 id)
 
Common::CodePage getFileEncoding ()
 
Common::U32String decodeString (const Common::String &str)
 
Common::String formatCastSummary (int castId)
 
PaletteV4 loadPalette (Common::SeekableReadStreamEndian &stream, int id)
 

Public Attributes

Archive_castArchive
 
uint16 _version
 
Common::Platform _platform
 
uint16 _castLibID
 
uint16 _libResourceId
 
bool _isExternal
 
CharMap _macCharsToWin
 
CharMap _winCharsToMac
 
FontXPlatformMap _fontXPlatformMap
 
FontMap _fontMap
 
bool _isProtected
 
Common::HashMap< int, CastMember * > * _loadedCast
 
Common::HashMap< int, const Stxt * > _loadedStxts
 
Common::HashMap< int, const RTE0 * > _loadedRTE0s
 
Common::HashMap< int, const RTE1 * > _loadedRTE1s
 
Common::HashMap< int, const RTE2 * > _loadedRTE2s
 
uint16 _castIDoffset
 
uint16 _castArrayStart
 
uint16 _castArrayEnd
 
Common::Rect _movieRect
 
uint16 _stageColor
 
CastMemberID _defaultPalette
 
int16 _frameRate
 
TilePatternEntry _tiles [kNumBuiltinTiles]
 
LingoArchive_lingoArchive
 
LingoDec::ScriptContext_lingodec = nullptr
 
LingoDec::ChunkResolver_chunkResolver = nullptr
 

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