{
int X, Y;
-#if 1
+#if 0
printf("::: MainForm.c: DisplayLevel(): %d, %d, %d\n",
Loaded, LevelLoaded, bPlaying);
#endif
if (bPlaying)
{
-#if 1
+#if 0
printf("::: MainForm.c: DisplayLevel(): [%ld, %ld, %ld, %ld] [%d, %d]...\n",
DisplayMinX, DisplayMinY, DisplayMaxX, DisplayMaxY,
FieldWidth, FieldHeight);
UpdateDeltaT();
#endif
-#if 1
+#if 0
printf("::: MainForm.c: menPlay_Click(): subFetchAndInitLevelB(): ...\n");
#endif
subFetchAndInitLevelB();
-#if 1
+#if 0
printf("::: MainForm.c: menPlay_Click(): subFetchAndInitLevelB(): done\n");
#endif
long BW2, LW, LH, i;
#endif
-#if 1
+#if 0
printf("::: MainForm.c: ReStretch(): %d, %d\n", Loaded, LevelLoaded);
#endif
if (! Loaded)
{
-#if 1
+#if 0
printf("::: NewStretch == %f\n", NewStretch);
#endif
if (Loaded && LevelLoaded)
{
-#if 1
+#if 0
printf("::: MainForm.c: ReStretch(): ...\n");
#endif
subCalculateScreenScrollPos();
-#if 1
+#if 0
printf("::: MainForm.c: ReStretch(): %d, %d\n", ScreenScrollXPos, ScreenScrollYPos);
#endif
static void SetScrollEdges()
{
-#if 1
+#if 0
printf("::: MainForm.c: SetScrollEdges() ... [%ld, %ld, %ld, %ld] [%f, %d] [%d, %d, %d, %d]\n",
DisplayMinX, DisplayMinY, DisplayMaxX, DisplayMaxY,
Stretch, BaseWidth,
ScrollMaxX = (int)(DisplayMaxX + 1.5) * Stretch * BaseWidth - picPane.Width;
ScrollMaxY = (int)(DisplayMaxY + 1.5) * Stretch * BaseWidth - picPane.Height;
-#if 1
+#if 0
printf("::: MainForm.c: SetScrollEdges() done [%d, %d, %d, %d]\n",
ScrollMinX, ScrollMinY, ScrollMaxX, ScrollMaxY);
#endif
SetScrollEdges();
-#if 1
+#if 0
printf("::: MainForm.c: picViewPort_Resize(): %d, %d\n", ScrollX, ScrollY);
#endif
if (bl != 0) // a key was pressed!
goto locKeyPressed5FCF;
-#if 1
- printf("::: !!! %d [%d]\n", DemoKeyCode, GravityFlag);
+#if 0
+ printf("::: Murphy.c: !!! %d [%d]\n", DemoKeyCode, GravityFlag);
#endif
RedDiskReleaseFlag = 1;
if (LowByte(InfotronsNeeded) != 0)
return subAnimateMurphy;
+#if 1
+ printf("::: Murphy.c: !!!!!!!!!! GAME SOLVED !!!!!!!!!!\n");
+#endif
+
subSoundFXExit();
data_h_DemoDone = 1; // EP set level success bytes
LevelStatus = 1; // set Level Status DONE
MurphyScreenXPos = MurphyScreenXPos + MurphyDX;
MurphyScreenYPos = MurphyScreenYPos + MurphyDY;
#endif
+
+#if 1
+ if (!(ClearPos < 0)) // clear field that murphy is leaving
+ subCopyFieldToScreen(ClearPos, 0);
+#else
if (! ClearPos < 0) // clear field that murphy is leaving
subCopyFieldToScreen(ClearPos, 0);
+#endif
#if 0
printf("::: ---------------> %d, %d [%d, %d]\n",
Y = GetStretchY(dxPos) + tDeltaY;
Tmp = (SeqPos < 0 ? 0 : 0); // 9StepBugFix!(red disk move right)
StretchedSprites.BltEx(X, Y, dx[Tmp]);
+
+#if 1
+ if (!(dx2 < 0))
+#else
if (! dx2 < 0)
+#endif
{
tPos = dxPos + dx2Step;
X = GetStretchX(tPos);