23 #ifndef BAGEL_BAGLIB_MOVIE_OBJECT_H 24 #define BAGEL_BAGLIB_MOVIE_OBJECT_H 26 #include "bagel/baglib/object.h" 27 #include "bagel/baglib/sound_object.h" 31 #define ASYNCH_DONT_QUEUE 0x0001 32 #define ASYNCH_PLAY_IMMEDIATE 0x0002 33 #define ASYNCH_DONT_OVERRIDE 0x0004 40 enum class dispType { MOVIE, EXAMINE, PDA_MSG, ASYNCH_PDA_MSG };
43 dispType _xDisplayType;
65 bool runObject()
override;
68 bool asynchPDAMovieCanPlay();
72 _nAsynchFlags |= ASYNCH_DONT_QUEUE;
75 void setDontOverride() {
76 _nAsynchFlags |= ASYNCH_DONT_OVERRIDE;
79 void setPlayImmediate() {
80 _nAsynchFlags |= ASYNCH_PLAY_IMMEDIATE;
83 void setIncrement(
bool b =
true) {
87 void setOnBlack(
bool b =
true) {
91 bool isDontQueue()
const {
92 return (_nAsynchFlags & ASYNCH_DONT_QUEUE) != 0;
95 bool isDontOverride()
const {
96 return (_nAsynchFlags & ASYNCH_DONT_OVERRIDE) != 0;
99 bool isPlayImmediate()
const {
100 return (_nAsynchFlags & ASYNCH_PLAY_IMMEDIATE) != 0;
103 bool isIncrement()
const {
107 bool isOnBlack()
const {
Definition: movie_object.h:38
Definition: ifstream.h:31
Definition: sound_object.h:35