22 #ifndef NANCY_ACTION_SECONDARYMOVIE_H 23 #define NANCY_ACTION_SECONDARYMOVIE_H 25 #include "engines/nancy/action/actionrecord.h" 34 class InteractiveVideo;
47 static const byte kMovieSceneChange = 5;
48 static const byte kMovieNoSceneChange = 6;
50 static const byte kPlayerCursorAllowed = 1;
51 static const byte kNoPlayerCursorAllowed = 2;
53 static const byte kPlayMovieForward = 1;
54 static const byte kPlayMovieReverse = 2;
65 void onPause(
bool pause)
override;
68 void execute()
override;
74 uint16 _videoType = kVideoPlaytypeAVF;
75 uint16 _videoFormat = kLargeVideoFormat;
76 uint16 _videoSceneChange = kMovieNoSceneChange;
77 byte _playerCursorAllowed = kPlayerCursorAllowed;
78 byte _playDirection = kPlayMovieForward;
79 uint16 _firstFrame = 0;
80 uint16 _lastFrame = 0;
92 Common::String getRecordTypeName()
const override {
return "PlaySecondaryMovie"; }
93 bool isViewportRelative()
const override {
return true; }
96 int _curViewportFrame = -1;
97 bool _isFinished =
false;
103 #endif // NANCY_ACTION_SECONDARYMOVIE_H Definition: managed_surface.h:51
Definition: commontypes.h:199
Definition: commontypes.h:151
Definition: secondarymovie.h:44
Definition: actionrecord.h:149
Definition: secondarymovie.h:56
Definition: video_decoder.h:53
Definition: interactivevideo.h:33
Definition: commontypes.h:254
Definition: avi_frames.h:36
Definition: commontypes.h:166
Definition: actionmanager.h:32