mdiluzio
d172922698
Implement invalid unit positions
2014-12-29 21:55:32 +00:00
mdiluzio
5737ae31be
Some small cleanup and refactoring.
...
Update name of a few functions to best suit their usage.
Split up checking for winning player and checking for game over state.
2014-12-29 21:52:25 +00:00
mdiluzio
e90ddee67e
Final fixes to indentation.
...
fixes #13
2014-12-21 11:19:37 +00:00
mdiluzio
83020d9120
Player -> player_t
2014-12-21 11:14:01 +00:00
mdiluzio
9e44d5144b
Rename all usages of Team to Player
...
This was confusingly inconsistent in the codebase.
fixes #7
2014-12-21 11:04:26 +00:00
mdiluzio
f63dc8462f
COrder -> SOrder
2014-12-21 10:39:39 +00:00
mdiluzio
755fe01bf5
re-align CTRTSGame class
2014-12-21 10:37:35 +00:00
mdiluzio
ca1705ad4a
Pull SOrderUnitPair out of game header
2014-12-21 10:33:19 +00:00
mdiluzio
9551560bc0
OrderUnitPair -> SOrderUnitPair
2014-12-21 10:31:00 +00:00
mdiluzio
fec9c8dad7
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
2014-12-20 16:17:01 +00:00
Marc Di Luzio
3fc1f5ee5d
Change unit Attack behaviour to a charge
...
All charges on a turn are evaluated at the same time, step by step
2014-12-17 13:38:06 +00:00
Marc Di Luzio
2a410d98c0
Set up a basic ttrts binary
...
It takes a game description from the command line.
Looks in a folder 'ttrts_gamename' for turn commands
Reads those in and simulates until a winner is found
2014-12-16 13:13:03 +00:00
Marc Di Luzio
a90ad9f90c
Remove player IDs, keep it simple stupid
2014-12-16 13:13:03 +00:00
Marc Di Luzio
d0d3834449
Move source code into source subfolder
2014-12-16 13:13:02 +00:00