X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_in.c;h=72dcadf54b6bcb5f74e5f214bd01bf2cf0b87ec1;hb=24760854cf1668b8b0eba2bfaf63ab083da14ea8;hp=85709c5e00c53fc90dd649a8698984b3741005ba;hpb=a5e754f72b0925b0b9a65414e8369ab75f440918;p=16.git diff --git a/src/lib/16_in.c b/src/lib/16_in.c index 85709c5e..72dcadf5 100755 --- a/src/lib/16_in.c +++ b/src/lib/16_in.c @@ -42,6 +42,8 @@ boolean dbg_testkeyin=0,dbg_testcontrolnoisy=0; #endif +static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */ + /* ============================================================================= @@ -749,7 +751,7 @@ IN_SetKeyHook(void (*hook)()) void IN_ClearKeysDown() { - int i; + //int i; inpu.LastScan = sc_None; inpu.LastASCII = key_None; @@ -819,7 +821,9 @@ void near IN_ReadControl(int pn,player_t *player) { boolean realdelta; +#if DEMO0 byte dbyte; +#endif word buttons; int dx,dy; Motion mx,my;