22 #ifndef NANCY_ACTION_SECONDARYMOVIE_H 23 #define NANCY_ACTION_SECONDARYMOVIE_H 25 #include "common/ptr.h" 27 #include "engines/nancy/action/actionrecord.h" 36 class InteractiveVideo;
49 static const byte kMovieSceneChange = 5;
50 static const byte kMovieNoSceneChange = 6;
52 static const byte kPlayerCursorAllowed = 1;
53 static const byte kNoPlayerCursorAllowed = 2;
55 static const byte kPlayMovieForward = 1;
56 static const byte kPlayMovieReverse = 2;
67 void onPause(
bool pause)
override;
70 void execute()
override;
76 uint16 _videoType = kVideoPlaytypeAVF;
77 uint16 _videoFormat = kLargeVideoFormat;
78 uint16 _videoSceneChange = kMovieNoSceneChange;
79 byte _playerCursorAllowed = kPlayerCursorAllowed;
80 byte _playDirection = kPlayMovieForward;
81 uint16 _firstFrame = 0;
82 uint16 _lastFrame = 0;
94 Common::String getRecordTypeName()
const override {
return "PlaySecondaryMovie"; }
95 bool isViewportRelative()
const override {
return true; }
98 int _curViewportFrame = -1;
99 bool _isFinished =
false;
105 #endif // NANCY_ACTION_SECONDARYMOVIE_H Definition: managed_surface.h:51
Definition: commontypes.h:199
Definition: commontypes.h:151
Definition: secondarymovie.h:46
Definition: actionrecord.h:149
Definition: secondarymovie.h:58
Definition: interactivevideo.h:33
Definition: commontypes.h:254
Definition: animation.h:37
Definition: commontypes.h:166
Definition: actionmanager.h:32