22 #ifndef DIRECTOR_MOVIE_H 23 #define DIRECTOR_MOVIE_H 25 #define DEFAULT_CAST_LIB 1 26 #define SHARED_CAST_LIB -1337 30 class ReadStreamEndian;
31 class SeekableReadStreamEndian;
38 struct CastMemberInfo;
56 data = (byte *)malloc(len);
57 memcpy(data, old.data, len);
68 data = (byte *)malloc(len);
69 memcpy(data, old.data, len);
83 InfoEntries() : unk1(0), unk2(0), flags(0), scriptId(0) {}
96 void setArchive(
Archive *archive);
97 Archive *getArchive()
const {
return _movieArchive; };
99 Window *getWindow()
const {
return _window; }
101 Cast *getCast()
const {
return _casts.getValOrDefault(DEFAULT_CAST_LIB,
nullptr); }
103 Cast *getSharedCast()
const {
return _sharedCast; }
105 Score *getScore()
const {
return _score; }
107 void clearSharedCast();
120 bool isValidCastMember(
CastMemberID memberID, CastType type);
132 void setPrimaryEventHandler(LEvent event,
const Common::String &code);
134 void processEvent(LEvent event,
int targetId = 0);
148 uint16 _currentActiveSpriteId;
149 uint16 _currentMouseSpriteId;
151 uint16 _currentEditableTextChannel;
152 uint32 _lastEventTime;
153 uint32 _lastRollTime;
154 uint32 _lastClickTime;
155 uint32 _lastClickTime2;
158 uint32 _lastTimerReset;
161 bool _allowOutdatedLingo;
162 bool _remapPalettesWhenNeeded;
183 uint16 _currentHiliteChannelId;
187 bool _timeOutKeyDown;
208 bool _mouseDownWasInButton;
209 Channel *_currentDraggedChannel;
Definition: algorithm.h:29
Definition: director.h:150
Definition: castmember.h:45
Definition: castmember.h:126
Definition: lingo-object.h:213