- Bug-fixing for last commit - Moved CMapGenOptions to CMapGenerator

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3330 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- Added new trace macro LOG_TRACE which autom. appends leaving func message - Removed old trace macros - Small refactoring in CMapEditManager - Changed documentation comments to /// style for various mapping header files

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3331 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
ID should be always outputted as number (not char).

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

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3333 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- Refactored CMapEditManager(added structure for undo functionality) - Refactored CMap(terrain pointer is private, safe access via getTile)

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3334 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Be careful with global var initialization order. All mutexes should be initialized before all CLoggers. Caused a crash on OS X when compiling with clang

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3335 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Big change: Introduced new mechanism to handle queries. It should not cause any visible changes ATM apart from fixing several long-standing bugs realted to handling post-visit/battle/levelup callback, including infamous  creature bank issues: #955, #1053, #1063, #1191. Needs testing.

Minor changes:
* default log level set to trace
* LOG_TRACE raii guardian lifetime will last till the end of block
* compile fixes
* minor refactorings

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

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3337 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Compile fixes for MVS2010

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3338 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Get rid of some old serialization workaround code that is not needed because serializer was improved in the meantime. 
Fixing #1254.
Fixed possible race causing corruption of the server savegame.

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3339 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
AI won't access enemy heroes' objects that went under FoW. Fixes #1235.

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3340 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Tribool - I used it wrong.

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

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3342 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Large changeset, first part of editing H3 objects via mods feature. Changes:
- loading of all objects (including H3 objects) will be directed by mod handlers
- common base for all handlers accessible from mod system (IHanderBase)
- json format changes: use struct with string ID's instead of vector

- fixed some gcc/clang errors and warnings
- fixed several cases of memory leaks and invalid memory access (mostly related to usage of bonus system and/or identifiers resolution)

Note that right now loading is much slower than before due to excessive json validation (or not fast enough validator)

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

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3344 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- proper destructors for handlers and lib objects

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3345 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
- fixes to previous commits

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3346 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
Refactoring, fixed #1255

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3347 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
-Added test subfolder and updated CMakeLists for unit testing - Added a test case for the DrawTerrainOperation class(does not pass all tests successfully, 6 failures left to fix) - Fixed a few bugs

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

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