1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-25 00:37:24 +02:00
Commit Graph

1441 Commits

Author SHA1 Message Date
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
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
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
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
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
7ef5163d9d Merge pull request #1581 from IvanSavenko/map_render_rewrite
Adventure Map - rendering rewrite
2023-03-05 19:51:07 +02:00
5905dd6111 Grail digging check is now in library 2023-03-05 17:48:02 +02:00
ca13e7dedf Implemented terrain palette animatiions. Removed old code 2023-03-05 17:48:02 +02:00
bd70b6fabd Unicode conversion functions now require source encoding 2023-03-05 17:39:27 +02:00
8b3309b47d Fixed custom hero names text ID's 2023-03-05 17:39:27 +02:00
623cae7d47 All translatable strings now have language identifier 2023-03-05 17:30:38 +02:00
84fa19dadf Merge pull request #1547 from dydzio0614/game-start-unrandomization
Hardcoded features for HotA-like starting conditions
2023-03-05 17:29:49 +02:00
8c52cbcd00 Merge pull request #1429 from dydzio0614/creature-numeric-quantities
Implement numeric creature descriptions with config toggle on/off
2023-02-26 22:57:01 +02:00
e48a4185ed Use config values from new settings 2023-02-15 23:36:09 +01:00
c6feafc367 Hack to fix campaigns 2023-02-15 20:37:18 +02:00
f65c6ad275 fix regressions from modernization 2023-02-15 14:27:12 +02:00
5f181e25af vcmi: modernize lib/mapObjects 2023-02-14 14:39:56 +03:00
94bc418e34 Update CRewardableConstructor.cpp
Fixed swapped identifiers in Limiter.
2023-02-11 08:28:29 +01:00
8604bde69e Apply suggestions from code review
Commit code review changes

Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2023-02-09 19:20:41 +01:00
7095e9d8f9 Allow heroes to start with empty armies if configured properly 2023-02-05 00:36:51 +01:00
3f79a9806c Allow flexible configuration - starter dwellings and max stacks count 2023-02-04 23:40:02 +01:00
7b8aebe4e3 vcmi: deprecate MAXED_SPELL
It is almost identical to SPECIAL_FIXED_VALUE_ENCHANT.

Replace its usage in JSON and inside deprecated converter
to SPECIAL_FIXED_VALUE_ENCHANT. Remove buggy string inside
getEffectLevel.
2023-02-04 16:23:03 +03:00
4f4660e82d Hardcoded feature to allow new heroes always have 3 stacks like in HotA 2023-02-02 22:28:14 +01:00
34772ef830 Fixed includes 2023-02-01 21:45:06 +02:00
c5508d33fc Merge pull request #1514 from IvanSavenko/rewardable_fixes
Minor fixes to rewardable objects
2023-01-31 12:47:24 +02:00
57df0a6995 Fix crash on hovering prison 2023-01-30 19:00:51 +02:00
57ee9a9bf3 Merge vcmi/beta into vcmi/develop 2023-01-29 18:21:55 +02:00
a2cd17197e Fix Campfire Gold reward amount. Now always one of 400/500/600 2023-01-28 13:12:03 +02:00
d82822d37a Fix reset of rewardable objects with reset period of 1 day 2023-01-28 13:12:03 +02:00
e87adf334d Fix loading of vcmi json maps 2023-01-26 23:32:56 +02:00
8b2d336562 Fix initialization of visitDir in templates 2023-01-26 23:32:56 +02:00
a3846f1b31 Fix incorrect identifiers format 2023-01-26 23:32:56 +02:00
eebc6fd625 Map object use format mod:object (or mod:object.subobject) 2023-01-26 23:32:56 +02:00
7b82387a49 Dwellings & Banks will register custom names for their objects 2023-01-26 23:32:56 +02:00
bc27faea57 All objects will register single name per object type 2023-01-26 23:32:55 +02:00
f71cbc5d9b Fixed loading of object names 2023-01-26 23:27:26 +02:00
b13637cdd5 Fix regressions in RMG & map editor 2023-01-26 23:27:26 +02:00
6f324216db Bugfixing 2023-01-26 23:27:24 +02:00
6c472339ce Refactoring of ObjectClassesHandler 2023-01-26 23:26:49 +02:00
c5f72ccdc7 Names for object supertypes are passed through translator 2023-01-26 23:19:53 +02:00