X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FMainForm.c;h=9897250e76dee6d39400481eb6886a617a608229;hb=66815b1b9363de7741defc14e5f7f0dc2183781a;hp=1358ab0278fe819540ac5c5d8593c1b25f54b691;hpb=148d0ad7e7ac1a97eb50de7ecbb642f36c877311;p=rocksndiamonds.git diff --git a/src/game_sp/MainForm.c b/src/game_sp/MainForm.c index 1358ab02..9897250e 100644 --- a/src/game_sp/MainForm.c +++ b/src/game_sp/MainForm.c @@ -1024,7 +1024,8 @@ void DisplayLevel() DrawFrame(0); -#if 0 + /* !!! CHECK THIS !!! */ +#if 1 if (! menBorder.Checked) DrawFrame(1); #endif @@ -1369,7 +1370,10 @@ void Form_Load() PauseMode = 0; // BaseWidth = 16 - menBorder_Click(); +#if 1 + if (0) + menBorder_Click(); +#endif Loaded = True; @@ -2509,7 +2513,9 @@ void menPlay_Click() // Trace "MainForm", "subFetchAndInitLevel returned" +#if 0 Stage.Blt(); +#endif #if 0 @@ -2520,10 +2526,9 @@ void menPlay_Click() // Trace "MainForm", "<-- menPlay_Click()" #endif - } -#if 0 +#if 1 // static void menPlayDemo_Click() void menPlayDemo_Click() @@ -2538,7 +2543,7 @@ void menPlayDemo_Click() menPlay_Click(); #if 1 - return; + return; /* return after initialization phase */ #endif #if 0 @@ -2990,7 +2995,11 @@ static void picPane_Paint() Oldflag = NoDisplayFlag; NoDisplayFlag = False; + +#if 0 Stage.Blt(); +#endif + NoDisplayFlag = Oldflag; } @@ -3082,7 +3091,9 @@ static void ReStretch(float NewStretch) ScrollTo(ScreenScrollXPos, ScreenScrollYPos); +#if 0 Stage.Blt(); +#endif picPane_Paint(); } @@ -3197,8 +3208,9 @@ void DrawFieldNoAnimated(int X, int Y) } #if 0 - printf("::: MainForm.c: DrawFieldNoAnimated(): %d, %d [%d]\n", - X, Y, Tmp); + if (TEST_flag) + printf("::: MainForm.c: DrawFieldNoAnimated(): %d, %d [%d]\n", + X, Y, Tmp); #endif StretchedSprites.BltEx(StretchWidth * X, StretchWidth * Y, Tmp);