diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-02-13 23:30:32 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-02-13 23:30:32 -0800 |
commit | 8508f94daeeb49b6ccf3ee1a346f1dc9f9c56802 (patch) | |
tree | b1c838e845949ebf9093f381f4c8d2e67d8b3be5 /src/map/map.hpp | |
parent | 730e5dde39333cb2f63c72a7d7152bee5c4dbb05 (diff) | |
download | tmwa-8508f94daeeb49b6ccf3ee1a346f1dc9f9c56802.tar.gz tmwa-8508f94daeeb49b6ccf3ee1a346f1dc9f9c56802.tar.bz2 tmwa-8508f94daeeb49b6ccf3ee1a346f1dc9f9c56802.tar.xz tmwa-8508f94daeeb49b6ccf3ee1a346f1dc9f9c56802.zip |
Name and number mapflags better
Diffstat (limited to 'src/map/map.hpp')
-rw-r--r-- | src/map/map.hpp | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/src/map/map.hpp b/src/map/map.hpp index 092fd80..685feed 100644 --- a/src/map/map.hpp +++ b/src/map/map.hpp @@ -22,6 +22,7 @@ # include "battle.t.hpp" # include "magic-interpreter.t.hpp" +# include "mapflag.hpp" # include "mob.t.hpp" # include "script.hpp" // change to script.t.hpp # include "skill.t.hpp" @@ -514,33 +515,7 @@ struct map_local : map_abstract short xs, ys; int npc_num; int users; - struct - { - unsigned alias:1; - unsigned nomemo:1; - unsigned noteleport:1; - unsigned noreturn:1; - unsigned monster_noteleport:1; - unsigned nosave:1; - unsigned nobranch:1; - unsigned nopenalty:1; - unsigned pvp:1; - unsigned pvp_noparty:1; - unsigned pvp_nocalcrank:1; - unsigned nozenypenalty:1; - unsigned notrade:1; - unsigned nowarp:1; - unsigned nowarpto:1; - unsigned nopvp:1; // [Valaris] - unsigned noicewall:1; // [Valaris] - unsigned snow:1; // [Valaris] - unsigned fog:1; // [Valaris] - unsigned sakura:1; // [Valaris] - unsigned leaves:1; // [Valaris] - unsigned rain:1; // [Valaris] - unsigned no_player_drops:1; // [Jaxad0127] - unsigned town:1; // [remoitnane] - } flag; + MapFlags flag; struct point save; dumb_ptr<npc_data> npc[MAX_NPC_PER_MAP]; struct |