#ifndef __CUT_SCENE_H #define __CUT_SCENE_H #include #include #include #include void CutSceneDrawFunc(); struct dMovieData_s; class dScCutScene_c : public dScene_c { public: dScCutScene_c(); ~dScCutScene_c(); int onCreate(); int onDelete(); int onExecute(); int onDraw(); int currentScene; int nextScene; dMovieData_s *data; dDvdLoader_c settingsLoader; dDvdLoader_c *sceneLoaders; m2d::EmbedLayout_c *layout; static dScCutScene_c *build(); static dScCutScene_c *instance; }; struct dMovieSound_s { u32 delay; u32 soundID; }; struct dMovieScene_s { char *sceneName; u32 soundCount; dMovieSound_s sounds[1]; }; struct dMovieData_s { u32 magic; u32 sceneCount; dMovieScene_s *scenes[1]; }; #endif