summaryrefslogtreecommitdiff
path: root/src/entity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.h')
-rw-r--r--src/entity.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entity.h b/src/entity.h
index 45a1a9c..79094ea 100644
--- a/src/entity.h
+++ b/src/entity.h
@@ -23,6 +23,8 @@ struct Entity {
};
unsigned int entity_type(const char *typename);
+unsigned int entity_type_parent(unsigned int type);
+bool entity_is_type(unsigned int type, unsigned int search);
bool entity_collide(Entity *this, int ox, int oy);
bool entity_meet(Entity *this, Entity *other);
Entity *entity_place_meeting(Entity *this, struct Game *g, unsigned int type);