From: Holger Schemel Date: Thu, 2 Nov 2006 00:56:40 +0000 (+0100) Subject: rnd-20061102-1-src X-Git-Tag: 3.2.3^2~12 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=8acfa954d5b7d689ee20ffd1ed5a238909e1a1cc;p=rocksndiamonds.git rnd-20061102-1-src --- diff --git a/src/conftime.h b/src/conftime.h index 6c192f83..fe76eb58 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2006-11-01 21:41]" +#define COMPILE_DATE_STRING "[2006-11-02 01:49]" diff --git a/src/screens.c b/src/screens.c index 175e59fc..57f7a4bc 100644 --- a/src/screens.c +++ b/src/screens.c @@ -944,6 +944,8 @@ void HandleTitleScreen(int mx, int my, int dx, int dy, int button) DrawInfoScreen_NotAvailable("Title screen information:", "No title screen for this level set."); + title.auto_delay_final = -1; + return; } @@ -985,8 +987,10 @@ void HandleTitleScreen(int mx, int my, int dx, int dy, int button) if (game_status == GAME_MODE_INFO && graphic_info[IMG_TITLESCREEN_1].bitmap == NULL) { + FadeOut(REDRAW_FIELD); + info_mode = INFO_MODE_MAIN; - DrawInfoScreen(); + DrawAndFadeInInfoScreen(REDRAW_FIELD); return; } @@ -1592,20 +1596,24 @@ void HandleInfoScreen_Main(int mx, int my, int dx, int dy, int button) void DrawInfoScreen_NotAvailable(char *text_title, char *text_error) { - int ystart = 150; + int ystart1 = 100; + int ystart2 = 150; int ybottom = SYSIZE - 20; SetMainBackgroundImageIfDefined(IMG_BACKGROUND_INFO_LEVELSET); + FadeOut(REDRAW_FIELD); + ClearWindow(); DrawHeadline(); - DrawTextSCentered(100, FONT_TEXT_1, text_title); + DrawTextSCentered(ystart1, FONT_TEXT_1, text_title); + DrawTextSCentered(ystart2, FONT_TEXT_2, text_error); DrawTextSCentered(ybottom, FONT_TEXT_4, "Press any key or button for info menu"); - DrawTextSCentered(ystart, FONT_TEXT_2, text_error); + FadeIn(REDRAW_FIELD); } void DrawInfoScreen_HelpAnim(int start, int max_anims, boolean init)