Skip to content

Commit

Permalink
Constants for Player & Enemy Damage
Browse files Browse the repository at this point in the history
Add constant flags to control player and enemy hitting flags.
  • Loading branch information
DCurrent committed May 4, 2017
1 parent 3702489 commit 494a3da
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions engine/openbor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 494a3da

Please sign in to comment.