summaryrefslogtreecommitdiff
path: root/include/playeritem.h
diff options
context:
space:
mode:
authorTal Hayon <talhayon1@gmail.com>2022-02-18 18:18:40 +0200
committerTal Hayon <talhayon1@gmail.com>2022-02-18 18:18:40 +0200
commit0e224cf2323a76539730ee35f4e8a0856cf7a1fd (patch)
tree4153b4359e569ce555626b85c63a0533d26eb348 /include/playeritem.h
parent10f8096abd9533e14a5ad03eedcbee4fcbb9019a (diff)
Add playeritem enum and use ids and kinds in all Findentity calls
Diffstat (limited to 'include/playeritem.h')
-rw-r--r--include/playeritem.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/include/playeritem.h b/include/playeritem.h
new file mode 100644
index 00000000..ae990a56
--- /dev/null
+++ b/include/playeritem.h
@@ -0,0 +1,32 @@
+#ifndef PLAYERITEM_H
+#define PLAYERITEM_H
+
+typedef enum {
+ PLAYER_ITEM_NONE,
+ PLAYER_ITEM_SWORD,
+ PLAYER_ITEM_BOMB,
+ PLAYER_ITEM_3,
+ PLAYER_ITEM_BOW,
+ PLAYER_ITEM_SHIELD,
+ PLAYER_ITEM_LANTERN,
+ PLAYER_ITEM_7,
+ PLAYER_ITEM_GUST_JAR,
+ PLAYER_ITEM_PACCI_CANE,
+ PLAYER_ITEM_A,
+ PLAYER_ITEM_B,
+ PLAYER_ITEM_C,
+ PLAYER_ITEM_CELL_OVERWRITE_SET,
+ PLAYER_ITEM_BOTTLE,
+ PLAYER_ITEM_SWORD_BEAM1,
+ PLAYER_ITEM_10,
+ PLAYER_ITEM_11,
+ PLAYER_ITEM_12,
+ PLAYER_ITEM_13,
+ PLAYER_ITEM_14,
+ PLAYER_ITEM_15,
+ PLAYER_ITEM_SWORD_BEAM2,
+ PLAYER_ITEM_17,
+ PLAYER_ITEM_CELL_OVERWRITE_SET2,
+} PlayerItem;
+
+#endif \ No newline at end of file