]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_in.h
MOUSE WORKS NOW! i should continue on the other stuff in p16 such as showmemory funct...
[16.git] / src / lib / 16_in.h
index 84100aeca43b7ff5f02bc0fcac332a4c0e8de83c..6752c49d12b54b8b4bef5b8b2299ed344fe747b0 100755 (executable)
 #define        MDelta          11\r
 \r
 #define        MouseInt        0x33*/\r
+#define        Mouse(x)        _AX = x,geninterrupt(MouseInt)\r
+\r
 #ifdef DEMO0\r
 typedef        enum            {\r
                                                demo_Off,demo_Record,demo_Playback,demo_PlayDone\r
@@ -246,8 +248,6 @@ void INL_GetJoyDelta(word joy,int *dx,int *dy/*,boolean adaptive*/, global_game_
 void IN_StartAck(global_game_variables_t *gvar);\r
 boolean IN_CheckAck (global_game_variables_t *gvar);\r
 boolean IN_IsUserInput(global_game_variables_t *gvar);\r
-#define Mouse(x)         INL_Mouse(x)\r
-//void IN_SetKeyHook(void (*hook)());\r
 #if DEMO0\r
 boolean IN_StartDemoRecord(word bufsize);\r
 void IN_StartDemoPlayback(byte *buffer,word bufsize);\r