summaryrefslogtreecommitdiff
path: root/src/cutScene.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-01 05:09:47 +0200
committerTreeki <treeki@gmail.com>2012-09-01 05:09:47 +0200
commitf1d937694dc9d9f9637af8c72293dab9edeaf7a2 (patch)
treed02dca08e9077b77f3ce85516689110f3825dce8 /src/cutScene.h
parentfbcd0d0d86409976ab22caeea25dc934486345a1 (diff)
downloadkamek-f1d937694dc9d9f9637af8c72293dab9edeaf7a2.tar.gz
kamek-f1d937694dc9d9f9637af8c72293dab9edeaf7a2.zip
the beginnings of a working cutscene player
Diffstat (limited to 'src/cutScene.h')
-rw-r--r--src/cutScene.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/cutScene.h b/src/cutScene.h
index e875822..5845a86 100644
--- a/src/cutScene.h
+++ b/src/cutScene.h
@@ -8,18 +8,49 @@
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