X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_in.h;h=9db0c1ede395297799acc727d617ffb9ed905e7c;hb=6021fc3f27b895d382fbd30488ead35657e39196;hp=84100aeca43b7ff5f02bc0fcac332a4c0e8de83c;hpb=fd22359b3cf8abccf814365b79906b15a98c8e4e;p=16.git diff --git a/src/lib/16_in.h b/src/lib/16_in.h index 84100aec..9db0c1ed 100755 --- a/src/lib/16_in.h +++ b/src/lib/16_in.h @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover + * Copyright (C) 2012-2018 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * * This file is part of Project 16. * @@ -150,6 +150,8 @@ #define MDelta 11 #define MouseInt 0x33*/ +#define Mouse(x) _AX = x,geninterrupt(MouseInt) + #ifdef DEMO0 typedef enum { demo_Off,demo_Record,demo_Playback,demo_PlayDone @@ -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); boolean IN_CheckAck (global_game_variables_t *gvar); boolean IN_IsUserInput(global_game_variables_t *gvar); -#define Mouse(x) INL_Mouse(x) -//void IN_SetKeyHook(void (*hook)()); #if DEMO0 boolean IN_StartDemoRecord(word bufsize); void IN_StartDemoPlayback(byte *buffer,word bufsize);