X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftape.c;h=fb36f1e28806046a69c6b1dfe1a1cfc6c9ff6bec;hp=526c6d1d2fee3b2ba393a3d3e42021af6917034b;hb=8770e2b8105f8bb38e5ab4f385e044de16436dea;hpb=72bb1f5d2849131d094f38b9a0ce2d17ecacefe1 diff --git a/src/tape.c b/src/tape.c index 526c6d1d..fb36f1e2 100644 --- a/src/tape.c +++ b/src/tape.c @@ -19,6 +19,8 @@ #include "network.h" #include "cartoons.h" +#define DEBUG_TAPE_WHEN_PLAYING FALSE + /* tape button identifiers */ #define TAPE_CTRL_ID_EJECT 0 #define TAPE_CTRL_ID_EXTRA 1 @@ -733,6 +735,13 @@ byte *TapePlayAction() for (i = 0; i < MAX_PLAYERS; i++) action[i] = tape.pos[tape.counter].action[i]; +#if DEBUG_TAPE_WHEN_PLAYING + printf("%05d", FrameCounter); + for (i = 0; i < MAX_PLAYERS; i++) + printf(" %08x", action[i]); + printf("\n"); +#endif + tape.set_centered_player = FALSE; tape.centered_player_nr_next = -999;