rnd-20090722-1-src
[rocksndiamonds.git] / src / game_sp / MainGameLoop.c
index 6bc494ff9fe867f11a7d042da8d642cd92bb2139..b4a91d006f98a80db10eb77fbad667a2988256c0 100644 (file)
@@ -248,9 +248,16 @@ int subCalculateScreenScrollPos()
     ax = MainForm.picPane.Width / 2;
     Ay = MainForm.picPane.Height / 2;
   }
+
   ScreenScrollXPos = Stretch * (MurphyScreenXPos + 8) - ax;
   ScreenScrollYPos = Stretch * (MurphyScreenYPos + 8) - Ay;
 
+#if 0
+  printf("::: MainGameLoop.c: subCalculateScreenScrollPos(): %d, %d [%d, %d] -> %d, %d\n",
+        MainForm.picPane.Width, MainForm.picPane.Height,
+        MurphyScreenXPos, MurphyScreenYPos,
+        ScreenScrollXPos, ScreenScrollYPos);
+#endif
+
   return subCalculateScreenScrollPos;
 }
-