/* Function: FDV_MOUSE_INIT Purpose: Init the mouse driver Return: 0 = failure Compiler: Watcom C/C++ 11.0 (32bit Protected Mode - DOS4GW) Author: Fabio D. Vecchia Extracted from Fabio Vecchia's Game Library (c) 1995 - (FDV_LB95) */ short fdv_mouse_init(void) { union REGS r; r.w.ax=0; int386(0x33,&r,&r); return r.w.ax; } /* Function: FDV_MOUSE_ON Purpose: Shows mouse cursor Compiler: Watcom C/C++ 11.0 (32bit Protected Mode - DOS4GW) Extracted from Fabio Vecchia's Game Library (c) 1995 - (FDV_LB95) */ void fdv_mouse_on() { union REGS r; r.w.ax = 1; int386(0x33,&r,&r); } /* Function: FDV_MOUSE_OFF Purpose: Hide mouse cursor Compiler: Watcom C/C++ 11.0 (32bit Protected Mode - DOS4GW) Extracted from Fabio Vecchia's Game Library (c) 1995 - (FDV_LB95) */ void fdv_mouse_off() { union REGS r; r.w.ax = 2; int386(0x33,&r,&r); }