X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftape.c;h=fb36f1e28806046a69c6b1dfe1a1cfc6c9ff6bec;hb=a5d330d5d963ee2fe972ff582cb98b7664c8531f;hp=526c6d1d2fee3b2ba393a3d3e42021af6917034b;hpb=3ff2e8a0b5c27b99a9920bdf5ed82bc41bf40181;p=rocksndiamonds.git 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;