Add MAJOR.MINOR.PATCH versioning to the binary.

This also modified the output format for the gamestatefile so AI's will have to be updated
This commit is contained in:
mdiluzio 2014-12-20 16:14:35 +00:00
parent ec7ed601a3
commit fec9c8dad7
6 changed files with 43 additions and 8 deletions

View file

@ -5,7 +5,7 @@
#include "gametypes.h"
#include "order.h"
#define GAME_HEADER_FORMATTER "===== %s =====\nSIZE:[%u,%u]\nTURN:%u"
#define GAME_HEADER_FORMATTER "NAME:%s\nSIZE:[%u,%u]\nTURN:%u"
#define GAME_HEADER_DELIMITER "~~~~\n"
// Type for order and unit pairs