22 #ifndef DIRECTOR_CAST_H 23 #define DIRECTOR_CAST_H 25 #include "common/hash-str.h" 28 class ReadStreamEndian;
30 class SeekableReadStreamEndian;
41 struct CastMemberInfo;
51 class BitmapCastMember;
52 class FilmLoopCastMember;
53 class ScriptCastMember;
54 class ShapeCastMember;
56 class PaletteCastMember;
57 class SoundCastMember;
79 #define NUMTILEPATTERNS 8 87 Cast(
Movie *movie, uint16 castLibID,
bool isShared =
false,
bool isExternal =
false, uint16 libResourceId = 1024);
91 void setArchive(
Archive *archive);
92 Archive *getArchive()
const {
return _castArchive; };
107 int getNextUnusedID();
109 void setCastMemberModified(
int castId);
112 bool eraseCastMember(
int castId);
113 CastMember *getCastMember(
int castId,
bool load =
true);
115 CastMember *getCastMemberByScriptId(
int scriptId);
117 const Stxt *getStxt(
int castId);
121 void rebuildCastNameCache();
125 void releaseCastMemberWidget();
127 void dumpScript(
const char *script, ScriptType type, uint16
id);
129 Common::CodePage getFileEncoding();
148 uint16 _libResourceId;
151 CharMap _macCharsToWin;
152 CharMap _winCharsToMac;
153 FontXPlatformMap _fontXPlatformMap;
163 uint16 _castIDoffset;
164 uint16 _castArrayStart;
165 uint16 _castArrayEnd;
Definition: director.h:118
Definition: algorithm.h:29
Definition: resolver.h:15
Definition: director.h:150
Definition: castmember.h:45
Definition: castmember.h:126