• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

wwww


Commit MetaInfo

Revision03094492cc2ac88d8c0c21352b65036b053009ed (tree)
Time2016-08-10 23:52:49
Authorsparky4 <sparky4@cock...>
Commitersparky4

Log Message

testing input

Change Summary

Incremental Difference

--- a/src/lib/16_in.c
+++ b/src/lib/16_in.c
@@ -968,15 +968,12 @@ register KeyboardDef *def;
968968 }
969969 #endif
970970 if(testcontrolnoisy > 0)
971-if(player[pn].d/*(inpu.Keyboard[def->up] || inpu.Keyboard[def->down] || inpu.Keyboard[def->left] || inpu.Keyboard[def->right])*/ || player[pn].q>1)
971+if(player[pn].d &&/*(inpu.Keyboard[def->up] || inpu.Keyboard[def->down] || inpu.Keyboard[def->left] || inpu.Keyboard[def->right]) ||*/ player[pn].q>1)
972972 {
973973 printf("q=%d ", player[pn].q);
974974 printf("cpee=%c ", dirchar(conpee));
975- //printf("(mx)=%d ", mx);
976- //printf("(my)=%d ", my);
977- //printf("[%d] ", mx+my);
978975 printf("pdir=%c d=%c dir=%c ", dirchar(player[pn].pdir), dirchar(player[pn].d), dirchar(player[pn].info.dir));
979- if(realdelta) printf("dx=%u dy=%u mx=%u my=%u", player[pn].info.x, player[pn].info.y, player[pn].info.xaxis, player[pn].info.yaxis);
976+ 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);
980977 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]);
981978 printf("\n");
982979 }