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

@ -29,18 +29,20 @@
## OPTIONS
MAPFILE - File to read in the initial game state from
-------------------------------------------------------------------------------
--------------------------------------------------------------
## GAMESTATE FILE FORMAT
### Name
Turn_{TURN_NUMBER}.txt
### Contents
===== {GAME_NAME} =====
===== ttrts v{MAJOR}.{MINOR}.{PATCH} =====
NAME:{GAMENAME}
SIZE:[{X},{Y}]
TURN:{TURN_NUMBER}
... {any extra properties could go here}
~~~~
UNIT:{ID} tm:{TEAM} vs:{VIS} dr:{DIR(NESW)} ps:[{X},{Y}]
...
... {continue for all units}
## ORDER FILE FORMAT
### Name