Finialise the full game step

Had to rework a ton of code from bad design.
NOTE: FRIENDLY FIRE IS ON >:D
This commit is contained in:
Marc Di Luzio 2014-12-16 13:13:01 +00:00
parent 6fc41914f7
commit aee703b107
7 changed files with 379 additions and 57 deletions

View file

@ -14,7 +14,8 @@ enum class order_c : char
F = 'F',
L = 'L',
R = 'R',
A = 'A'
A = 'A',
INVALID
};
// Movement orders
@ -34,6 +35,13 @@ static const order_c sk_actionOrders[] =
// Container for an order
struct COrder
{
COrder()
: unit ( unit_id_invalid )
, order ( order_c::INVALID )
{
}
// Unit order is for
unit_id_t unit;