projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added multi-part line debug logging functions
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 859cf24e4cfb6812f03c2017c17872fa7a82cf0c..0d28b40b2961e8774cd2cdea2d4f47feb68aa263 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-11661,9
+11661,8
@@
static void GameActionsExt(void)
byte mapped_action[MAX_PLAYERS];
#if DEBUG_PLAYER_ACTIONS
byte mapped_action[MAX_PLAYERS];
#if DEBUG_PLAYER_ACTIONS
- Print(":::");
for (i = 0; i < MAX_PLAYERS; i++)
for (i = 0; i < MAX_PLAYERS; i++)
-
Print("
%d, ", stored_player[i].effective_action);
+
DebugContinued("", "
%d, ", stored_player[i].effective_action);
#endif
for (i = 0; i < MAX_PLAYERS; i++)
#endif
for (i = 0; i < MAX_PLAYERS; i++)
@@
-11673,19
+11672,18
@@
static void GameActionsExt(void)
stored_player[i].effective_action = mapped_action[i];
#if DEBUG_PLAYER_ACTIONS
stored_player[i].effective_action = mapped_action[i];
#if DEBUG_PLAYER_ACTIONS
-
Print(" =>
");
+
DebugContinued("", "=>
");
for (i = 0; i < MAX_PLAYERS; i++)
for (i = 0; i < MAX_PLAYERS; i++)
-
Print("
%d, ", stored_player[i].effective_action);
-
Print(
"\n");
+
DebugContinued("", "
%d, ", stored_player[i].effective_action);
+
DebugContinued("game:playing:player",
"\n");
#endif
}
#if DEBUG_PLAYER_ACTIONS
else
{
#endif
}
#if DEBUG_PLAYER_ACTIONS
else
{
- Print(":::");
for (i = 0; i < MAX_PLAYERS; i++)
for (i = 0; i < MAX_PLAYERS; i++)
-
Print("
%d, ", stored_player[i].effective_action);
-
Print(
"\n");
+
DebugContinued("", "
%d, ", stored_player[i].effective_action);
+
DebugContinued("game:playing:player",
"\n");
}
#endif
#endif
}
#endif
#endif