projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20100216-1-src
[rocksndiamonds.git]
/
src
/
game_sp
/
Murphy.c
diff --git
a/src/game_sp/Murphy.c
b/src/game_sp/Murphy.c
index ff03ea27091dcce2321efc97d0223848134792c3..e104a5c7d1b4b4d3fd8f32010d941363dd2e58fa 100644
(file)
--- a/
src/game_sp/Murphy.c
+++ b/
src/game_sp/Murphy.c
@@
-1161,7
+1161,11
@@
loc_g_6817:
#if 1
// draw new terminal type
#if 1
// draw new terminal type
+#if 1
+ GfxGraphic[GetX(*si - FieldWidth)][GetY(*si - FieldWidth)] = aniTerminalActive;
+#else
subCopyImageToScreen(*si - FieldWidth, aniTerminalActive);
subCopyImageToScreen(*si - FieldWidth, aniTerminalActive);
+#endif
#else
subCopyFieldToScreen(*si - FieldWidth, 0x88); // draw new terminal type
#endif
#else
subCopyFieldToScreen(*si - FieldWidth, 0x88); // draw new terminal type
#endif
@@
-1183,7
+1187,11
@@
loc_g_684E:
#if 1
// draw new terminal type
#if 1
// draw new terminal type
+#if 1
+ GfxGraphic[GetX(*si - 1)][GetY(*si - 1)] = aniTerminalActive;
+#else
subCopyImageToScreen(*si - 1, aniTerminalActive);
subCopyImageToScreen(*si - 1, aniTerminalActive);
+#endif
#else
subCopyFieldToScreen(*si - 1, 0x88); // draw new terminal type
#endif
#else
subCopyFieldToScreen(*si - 1, 0x88); // draw new terminal type
#endif
@@
-1205,7
+1213,11
@@
loc_g_6884:
#if 1
// draw new terminal type
#if 1
// draw new terminal type
+#if 1
+ GfxGraphic[GetX(*si + FieldWidth)][GetY(*si + FieldWidth)] = aniTerminalActive;
+#else
subCopyImageToScreen(*si + FieldWidth, aniTerminalActive);
subCopyImageToScreen(*si + FieldWidth, aniTerminalActive);
+#endif
#else
subCopyFieldToScreen(*si + FieldWidth, 0x88); // draw new terminal type
#endif
#else
subCopyFieldToScreen(*si + FieldWidth, 0x88); // draw new terminal type
#endif
@@
-1227,7
+1239,11
@@
loc_g_68BA:
#if 1
// draw new terminal type
#if 1
// draw new terminal type
+#if 1
+ GfxGraphic[GetX(*si + 1)][GetY(*si + 1)] = aniTerminalActive;
+#else
subCopyImageToScreen(*si + 1, aniTerminalActive);
subCopyImageToScreen(*si + 1, aniTerminalActive);
+#endif
#else
subCopyFieldToScreen(*si + 1, 0x88); // draw new terminal type
#endif
#else
subCopyFieldToScreen(*si + 1, 0x88); // draw new terminal type
#endif
@@
-1697,6
+1713,8
@@
loc_g_6C8F:
#if 1
StretchedSprites.BltImg(X, Y, dx1, Tmp);
#if 1
StretchedSprites.BltImg(X, Y, dx1, Tmp);
+ GfxGraphic[GetX(*si)][GetY(*si)] = -1; // (Murphy's position)
+ GfxGraphic[GetX(dxPos)][GetY(dxPos)] = -1; // (snapping position)
// printf("::: Tmp: %d\n", Tmp);
#else
StretchedSprites.BltEx(X, Y, dx[Tmp]);
// printf("::: Tmp: %d\n", Tmp);
#else
StretchedSprites.BltEx(X, Y, dx[Tmp]);