* Seems like different versions of CMake and GNU Make doing different things and does not resolve dependeces correctly
* add_custom_command in old version of CMake cannot depends on non-file target
* Old version of CMake does not resolve dependency stratagus.cpp --> version.h --> version-generated.h and trying to compile stratagus.cpp before version-generated.h
* And when generating doxygen documentation, it cannot find rule how to generate version-generated.h, so in stratagus_HDRS file version-generated.h must be twice
* I belive that now compilation is working with CMake 2.6, 2.8, GNU Make 3.8 and Ninja
[+] Added poison damage which will slowly drain health for POISON_INDEX tics.
[+] Aility to change values in animation "set-var" by percent.
[+] Added LuaToUnsignedNumber for correct handling full unsigned ints.
[*] Smoke missiles take their heading angle from main missile.
[*] Correct handling for Warcraft 2 timed spells and health loss for time-to-live ability : the values change every cycle, not every second
* Move StratagusMajorVersion, StratagusMinorVersion, StratagusPatchLevel and StratagusPatchLevel2 to CMakeLists.txt
* Added tool genversion.cpp which (re)generate file version-generated.h from cmake if needed
* Fill VERSION macro from other values with C preprocessor instead hardcoded values
* Remove macros StratagusFormatString and StratagusFormatArgs from code, use only VERSION
* This commit enabling clipboard (copy/paste) support on systems with X server
* Now we are using USE_* defines for stratagus features and HAVE_* defines for system native functions (not reimplemented in stratagus)
* So all stratagus builds with different HAVE_* defines should work same and should have same features
* Use cmake for determinating if system has above functions
* Compile our implementations only if system does not have these functions
* Define macro _TRUNCATE if is not defined
* Define errno_t if is not in any standard header include file
* Define prototypes of above functions only if system does not have them
* This commit fix compilation with ubuntu mingw-w64 cross compiler