summaryrefslogtreecommitdiff
path: root/src/entitytag.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/entitytag.h')
-rw-r--r--src/entitytag.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/entitytag.h b/src/entitytag.h
new file mode 100644
index 0000000..154023c
--- /dev/null
+++ b/src/entitytag.h
@@ -0,0 +1,10 @@
+#pragma once
+#include "entity.h"
+
+typedef struct {
+ const char *name;
+ void (*init)(Entity *this, int x, int y);
+} EntityTag;
+
+extern unsigned int num_entitytags;
+extern EntityTag entitytags[256];