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
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
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
d9ada6c7e8
fix touch relative mode
2025-02-08 12:54:25 +01:00
Laserlicht
1367348da9
allow scrolling in touch popups
2024-11-02 19:15:49 +01: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
Ivan Savenko
cbbbe1b23a
Add workaround for cursor visibility on mobiles when using touch input
2024-06-27 09:58:53 +00:00
Ivan Savenko
73d8789f8d
(untested) activate lobby UI on 3-finger touch
2024-03-27 13:10:55 +02:00
Laserlicht
2d2c7ee8e0
added tolerance
2023-09-18 20:35:23 +02:00
Laserlicht
71659f1423
fix
2023-09-18 16:43:16 +02:00
Laserlicht
7321bb1d25
support double tap
2023-09-18 16:05:39 +02:00
Ivan Savenko
89c31d0d52
Fix typo
2023-09-08 16:54:51 +03:00
Ivan Savenko
8112b8082e
Add new option to settings
2023-09-08 13:23:18 +03:00
Ivan Savenko
3973624278
Implemented tolerance for touch events
2023-09-06 01:06:01 +03:00
Ivan Savenko
112a40a254
Fix pinch gesture on mobile?
2023-07-23 11:46:11 +03:00
Ivan Savenko
a912770e29
Fix activation of radial menu on touchscreen
2023-07-22 12:33:05 +03:00
Michael
bea6effcb7
haptic feedback only if menu opens
...
fix
2023-07-14 22:49:44 +02:00
Michael
c6e860720e
haptic feedback only if menu opens
2023-07-14 22:47:13 +02:00
Michael
d911756827
changes from code review
2023-07-08 21:02:03 +02:00
Michael
70b7f992de
fix
2023-07-08 20:34:11 +02:00
Michael
06541211d5
Rename var
2023-07-08 19:11:26 +02:00
Michael
050a22c257
only pop up for now
2023-07-08 18:50:59 +02:00
Michael
ff51b8f46b
Setting for haptic feedback
2023-07-08 18:47:38 +02:00
Michael
da8bcdd2dd
ios Support
2023-07-08 18:15:36 +02:00
Michael
a5fe6cc80b
hapticFeedback
2023-07-08 17:02:44 +02:00
Ivan Savenko
dfeeeb1f5f
Removed no longer used
2023-06-22 22:12:05 +03:00
Ivan Savenko
e5df7656a2
Added debug option to test touchscreen input on desktop systems
2023-06-20 19:58:05 +03:00
Ivan Savenko
ffdac314e9
Added selection of long touch duration
2023-06-20 19:58:05 +03:00
Ivan Savenko
85a11c090e
Enter popup await mode only if there is an active popup
2023-06-20 19:58:05 +03:00
Ivan Savenko
4e834db017
Fix relative cursor mode
2023-06-05 19:28:29 +03:00
Ivan Savenko
0f2a339ab5
Implemented pinch gesture to scale adventure map
2023-06-05 19:20:08 +03:00
Ivan Savenko
b20109c830
Test version of swipe gesture for in-combat attacks
2023-06-05 19:20:08 +03:00
Ivan Savenko
70155b48e1
Only show touchscreen options on systems that have one
2023-06-05 19:20:08 +03:00
Ivan Savenko
18388b2d72
Right-click popups will stay till next tap, in line with Android UI
2023-06-05 19:12:26 +03:00
Ivan Savenko
360bf48031
Implemented panning/swiping gesture for sliders
2023-06-05 19:09:56 +03:00
Ivan Savenko
26fd651917
Implemented panning gesture via touch input
2023-06-05 19:00:57 +03:00
Ivan Savenko
48859e186e
Added panning gesture, activated by mouse wheel press
2023-06-05 19:00:56 +03:00
Ivan Savenko
1a5c69a424
Implemented left & right click support for touch input
2023-06-05 19:00:56 +03:00
Ivan Savenko
34123c7f07
Minor refactoring of mouse input handling
2023-06-05 19:00:56 +03:00
Ivan Savenko
e23dfec6c5
Fix SDL_Hints location
2023-05-20 01:51:49 +03:00
Ivan Savenko
0e70f2998f
SDL event handling is now done exclusively in input handler
2023-05-20 01:51:49 +03:00