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:
parent
6fc41914f7
commit
aee703b107
7 changed files with 379 additions and 57 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue