From 494a3da1fc86b2e0f277bf9e302d6a56dcdfae24 Mon Sep 17 00:00:00 2001 From: "Damon V. Caskey" Date: Thu, 4 May 2017 13:46:44 -0400 Subject: [PATCH] Constants for Player & Enemy Damage Add constant flags to control player and enemy hitting flags. --- engine/openbor.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/engine/openbor.h b/engine/openbor.h index 57a5af2f7..02e0f734b 100644 --- a/engine/openbor.h +++ b/engine/openbor.h @@ -603,6 +603,18 @@ typedef enum BOSS_SLOW_ON } e_boss_slow_flag; +typedef enum +{ + DAMAGE_FROM_ENEMY_OFF, + DAMAGE_FROM_ENEMY_ON +} e_damage_from_enemy_flag; + +typedef enum +{ + DAMAGE_FROM_PLAYER_OFF, + DAMAGE_FROM_PLAYER_ON +} e_damage_from_player_flag; + typedef enum { LEVEL_PROP_AUTO_SCROLL_DIRECTION, // int bgdir;