1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00
Commit Graph

671 Commits

Author SHA1 Message Date
Michał Zaremba
d01cecdaca Initialize cursor currentFrame to 0 to avoid stall 2025-11-10 23:22:36 +01:00
Laserlicht
9cfe9e931c resizable battle window 2025-10-03 03:41:59 +02:00
Laserlicht
946e6815cf button for campaignsets 2025-09-18 13:25:19 +02:00
SoundSSGood
04ed758c41 assembling art qol 2025-08-10 17:21:44 +02:00
Laserlicht
802788b89f rename to key binding 2025-07-19 16:46:22 +02:00
Laserlicht
48fb680795 fix 2025-07-19 16:05:04 +02:00
Laserlicht
72e60c6600 writing shortcuts 2025-07-19 15:19:09 +02:00
Laserlicht
21df285e5a key name capture 2025-07-19 13:09:15 +02:00
Ivan Savenko
a0a99d7311 Fix build, fix sonar 2025-07-13 23:03:45 +03:00
Ivan Savenko
55bd4bc8bf Support for custom cursors for adventure map spells 2025-07-11 16:06:21 +03:00
Ivan Savenko
a53aadf53a Remove unused default cursor 2025-07-11 12:25:40 +03:00
Ivan Savenko
099053437a Update unit growth in town screen UI when unequipping Legion pieces 2025-06-25 11:50:33 +03:00
Ivan Savenko
e06c0e8de0 Fix sonar, fix build 2025-06-19 21:14:22 +03:00
Ivan Savenko
1ac8080cbf Implemented new unit actions panel in combat
Alternative actions submod from extras is now deprecated and will have
no effect.

As long as screen width allows, game will now display additional panel
with all possible unit actions.

Panel will also display spells that can be cast by unit, allowing small
version of unit spellbook (total limit of actions is 12, but some are
used for creature actions, so unit spells are limited to 7-9)
2025-06-19 19:29:01 +03:00
Ivan Savenko
14a3f5a004 Remove custom flag from Quick spell panel 2025-06-19 12:19:24 +03:00
George King
796287df95 Fix shortcut typo 2025-03-15 10:42:32 +01:00
George King
cb5b25a49e Added VCMI Shortcut 2025-03-14 15:42:38 +01:00
George King
219514afca Added Chronicles, HotA, WoG campaign hotkeys 2025-03-14 15:29:09 +01:00
Ivan Savenko
844dfb1604 Removed usage of boost::thread from vcmi, except for AI 2025-03-02 14:33:11 +00: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
645b95ba02 Renamed LibClasses * VLC to GameLibrary * LIBRARY 2025-02-21 16:54:56 +00: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
0548f325e4 Merge branch 'master' into 'develop' 2025-02-21 13:59:34 +00:00
Ivan Savenko
0ed42f8946 Merge pull request #5438 from Laserlicht/portmaster-build
[1.6.6] portmaster support
2025-02-18 16:42:27 +02:00
Laserlicht
70891b0304 portmaster support 2025-02-16 22:29:07 +01:00
Dydzio
58042c5cd6 Remove default focus from spellbook search, allow toggling focus via shortcut 2025-02-15 18:50:43 +01:00
Ivan Savenko
f7f94bb7dc Remove old code 2025-02-10 21:08:30 +00:00
Ivan Savenko
5a9dbc03a8 screen texture and main window are now private members of screen handler 2025-02-10 21:08:30 +00:00
Ivan Savenko
eb7587c000 screen surface is now private member of ScreenHandler instead of global 2025-02-10 21:08:30 +00:00
Ivan Savenko
31e627f128 Remove screen2 and screenBuf global variables 2025-02-10 21:08:30 +00:00
Ivan Savenko
d2fbb64b79 Revert previous commit - seems to be causing more crashes than it fixes 2025-02-03 13:49:02 +00:00
Ivan Savenko
977e15d15c Erase any active windows before deleting guihandler 2025-02-01 18:09:53 +00:00
Ivan Savenko
cf44186a11 Fix crash on accepting turn in MP with settings window open 2025-02-01 12:23:22 +00:00
Ivan Savenko
2ee5f2df02 Merge pull request #5295 from IvanSavenko/bugfixing
[1.6.4] Bugfixing for recently reported issues
2025-01-21 15:50:02 +02:00
Ivan Savenko
82b81a7853 Added better error reporting for unclear crashes 2025-01-19 12:39:22 +00:00
Laserlicht
2ebf1daf0d add smooth drag for RMB & fix drag for new windows 2025-01-19 00:30:23 +01:00
Laserlicht
9ed4dbaeb4 Merge remote-tracking branch 'upstream/develop' into adv_search 2024-10-14 19:52:55 +02:00
Ivan Savenko
58d13fdce5 Implemented scaling of hardware cursor 2024-10-09 17:37:54 +00:00
Laserlicht
e86b694b22 fast search 2024-10-01 21:36:45 +02:00
Laserlicht
d04f369d85 search basic implementation 2024-10-01 18:15:32 +02:00
Ivan Savenko
dc45d82558 Merge pull request #4665 from SoundSSGood/quickbackpack-shift+click
QuickBackpack window is now accessible by shift-clicking
2024-09-27 18:49:23 +03:00
SoundSSGood
f0a5bcfebb Quick backpack window on shift+click 2024-09-24 16:35:28 +03:00
Ivan Savenko
97e24ff126 Integrated Noto fonts into vcmi 2024-09-23 18:15:30 +00:00
Ivan Savenko
248cff49a4 Moved fonts handling from Graphics to RenderHandler class 2024-09-23 15:43:11 +00:00
Ivan Savenko
e93a060500 Merge branch 'vcmi/beta' into 'vcmi/develop' 2024-09-23 14:25:53 +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
612490712e Fix cursor pivot/tip offset for xbrz mode 2024-09-12 21:22:41 +00:00