X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgame_sp%2FMurphy.c;h=9ce921b380f9ff74446746c8a1ad70757e8ae2e8;hb=c35ed5e69718416c4b428f1ffeddf31105e933b2;hp=7ff39ab33722c9f41a113c6fa51ce1b313df4719;hpb=0d95c7df5f708c3f30e10cab3894082019f8cd6c;p=rocksndiamonds.git diff --git a/src/game_sp/Murphy.c b/src/game_sp/Murphy.c index 7ff39ab3..9ce921b3 100644 --- a/src/game_sp/Murphy.c +++ b/src/game_sp/Murphy.c @@ -88,8 +88,8 @@ int subAnimateMurphy(int *si) 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; @@ -931,6 +931,10 @@ loc_g_6756: 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 @@ -1417,8 +1421,14 @@ loc_g_6C8F: 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", @@ -1440,7 +1450,12 @@ loc_g_6C8F: 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);