projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup of function for fading laser in MM engine
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 178f35defaf7352aff75dd66bbd529c6e22ad41c..31a52004fc77bd999cc7f86ac9468364c0fb4057 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-11678,6
+11678,21
@@
void AdvanceFrameAndPlayerCounters(int player_nr)
}
}
}
}
+void AdvanceFrameCounter(void)
+{
+ FrameCounter++;
+}
+
+void AdvanceGfxFrame(void)
+{
+ int x, y;
+
+ SCAN_PLAYFIELD(x, y)
+ {
+ GfxFrame[x][y]++;
+ }
+}
+
void StartGameActions(boolean init_network_game, boolean record_tape,
int random_seed)
{
void StartGameActions(boolean init_network_game, boolean record_tape,
int random_seed)
{
@@
-12025,6
+12040,8
@@
void GameActions_SP_Main(void)
void GameActions_MM_Main(void)
{
void GameActions_MM_Main(void)
{
+ AdvanceGfxFrame();
+
GameActions_MM(local_player->effective_mouse_action);
}
GameActions_MM(local_player->effective_mouse_action);
}