X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Finput.c;h=0dd2bb3b95f99f1621b0d1c426a09a28c690fcb5;hb=e05dda5c8cc6687dcbc59e182a81aed627e262d0;hp=353b36eec71687f862d7a44fd7b2f7a0061c9b16;hpb=1fcb3ddbb8404effdcfa5ebbd53d3ff5009260f6;p=rocksndiamonds.git diff --git a/src/game_em/input.c b/src/game_em/input.c index 353b36ee..0dd2bb3b 100644 --- a/src/game_em/input.c +++ b/src/game_em/input.c @@ -62,14 +62,43 @@ void InitGameEngine_EM() game_initscreen(); game_animscreen(); + +#if 0 + /* blit playfield from scroll buffer to normal back buffer for fading in */ + BlitScreenToBitmap_EM(backbuffer); +#endif } void GameActions_EM(byte action[MAX_PLAYERS], boolean warp_mode) { int i; +#if 0 + static int foo = -1; + + if (action[0] == 0 && foo != 0) + printf("KEY RELEASED @ %05d\n", FrameCounter); + + foo = action[0]; +#endif + +#if 0 +#if 1 + if (FrameCounter % 10 == 0) +#endif + printf("::: %05d: %lu, %d\n", FrameCounter, RandomEM, frame); +#endif + game_animscreen(); +#if 1 +#if 0 + SyncDisplay(); +#endif + + blitscreen(); +#endif + RandomEM = RandomEM * 129 + 1; frame = (frame - 1) & 7;