This commit is contained in:
Paul 2001-04-25 15:08:23 +00:00
parent ffa9080e78
commit 25a557744e
7 changed files with 19 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

View File

@ -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

View File

@ -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)

View File

@ -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);