rnd-20100315-2-src
[rocksndiamonds.git] / src / game_sp / MainGameLoop.c
index 38f76fc7f6a1f7b760f5f1fd3a96ba4122f27171..6c8d5d1814eb16df3849e3cf00c068f73f4c02bc 100644 (file)
@@ -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
@@ -599,6 +599,8 @@ int subCalculateScreenScrollPos()
   if (ExplosionShake != 0)
   {
     subGetRandomNumber();
+
+    // printf("::: ExplosionShake [%d]\n", FrameCounter);
   }
 
   {