1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-06-19 22:57:37 +02:00

691 Commits

Author SHA1 Message Date
Laserlicht b0058643ac code review; add disabled state 2026-06-14 13:23:44 +00:00
Laserlicht 5e7414df40 keyboard shortcut for upgrade all creatures in addition for radialwheel 2026-06-07 15:21:09 +02:00
Ivan Savenko e0552e79ae Merge branch 'master' into 'develop' 2026-05-20 17:08:27 +03:00
Laserlicht 031bf51595 fix scroll 2026-05-14 16:07:09 +02:00
Ivan Savenko 3ab30dbb4d Merge branch 'vcmi/beta' into 'vcmi/develop' 2026-04-30 16:43:21 +03:00
Laserlicht 7c16cdba28 Merge branch 'beta' into wiki 2026-04-26 11:00:07 +02:00
Andrej Dudenhefner 410d2c0623 add aviation
- add EPathfindingLayer `AVIATE` (different from `AIR`, can hover over free land and water)
- add transitions: `LAND` <-> `AVIATE` <-> `AIR` (cannot stop over obstacle)
- add layer specification to `MoveHero` destination handling
- add path finder `AVIATE` rules
- add node storage `AVIATE` specifications
- add adventure map aviation interactions
- add EAdventureState `DISEMBARKING`
- add disembark shortcut Shift+D for `ADVENTURE_DISEMBARK`
- add cursor icons for aviation under CC-BY-SA license
- correct move point generation / consumption
- can buy an airship from Airship Yard on land and coast at fixed cost
- add localization
2026-04-21 10:47:10 +02:00
George King f9bde7d820 [1.7.4] Scenario selection buttons as widget (#7192)
* Update Shortcut.h

* Update ShortcutHandler.cpp

* Update SelectionTab.cpp

* Add new map size options to keyBindingsConfig

* Create scenarioTab.json

* ReRun CI

* Disable labelMapSizes if G map button resource exist

* Update scenarioTab.json

* Update SelectionTab.cpp

* Fix formatting

* Update english.json

* Update czech.json

* Update czech.json

* Update polish.json

* Update InterfaceObjectConfigurable.cpp

* Update SelectionTab.h

* Update SelectionTab.cpp

* Update scenarioTab.json

* Update SelectionTab.h

* Update SelectionTab.cpp
2026-04-13 23:22:49 +03:00
Laserlicht 5e4f522b72 initial wiki window 2026-04-12 13:14:13 +02:00
Boris Nagaev b05c0f8e6d Normalize local relative include directives
Normalize quoted local relative include directives to remove redundant
path segments while preserving relative includes.

This applies the normalizer across the tree and updates 108 includes in
64 files, including cases where paths inside lib/* redundantly used
../../lib/... and now correctly use ../... .

These paths compiled before because include resolution normalized them,
but they were longer and harder to audit.
2026-03-26 20:15:25 -05:00
Laserlicht cd713a6a44 shortcut load after config shortcut bindings 2026-01-09 20:10:24 +01:00
Laserlicht 7fee70f022 change to F3 (no dublicate) 2025-12-27 15:37:52 +01:00
Laserlicht cf4fd1383b screenshot support 2025-12-27 15:23:27 +01:00
Ivan Savenko 58b9347021 Merge pull request #6473 from kdmcser/mainmenu_negative_coord
Support negative coordinates for images and videos
2025-12-19 14:14:11 +02:00
kdmcser f8db3ba7e7 support negative coord in mainmenu images and videos 2025-12-18 22:23:50 +08:00
Ivan Savenko 56267ecdae Fix not hidden cursor on right-click 2025-12-17 21:04:54 +02:00
Andrej Dudenhefner 8bddd8f4e3 add quick save (F8) / quick load (F9) functionality for single player and hotseat games on adventure map and in combat
- add LobbyQuickLoad pack
- add hotkeys F8, F9 to adventure map and battle
- check whether quick save matches current settings
- ask before quick load
- notify about quick save
- use CResourceHandler for file existence test
- update localization
- externalize buttons to vcmi-extras
2025-12-04 09:16:35 +01:00
Laserlicht afb045ef14 show statistics ingame 2025-11-22 16:46:10 +01:00
Ivan Savenko 7b4a7799cc Merge pull request #6301 from Laserlicht/battleonly2
tab support / add artifacts, skills, warmachines & spellbook for battle mode
2025-11-17 20:38:51 +02:00
Michał Zaremba d01cecdaca Initialize cursor currentFrame to 0 to avoid stall 2025-11-10 23:22:36 +01:00
Laserlicht 59936017fb shortcut 2025-11-06 23:17:37 +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