From 053e70dde4eb027d204c01bfc6f1424f259d1105 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Sun, 23 Jul 2023 14:27:52 +0300 Subject: [PATCH] Add gmouse_set_mapper_mode --- src/game_mouse.cc | 6 ++++++ src/game_mouse.h | 1 + 2 files changed, 7 insertions(+) diff --git a/src/game_mouse.cc b/src/game_mouse.cc index 9f82fcd..fca7c79 100644 --- a/src/game_mouse.cc +++ b/src/game_mouse.cc @@ -1328,6 +1328,12 @@ int gameMouseGetCursor() return gGameMouseCursor; } +// 0x44C9F0 +void gmouse_set_mapper_mode(int mode) +{ + _gmouse_mapper_mode = mode; +} + // 0x44C9F8 void _gmouse_3d_enable_modes() { diff --git a/src/game_mouse.h b/src/game_mouse.h index fc65633..2b99efe 100644 --- a/src/game_mouse.h +++ b/src/game_mouse.h @@ -86,6 +86,7 @@ void gameMouseRefresh(); void _gmouse_handle_event(int mouseX, int mouseY, int mouseState); int gameMouseSetCursor(int cursor); int gameMouseGetCursor(); +void gmouse_set_mapper_mode(int mode); void gameMouseSetMode(int a1); int gameMouseGetMode(); void gameMouseCycleMode();