X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.c;h=a1b92d253eb63a7cd292fa64459d6b72574cecfa;hb=6fd606e95cceca17c82e2f97e2ca2832b238f96d;hp=ae154457308a300dfd0d161605ca6ed4532379e6;hpb=b06464b4dc26c0e31ef0bca48b31a4dfbdd549e6;p=rocksndiamonds.git diff --git a/src/init.c b/src/init.c index ae154457..a1b92d25 100644 --- a/src/init.c +++ b/src/init.c @@ -5593,14 +5593,15 @@ void InitGfx() font_height = getFontHeight(FC_RED); #if 1 - DrawInitText(getWindowTitleString(), 20, FC_YELLOW); + DrawInitTextAlways(getWindowTitleString(), 20, FC_YELLOW); #else - DrawInitText(getProgramInitString(), 20, FC_YELLOW); + DrawInitTextAlways(getProgramInitString(), 20, FC_YELLOW); #endif - DrawInitText(PROGRAM_COPYRIGHT_STRING, 50, FC_RED); - DrawInitText(PROGRAM_WEBSITE_STRING, WIN_YSIZE - 20 - font_height, FC_RED); + DrawInitTextAlways(PROGRAM_COPYRIGHT_STRING, 50, FC_RED); + DrawInitTextAlways(PROGRAM_WEBSITE_STRING, WIN_YSIZE - 20 - font_height, + FC_RED); - DrawInitText("Loading graphics", 120, FC_GREEN); + DrawInitTextAlways("Loading graphics", 120, FC_GREEN); #if 1 #if 1 @@ -6216,6 +6217,8 @@ void ReloadCustomArtwork(int force_reload) #endif print_timestamp_done("ReloadCustomArtwork"); + + LimitScreenUpdates(FALSE); } void KeyboardAutoRepeatOffUnlessAutoplay() @@ -6316,10 +6319,6 @@ void OpenAll() InitSetup(); -#if 1 - Error(ERR_INFO, "::: MARK 1: setup.fullscreen == %d", setup.fullscreen); -#endif - print_timestamp_time("[init setup/config stuff (1)]"); InitGameInfo(); @@ -6344,10 +6343,6 @@ void OpenAll() print_timestamp_time("[init setup/config stuff]"); -#if 1 - Error(ERR_INFO, "::: MARK 2: setup.fullscreen == %d", setup.fullscreen); -#endif - InitVideoDisplay(); InitVideoBuffer(WIN_XSIZE, WIN_YSIZE, DEFAULT_DEPTH, setup.fullscreen);