Ivan Savenko
dc926aac03
Merge pull request #1690 from rilian-la-te/fixup-infobars
...
Fix yellow text rendering.
2023-03-16 14:47:43 +02:00
Ivan Savenko
2a2af34788
Merge pull request #1650 from SoundSSGood/arts-swap-regression-fix
...
Arts swap regression fixed
2023-03-16 14:47:31 +02:00
Konstantin
c497f17dd1
TextControls: fix centering of the yellow text
2023-03-15 14:35:55 +03:00
Konstantin
4ab9cdd75a
infobar: fix tiny rendering
2023-03-15 14:35:34 +03:00
Andrii Danylchenko
6c693f2920
Merge pull request #1657 from vcmi/nkai-fix-build
...
NKAI: improve build behavior
2023-03-13 19:56:49 +02:00
Ivan Savenko
e1310f88e3
Merge pull request #1675 from rilian-la-te/scholar-infobox
...
Fix #1385 and similar
2023-03-13 12:49:30 +02:00
Ivan Savenko
fdfba83186
Merge pull request #1676 from rilian-la-te/fix-week-animation
...
vcmi: fix week animation
2023-03-13 12:48:59 +02:00
Konstantin
40222e3f77
vcmi: fix week animation
2023-03-13 01:22:19 +03:00
Konstantin
18200d1d98
vcmi: move getEstimatedComponentHeight
2023-03-13 00:24:26 +03:00
Konstantin
b4940ee247
vcmi: allow showing no more than 8 components
...
In InfoWindow there is no place for more than 8 components.
Better to have more annoying windows than window which cannot be closed
Slider may be better of course, but I cannot do it for now.
2023-03-13 00:24:26 +03:00
Andrii Danylchenko
fa9e1d2d83
NKAI: fix crash
2023-03-12 16:31:15 +02:00
Andrii Danylchenko
4bf570763a
NKAI: improve neutral town priority handling, reduce priority of objects like star axis
2023-03-12 16:31:15 +02:00
Andrii Danylchenko
87638aafc0
NKAI: improve build behavior
2023-03-12 16:31:15 +02:00
Ivan Savenko
e764a7255d
Merge pull request #1645 from rilian-la-te/infobox-pickups
...
Allow rewardables to show its rewards in info bar
2023-03-12 15:33:15 +02:00
Konstantin
4df4a872c0
showInfoDialog: fix waitWhileDialog regression
2023-03-12 15:01:48 +03:00
Konstantin
45dcd95f20
miscObjects: fix whirpool display
...
It should display negative numbers, not positive
2023-03-11 21:41:58 +03:00
Konstantin
fafe352f93
vcmi: bump max serialization version
...
And also - now we can choose between 3 states for rewardables
actually.
2023-03-11 21:41:57 +03:00
Konstantin
4c31db52be
vcmi: add artifact component to second grail msg
2023-03-11 21:41:57 +03:00
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