Merging the combat

This commit is contained in:
Anonymus Raccoon
2020-04-24 14:16:06 +02:00
18 changed files with 3748 additions and 2022 deletions
+3 -1
View File
@@ -10,7 +10,9 @@
typedef enum display_type
{
SELECT_TILE_DISPLAY,
XP_DISPLAY
XP_DISPLAY,
HEALTH_DISPLAY,
HEALTH_DISPLAY_ENNEMY
} display_type_enum;
struct game_display
+1
View File
@@ -14,6 +14,7 @@
struct health_component
{
gc_component base;
int health_max;
int health;
bool dead;
};
+1 -1
View File
@@ -25,4 +25,4 @@ unsigned int amount);
extern const struct xp_component xp_component;
#endif //MY_RPG_HEALTH_COMPONENT_H
#endif //MY_RPG_XP_COMPONENT_H