From db64b17d7353087ae462c72657240c829774a331 Mon Sep 17 00:00:00 2001 From: jnack <55568980+jnackmclain@users.noreply.github.com> Date: Thu, 2 Nov 2023 15:26:15 -0500 Subject: [PATCH] duped screen, effectively forever loops, no longer crashes --- .gitignore | 3 ++- _ark/ui/splash.dta | 24 +++++++++++++++++++----- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 69c4850..2704ef4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ *.ark xenia.log recent.toml -_xenia\cache \ No newline at end of file +_xenia\cache +_xenia/cache/* diff --git a/_ark/ui/splash.dta b/_ark/ui/splash.dta index 73ba95b..f38d9b2 100644 --- a/_ark/ui/splash.dta +++ b/_ark/ui/splash.dta @@ -27,9 +27,8 @@ {gamecfg set mode quickplay})} #define CUT_SCENE_VIDEO (dummy.dat) -{new - GHScreen - cut_scene_screen +#define CUT_SCENE_VIDEO_SCREEN +( (allow_back FALSE) (animate_transition FALSE) (poll_count 2) @@ -51,10 +50,25 @@ {== 0 [poll_count]} - {$this play_movie}}}) + {$this play_movie} + } + } + ) +) +{new + GHScreen + cut_scene_screen + CUT_SCENE_VIDEO_SCREEN + (play_movie + {meta play_movie CUT_SCENE_VIDEO} + {ui goto_screen cut_scene_screen_1})} +{new + GHScreen + cut_scene_screen_1 + CUT_SCENE_VIDEO_SCREEN (play_movie {meta play_movie CUT_SCENE_VIDEO} - {ui goto_screen splash_screen})} + {ui goto_screen cut_scene_screen})} #define DELAY_BEFORE_ATTRACT_SEC (60) {new