summaryrefslogtreecommitdiff
path: root/src/rule_type.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-06-20 22:49:05 +0200
committerBardur Arantsson <bardur@scientician.net>2016-06-20 22:49:05 +0200
commit59b5314b6b7880cfda73f34aed03a700fd523017 (patch)
tree4b5255289c8216f2d7dcfac2824045e5c0acdc45 /src/rule_type.hpp
parentfa5083020d4cc4d6d7471b461c430d40ed36c02e (diff)
Rework RF{4,5,6}_* monster spell flags to flag_set<>
Diffstat (limited to 'src/rule_type.hpp')
-rw-r--r--src/rule_type.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rule_type.hpp b/src/rule_type.hpp
index d2e510a7..d6424641 100644
--- a/src/rule_type.hpp
+++ b/src/rule_type.hpp
@@ -1,6 +1,7 @@
#pragma once
#include "h-basic.h"
+#include "monster_spell_flag_set.hpp"
/* Define monster generation rules */
struct rule_type
@@ -11,12 +12,11 @@ struct rule_type
u32b mflags1 = 0; /* The monster flags that are allowed */
u32b mflags2 = 0;
u32b mflags3 = 0;
- u32b mflags4 = 0;
- u32b mflags5 = 0;
- u32b mflags6 = 0;
u32b mflags7 = 0;
u32b mflags8 = 0;
u32b mflags9 = 0;
+ monster_spell_flag_set mspells; /* Monster spells the are allowed */
+
char r_char[5] = { 0 }; /* Monster race allowed */
};