22 #ifndef AGS_ENGINE_AC_MOUSE_H 23 #define AGS_ENGINE_AC_MOUSE_H 25 #include "ags/engine/ac/dynobj/script_mouse.h" 29 void Mouse_SetVisible(
int isOn);
30 int Mouse_GetVisible();
31 int Mouse_GetModeGraphic(
int curs);
32 void Mouse_ChangeModeView(
int curs,
int newview,
int delay);
33 void Mouse_ChangeModeView2(
int curs,
int newview);
36 void SetMousePosition(
int newx,
int newy);
39 void SetPreviousCursor();
41 void ChangeCursorGraphic(
int curs,
int newslot);
42 void ChangeCursorHotspot(
int curs,
int x,
int y);
43 int IsButtonDown(
int which);
44 int IsModeEnabled(
int which);
45 void SetMouseBounds(
int x1,
int y1,
int x2,
int y2);
49 void set_mouse_cursor(
int newcurs,
bool force_update =
false);
51 void set_default_cursor();
53 void set_cursor_mode(
int newmode);
54 void enable_cursor_mode(
int modd);
55 void disable_cursor_mode(
int modd);
58 void Mouse_EnableControl(
bool on);
59 void SimulateMouseClick(
int button_id);
64 void update_script_mouse_coords();
65 void update_inv_cursor(
int invnum);
66 void update_cached_mouse_cursor();
67 void set_new_cursor_graphic(
int spriteslot);
68 int find_next_enabled_cursor(
int startwith);
69 int find_previous_enabled_cursor(
int startwith);