Walter Agazzi
9fa5bb64fb
AGS: Silence redundant mouse warning
...
Mouse movement control is not supported, but the warning should only be
displayed when requesting the functionality
2023-11-02 20:06:28 +01:00
Walter Agazzi
7808fb52e6
AGS: Engine: tidied few remaining old functions in Mouse namespace
...
* minstalled -> Mouse::GetButtonCount();
* msetgraphpos -> Mouse::SetSysPosition() (internal);
* mgetgraphpos -> Mouse::Poll();
* msetcursorlimit -> merged with Mouse::SetMoveLimit();
* msethotspot -> Mouse::SetHotspot().
From upstream 9211b07f36528776e6fabc34a29405b6d63f6c23
2023-04-29 13:11:41 +02:00
Walter Agazzi
0cc9cb6d22
AGS: Engine: always rely on absolute mouse coordinates in mgetgraphpos()
...
Assume that SDL2 devices, custom devices, and event handling unit have prepared a correct absolute mouse coordinates, in correspondence to the mouse settings.
From upstream c63e5e93657f2e525df8f3f5390f74a31a21858d
2023-04-29 13:11:41 +02:00
Walter Agazzi
c23db8fa2c
AGS: Engine: removed redundant code from mgetgraphpos()
...
From upstream 07d72ac3e1c89883c9e9430a22596ac19c3c58b1
2023-04-29 13:11:41 +02:00
Walter Agazzi
5614bc15de
AGS: Engine: prevent cursor from leaving game area
...
From upstream 8cf49996d05a6fb4fd8691fa87fb6a12114e45d7
2023-01-20 14:14:56 +00:00
Paul Gilbert
b1649597d7
AGS: Replaced Math/std Min/Max with ScummVM macros
...
Inspired by 6dee5ee6f271c600e30879d892295ea6069e8cc9
2022-05-05 22:41:10 -07:00
Paul Gilbert
17bac5b1ef
AGS: Removed redundant function domouse(int what)
...
From upstream 3dfda41382bdd10e3b2b78f797fade8b5dcc1efa
2022-04-23 18:15:02 -07:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Max Horn
b7e6d61669
JANITORIAL: Fix compiler warnings about unused code
2021-08-07 10:46:14 +02:00
Paul Gilbert
311f60f1f1
AGS: Separate functions for resetting input states
...
From upstream ece319e73f7ee783740dc936c1f4c910a900f56a
2021-07-31 14:34:09 -07:00
Paul Gilbert
ef64d0154c
AGS: Remove deprecated mouse code
2021-06-13 21:08:55 -07:00
Paul Gilbert
701396361c
AGS: Import of fresh codebase
2021-06-13 21:08:44 -07:00