ScummVM API documentation
Director::Movie Class Reference

Public Member Functions

 Movie (Window *window)
 
void loadCastLibMapping (Common::SeekableReadStreamEndian &stream)
 
bool loadArchive ()
 
void setArchive (Common::SharedPtr< Archive > archive)
 
Common::SharedPtr< ArchivegetArchive () const
 
Common::String getMacName () const
 
WindowgetWindow () const
 
DirectorEnginegetVM () const
 
CastgetCast () const
 
CastgetCast (CastMemberID memberID)
 
CastgetCastByLibResourceID (int libresourceID)
 
CastgetSharedCast () const
 
const Common::HashMap< int, Cast * > * getCasts () const
 
ScoregetScore () const
 
void clearSharedCast ()
 
void loadSharedCastsFrom (Common::Path &filename)
 
Common::SharedPtr< ArchiveloadExternalCastFrom (Common::Path &filename)
 
bool loadCastLibFrom (uint16 libId, Common::Path &filename)
 
CastMembergetCastMember (CastMemberID memberID)
 
CastMembercreateOrReplaceCastMember (CastMemberID memberID, CastMember *cast)
 
bool eraseCastMember (CastMemberID memberID)
 
bool duplicateCastMember (CastMemberID source, CastMemberID target)
 
CastMemberID getCastMemberIDByMember (int memberID)
 
int getCastLibIDByName (const Common::String &name)
 
void setCastLibName (const Common::String &name, int castLib)
 
CastMemberID getCastMemberIDByName (const Common::String &name)
 
CastMemberID getCastMemberIDByNameAndType (const Common::String &name, int castLib, CastType type)
 
CastMemberInfogetCastMemberInfo (CastMemberID memberID)
 
bool isValidCastMember (CastMemberID memberID, CastType type)
 
const StxtgetStxt (CastMemberID memberID)
 
int getMaxCastID ()
 
LingoArchivegetMainLingoArch ()
 
LingoArchivegetSharedLingoArch ()
 
ScriptContextgetScriptContext (ScriptType type, CastMemberID id)
 
Symbol getHandler (const Common::String &name, uint16 castLibHint=0)
 
bool processSysEvent (Common::Event &event)
 
void broadcastEvent (LEvent event)
 
void setPrimaryEventHandler (LEvent event, const Common::String &code)
 
void resolveScriptEvent (LingoEvent &event)
 
void processEvent (LEvent event, int targetId=0)
 
void queueInputEvent (LEvent event, int targetId=0, Common::Point pos=Common::Point(-1, -1))
 
bool processInputEvent (LEvent event, int targetId=0, Common::Point pos=Common::Point(-1, -1))
 
Common::String formatMovieInfo ()
 

Static Public Member Functions

static Common::Rect readRect (Common::ReadStreamEndian &stream)
 
static InfoEntries loadInfoEntries (Common::SeekableReadStreamEndian &stream, uint16 version)
 
static void saveInfoEntries (Common::SeekableWriteStream *writeStream, InfoEntries info)
 
static void writeRect (Common::WriteStream *writeStream, Common::Rect rect)
 

Public Attributes

Common::SharedPtr< Archive_movieArchive
 
uint16 _version
 
Common::Platform _platform
 
Common::Rect _movieRect
 
uint16 _lastClickedSpriteId
 
uint16 _currentHoveredSpriteId
 
uint _currentSpriteNum
 
CastMemberID _currentMouseDownCastID
 
CastMemberID _currentMouseDownSpriteScriptID
 
bool _currentMouseDownSpriteImmediate
 
uint16 _currentEditableTextChannel
 
uint32 _lastEventTime
 
uint32 _lastRollTime
 
uint32 _lastClickTime
 
uint32 _lastClickTime2
 
Common::Point _lastClickPos
 
Common::Point _lastMousePos
 
uint32 _lastKeyTime
 
uint32 _lastTimerReset
 
uint32 _stageColor
 
Cast_sharedCast
 
bool _allowOutdatedLingo
 
bool _remapPalettesWhenNeeded
 
Common::String _createdBy
 
Common::String _changedBy
 
Common::String _origDirectory
 
CastMemberID _defaultPalette
 
bool _videoPlayback
 
int _nextEventId
 
Common::Queue< LingoEvent_inputEventQueue
 
uint16 _key
 
int _keyCode
 
byte _keyFlags
 
int _selStart
 
int _selEnd
 
int _checkBoxType
 
int _checkBoxAccess
 
uint16 _currentHiliteChannelId
 
uint16 _lastEnteredChannelId
 
int _lastTimeOut
 
int _timeOutLength
 
bool _timeOutKeyDown
 
bool _timeOutMouse
 
bool _timeOutPlay
 
bool _isBeepOn
 
Common::HashMap< LEvent, int > _lastEventId
 
Common::String _script
 
bool _inGuiMessageBox = false
 

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