File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 33
44#include "xFile.h"
55#include "rpworld.h"
6+ #include "xCamera.h"
7+
8+ #define XCUTSCENEDATA_TYPE_CAMERA 3
9+ #define XCUTSCENEDATA_TYPE_SOUND 5
10+ #define XCUTSCENEDATA_TYPE_6 6
11+
12+ struct xCutsceneAnimHdr {
13+ U32 RootIndex ;
14+ F32 Translate [3 ];
15+ };
616
717struct xCutsceneInfo
818{
@@ -34,9 +44,6 @@ struct xCutsceneData
3444 };
3545};
3646
37- #define XCUTSCENEDATA_TYPE_SOUND 5
38- #define XCUTSCENEDATA_TYPE_6 6
39-
4047struct xCutsceneBreak
4148{
4249 F32 Time ;
@@ -120,6 +127,7 @@ xCutscene* xCutscene_Create(U32 id);
120127S32 xCutscene_Destroy (xCutscene * csn );
121128S32 xCutscene_LoadStart (xCutscene * csn );
122129void xCutscene_SetSpeed (xCutscene * csn , F32 speed );
130+ void xCutscene_SetCamera (xCutscene * csn , xCamera * cam );
123131F32 xCutsceneConvertBreak (float time , xCutsceneBreak * breaklist , U32 breakcount , int idx );
124132S32 xCutscene_Update (xCutscene * csn , F32 dt );
125133void CutsceneShadowRender (CutsceneShadowModel * smod );
You can’t perform that action at this time.
0 commit comments