- fixed crash on loading modsettings.json from 0.94


git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3707 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- creatures availability tests no longer check for built buildings.
Fixes #1650
- do not crash if town has 0 creatures on some dwelling level
- do not crash if dwelling for some level is not present in town at all


git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3708 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Miscellaneous fixes:
- proper block of "back" button in campaign menu.
- proper block of AI switch in battles
- vertical garrisons can now be attacked from top
- better UI logging, vcmi will print to log file all pressed buttons
- server will not try to build already existing building


git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3709 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- fix to last commit
- workaround to crash on disabling auto-battle (somehow client
"remembers" one command given during auto-battle)


git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3710 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
[refactor] extract often used classes from lib\NetPacks.h to separate header - less dependecies on whole packets class tree

[mingw build] fix linking issues with netpacks. 
Mingw build is finally fixed! 

[c::b] update projects

[config] fix and cleanup spell_info.json


git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3711 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
CBonusTypeHandler small refactoring


git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3712 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Compile fix for Windows.

git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3713 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Version bump 0.94c.

git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3714 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- probably fixed 1671
- fixed missing loss condition in Birth of Barbarian
- fixed some bugs found by cppcheck


git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3715 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
some code cleanup in launcher, tweaked appearence of mod list


git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3716 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Split conditions fixed (it should be impossible to take units from ally).

git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3717 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- new mods (not mentioned in modSettings.json) will be enabled by
default


git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3718 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- fixed #1643 -> hero placeholder handling
- fixed bug when loading victory/loss conditions of the 3rd scenario in the first ROE campaign
- fixed bug when loading artifacts to hero of the 3rd scenario in the first ROE campaign (due to corrupt H3M map)
- implemented function object to quickly find a object by it's sub ID in a list
- added netbackbase.h to header list in CMake
- removed false message which said that the server loaded the map successfully

git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3719 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Fix for #1673 — objects vector may contain nullptr (for objects that have been removed).

git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3720 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- metadata will be printed before node value, fixes #1678


git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3721 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Hopefully fixes #1677 and its duplciates.

git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3722 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- added PCH compilation for CMake using cotire module (PCH is OFF per default, can be enabled with ENABLE_PCH=ON)

git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3723 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- added missing cotire files to previous commit

git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3724 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- fixed crash on finishing a campaign.


git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3725 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Fixed possible crash at the game start (when victory conditions are checked before currentPlayer is set).

git-svn-id: http://svn.code.sf.net/p/vcmi/code/trunk/@3726 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834