X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FMainGameLoop.c;h=6c8d5d1814eb16df3849e3cf00c068f73f4c02bc;hb=ce0bba1a070e5e64939491eb68087f68ef8fe870;hp=60a479db7c6ec9056ce2541e7743139efa34222d;hpb=f7b79b71faf7e5fbe38df38d26d1156f3ba2f0ce;p=rocksndiamonds.git diff --git a/src/game_sp/MainGameLoop.c b/src/game_sp/MainGameLoop.c index 60a479db..6c8d5d18 100644 --- a/src/game_sp/MainGameLoop.c +++ b/src/game_sp/MainGameLoop.c @@ -189,7 +189,7 @@ locRepeatMainGameLoop: // start repeating game loop // Call subDisplayPlayingTime ' playing time on screen - subCheckRestoreRedDiskCountDisplay(); // Restore panel: red-disk hole + // subCheckRestoreRedDiskCountDisplay(); // Restore panel: red-disk hole subRedDiskReleaseExplosion(); // Red Disk release and explode subFollowUpExplosions(); // every explosion may cause up to 8 following explosions @@ -199,8 +199,8 @@ locRepeatMainGameLoop: // start repeating game loop ScreenPosition = bx; // Now new X and new Y are calculated, and bx = screen position = ScreenPosition - data_h_Ytmp = ScreenScrollYPos; // copy Y for next soft scroll - data_h_Xtmp = ScreenScrollXPos; // copy X for next soft scroll + // data_h_Ytmp = ScreenScrollYPos; // copy Y for next soft scroll + // data_h_Xtmp = ScreenScrollXPos; // copy X for next soft scroll if ((! UserDragFlag) && AutoScrollFlag) { #if 0 @@ -293,8 +293,8 @@ locExitMainGameLoop: #if 1 /* if the game is not won when reaching this point, then it is lost */ - if (!game_sp_info.LevelSolved) - game_sp_info.GameOver = TRUE; + if (!game_sp.LevelSolved) + game_sp.GameOver = TRUE; #endif #if 1 @@ -479,7 +479,7 @@ locRepeatMainGameLoop: // start repeating game loop // Call subDisplayPlayingTime ' playing time on screen - subCheckRestoreRedDiskCountDisplay(); // Restore panel: red-disk hole + // subCheckRestoreRedDiskCountDisplay(); // Restore panel: red-disk hole subRedDiskReleaseExplosion(); // Red Disk release and explode subFollowUpExplosions(); // every explosion may cause up to 8 following explosions @@ -489,8 +489,8 @@ locRepeatMainGameLoop: // start repeating game loop ScreenPosition = bx; // Now new X and new Y are calculated, and bx = screen position = ScreenPosition - data_h_Ytmp = ScreenScrollYPos; // copy Y for next soft scroll - data_h_Xtmp = ScreenScrollXPos; // copy X for next soft scroll + // data_h_Ytmp = ScreenScrollYPos; // copy Y for next soft scroll + // data_h_Xtmp = ScreenScrollXPos; // copy X for next soft scroll if ((! UserDragFlag) && AutoScrollFlag) { #if 0