Henning Koehler
|
e2f2568221
|
added extra debug info for Json parsing
|
2018-02-18 20:59:05 +13:00 |
|
Henning Koehler
|
6442842731
|
added one-line option for standard creature specialty; also fixes bug for creatures where upgrades have different attack/defense
|
2018-02-18 20:59:05 +13:00 |
|
Henning Koehler
|
95e2b44319
|
added TimesStackLevelUpdater
|
2018-02-18 20:36:24 +13:00 |
|
Henning Koehler
|
552bad08b3
|
added TimesHeroLevelUpdater; renamed ScalingUpdater to GrowsWithLevelUpdater
|
2018-02-18 20:36:24 +13:00 |
|
Henning Koehler
|
f9a8cb2876
|
fixed formatting and other small issues
|
2018-02-18 20:22:23 +13:00 |
|
Henning Koehler
|
73f782aa39
|
fixed various specialty bugs retained during conversion
|
2018-02-18 20:22:23 +13:00 |
|
Henning Koehler
|
2b8f111a81
|
converted special.json; fixed bugs in specialty json construction
|
2018-02-18 20:22:23 +13:00 |
|
Henning Koehler
|
dc7132d8b7
|
converted castle.json; fixed bugs in Bonus::toJsonNode()
|
2018-02-18 20:22:23 +13:00 |
|
Henning Koehler
|
00f51e0f98
|
Updaters replace bonuses during inheritance
|
2018-02-18 20:22:23 +13:00 |
|
Henning Koehler
|
ad5a9f7205
|
made HeroSpecial public again
|
2018-02-18 20:08:34 +13:00 |
|
Henning Koehler
|
20172dba7c
|
indentation fix
|
2018-02-18 20:08:34 +13:00 |
|
Henning Koehler
|
ee46862784
|
replaced JsonNode::isEmpty() with JsonNode::containsBaseData()
|
2018-02-18 20:08:34 +13:00 |
|
Henning Koehler
|
6414cd18e8
|
fixed bug with old specialty conversion
|
2018-02-18 20:08:34 +13:00 |
|
Henning Koehler
|
de6d4d8367
|
fixed indentation for switch statements
|
2018-02-18 20:08:34 +13:00 |
|
Henning Koehler
|
6037c19b9a
|
removed specialtyDeprecated from CGHeroInstance; improved savegame compatibility
|
2018-02-18 19:47:38 +13:00 |
|
Henning Koehler
|
81c44dac41
|
minor fixes
|
2018-02-18 19:47:38 +13:00 |
|
Henning Koehler
|
ab7ce6625e
|
moved nameForBonus into Bonus class
|
2018-02-18 19:47:37 +13:00 |
|
Henning Koehler
|
ba7709da50
|
middle-aged specialty format is converted properly and logged
|
2018-02-18 19:27:24 +13:00 |
|
Henning Koehler
|
16f59fb213
|
fixed base merging and limiter creation
|
2018-02-18 19:27:24 +13:00 |
|
Henning Koehler
|
6ae103dd63
|
print json in compact format
|
2018-02-18 19:27:24 +13:00 |
|
Henning Koehler
|
a002df399e
|
updated json loading and schema to fit new specialty format
|
2018-02-18 19:27:24 +13:00 |
|
Henning Koehler
|
038cb4bf19
|
remove base json from specialty bonuses
|
2018-02-18 19:27:24 +13:00 |
|
Henning Koehler
|
eb02ce0f31
|
changed specialty json format to struct with base (WIP)
|
2018-02-18 19:27:24 +13:00 |
|
Henning Koehler
|
d7942fd929
|
fixed typo in specialty log
|
2018-02-18 18:53:01 +13:00 |
|
Henning Koehler
|
c31950612c
|
convert spec format in afterLoadFinalization
|
2018-02-18 18:53:01 +13:00 |
|
Henning Koehler
|
26862b4c51
|
improved/fixed specialty json encoding
|
2018-02-18 18:25:49 +13:00 |
|
Henning Koehler
|
05838b3827
|
Bonuse::toJsonNode uses string constants for type/subtype
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
c79b776f3c
|
Limiters (at least creature type limiters) are printed as well
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
89b1ba7538
|
added basics for specialty format updating
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
5d3f6c3b91
|
removed CHeroInstance::specialty
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
2703b035a6
|
added updater to Bonus json format
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
f8a8f6ac72
|
re-fixed type registration bug properly
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
9a335cdb59
|
fixed type registration bug (order matters\!)
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
ef7900d0a2
|
added support for older saves (fails)
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
d594845c32
|
fixed serialization issues
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
3e0022be27
|
added support for new specialty json format; old format is converted to bonuses with updaters
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
f867b1a37e
|
invalidate bonus caching on update
|
2018-02-18 16:55:15 +13:00 |
|
Henning Koehler
|
f1fd00f005
|
renamed & reused CBonusSystemNode::updateBonuses; tweaked updater signature
|
2018-02-18 16:55:15 +13:00 |
|
Henning Koehler
|
67330efa4a
|
added basics for Bonus updater
|
2018-02-18 16:34:15 +13:00 |
|
Nikolay Shalakin
|
3795985de9
|
Eliminate warnings / errors. Pull request #388
|
2018-02-11 15:17:14 +03:00 |
|
Ivan Romanov
|
3c1c72319b
|
CMake: update version on each compiling
|
2018-02-11 13:52:29 +03:00 |
|
Arseniy Shestakov
|
8bbe747e8e
|
Cleanup undef for min / max. NOMINMAX is already in Global.h
|
2018-02-11 05:42:49 +03:00 |
|
ArseniyShestakov
|
e11e69750a
|
Merge pull request #411 from drizt/fallthrough
Hide "this statement may fall through" warnings
|
2018-02-10 22:34:39 +03:00 |
|
Arseniy Shestakov
|
324717acbe
|
Spelling fixes: privilaged -> privileged, retreive -> retrieve
|
2018-02-10 21:52:23 +03:00 |
|
Ivan Romanov
|
eea50a044c
|
Hide "this statement may fall through" warnings
|
2018-02-10 22:27:00 +05:00 |
|
AlexVinS
|
c94daf6faa
|
Fixed https://bugs.vcmi.eu/view.php?id=2864
|
2018-02-10 07:31:02 +03:00 |
|
AlexVinS
|
10dd7e8a43
|
Cleanup
|
2018-02-10 04:03:17 +03:00 |
|
Alexander Shishkin
|
936a310b0a
|
Merge pull request #413 from dydzio0614/sr9_vsfix
update VS files to match spellrefactoring9 changes
|
2018-02-09 21:13:40 +03:00 |
|
Dydzio
|
d4958ff5f8
|
update VS files to match spellrefactoring9 changes
|
2018-02-09 18:53:07 +01:00 |
|
AlexVinS
|
8220053864
|
Cleanup
|
2018-02-09 20:52:56 +03:00 |
|