blob: c377347f74b607d1064a354a5d369069598ff12c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
#ifndef __CUT_SCENE_H
#define __CUT_SCENE_H
#include <common.h>
#include <game.h>
#include <g3dhax.h>
#include <sfx.h>
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;
u8 widescreenFlag;
u32 soundCount;
dMovieSound_s sounds[1];
};
struct dMovieData_s {
u32 magic;
u32 sceneCount;
dMovieScene_s *scenes[1];
};
#endif
|