From: sparky4 Date: Wed, 10 Aug 2016 15:16:39 +0000 (-0500) Subject: testing input oops ^^ X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=e939a0b878f287a1259faed0e4ebdc9ac02d2969;p=16.git testing input oops ^^ --- diff --git a/src/lib/16_in.c b/src/lib/16_in.c index 25110992..b0740ff9 100755 --- a/src/lib/16_in.c +++ b/src/lib/16_in.c @@ -973,8 +973,8 @@ if(player[pn].d /*(inpu.Keyboard[def->up] || inpu.Keyboard[def->down] || inpu.Ke printf("q=%d ", player[pn].q); printf("cpee=%c ", dirchar(conpee)); printf("pdir=%c d=%c dir=%c ", dirchar(player[pn].pdir), dirchar(player[pn].d), dirchar(player[pn].info.dir)); - /*if(realdelta) *///printf("dx=%d dy=%d mx=%d my=%d", player[pn].info.x, player[pn].info.y, player[pn].info.xaxis, player[pn].info.yaxis); - /*else if(!realdelta) */printf("%c%d %c%d %c%d %c%d", dirchar(0), inpu.Keyboard[def->up], dirchar(4), inpu.Keyboard[def->down], dirchar(1), inpu.Keyboard[def->left], dirchar(3), inpu.Keyboard[def->right]); + /*if(realdelta) */printf("dx=%d dy=%d mx=%d my=%d", player[pn].info.x, player[pn].info.y, player[pn].info.xaxis, player[pn].info.yaxis); + ///*else if(!realdelta) */printf("%c%d %c%d %c%d %c%d", dirchar(0), inpu.Keyboard[def->up], dirchar(4), inpu.Keyboard[def->down], dirchar(1), inpu.Keyboard[def->left], dirchar(3), inpu.Keyboard[def->right]); printf("\n"); } }