1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-23 21:29:13 +02:00

1384 Commits

Author SHA1 Message Date
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
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
Ivan Savenko
d54d498d5f Don't play new building sound twice on auto-built buildings 2025-01-26 15:50:26 +00:00
Ivan Savenko
722d68643f
Merge pull request from IvanSavenko/xbrz_foreground
[1.6.4?] Move xbrz upscaling from foreground thread to background
2025-01-25 17:23:46 +02:00
Ivan Savenko
9a1c2a5800
Merge pull request from Laserlicht/search_inp
[1.6.4] improved text search
2025-01-25 13:54:27 +02:00
Laserlicht
0035b2346a optimized search input 2025-01-23 23:50:04 +01:00
Laserlicht
3c104d0e4b
max width 2025-01-23 22:12:40 +01:00
Laserlicht
38d3426a3b
thieves guild icons instead of text 2025-01-23 21:47:49 +01:00
Ivan Savenko
668bf63fc0 Remove access to internal surface of Canvas 2025-01-21 21:15:21 +00:00
Ivan Savenko
4a600a9d4c Reworked image container classes for easier support of new features 2025-01-21 21:15:21 +00:00
Ivan Savenko
2ee5f2df02
Merge pull request from IvanSavenko/bugfixing
[1.6.4] Bugfixing for recently reported issues
2025-01-21 15:50:02 +02:00
Ivan Savenko
2ac2a08d2c
Merge pull request from Laserlicht/right_drag
[1.6.4] Fix Smooth Map Dragging for RMB
2025-01-20 16:23:53 +02:00
Ivan Savenko
9cf75713d0 Fix possible crash on opening unit window if unit has both ability and
artifact bonus
2025-01-19 16:08:29 +00:00
Laserlicht
2ebf1daf0d add smooth drag for RMB & fix drag for new windows 2025-01-19 00:30:23 +01:00
Ivan Savenko
59cdd46490 Possible fix for crash on opening creature/commander window 2025-01-18 19:45:34 +00:00
Laserlicht
c1e709e8c4
fix video background 2025-01-18 20:35:01 +01:00
Ivan Savenko
9fe8ee9380 Fix size of tiny popup windows, such as terrain right-click 2025-01-08 14:33:30 +00:00
Ivan Savenko
19c981fc56 Added similar screen for Obelisk, moved assets to dedicated folder 2025-01-06 13:05:45 +00:00
Ivan Savenko
6d0dc9c5bb Added popup for keymasters/border guards similar to teleporters 2025-01-05 23:22:46 +00:00
Ivan Savenko
fa1683c889
Merge pull request from Laserlicht/patch-3
[1.6.x] add scrollbar for hero overview descriptions if necessary
2025-01-04 22:27:46 +02:00
Laserlicht
c7963cf62f fix TeleporterPopup out of screen 2025-01-04 02:01:44 +01:00
Laserlicht
0f745d5f1b fix long texts in popup 2025-01-04 01:23:26 +01:00
Laserlicht
f02a61e546
optimize for touch input 2025-01-03 14:49:35 +01:00
Laserlicht
076af53733
add scrollbar for hero overview 2025-01-03 14:34:52 +01:00
Ivan Savenko
8bf5c474d6
Merge pull request from Laserlicht/alt_town
[1.6.2] show building names with ALT
2024-12-30 21:52:32 +02:00
Laserlicht
c44b91de45 Update client/windows/CCastleInterface.cpp
Co-Authored-By: Ivan Savenko <saven.ivan@gmail.com>
2024-12-30 18:13:18 +01:00
MichalZr6
4e9f052e98 Fix creature upgrades in Fort and town's dwellings 2024-12-30 01:14:57 +01:00
Laserlicht
eb319fc15e show building names with ALT 2024-12-26 14:22:12 +01:00
Ivan Savenko
65fc50d33b Simplified building ID logic
- Replaced overcomplicated and broken math on dwelling ID's with fixed
enum
- Fixed broken 2nd upgrades and 8th dwelling
- Removed no longer used enumeration values from building ID's
2024-12-25 19:16:21 +00:00
Ivan Savenko
cd67ced178
Merge pull request from IvanSavenko/ai_optimize
[1.6.1] AI optimization
2024-12-25 00:12:38 +02:00
Ivan Savenko
d58202d2a1
Merge pull request from Laserlicht/bonus
[1.6.1] Bonus display
2024-12-24 15:51:02 +02:00
Laserlicht
7a4afc46a2 fix OPENING_BATTLE_SPELL 2024-12-22 21:23:31 +01:00
Laserlicht
487297b05e correct align of thiefguild text an add popup 2024-12-22 00:13:36 +01:00
Ivan Savenko
95a07ee5cb Use bonus system cache whenever possible 2024-12-21 18:47:11 +00:00
Ivan Savenko
2272707175
Merge pull request from IvanSavenko/teleporter_ui
Added new right-click popup to teleporters
2024-12-21 16:17:15 +02:00
Ivan Savenko
6d8e447ff3 Added new right-click popup to teleporters
Whirlpool, Subterranean Gates, and all Monoliths now show custom popup
on right-click that show all linked objects (exits and entrances).

Only revealed objects are visible, rest are hidden behind fow.

Exits, entrances, and bidirectional objects have different icon that
indicates direction.
2024-12-21 12:01:33 +00:00
MichalZr6
f893c80192 Move UpgradeInfo class to header and source files 2024-12-19 14:13:09 +01:00
MichalZr6
af9445c16f Fixes following review 2024-12-17 22:34:06 +01:00
MichalZr6
d8d3948ac3 Fix AI to use hillFort all available upgrades. UpgradeInfo refactor. 2024-12-17 22:34:06 +01:00
Ivan Savenko
641c59a1a9 Quick workaround for constantly switching input mode 2024-12-10 12:02:08 +00:00
Ivan Savenko
9fbeacb688 Fix possible memory corruption in video player
Fixes two bugs, one was definitely happening, and 2nd one that is causing
undefined behavior and may work only in some std implementations

- VideoPlayer would attempt to access subtitles widget after VideoPlayer
itself was destroyed in onPlaybackFinished call
- std::function was destroyed from a function that is being called by
it. Replaced with 1-method interface to avoid usage of std::function in
this scenario
2024-12-07 15:37:03 +00:00
Ivan Savenko
7543635847
Merge pull request from dydzio0614/alt-creature-buttons
Exchange full army by holding alt while pressing VCMI extras creature arrow button
2024-12-05 16:38:32 +02:00
Dydzio
ceac0bc203 Full exchange when holding alt while pressing exchange screen creature arrow button 2024-12-03 20:40:06 +01:00
Laserlicht
f6b37dbca2
revert text fix 2024-12-02 22:36:49 +01:00
Ivan Savenko
877f47e37f
Merge branch 'develop' into video 2024-12-02 13:48:30 +02:00
Ivan Savenko
304f6bbc90
Merge pull request from Laserlicht/scroll_fix
fix scrolling in search window
2024-12-02 13:13:23 +02:00
Ivan Savenko
f10899ed9e
Merge pull request from Laserlicht/textfixes
text fixes
2024-12-02 13:13:08 +02:00
Laserlicht
28fd6c50c4 search box scroll fix 2024-11-30 16:55:45 +01:00
Laserlicht
bb2f016f49 text fixes 2024-11-30 00:41:09 +01:00