1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-25 21:38:59 +02:00

7010 Commits

Author SHA1 Message Date
Ivan Savenko
87dec3c1df
Merge pull request from Laserlicht/patch-2
[1.6.6] multiple fixes
2025-02-15 11:14:50 +02:00
Ivan Savenko
9effde04bb
Merge pull request 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
b276603b34 fixes 2025-02-14 22:45:52 +01:00
Laserlicht
54606fbe95
fix 2025-02-14 21:49:43 +01:00
Laserlicht
3e161da834 code review 2025-02-14 21:03:23 +01:00
Ivan Savenko
2d7535eb00
Merge pull request from IvanSavenko/xbrz_effects
Implemented bloodlust, clone, and petrify effects for xbrz mode
2025-02-14 14:33:13 +02:00
Ivan Savenko
b69e1ce1fb
Merge pull request from Laserlicht/combat_health
[1.6.6] Combat Health Bar & Calculation fix
2025-02-14 13:09:49 +02:00
Ivan Savenko
28a8d4f4a1 Implemented bloodlust, clone, and petrify effects for xbrz mode 2025-02-14 11:01:20 +00:00
Ivan Savenko
099b7a4763
Merge pull request from IvanSavenko/bugfixing
[1.6.6] Minor fixes
2025-02-14 12:49:14 +02:00
Ivan Savenko
de3b7e3cc6
Merge pull request from vcmi/sdl_mixer_native_type
use Mix_Music from SDL_Mixer directly
2025-02-12 13:25:24 +02:00
Ivan Savenko
4c4726847d Fix size of generated images for Chronicles 2025-02-11 20:08:02 +00:00
Ivan Savenko
c559b20791 Add more tracking for crash on Android 2025-02-11 20:07:44 +00:00
Ivan Savenko
7f7327b622 Fix attempt to translated already translated string 2025-02-11 20:07:31 +00:00
Ivan Savenko
f91973e544
Merge pull request from IvanSavenko/move_cost_total
[1.6.6] Show total movement cost for multi-turn paths
2025-02-10 14:52:30 +02:00
Andrey Filipenkov
586cb65adc
use Mix_Music from SDL_Mixer directly 2025-02-10 15:01:51 +03:00
Laserlicht
0bbcb21826 optimize radial wheel if only few button exisiting 2025-02-09 21:54:31 +01:00
Laserlicht
c6987f4183 upgrade all radial wheel button 2025-02-09 21:54:30 +01:00
Ivan Savenko
68e0dcb01d
Merge pull request 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 from Laserlicht/touch_overlay
[1.6.6] overlay for touch screens & pinch fix
2025-02-09 19:40:45 +02:00
Ivan Savenko
2468ab54ea Show total movement cost for multi-turn paths 2025-02-09 17:29:28 +00:00
Ivan Savenko
c13edc8af3
Merge pull request from IvanSavenko/bugfixing
[1.6.6] Fixes for issues in 1.6.5
2025-02-09 19:27:43 +02:00
Ivan Savenko
51c71bb839
Merge pull request from Laserlicht/fixes
[1.6.6] Multiple fixes
2025-02-09 19:24:04 +02:00
Ivan Savenko
ddeb6c3c2d
Merge pull request from IvanSavenko/artifact_sort_icons
Separate icons for artifact sorting screen
2025-02-09 19:16:55 +02:00
Ivan Savenko
ff66e4d55a
Merge pull request from IvanSavenko/xbrz_autoselect
Enable xbrz2 by default on mobile systems
2025-02-09 19:16:42 +02:00
Laserlicht
75dd4a1acb fix pinch event calculation 2025-02-09 13:11:49 +01:00
Laserlicht
1f61f22122 implement overlay for touch screens 2025-02-09 13:10:27 +01:00
Laserlicht
ca5471aa55 fix incorrect health calculation 2025-02-08 23:20:09 +01:00
Laserlicht
d98ce78c34 add setting for hp bar 2025-02-08 22:48:21 +01:00
Laserlicht
a8211d12de Combat Health Bar 2025-02-08 22:22:22 +01:00
Laserlicht
de06de06b5 refactor backgrounds (allow resolution change) 2025-02-08 20:53:32 +01:00
Laserlicht
0424f71cb2 portrait mode for android 2025-02-08 20:02:31 +01:00
Ivan Savenko
52d72c75fc Buttons with text tooltip for artifact sorting screen 2025-02-08 16:31:37 +00:00
Laserlicht
f2c872bd4c fix name in MapOverview 2025-02-08 16:22:05 +01:00
Laserlicht
d9ada6c7e8 fix touch relative mode 2025-02-08 12:54:25 +01:00
Ivan Savenko
3ed599bef3 Enable xbrz2 by default on mobile systems
Since upscaling is now performed in background there should be no
noticeable lags on most systems.

To be safe - it will only be enabled on systems with over 2 Gb RAM, to
exclude oldest hardware

This only affects autoselection. If upscaling filter was selected by
player explicitly, these changes will have no effect
2025-02-07 14:27:37 +00:00
Ivan Savenko
7803f7a972 Clicking on blocked tile of a visitable object now builds a path to it
Suggestion from Discord.

If player has hero selected, clicking on a blocked tile of a visitable,
reachable object will now build a path to its visitable position (or
move hero to it, in case of second click / tap).

Objects that have interaction on left click (allied town and shipyards)
are excluded from this change and work as before
2025-02-07 13:59:32 +00:00
Ivan Savenko
4e6560c4c9 Fixes for issues detected by valgrind 2025-02-06 19:22:04 +00:00
Ivan Savenko
fff5ac5945 Fix transparency on hero portraits 2025-02-06 14:22:06 +00:00
Ivan Savenko
5a02a4c07f Fix path to Chronicles campaigns background, remove old code 2025-02-06 14:21:19 +00:00
Ivan Savenko
367aa94227 Do not scroll lists in lobby if another item is hovered 2025-02-06 14:20:45 +00:00
Ivan Savenko
f4a218285f Fix display of remaining spell duration for creatures 2025-02-06 14:19:34 +00:00
Ivan Savenko
d586d4ea89 Do not highlight unavailable columns of hexes on battlefield 2025-02-06 14:18:56 +00:00
Ivan Savenko
d72b743ce5
Merge pull request from MichalZr6/fix_miniHillFort
Fix creating buttons in Stack Window when upgrade is unavailable
2025-02-04 01:02:50 +02:00
Ivan Savenko
e047035221
Merge pull request from IvanSavenko/hota_golem_fix
[1.6.6] Handle flag color overlay and creature selection overlay separately
2025-02-04 00:50:36 +02:00
Ivan Savenko
c3af0dc469 Remove unused parameters 2025-02-03 18:02:01 +00:00
Ivan Savenko
048fc503c3 Do not start listening for connections in single-player games 2025-02-03 17:24:02 +00:00
Ivan Savenko
d9244cf061 Remove network connection from local games
This removes need for TCP network connection in single-player games.

Instead, game will now create internal pseudo-connection that performs
client<->server communication by posting sent messages to client/server
asio::io_service'a.

This should fix gameplay aborting on switching to another app on iOS (and
apparently, on Android in some cases)
2025-02-03 17:24:02 +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
38bb5a76e6 Handle flag color overlay and creature selection overlay separately
Fixes handling of Iron Golem animation from HotA
2025-02-03 11:44:21 +00:00
Ivan Savenko
ec5d4dbe5d
Merge pull request from GeorgeK1ng/menu_campaign_fix
Fix VCMP campaign detection for buttons
2025-02-02 14:10:12 +02:00