Ivan Savenko
c927913f5f
- Improved json validation. Now it support most of features from latest json schema draft
...
- Set of schemas in config/schemas directory that are used to validate input from mods.
2013-04-02 17:06:43 +00:00
Ivan Savenko
b413d80ccc
- better logging of some config files errors
...
- restored lvl 10 for some dragons
2013-03-09 13:16:35 +00:00
Ivan Savenko
f306d7bb70
some changes towards editing H3 objects via mods. Should be stable, report if not.
...
- removed duplicated json loading code in handlers
- simpler and mod-friendly handling of combined artifacts
- reorganized CCreature to avoid huge number of fields in one structure
2013-03-02 16:55:51 +00:00
alexvins
2cb86d84fa
[refactor]
...
+ crexp parser: parse mind immunity
2013-02-25 12:18:45 +00:00
mateuszb
86dc9386d6
* refactoring, including a generic solution for IDs
2013-02-10 23:24:57 +00:00
mateuszb
8769f67c5d
* JsonReader can convert to enums
...
* refactoring
2013-02-03 21:05:44 +00:00
DjWarmonger
d7c9377843
- Parsing propagators and limiters
...
- Experimental support for chaining limiters
- Added missing abilities, propagators and limiters to artifacts
- Sketch of Calculator for bonuses, ignore it for now
2013-01-16 13:02:01 +00:00
Ivan Savenko
7e7d12095b
- basic support for dependencies\conflicts for mods
...
- adventure map objects transparency should be more similar to h3
2013-01-10 18:53:49 +00:00
DjWarmonger
1807a8a536
- Bonus subtype will now be resolved using string identifiers.
...
- Registered secondary skills and resource names in identifier pool
2012-12-26 09:46:09 +00:00
alexvins
c0ce8712c1
add some missing licence headers
2012-12-19 14:54:10 +00:00
Ivan Savenko
04358ed0c6
multiple changes in config system, breaks existing mods. See upcoming post on forums.
...
- filesystem initialization works in conjuction with modHandler
- (config) split buildings.json in multiple files in "factions" directory
- (mods) merged filesystem.json and config/mod.json into mod.json
2012-12-12 11:13:57 +00:00
Ivan Savenko
c9dd80ea6d
- moved json-related functions (e.g. ParseBonus) into JsonUtils namespace
...
- replaced JsonNode::toStdVector with more universal convertTo
- some renaming in StartInfo
2012-12-02 12:21:44 +00:00
Ivan Savenko
f7915d9e61
- removed creature-related code from ModHandler
...
- new towns can be loaded as mods
- removed separate DefInfos for towns\capitals
- a bit simpler handling of adventure map def's
2012-11-13 11:52:23 +00:00
Ivan Savenko
306d64b0c4
- it is possible to read json file with vector
...
- town configuration:
- - all town-related texts are now in TownHandler
- - alignments are now part of faction
- - removed CTown::bonus field
2012-10-05 13:11:26 +00:00
mateuszb
8dca88c3c8
* start map in campaign button is properly disabled/enabled (I hope)
...
* exported json for artifact bonuses; no limiters/propagators yet, so it's not used
* minor changes
2012-09-26 18:10:29 +00:00
Ivan Savenko
44cc848edc
first part of town configuration:
...
- moved almost all loading to TownHandler
- CBuildings and CStructures are now part of CTown
- merged hall.json into buildings.json
Should not cause any crashes or glitches
2012-09-02 10:33:41 +00:00
DjWarmonger
31f82cade0
- Removed integer parameters from CCreature, all stats are now handled by Bonus System Only
...
- Parsing for creature format http://wiki.vcmi.eu/index.php?title=Creature_Format
Needs rearrangement of some info to work
2012-08-30 14:57:24 +00:00
Ivan Savenko
e67f8afdd9
- removed multiple unused files
...
- config folder with all json files is used via new FS API
- fixed campaigns loading. Replaced "detect h3m starts" heuristics with CCompessedStream::getNextBlock()
2012-08-02 11:03:26 +00:00
Ivan Savenko
e4c88d5088
- moved ParseBonus to JsonNode.cpp (linkage errors)
...
- fixes to CMakeLists - vcmi can be compiled and started with cmake
- gcc\clang warnings fixes
2012-07-19 18:52:44 +00:00
DjWarmonger
cf45239332
Fixed #1035 .
...
Support for commander artifacts that accumulate bonus after battle.
2012-07-16 16:18:02 +00:00
Michał W. Urbańczyk
13e6f00e18
Compile fix #945 .
2012-04-30 10:40:19 +00:00
Michał W. Urbańczyk
7dc0d6878e
Rewritten battle obstacles. New file for lib: CObstacleInstance.cpp.
...
Now obstacles should be placed exactly like they were in OH3.
All problems with displaying obstacles in battlefield should be gone. They should be now matched to the single pixel.
If there are still some discrepancies, please report them.
2012-04-23 19:56:37 +00:00
DjWarmonger
ba646b1d41
Compile fix for #847
2012-01-12 20:41:32 +00:00
Ivan Savenko
86e7d96b39
- setting system: replaced settings.txt + sysopt.bin with json-based system (defaultSetting.json + settings.json)
...
- some work on system settings window
- new menu for selecting resolution (reused town portal graphics), can be opened from system settings
2012-01-12 15:23:00 +00:00
beegee1
7f04ed990b
Major refactoring. First part: BattleInterface
...
Introduction of pre compiled headers,...
2011-12-13 21:23:17 +00:00
Ivan Savenko
89bd7e273d
- fixed #808
...
- Implemented Json validator and schema for buildings.json
- several fixes for Json writing
- fixed several gcc warnings
2011-10-08 16:58:25 +00:00
Michał W. Urbańczyk
623325ca61
Ouch. Thing was for branch only.
2011-09-27 22:03:43 +00:00
Michał W. Urbańczyk
bdd66b6537
Zmiany do Programming challenge.
2011-09-27 21:54:40 +00:00
Ivan Savenko
d113517db4
- fixed #108 , #798 , #810
...
- fixed several gcc warnings
- some work on JSON (const char* as input, no crash on missing value)
2011-09-23 15:58:18 +00:00
Michał W. Urbańczyk
835bd1fbeb
Reverting r2327
...
http://forum.vcmi.eu/viewtopic.php?t=410
2011-08-30 06:19:07 +00:00
Ivan Savenko
33719696d8
- added default values to JsonNode
...
- small cleanup to heroes.json
2011-08-27 21:17:45 +00:00
Ivan Savenko
7eb82278d9
- minor fixes to JSON
...
- music will resume correctly after battles
2011-08-20 11:27:09 +00:00
Frank Zago
f6c39eed0c
Added a new json constructor to read from a file.
2011-08-20 01:04:59 +00:00
Ivan Savenko
35a528e062
- Rewrote Kingdom Overview window - all should be stable now
...
- New classes for GUI - lists and tabs
- finishing work on Json config in animations
2011-07-22 16:22:22 +00:00
Ivan Savenko
98d32acf1b
- new files JsonNode.cpp/.h
...
- CAnimation can use JSON configs from Sprites folder instead of .def files
2011-07-21 18:29:22 +00:00