Laserlicht
7af340e301
setting to disable subtitle
2025-03-10 00:04:44 +01:00
Ivan Savenko
ee5cddb52c
Merge pull request #5518 from Laserlicht/fix_upgrade_all
...
[develop] fix crash, when no cost for upgrade
2025-03-08 19:21:13 +02:00
Laserlicht
d983d54cc0
Update client/windows/CCastleInterface.cpp
...
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com >
2025-03-08 15:08:33 +01:00
Ivan Savenko
a061ed04de
Remove usage of ConstTransitivePtr from CTown
2025-03-08 14:04:51 +00:00
Ivan Savenko
4a6a8f9496
Merge pull request #5496 from IvanSavenko/std_thread
...
Replace boost::thread with std::thread
2025-03-08 16:03:55 +02:00
Ivan Savenko
04f690b951
Merge pull request #5498 from IvanSavenko/netlag_prep
...
Minor refactoring of GameHandler to help with antilag support
2025-03-08 16:03:29 +02:00
Laserlicht
3f4267df15
fix crash, when no cost for upgrade
2025-03-08 12:46:00 +01:00
Laserlicht
bd16808090
fix text overflow
2025-03-07 20:19:50 +01:00
Ivan Savenko
9f713a0914
Rename int3::valid to isValid for consistency
2025-03-03 10:46:00 +00:00
Ivan Savenko
948abfb04c
AI now uses std::thread, added custom thread interruption logic
2025-03-02 14:33:11 +00:00
Ivan Savenko
a8a6be7ac1
Fix potential compatibility with C++20 / C++23 mode
...
This fixes several issues with compatibility with C++20. C++23 was also
tested, but apparently it does not have any additional breaking changes
compared to C++20 (or we don't have those).
VCMI still uses C++17 as before - goal is only to make potential
transition easier.
There were 2 cases that are deprecated in C++20 that we use:
- Floating point operations on enums are deprecated
- `this` can no longer be captured when using default capture by value
`[=]`
Both of those should now be replaced with code that works fine in both C+
+17 and in C++20 mode
2025-03-02 14:11:48 +00:00
Ivan Savenko
e5a095a237
Remove main menu global. Now accessed via GameInstance
2025-03-01 21:16:41 +00:00
Ivan Savenko
07a46ed03b
Configurable icons for bonuses
...
It is now possible for mods (e.g. vcmi extras) to provide custom icons
for bonuses subtypes or for custom bonuses values without requiring
hardcoded check in vcmi.
All existing hardcoded checks have been removed.
Bonuses config json from mods is now actually loaded.
2025-02-28 14:51:32 +00:00
Ivan Savenko
8f074490a7
Merge branch 'master' into 'develop'
2025-02-27 21:15:42 +00:00
Ivan Savenko
e2e83b392b
Merge pull request #5467 from IvanSavenko/brotherhood_fix
...
[1.6.7] Fix Brotherhood displaying Thieves Guild UI on click instead of Tavern
2025-02-25 16:50:18 +02:00
Ivan Savenko
b6dd4460de
Fix Brotherhood displaying Thieves Guild UI on click instead of Tavern
2025-02-23 14:46:04 +00:00
Laserlicht
52f7caa0e4
use settings instead of persistentStorage
2025-02-22 20:34:13 +01:00
Laserlicht
db23cc2ffa
add setting for disabling overlay
2025-02-21 21:35:17 +01:00
Ivan Savenko
cbcd48aabb
Fix build
2025-02-21 18:51:27 +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
2362c6da21
Fixes for multiple new issues from Sonar
2025-02-21 15:57:39 +00:00
Ivan Savenko
0548f325e4
Merge branch 'master' into 'develop'
2025-02-21 13:59:34 +00:00
Ivan Savenko
05e8542a79
Fix corrupted image of university
2025-02-20 13:09:38 +00:00
Ivan Savenko
7d9c9d19c4
Merge pull request #5432 from Laserlicht/fixes
...
[1.6.6] multiple fixes
2025-02-17 12:36:47 +02:00
Dydzio
58042c5cd6
Remove default focus from spellbook search, allow toggling focus via shortcut
2025-02-15 18:50:43 +01:00
Dydzio
567c88a924
Hero exchange: Q button swaps army + artifacts instead of opening quests
2025-02-15 18:50:14 +01:00
Dydzio
a6ab76d3ec
Add ctrl+click and shift+click behavior for creatures "arrows" - hero exchange
2025-02-15 18:49:12 +01:00
Laserlicht
e9dc9f81b8
text fixes
2025-02-15 16:46:41 +01:00
Ivan Savenko
9effde04bb
Merge pull request #5404 from Laserlicht/upgrade_all
...
[1.6.6] extend radial wheel in town to upgrade all creatures
2025-02-15 11:12:37 +02:00
Laserlicht
3e161da834
code review
2025-02-14 21:03:23 +01:00
Ivan Savenko
b69e1ce1fb
Merge pull request #5399 from Laserlicht/combat_health
...
[1.6.6] Combat Health Bar & Calculation fix
2025-02-14 13:09:49 +02:00
Laserlicht
c6987f4183
upgrade all radial wheel button
2025-02-09 21:54:30 +01: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
Ivan Savenko
c13edc8af3
Merge pull request #5383 from IvanSavenko/bugfixing
...
[1.6.6] Fixes for issues in 1.6.5
2025-02-09 19:27:43 +02:00
Laserlicht
1f61f22122
implement overlay for touch screens
2025-02-09 13:10:27 +01:00
Laserlicht
d98ce78c34
add setting for hp bar
2025-02-08 22:48:21 +01:00
Laserlicht
de06de06b5
refactor backgrounds (allow resolution change)
2025-02-08 20:53:32 +01:00
Ivan Savenko
52d72c75fc
Buttons with text tooltip for artifact sorting screen
2025-02-08 16:31:37 +00:00
Ivan Savenko
f4a218285f
Fix display of remaining spell duration for creatures
2025-02-06 14:19:34 +00:00
Ivan Savenko
d72b743ce5
Merge pull request #5350 from MichalZr6/fix_miniHillFort
...
Fix creating buttons in Stack Window when upgrade is unavailable
2025-02-04 01:02:50 +02:00
Ivan Savenko
b36f5e4026
Merge branch 'beta' into 'develop'
2025-02-03 16:29:10 +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
386679294f
Fix crash on stack being affected by spell with battle-wide propagator
2025-02-01 12:23:22 +00:00
Ivan Savenko
d3131ea365
Merge branch 'beta' into 'develop'
2025-01-31 16:33:12 +00:00
Ivan Savenko
cca4c0888c
In-memory assets generation
...
All assets generation (large spellbook, terrain animations, etc) are now
done in memory and used as it, without saving to disk.
This should slightly improve load times since there is no encode png /
decode png, and should help with avoiding strange bug when vcmi fails to
load recently saved assets.
If needed, such assets can be force-dumped on disk using already
existing console command
2025-01-30 22:21:38 +00:00