projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added functions to get range corrected x/y cave position for BD engine
[rocksndiamonds.git]
/
src
/
game_sp
/
BugsTerminals.c
diff --git
a/src/game_sp/BugsTerminals.c
b/src/game_sp/BugsTerminals.c
index cf808c09b3f27df7ba9b8872d4dde8e2e6abb2b0..c6f03e2e6bcd13cd652da4bfd304c99255999ef9 100644
(file)
--- a/
src/game_sp/BugsTerminals.c
+++ b/
src/game_sp/BugsTerminals.c
@@
-77,7
+77,7
@@
void subAnimateTerminals(int si)
// use native frame handling (undo frame incrementation in main loop)
if (game.use_native_sp_graphics_engine)
// use native frame handling (undo frame incrementation in main loop)
if (game.use_native_sp_graphics_engine)
- GfxFrame[lx][ly]--;
+ GfxFrame
SP
[lx][ly]--;
// get last random animation delay
bl = SgnHighByte(PlayField16[si]);
// get last random animation delay
bl = SgnHighByte(PlayField16[si]);
@@
-108,7
+108,7
@@
void subAnimateTerminals(int si)
graphic = (bl < 8 ? aniTerminal : aniTerminalActive);
if (game.use_native_sp_graphics_engine)
graphic = (bl < 8 ? aniTerminal : aniTerminalActive);
if (game.use_native_sp_graphics_engine)
- GfxFrame[lx][ly] += getGraphicInfo_Delay(graphic);
+ GfxFrame
SP
[lx][ly] += getGraphicInfo_Delay(graphic);
GfxGraphic[lx][ly] = (bl < 8 ? aniTerminal : aniTerminalActive);
GfxGraphic[lx][ly] = (bl < 8 ? aniTerminal : aniTerminalActive);