Fix duplication in zcrtraits load

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3292 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Cleanup
* simplify JSON values getting
* ensure initialization of Bonus fields

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3293 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Few more cleanup

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3294 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- bugfixing: #1243, #1227, #1241, #1236, #1233

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3295 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
One more treak for bugtrack regex

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3296 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- fixed 1247

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3297 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- fixed #1229 and #1245

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3298 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Fixed Death Stare of Commanders, additional tweaks.

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3299 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- 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.

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3300 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
properly initialize settings when configuration was not found

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3301 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- fixed handling of incorrect configuration in settings.json
- more compact schema for siege node

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3302 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- vcmi will not crash if building selection area is smaller than def
- detection of transparency on selection area is closer to H3

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3303 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- projectile blitting should be closer to original H3. But still not perfect.
- removed no longer needed field "projectile spins"

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3304 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
replaced extern SDL_Surface* X; all over the code with single header

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3305 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Fixed incorrect URL in sparkle_appcast.xml

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3306 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- removed hardcoded set of catapult trajectories
- some more improvements into projectile blitting

Remaining issues:
- timing is off when catapult hits walls/tower
- catapult trajectory may need tweaking

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3307 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Compile fix.

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3308 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- Implemented the new logging API(not used currently) - Added lock typedefs to Global.h - Some layout updates to Global.h

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3309 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
clang compile\warning fixes

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3310 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- Deleted RPM-related stuff from SVN

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3311 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834