diff --git a/Graphics/backdrop/start1.tga b/Graphics/backdrop/start1.tga new file mode 100644 index 000000000..3c371973b Binary files /dev/null and b/Graphics/backdrop/start1.tga differ diff --git a/Graphics/backdrop/start2.tga b/Graphics/backdrop/start2.tga new file mode 100644 index 000000000..869aeeae6 Binary files /dev/null and b/Graphics/backdrop/start2.tga differ diff --git a/Graphics/backdrop/start3.tga b/Graphics/backdrop/start3.tga new file mode 100644 index 000000000..2bd009753 Binary files /dev/null and b/Graphics/backdrop/start3.tga differ diff --git a/Graphics/backdrop/start4.tga b/Graphics/backdrop/start4.tga new file mode 100644 index 000000000..2bd009753 Binary files /dev/null and b/Graphics/backdrop/start4.tga differ diff --git a/data/DataCache.scr b/data/DataCache.scr index f6cdd8f48..067349e98 100644 --- a/data/DataCache.scr +++ b/data/DataCache.scr @@ -36,7 +36,10 @@ sfx/ingame.vb sfx/ingame.vh demo/demo____.dmo backdrop/credits.gfx -backdrop/start.gfx +backdrop/start1.gfx +backdrop/start2.gfx +backdrop/start3.gfx +backdrop/start4.gfx loadingscreens/culture.gfx loadingscreens/karate.gfx loadingscreens/monitor.gfx diff --git a/makefile.gfx b/makefile.gfx index cd139cbca..433217465 100644 --- a/makefile.gfx +++ b/makefile.gfx @@ -353,7 +353,7 @@ GFX_DATA_OUT += $(TRANS_OUT_DAT) # Big TGA backdrops #---------------------------------------------------------------------------- BACKDROPS_IN_DIR := $(GRAF_DIR)/backdrop -BACKDROPS_IN := credits start +BACKDROPS_IN := credits start1 start2 start3 start4 BACKDROPS_OUT_DIR := $(DATA_OUT)/backdrop BACKDROPS_OUT := $(foreach SCREEN,$(BACKDROPS_IN),$(BACKDROPS_OUT_DIR)/$(SCREEN).gfx) diff --git a/source/frontend/maintitl.cpp b/source/frontend/maintitl.cpp index 8aec46842..858dd8bae 100644 --- a/source/frontend/maintitl.cpp +++ b/source/frontend/maintitl.cpp @@ -66,6 +66,10 @@ #include "frontend\frontend.h" #endif +#ifndef __UTILS_HEADER__ +#include "utils\utils.h" +#endif + /* Std Lib ------- */ @@ -167,6 +171,13 @@ void CFrontEndMainTitles::shutdown() Returns: ---------------------------------------------------------------------- */ static u8 *s_image; +static FileEquate s_imageFiles[4]= +{ + BACKDROP_START1_GFX, + BACKDROP_START2_GFX, + BACKDROP_START3_GFX, + BACKDROP_START4_GFX, +}; void CFrontEndMainTitles::select() { m_mode=MODE__PRESS_START; @@ -177,7 +188,9 @@ void CFrontEndMainTitles::select() m_demoTimeout=0; - s_image=CFileIO::loadFile(BACKDROP_START_GFX); + // Currently the selection of title screens is random.. eventually it will be tied + // into how much of the game has been completed (pkg) + s_image=CFileIO::loadFile(s_imageFiles[getRndRange(4)]); ASSERT(s_image); SetScreenImage(s_image);