From ad8213f35523cbb07f418ae275af448a47cc0288 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sun, 25 May 2025 22:37:57 -0300 Subject: 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. --- src/enums.hh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/enums.hh') 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, -- cgit v1.2.3