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< Archive > getArchive () const
 
Common::String getMacName () const
 
Window * getWindow () const
 
DirectorEngine * getVM () const
 
Cast * getCast () const
 
Cast * getCast (CastMemberID memberID)
 
Cast * getCastByLibResourceID (uint32 libresourceID)
 
Cast * getSharedCast () const
 
const Common::HashMap< int, Cast * > * getCasts () const
 
Score * getScore () const
 
void clearSharedCast ()
 
void loadSharedCastsFrom (Common::Path &filename)
 
Common::SharedPtr< Archive > loadExternalCastFrom (Common::Path &filename)
 
bool loadCastLibFrom (uint16 libId, Common::Path &filename)
 
CastMember * getCastMember (CastMemberID memberID)
 
CastMember * createOrReplaceCastMember (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)
 
CastMemberInfo * getCastMemberInfo (CastMemberID memberID)
 
bool isValidCastMember (CastMemberID memberID, CastType type)
 
const Stxt * getStxt (CastMemberID memberID)
 
int getMaxCastID ()
 
LingoArchive * getMainLingoArch ()
 
LingoArchive * getSharedLingoArch ()
 
ScriptContext * getScriptContext (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
 
CastMemberID _currentKeyDownCastID
 
CastMemberID _currentKeyDownSpriteScriptID
 
bool _currentKeyDownSpriteImmediate
 
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
 
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
 
bool _isEmbedded = false
 
Movie * _parentMovie = nullptr
 

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