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
D G Turner
6d7663b1b1
AGS: Fix Redundant Declaration Warnings
...
These are emitted by GCC when -Wredundant-decls is passed.
2022-03-09 15:28:19 +00: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
Paul Gilbert
82ac06065d
AGS: Cleanups, changing globals to statics
2021-03-13 21:34:55 -08:00
Paul Gilbert
d88d97d69d
AGS: Move draw.cpp globals to Globals
2021-03-12 20:38:46 -08:00
Paul Gilbert
a5c4876862
AGS: Move mouse.cpp globals to Globals
2021-03-09 21:15:12 -08:00
Paul Gilbert
fd7116d342
AGS: Move mousew32.cpp globals to Globals
2021-03-08 21:12:00 -08:00
Paul Gilbert
804158fb75
AGS: Refactor Mouse namespace to be a struct
2021-03-08 21:12:00 -08:00
Paul Gilbert
37b563ef35
AGS: Move game globals to Globals
2021-03-07 19:23:24 -08:00
Paul Gilbert
8a90168819
AGS: Move remainder of Allegro globals to Globals
2021-03-07 08:52:15 -08:00
Paul Gilbert
1e7cce8c12
AGS: Move graphics_mode.cpp globals to Globals
2021-03-06 19:42:57 -08:00
Paul Gilbert
334b2a9d48
AGS: Move play to Globals
2021-02-27 15:31:34 -08:00
Paul Gilbert
1a8ae27b58
AGS: Move game & spriteset into Globals
2021-02-26 21:28:53 -08:00
Paul Gilbert
4b40b09ce0
AGS: Move mouse globals to Globals
2021-02-06 16:37:31 -08:00
Paul Gilbert
ed3476151a
AGS: gcc warning fixes
2021-02-06 16:37:31 -08:00
Paul Gilbert
32eb934454
AGS: Added engine/device/ folder
2021-02-06 16:37:31 -08:00
Paul Gilbert
68b3eb52d4
AGS: Added engine/game/ folder
2021-02-06 16:37:31 -08:00
Paul Gilbert
9a78e04039
AGS: Beginnings of engine/ inclusion
2021-02-06 16:37:31 -08:00
Paul Gilbert
a7a9ca0543
AGS: Adding AGS3 namespace to cpp files
2021-02-06 16:37:31 -08:00
Paul Gilbert
d8e471b03c
AGS: Changing Common namespace to Shared
2021-02-06 16:37:31 -08:00
Paul Gilbert
76a2e90366
AGS: Wrapping headers in an AGS3 namespace
2021-02-06 16:37:31 -08:00
dreammaster
8026e4bb30
AGS: Run astyle formatting
2021-02-06 16:37:31 -08:00
Paul Gilbert
bd6a58d1a1
AGS: Adding ScummVM comment headers
2021-02-06 16:37:31 -08:00
Paul Gilbert
a60d290a08
AGS: Initial addition of engine/ and shared/ folders
2021-02-06 16:37:31 -08:00