summaryrefslogtreecommitdiff
path: root/GameStructures.h
diff options
context:
space:
mode:
Diffstat (limited to 'GameStructures.h')
-rw-r--r--GameStructures.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/GameStructures.h b/GameStructures.h
index 315c22b..758affb 100644
--- a/GameStructures.h
+++ b/GameStructures.h
@@ -29,6 +29,7 @@ typedef struct t_Building
uint8_t hp;
uint8_t id;
bool built;
+ bool selected;
}TYPE_BUILDING;
typedef struct t_Unit
@@ -37,7 +38,10 @@ typedef struct t_Unit
uint16_t y;
uint8_t hp;
uint8_t id;
+ bool dir; // False = up-down; true = left-right
+ bool walk;
bool alive;
+ bool selected;
}TYPE_UNIT;
typedef struct t_CollisionBlock