aboutsummaryrefslogtreecommitdiff
path: root/src/enums.hh
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-05-25 22:37:57 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-05-25 22:37:57 -0300
commitad8213f35523cbb07f418ae275af448a47cc0288 (patch)
tree4d77b8ff2b44461734b5a2cbaad5402b4a94736f /src/enums.hh
parent5f883a80175a4cc9abda9d647a6a0d73bda84878 (diff)
downloadgame-ad8213f35523cbb07f418ae275af448a47cc0288.tar.gz
game-ad8213f35523cbb07f418ae275af448a47cc0288.zip
linux Makefile + fix most compilation problems
I wanted to see if the compiler had any problems with the code so far and added a few stub definitions so that each file would properly compile. We still fail when linking but we're able to to find and fix compile time errors.
Diffstat (limited to 'src/enums.hh')
-rw-r--r--src/enums.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/enums.hh b/src/enums.hh
index 5124936..ea0d87a 100644
--- a/src/enums.hh
+++ b/src/enums.hh
@@ -6,6 +6,14 @@
// TODO(fusion): Probably cleanup these names? Prefix values? Its crazy that
// there are no collision problems (possibly yet).
+enum BloodType: int {
+ BT_BLOOD = 0,
+ BT_SLIME = 1,
+ BT_BONES = 2,
+ BT_FIRE = 3,
+ BT_ENERGY = 4,
+};
+
enum CreatureType: int {
PLAYER = 0,
MONSTER = 1,