summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2023-12-30 21:07:06 -0800
committertheo3 <arisstephenson2@gmail.com>2023-12-30 21:07:06 -0800
commit5049daabc59d113152143d123aea2798d9487a0c (patch)
treeb502c841b46f25267be35f3986bd90ef45cba9da /include
parentbd1be092aa85e4eb1d368bef05c88eaae2a0ae84 (diff)
label contact flags
Diffstat (limited to 'include')
-rw-r--r--include/collision.h10
-rw-r--r--include/entity.h2
2 files changed, 12 insertions, 0 deletions
diff --git a/include/collision.h b/include/collision.h
index af8ba984..465d3e9f 100644
--- a/include/collision.h
+++ b/include/collision.h
@@ -6,6 +6,16 @@
/** Collisions. */
+enum {
+ COL_LANTERN = 0x7,
+ COL_SMALL_GUST = 0x13,
+ COL_BOOMERANG = 0x14,
+ COL_ARROW = 0x15,
+ COL_BIG_GUST = 0x1b,
+ COL_PACCI = 0x1d,
+ COL_SWORD_BEAM = 0x21,
+};
+
typedef enum {
COL_NONE = 0x0,
COL_NORTH_WEST = 0x2,
diff --git a/include/entity.h b/include/entity.h
index 315e94db..8a66283c 100644
--- a/include/entity.h
+++ b/include/entity.h
@@ -79,6 +79,8 @@ typedef enum {
DirectionNorthWest = 0x1c, /**< North West. */
} Direction;
+#define CONTACT_TAKE_DAMAGE 0x80
+
typedef struct {
void* entity1;
void* entity2;