rnd-20100107-1-src
[rocksndiamonds.git] / src / game_sp / main.c
index 467c82d2a2d267abea2c5275284abe3c3ec73eef..fb46ec87fc4b7d8e3a7a66dda268f96780273396 100644 (file)
@@ -11,11 +11,25 @@ void InitGameEngine_SP()
   game_sp_info.LevelSolved = FALSE;
   game_sp_info.GameOver = FALSE;
 
+  menBorder.Checked = setup.sp_show_border_elements;
+
+  InitScrollPlayfield();
+
+#if 0
+  printf(":A: %d, %d [%d, %d]\n",
+        mScrollX, mScrollY, mScrollX_last, mScrollY_last);
+#endif
+
 #if 1
   menPlay_Click();
 #else
   menPlayDemo_Click();
 #endif
+
+#if 0
+  printf(":B: %d, %d [%d, %d]\n",
+        mScrollX, mScrollY, mScrollX_last, mScrollY_last);
+#endif
 }
 
 #if 0