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; };
109 int getNextUnusedID();
111 void setCastMemberModified(
int castId);
114 bool eraseCastMember(
int castId);
115 CastMember *getCastMember(
int castId,
bool load =
true);
117 CastMember *getCastMemberByScriptId(
int scriptId);
119 const Stxt *getStxt(
int castId);
123 void rebuildCastNameCache();
127 void releaseCastMemberWidget();
129 void dumpScript(
const char *script, ScriptType type, uint16
id);
131 Common::CodePage getFileEncoding();
150 uint16 _libResourceId;
153 CharMap _macCharsToWin;
154 CharMap _winCharsToMac;
155 FontXPlatformMap _fontXPlatformMap;
165 uint16 _castIDoffset;
166 uint16 _castArrayStart;
167 uint16 _castArrayEnd;
Definition: director.h:124
Definition: algorithm.h:29
Definition: resolver.h:15
Definition: director.h:156
Definition: castmember.h:45
Definition: castmember.h:127