* fixed race condition crash
* no crash when there is no creature in dwelling (that should not happen at all... but)
* removed paths from vcxproj, use property sheets

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3171 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
[refactor] h3m reader 
* reduce code duplication
* use binary reader

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3172 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
* creature ID refactoring
* double week creatures are configurable now

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3173 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
* very important bugfix

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3174 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- Drain Life now has % effect depending on bonus value
- Stack can use more than 2 attacks. Additional attacks can now be seperated as "ONLY_MELEE_FIGHT and "ONLY_DISTANCE_FIGHT".

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3175 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
* refactoring
* moat damage went to config file

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

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3177 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- fixed incorrect appearence of hero in battle
- vcmibuilder works with spaces in filenames
- by default output directory for vcmibuilder is ~/.vcmi

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

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3179 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Fixed crashes when VCAI cannot find hero to recruit.
Bumped format version.

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3180 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Finally working hero crossover in campaigns. 
Uncovered new secrets of h3m. 

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3181 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Hero portraits in campaign bonus selection.

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3182 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
* refactoring, including a generic solution for IDs

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

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

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3185 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- Compile fix
- Fixed Basilisk spawning at Hive
- Fixed double-shot of Marksman

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

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3187 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
[c::b] update projects

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3188 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Fixed crash with Firewall / Forcefield cast when there is dead stack.

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

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