Ivan Savenko
9732d39c70
Moved shutdown request dialog handling to GameInstance
2025-03-12 13:33:12 +00:00
Laserlicht
75789ee555
fix touch input
2025-03-10 18:39:50 +01:00
Ivan Savenko
d3de0d525f
Removed GameEngine::curInt member
...
- event processing is now initiated by GameEngine instead of weird chain
engine -> player interface -> engine
- introduced GameEngineUser interface (implemented by GameInstance) to
remove mutual depedency between GameEngine and GameInstance (some
technically still remains for now, in form of some free functions)
2025-03-01 21:16:40 +00:00
Laserlicht
7dfb499edf
replace boost locks with std
2025-02-28 15:25:58 +01:00
Ivan Savenko
8f074490a7
Merge branch 'master' into 'develop'
2025-02-27 21:15:42 +00:00
Laserlicht
222fe3c0b1
improve
2025-02-22 15:07:38 +01:00
Laserlicht
802bed69d5
allow more precise touch movements
2025-02-22 00:47:55 +01:00
Ivan Savenko
156de5b17e
Added GameInstance class
...
- available as global GAME
- integrates LOCPLINT (CPlayerInterface)
- integrates CGI->mh (CMapHandler)
- integrates CSH (CServerHandler)
2025-02-21 16:54:06 +00:00
Ivan Savenko
ffd37a8fa8
Removed CGI in favor of VLC. Map handle is for now global variable
2025-02-21 16:53:14 +00:00
Ivan Savenko
f657e85305
Integrated CClientState into GameEngine class
2025-02-21 16:53:14 +00:00
Ivan Savenko
cacceda950
Renamed CGuiHandler to GameEngine
...
- class CGuiHandler is now called GameEngine to better describe its
functionality
- renamed global GH to more clear ENGINE
- GH/ENGINE is now unique_ptr to make construction / deconstruction
order more clear and to allow interface / implementation split
- CGuiHandler.cpp/h is now called GameEngine.cpp/h and located in root
directory of client dir
2025-02-21 16:53:13 +00:00
Ivan Savenko
68e0dcb01d
Merge pull request #5398 from Laserlicht/portrait_mode
...
[1.6.6] portrait mode for android & grey bar fix
2025-02-09 19:42:03 +02:00
Ivan Savenko
640f654fe0
Merge pull request #5401 from Laserlicht/touch_overlay
...
[1.6.6] overlay for touch screens & pinch fix
2025-02-09 19:40:45 +02:00
Laserlicht
75dd4a1acb
fix pinch event calculation
2025-02-09 13:11:49 +01:00
Laserlicht
1f61f22122
implement overlay for touch screens
2025-02-09 13:10:27 +01:00
Laserlicht
0424f71cb2
portrait mode for android
2025-02-08 20:02:31 +01:00
Laserlicht
d9ada6c7e8
fix touch relative mode
2025-02-08 12:54:25 +01:00
Laserlicht
3870ac6c21
option to fix right mouse on some android devices
2025-01-01 18:39:49 +01:00
Laserlicht
2d94246174
fix shortcut modifier
2024-12-08 21:14:51 +01:00
kdmcser
d0e33a2cf8
Update client/eventsSDL/InputSourceGameController.cpp
...
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2024-11-27 00:24:33 +08:00
kdmcser
005b97194f
fix joystick cursor position in xbrz
2024-11-24 14:06:39 +08:00
Laserlicht
1367348da9
allow scrolling in touch popups
2024-11-02 19:15:49 +01:00
Laserlicht
2ea2a3150e
fix shortcuts with Modifier Key
2024-10-19 15:59:02 +02:00
Ivan Savenko
a5de312344
Add workaround for SDL bug - use old code for buggy SDL versions
2024-09-23 14:02:55 +00:00
Ivan Savenko
fb28de5beb
Merge pull request #4531 from Laserlicht/mouse_right_drag
...
map drag with right mouse
2024-09-19 16:42:33 +03:00
Ivan Savenko
ee64928454
Merge pull request #4448 from smanolloff/split-client+develop
...
Split vcmiclient in two
2024-09-02 15:34:05 +03:00
Ivan Savenko
9a2d918360
Fixed mouse wheel in xbrz mode, use mouse position information if
...
provided by SDL
2024-08-29 13:18:30 +00:00
Laserlicht
be7d27234f
map drag with right mouse
2024-08-28 22:17:05 +02:00
Simeon Manolov
d05adfc5d5
Merge branch 'develop' into split-client+develop
2024-08-21 17:40:37 +03:00
Laserlicht
01c14ae9ce
Merge branch 'develop' into extended_statistic
2024-08-20 20:25:16 +02:00
Ivan Savenko
954b6b0947
Implemented scaling of mouse input events
2024-08-17 15:25:26 +00:00
Laserlicht
00692888df
sonar cloud fixes
2024-08-15 23:09:04 +02:00
Laserlicht
39aaa6fe32
data to clipboard; simplify types
2024-08-14 21:01:37 +02:00
Simeon Manolov
f2cddaa21b
Split vcmiclient in two
...
Similar to vcmiserver (app) and vcmiservercommon (lib), now
there is vcmiclient (app) and vcmiclientcommon (lib).
2024-08-14 19:20:01 +03:00
Laserlicht
0e207e7f64
change naming
2024-07-19 17:58:23 +02:00
Laserlicht
994a065e29
change naming
2024-07-19 17:58:06 +02:00
Laserlicht
ac30f7757b
changed naming
2024-07-19 11:41:00 +02:00
Laserlicht
26b164b7ca
change naming
2024-07-19 03:44:45 +02:00
Laserlicht
fb980bdb74
fix
2024-07-19 03:28:33 +02:00
Laserlicht
76fc821f82
click also change of modi; haptic only with touch
2024-07-19 03:16:56 +02:00
Laserlicht
5dae5ed30e
input modi detection
2024-07-19 03:00:19 +02:00
Ivan Savenko
6b8f94e6e7
Merge remote-tracking branch 'vcmi/master' into develop
2024-07-11 17:43:44 +00:00
Ivan Savenko
cbbbe1b23a
Add workaround for cursor visibility on mobiles when using touch input
2024-06-27 09:58:53 +00:00
Alexander Wilms
02e429e973
Fix typos using https://github.com/crate-ci/typos
...
Changes were reviewed manually
2024-06-24 03:47:19 +02:00
Ivan Savenko
b4c6906471
Merge branch 'vcmi/beta' into 'vcmi/develop'
2024-06-11 19:22:23 +00:00
Ivan Savenko
7ebc3bc6a5
Added controller sensitivity option, merged cursor options
2024-06-08 15:31:40 +00:00
Ivan Savenko
df83fa33a1
Merge branch 'vcmi/master' into 'vcmi/develop'
2024-05-31 09:34:21 +00:00
Ivan Savenko
adc3441bda
Merge pull request #3998 from IvanSavenko/refactor_sdl_media
...
[1.6] Reorganize SDL sound/music/video handling
2024-05-31 12:02:55 +03:00
Ivan Savenko
949c0cff70
Fixed F4 (fullscreen hotkey) not actually changing window mode
2024-05-23 14:54:13 +00:00
Ivan Savenko
88fbb7ee71
Most of buttons created in cpp now have assigned shortcut
2024-05-19 09:12:36 +00:00