Add top bar game UI
This commit is contained in:
@@ -331,6 +331,17 @@ typedef enum AnimType {
|
||||
ANIM_NONE,
|
||||
} AnimType;
|
||||
|
||||
static EntityType getEntityTile(EntityType type) {
|
||||
switch (type) {
|
||||
case ENTITY_WORKER: return 27;
|
||||
case ENTITY_WOOD: return 7424;
|
||||
case ENTITY_STONE: return 7425;
|
||||
case ENTITY_GOLD: return 7426;
|
||||
case ENTITY_POP: return 7427;
|
||||
default: return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static bool entityHasAnimation(EntityType entity, AnimType type) {
|
||||
switch (entity) {
|
||||
case ENTITY_WORKER:
|
||||
|
||||
Reference in New Issue
Block a user