diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-06-20 22:49:05 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-06-20 22:49:05 +0200 |
commit | 68e2a10b2d76cb3a2f5aa6818b4b184b6a02ef14 (patch) | |
tree | ec51a0b9156c6a28fa2764441ca66db36441604b /src/monster_race.hpp | |
parent | fc41a7d28d8896da79963d23ed1afba408e27470 (diff) |
Rework RF{1,2,3,7,8,9}_* monster flags to use flag_set<>
Diffstat (limited to 'src/monster_race.hpp')
-rw-r--r-- | src/monster_race.hpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/monster_race.hpp b/src/monster_race.hpp index 3a13e4b4..58c49e1f 100644 --- a/src/monster_race.hpp +++ b/src/monster_race.hpp @@ -3,6 +3,7 @@ #include "body.hpp" #include "h-basic.h" #include "monster_blow.hpp" +#include "monster_race_flag_set.hpp" #include "monster_spell_flag_set.hpp" #include "obj_theme.hpp" @@ -48,12 +49,7 @@ struct monster_race byte freq_inate = 0; /* Inate spell frequency */ byte freq_spell = 0; /* Other spell frequency */ - u32b flags1 = 0; /* Flags 1 (general) */ - u32b flags2 = 0; /* Flags 2 (abilities) */ - u32b flags3 = 0; /* Flags 3 (race/resist) */ - u32b flags7 = 0; /* Flags 7 (movement related abilities) */ - u32b flags8 = 0; /* Flags 8 (wilderness info) */ - u32b flags9 = 0; /* Flags 9 (drops info) */ + monster_race_flag_set flags; /* Flags */ monster_spell_flag_set spells; /* Spells */ |