* 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
[*] The coward units in AI force now use Defend order instead of attacking. The same rule applies to summoned units.
[*] The summoned units get GroupId = -1 to avoid AI defence force activate
[*] Changed CclKillUnitAt to use CclGetPos
[-] Fixed missing file in previous commit
[-] Fixed bug when player cancels a building.
[-] Fixed bug with speedup variables in CclGetPlayerData and CclSetPlayerData
[+] Make particles more configurable from Lua
[+] Added 'g' flag for ParseAnimInt to get flag for target unit
[+] Added MissileOffsets array which allows more correct placing for missile's starting point (not from unit's center, but from cannon's hole etc.)
[+] Added CclGetUnitBoolFlag to get unit's bool-flags in Lua
[+] Removed speedup variables (SpeedResourcesHarvest, SpeedResourcesReturn, SpeedBuild, SpeedTrain, SpeedUpgrade, SpeedResearch) into player's code, now speedup could be set individually for each player
[+] Added CUpgradeModifier::ModifyPercent for modifying variables by percent, not by const value.
[+] Added MissileType::Pierce to allow missiles damage everything on their way
[+] Added map preview image generation function for editor (not ready for OpenGL yet)
[+] Added flag for CclCreateMissile to control missile's damage
[*] Missiles now fly into unit's center (according to the comment in code, the old behaviour was to be used for bunkers)
[-] Fixed random number generation code in animations
[-] Fixed "Flushing removed unit" message for boarded units
[-] Fixed unit death into container (happens when unit is temporary)
[-] Fixed land-only restriction for transporters
[-] Fixed "spell-cast" mouse action for non-enemy units (now it's possible to use this action for medics)
[-] Fixed compilation for MSVC9
rename X, Y into TopLeftPos
rename EndX, EndY into BottomRightPos
Factorize code with new methods Contains, Restrict, SetClipping
Change Center param: now takes directly mapPixelPos instead of tilePos + offset.
fix typo in mouse.cpp from previous commit.
* use LoadLibrary and GetProcAddress for functions NtQueryObject and AttachConsole (missing ntdll.lib on MSVC)
* use integers for NtQueryObject and AttachConsole instead defined macros (missing on MSVC)
* removed wincon.h and winternl.h include (not needed anymore)
* removed WINVER define
* removed linking ntdll library
* move reopen code to separate function
* continue if one std reopen failed
* if one std is ignored, restore winapi handle back after attaching console
Removed all MSVC build files
Removed all autogenerated files
Removed other unused scripts/files
Windows platform specified files moved to src/win32
Cleaned .bzrignore