#define pIsKeyNone ((bool(__cdecl*)(int)) 0x791030)
#define pIsKeyRelease ((bool(__cdecl*)(int)) 0x791050)
#define pIsKeyPress ((bool(__cdecl*)(int)) 0x791070)
#define pIsKeyRepeat ((bool(__cdecl*)(int)) 0x791090)
Example:
if (pIsKeyPress(VK_LBUTTON) && pIsWorkZone(pos_x, pos_y, width, height))
{
//do something
}
0 Comentarios