1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-18 17:40:48 +02:00
Commit Graph

11099 Commits

Author SHA1 Message Date
Konstantin
3d33da0a9e vcmi: request pop all when hero is moved
This way new pickup will show immidately.
2023-03-11 21:41:57 +03:00
Konstantin
bf67784840 vcmi: correctly show spells from SpellInt.def 2023-03-11 21:41:57 +03:00
Konstantin
de211e9f13 vcmi: all notifications now shows inside the infobar properly
No more dangling images or text.
2023-03-11 21:41:57 +03:00
Konstantin
bc228a938a vcmi: use enum class for EComponentType
There is really no reason not to use it
2023-03-11 21:41:57 +03:00
Konstantin
2bd74e5c67 vcmi: use small icons for medium components
It makes more sense due to current UI implementation. It is better
to have icon smaller than have icons overlap
2023-03-11 21:41:57 +03:00
Konstantin
1ca89c8492 vcmi: implement splitting by ID in infobar
This will get a much better result than naive sorting
2023-03-11 21:41:57 +03:00
Konstantin
8a05f5bed7 vcmi: allow set font size on component
Now it is possible to set arbitrary font size
for CComponent. So, let's use it
2023-03-11 21:41:57 +03:00
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
Asirome
c47b2351a3
Spanish translation
By ChatGpt
2023-03-08 21:19:55 +01: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
SoundSSGood
e24eb6cc12 regression fixed 2023-03-08 17:20:38 +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