1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-07 00:58:39 +02:00
Commit Graph

716 Commits

Author SHA1 Message Date
9ef959a7f8 Merge pull request #2310 from IvanSavenko/left_click_refactor
Left click input refactor
2023-07-13 13:03:06 +03:00
b30db5fc1f Merge pull request #2301 from Laserlicht/haptic_feedback
Haptic feedback
2023-07-13 12:56:54 +03:00
1abd8bbe92 Update client/windows/settings/GeneralOptionsTab.cpp
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2023-07-12 22:56:35 +02:00
9acab48bc3 Merge pull request #2268 from SoundSSGood/CArtifactInstance-rework
CArtifact CArtifactInstance refactoring
2023-07-11 14:36:08 +03:00
18db944083 Replaced clickReleased with clickPressed where applicable in H3 2023-07-09 17:48:25 +03:00
ff51b8f46b Setting for haptic feedback 2023-07-08 18:47:38 +02:00
ca889a5c2a Replaced clickLeft with clickPressed clickReleased methods 2023-07-08 14:33:04 +03:00
2a634b2ec0 Fixed UI updates on switching to/from fullscreen 2023-07-07 15:26:42 +03:00
ae8579558d Merge pull request #2282 from IvanSavenko/adventure_map_fixes
Adventure map fixes for 1.3
2023-07-07 14:27:58 +03:00
6414e3b3fc Changed resource cost value label position 2023-07-05 18:43:52 -07:00
9b5f6ec7cf CArtifact getters setters 2023-07-05 15:48:08 +03:00
8b61c0d59b Replaced CIntObject::type bitfield with bool's. Added input blocking. 2023-07-03 19:24:12 +03:00
0f8d53e978 Replaced SDL user events list with dispatching of arbitrary functors 2023-06-26 21:51:10 +03:00
3d66455cd1 Fix build 2023-06-26 19:44:38 +03:00
f6b2f58da9 Use inheritance instead of composition for campaign header 2023-06-26 17:15:59 +03:00
a08fe09517 Added encapsulation for CampaignState class 2023-06-26 17:15:59 +03:00
8420a90aa4 Reorganization of campaigns code 2023-06-26 17:15:59 +03:00
d1e5a347ff Refactoring of campaign handler: rename types and use strong typing 2023-06-26 17:15:59 +03:00
85262cf4f5 Moved CGameState files into a separate directory 2023-06-26 17:15:59 +03:00
a84ccb37c2 Merge pull request #2250 from IvanSavenko/event_handling_fixes
Slider input event fix
2023-06-25 17:39:55 +03:00
krs
afe0146021 Renamed settings option to reflect that same option is used for both ranges. 2023-06-23 19:50:39 +03:00
69dc95c3c8 Merge pull request #2235 from IvanSavenko/hota_h3m_support
Hota h3m support
2023-06-23 13:32:10 +03:00
a505cc464e Fixed slider's behavior, especially for mobile systems 2023-06-22 23:49:38 +03:00
4e7412faa6 Split mouseDragged event from mouseMoved 2023-06-22 22:11:48 +03:00
108688389e Fix accessing potentially non-existing UI element 2023-06-20 19:58:05 +03:00
ffdac314e9 Added selection of long touch duration 2023-06-20 19:58:05 +03:00
06437cbde6 Renamed gesture-related methods, remove unused code 2023-06-20 19:58:05 +03:00
563d7dd41f Renamed RCLICK -> SHOW_POPUP 2023-06-20 19:58:05 +03:00
82288996a2 Fix cursor visibility on closing popup 2023-06-20 19:58:05 +03:00
85a11c090e Enter popup await mode only if there is an active popup 2023-06-20 19:58:05 +03:00
d4aa778547 Replaced clickRight event with showPopupWindow/closePopupWindow 2023-06-20 19:58:05 +03:00
56d69e790b Renamed MetaString methods to more logical names 2023-06-20 19:37:27 +03:00
2636a0dcc3 Moved MetaString to a new file 2023-06-20 19:37:27 +03:00
f35b3a0dc3 Replace MetaString operator << with member function 2023-06-20 19:37:27 +03:00
487f441f47 Implemented boat selection for town shipyards 2023-06-16 17:59:49 +03:00
krs
c0591573bf Working Version 2023-06-11 18:40:47 +03:00
6283329aeb Added option to disable edge scrolling 2023-06-05 19:20:20 +03:00
a08ff1e6ef Removed no longer used touchscreen option 2023-06-05 19:20:08 +03:00
b20109c830 Test version of swipe gesture for in-combat attacks 2023-06-05 19:20:08 +03:00
70155b48e1 Only show touchscreen options on systems that have one 2023-06-05 19:20:08 +03:00
2c7b94d17f Remove unused map swipe option 2023-06-05 19:20:08 +03:00
052d0d314a Implemented Scrollable class, to server as common base for such classes 2023-06-05 19:17:04 +03:00
6fe00ad55c Moved slider class to a separate file 2023-06-05 19:16:01 +03:00
e2a85e25fa Removed old code 2023-06-05 19:00:57 +03:00
48859e186e Added panning gesture, activated by mouse wheel press 2023-06-05 19:00:56 +03:00
1e9eea30e1 Merge remote-tracking branch 'soundsgood/CArtHandler-rework' into develop 2023-06-05 18:53:17 +03:00
8d278e653f Merge pull request #2202 from IvanSavenko/map_objects_reorganization
Map objects code reorganization
2023-06-05 18:35:05 +03:00
d6a357fd17 Split some map object files into smaller files. Reduced includes usage. 2023-06-02 21:47:37 +03:00
8ea0ecaec1 show/showAll methods now use Canvas instead of SDL_Surface
- added compatibility method to Canvas to allow SDL_Surface access
- added drawBorder method to Canvas to replace CSDL_Ext method
- added drawColor method to Canvas to replace CSDL_Ext method
- minor changes to Tavern and Trade windows to adapt to new API
2023-06-02 16:42:18 +03:00
acac42291e Remove excessive CMap.h includes 2023-05-31 23:18:38 +03:00