d9496dd9f7
vcmi: remove vector speciality format
...
It is deprecated and will not be used anymore.
2023-03-16 16:46:41 +03:00
96c40eb36e
vcmi: remove SPECIAL_BLESS_DAMAGE bonus
...
It is handled by HAS_ANOTHER_BONUS_LIMITER with SPELL_EFFECT limiter
with desired spell id (bless). Yes, bonus will come from HERO_SPECIAL,
but will work only for blessed with spell id creatures.
2023-03-16 16:46:41 +03:00
a943d2cb12
vcmi: add sourceType to HasAnotherBonusLimiter
...
Now we can filter bonuses by sourceType, hence,
checking, for example, specific secondary skills.
Also fix archery artifacts working without Archery skill.
2023-03-16 16:46:41 +03:00
7e9a15c20b
vcmi: add PERCENT_TO_TARGET_SOURCE value type
...
It will break saves!!!
Added a new value type to bonuses which allows to add percentage
only to one foreign bonus source, for example, to add percentage to all
bonuses from secondary skills from hero special.
2023-03-16 16:46:41 +03:00
98218adea5
vcmi: add PERCENT_TO_SOURCE value type
...
This will adds percent only to bonuses with same source.
In theory it should allow us to create specials which affects only
secondary skills, or only artifacts (let's say, swordmaster special
- any attack bonus from artifact is doubled).
2023-03-16 16:46:41 +03:00
ee90400d66
vcmi: add a Not bonus selector.
...
It will allow us to form complex selector logics with full boolean
operator.
2023-03-16 16:46:41 +03:00
b99a2ad669
vcmi: adjust parseBonus and Bonus::toJson
...
This was an error, when scheme and parser asks different values for
source type. Corrected this.
2023-03-16 16:46:41 +03:00
129b5313c5
Merge pull request #1663 from Adriankhl/fix_load_sleeping_heroes
...
Fix client data deserialization, such as sleepingHeroes
2023-03-16 15:05:18 +02:00
865f9f7d2b
Merge pull request #1511 from IvanSavenko/launcher_welcome_page
...
Add welcome/setup page to Laucher
2023-03-16 15:04:49 +02:00
962f7ac4de
Merge pull request #1682 from IvanSavenko/h3m_text_export
...
H3M/H3C text export
2023-03-16 14:50:57 +02:00
2a2af34788
Merge pull request #1650 from SoundSSGood/arts-swap-regression-fix
...
Arts swap regression fixed
2023-03-16 14:47:31 +02:00
5b267f9cbd
- Duplicate Monolith templates to ensure at least 100 are available to RMG
...
- Do not use Monoliths which can't be placed at any land
2023-03-16 06:58:25 +01:00
f5f303202a
Update localization
2023-03-14 22:04:08 +02:00
d2152d387f
Fix processing of VCMI_Tests map
2023-03-14 21:48:39 +02:00
06e5d37fbd
Fixed incorrect error messages from translations
2023-03-14 19:55:08 +02:00
f42a894723
Implemented h3c translations
2023-03-14 19:46:15 +02:00
a4ef9fd0b8
Added h3m strings generation to 'convert txt' command
2023-03-14 17:54:37 +02:00
369e925af8
Loading of translation mods is now skipped on language mismatch
2023-03-14 16:02:16 +02:00
66df19352f
Do not show languages without translations in UI
2023-03-14 16:02:16 +02:00
c3d78ba761
Partially implemented Setup Window
2023-03-14 16:02:16 +02:00
6fe319329b
Fix language selection
2023-03-14 16:02:16 +02:00
70bdb3aeaf
Moved language handling code to Languages.h/cpp
2023-03-14 16:02:16 +02:00
626721cbba
Fix serialization of ObjectClass
2023-03-12 21:41:46 +01:00
45dcd95f20
miscObjects: fix whirpool display
...
It should display negative numbers, not positive
2023-03-11 21:41:58 +03:00
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
bc228a938a
vcmi: use enum class for EComponentType
...
There is really no reason not to use it
2023-03-11 21:41:57 +03:00
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
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
c759400767
vcmi: allow showing simple rewardables in infobox
2023-03-11 21:41:57 +03:00
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
d503c875a4
vcmi: fix mana points displayed
2023-03-11 21:41:57 +03:00
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
c4de8a5cd0
Merge pull request #1580 from rilian-la-te/modernize-log-fs-events
...
Modernize next part
2023-03-09 15:53:43 +02:00
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
5366f9190e
vcmi: reduce boost::lexical_cast usage
2023-03-09 16:36:46 +03:00
e24eb6cc12
regression fixed
2023-03-08 17:20:38 +02:00
58cfea02f1
Added option to skip validation of mods
2023-03-07 00:06:58 +02:00
db9a296d02
Fix debug renderer
2023-03-07 00:06:58 +02:00
499496f9d0
Restored Simplified Chinese support
2023-03-07 00:06:58 +02:00
3d71f8b46d
Fix loading of h3m translations
2023-03-07 00:06:58 +02:00
0c847c85cc
Fix serialization of rewardable objects
2023-03-07 00:06:58 +02:00
0b3c10d990
Fix crash on hovering Market of Time (unfinished H3 object)
2023-03-07 00:06:58 +02:00
042885c0b8
vcmi: modernize lib/events
2023-03-06 20:24:38 +03:00
462599a5c6
vcmi: modernize lib/filesystem
2023-03-06 20:24:38 +03:00
c142bf1072
vcmi: modernize lib/logging
2023-03-06 20:13:25 +03:00
c8afef3408
Merge pull request #1636 from rilian-la-te/remove-unused
...
vcmi: remove old war machine code
2023-03-06 00:10:55 +02:00
df50a17d2a
Fix loading of non-ASCII text files
2023-03-05 21:50:38 +02:00
c84a9f32f6
vcmi: fix road and river loading
...
It actually catched by MapFormat.Terrain test crash.
So, this is a fix (functions does not trowing exceptons, it returns NULL
if something is wrong).
2023-03-05 22:41:38 +03:00
7ef5163d9d
Merge pull request #1581 from IvanSavenko/map_render_rewrite
...
Adventure Map - rendering rewrite
2023-03-05 19:51:07 +02:00
a364e39b50
vcmi: remove old war machine code
2023-03-05 19:12:47 +03:00