22 #ifndef DIRECTOR_LINGO_XLIBS_MMOVIE_H 23 #define DIRECTOR_LINGO_XLIBS_MMOVIE_H 25 #include "common/hash-str.h" 26 #include "video/qt_decoder.h" 33 MMOVIE_TOO_MANY_OPEN_FILES = -2,
34 MMOVIE_MOVIE_ALREADY_OPEN = -3,
35 MMOVIE_INVALID_MOVIE_INDEX = -4,
36 MMOVIE_INVALID_OFFSETS_FILE = -5,
37 MMOVIE_INVALID_SEGMENT_OFFSET = -6,
38 MMOVIE_NO_MOVIES_OPEN = -7,
39 MMOVIE_INVALID_SEGMENT_NAME = -8,
40 MMOVIE_INDEX_OUT_OF_RANGE = -9,
41 MMOVIE_CONTINUE_WITHOUT_PLAYING = -10,
42 MMOVIE_ABORT_DOUBLE_CLICK = -11,
43 MMOVIE_PLAYBACK_FINISHED = -12,
72 int _currentMovieIndex = 0;
73 int _currentSegmentIndex = 0;
74 bool _looping =
false;
75 bool _restore =
false;
76 bool _shiftAbort =
false;
77 bool _abortOnClick =
false;
87 int playSegment(
int movieIndex,
int segIndex,
bool looping,
bool restore,
bool shiftAbort,
bool abortOnClick,
bool purge,
bool async);
89 int updateScreenBlocking();
94 namespace MMovieXObj {
96 extern const char *xlibName;
100 void close(ObjectType type);
102 void m_Movie(
int nargs);
103 void m_new(
int nargs);
104 void m_dispose(
int nargs);
105 void m_openMMovie(
int nargs);
106 void m_closeMMovie(
int nargs);
107 void m_playSegment(
int nargs);
108 void m_playSegLoop(
int nargs);
109 void m_idleSegment(
int nargs);
110 void m_stopSegment(
int nargs);
111 void m_seekSegment(
int nargs);
112 void m_setSegmentTime(
int nargs);
113 void m_setDisplayBounds(
int nargs);
114 void m_getMovieNormalWidth(
int nargs);
115 void m_getMovieNormalHeight(
int nargs);
116 void m_getSegCount(
int nargs);
117 void m_getSegName(
int nargs);
118 void m_getMovieRate(
int nargs);
119 void m_setMovieRate(
int nargs);
120 void m_flushEvents(
int nargs);
121 void m_invalidateRect(
int nargs);
122 void m_readFile(
int nargs);
123 void m_writeFile(
int nargs);
124 void m_copyFile(
int nargs);
125 void m_copyFileCont(
int nargs);
126 void m_freeSpace(
int nargs);
127 void m_deleteFile(
int nargs);
128 void m_volList(
int nargs);
Definition: qt_decoder.h:60
Definition: lingo-object.h:37
Definition: lingo-object.h:71