1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
Commit Graph

10224 Commits

Author SHA1 Message Date
Konstantin
716dd9a43b vcmi: remove a bunch of duplicated showInfoDialog
These methods duplicated in almost every map object
Just replace it by one such method
2023-03-11 21:41:57 +03:00
Konstantin
8edba4fb06 vcmi: use MODAL by default
Convert only some objects to AUTO, need futher testing
than no non-adventure objects will not use AUTO or INFO
2023-03-11 21:41:57 +03:00
Konstantin
a6cb7fd192 vcmi: allows to more than 8 components in infobar 2023-03-11 21:41:57 +03:00
Konstantin
a0c644a0e5 vcmi: actually implement AUTO for CInfoWindow
This is possible to use infobar interactions now.
2023-03-11 21:41:57 +03:00
Konstantin
75358a68a7 vcmi: name infobar height and width 2023-03-11 21:41:57 +03:00
Konstantin
da8840c499 CComponent: do not always assume 80 for text 2023-03-11 21:41:57 +03:00
Konstantin
7a04c28815 vcmi: remove pickupSounds set
It is unused now, resource pickups handled similar like necromancy
2023-03-11 21:41:57 +03:00
Konstantin
c759400767 vcmi: allow showing simple rewardables in infobox 2023-03-11 21:41:57 +03:00
Konstantin
4617ce10e5 vcmi: allow showing more than one components in infobar
Up to 8, AFAIK. So, we can show multi-reward in infobox now.
One issue remain - cannot dynamically choose components size
based on text size.
2023-03-11 21:41:57 +03:00
Konstantin
2fb2a79ca4 vcmi: fix components other than resources in infobar
Do not redraw infobar when components shows and
we request to show current adventure hero.
Player already knows which hero he used to pick up
components.
2023-03-11 21:41:57 +03:00
Konstantin
38d8585be3 vcmi: fix library of Enlinghtenment text
Was text from +1 knowledge garden
2023-03-11 21:41:57 +03:00
Konstantin
0dbc7169d8 vcmi: fix creature numbers on infobar
It was rendered on a border
2023-03-11 21:41:57 +03:00
Konstantin
d503c875a4 vcmi: fix mana points displayed 2023-03-11 21:41:57 +03:00
Konstantin
f2167904ed update russian translation 2023-03-11 21:41:57 +03:00
Ivan Savenko
20ef84bd55
Merge pull request #1670 from rilian-la-te/ffmpeg-6.0
vcmi: fix build and run with ffmpeg 6.0
2023-03-11 00:19:06 +02:00
Konstantin
a72af34d9f vcmi: fix build and run with ffmpeg 6.0 2023-03-11 00:12:05 +03:00
Ivan Savenko
0ea73cae7f
Merge pull request #1662 from rilian-la-te/reduce-lexical-cast
vcmi: reduce boost::lexical_cast usage
2023-03-10 12:53:21 +02:00
Ivan Savenko
c4de8a5cd0
Merge pull request #1580 from rilian-la-te/modernize-log-fs-events
Modernize next part
2023-03-09 15:53:43 +02:00
Ivan Savenko
1ab0295bfb
Merge pull request #1630 from Nordsoft91/fix-1605
Regression fix for roads in map editor
2023-03-09 15:53:18 +02:00
Ivan Savenko
a503c9d413
Merge pull request #1638 from rilian-la-te/fix-road-river
vcmi: fix road and river loading
2023-03-09 15:53:10 +02:00
Ivan Savenko
11dc9228e2
Merge pull request #1635 from SoundSSGood/warmachine-buying-fix
warmachine buying fix
2023-03-09 15:52:41 +02:00
Ivan Savenko
9ca576d68c
Merge pull request #1643 from Adriankhl/lldb_string
Fix lldb string inspection for debug build
2023-03-09 15:52:20 +02:00
Ivan Savenko
e7c8782e80
Merge pull request #1660 from krs0/feature/do_not_showVisitable_for_current_hero
Do not show visitable for current hero
2023-03-09 15:51:02 +02:00
Konstantin
5366f9190e vcmi: reduce boost::lexical_cast usage 2023-03-09 16:36:46 +03:00
krs
1f06a62219 Do not show visitable for current hero 2023-03-08 22:43:52 +02:00
Ivan Savenko
010c548dc1
Merge pull request #1651 from Adriankhl/fix_sleep_wake
Fix sleep/wake button icon update
2023-03-08 19:42:02 +02:00
Ivan Savenko
3f7c0baba1
Merge pull request #1655 from Laserlicht/patch-1
German translation - synced with english
2023-03-08 16:42:06 +02:00
Dydzio
b382a6d863 Remove appveyor build status 2023-03-08 12:57:12 +02:00
Andrii Danylchenko
886c04e5d2
Merge pull request #1627 from vcmi/nkai-defence-fix
NKAI improve defense and some fixes
2023-03-08 12:39:59 +02:00
Ivan Savenko
dc70095333
Merge pull request #1656 from krs0/feature/Rename_showBlocking_to_showBlocked
Renamed showBlockable to showBlocked
2023-03-08 12:09:59 +02:00
Andrii Danylchenko
148c3436df NKAI: improve army gathering 2023-03-08 11:53:26 +02:00
krs
7e97885e73 Renamed showBlockable to showBlocked 2023-03-08 01:19:26 +02:00
Michael
0450587ecc
synced with english & extended 2023-03-07 23:55:54 +01:00
Andrii Danylchenko
8b0c7b6601 NKAI improve defence and some fixes 2023-03-07 20:10:58 +02:00
Ivan Savenko
c28f7dd292
Merge pull request #1652 from IvanSavenko/localization_fix
Localization fix
2023-03-07 19:41:59 +02:00
Ivan Savenko
76927cf434 Fix selection of current resolution 2023-03-07 15:35:04 +02:00
Ivan Savenko
674711c959 Fix missing texts in RMG mod 2023-03-07 15:28:27 +02:00
Ivan Savenko
d7e914d0eb Fix resolution selection menu texts 2023-03-07 15:27:54 +02:00
Adriankhl
368def1609 Fix sleep/wake button, now the icon is updated properly after left click 2023-03-07 13:51:05 +01:00
Ivan Savenko
9e39e8ef11
Merge pull request #1642 from IvanSavenko/map_render_regression_fix
Map render regression fix
2023-03-07 01:13:39 +02:00
Ivan Savenko
58cfea02f1 Added option to skip validation of mods 2023-03-07 00:06:58 +02:00
Ivan Savenko
db9a296d02 Fix debug renderer 2023-03-07 00:06:58 +02:00
Ivan Savenko
f768a5543e Removed deprecated encoding option 2023-03-07 00:06:58 +02:00
Ivan Savenko
499496f9d0 Restored Simplified Chinese support 2023-03-07 00:06:58 +02:00
Ivan Savenko
144ddba97d Replaced AI assertion failure with error in log 2023-03-07 00:06:58 +02:00
Ivan Savenko
df4fe33c3a Do not switch InfoBar to hero during another player turn 2023-03-07 00:06:58 +02:00
Ivan Savenko
3d71f8b46d Fix loading of h3m translations 2023-03-07 00:06:58 +02:00
Ivan Savenko
b3b7a4eb2c Fix potentially missing message for Tree of Knowledge 2023-03-07 00:06:58 +02:00
Ivan Savenko
0c847c85cc Fix serialization of rewardable objects 2023-03-07 00:06:58 +02:00
Ivan Savenko
5f396af14c Remove excessive logging 2023-03-07 00:06:58 +02:00