Cutscene sytstem

This commit is contained in:
Jan Racek
2026-03-24 15:50:35 +01:00
parent 4aa4e49424
commit bb8e0804f5
18 changed files with 1228 additions and 1 deletions

View File

@@ -37,6 +37,10 @@ namespace SplashEdit.RuntimeCode
[Tooltip("Exterior uses BVH frustum culling. Interior uses room/portal occlusion.")]
public int SceneType = 0; // 0=exterior, 1=interior
[Header("Cutscenes")]
[Tooltip("Cutscene clips to include in this scene's splashpack. Only these will be exported.")]
public PSXCutsceneClip[] Cutscenes = new PSXCutsceneClip[0];
private PSXObjectExporter[] _exporters;
private TextureAtlas[] _atlases;
@@ -254,6 +258,8 @@ namespace SplashEdit.RuntimeCode
fogEnabled = FogEnabled,
fogColor = FogColor,
fogDensity = FogDensity,
cutscenes = Cutscenes,
audioSources = _audioSources,
};
PSXSceneWriter.Write(path, in scene, (msg, type) =>