diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-06-21 13:37:02 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-06-21 13:37:02 +0200 |
commit | 073ad3584fbf781ce10bef61ad4ff38850282f47 (patch) | |
tree | eb2db284b91ad7987655401406a2d57843337875 /src/xtra1.hpp | |
parent | b9e4f471c2e23283945ba9324912c7e29dd8fbd8 (diff) |
Rework TR{1,2,3,4,5}_* flags to flag_set<>
Diffstat (limited to 'src/xtra1.hpp')
-rw-r--r-- | src/xtra1.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xtra1.hpp b/src/xtra1.hpp index e2a41b13..3e434828 100644 --- a/src/xtra1.hpp +++ b/src/xtra1.hpp @@ -1,11 +1,12 @@ #pragma once #include "h-basic.h" +#include "object_flag_set.hpp" #include <string> extern void fix_message(void); -extern void apply_flags(u32b f1, u32b f2, u32b f3, u32b f4, u32b f5, u32b esp, s16b pval, s16b tval, s16b to_h, s16b to_d, s16b to_a); +extern void apply_flags(object_flag_set const &f, s16b pval, s16b tval, s16b to_h, s16b to_d, s16b to_a); extern int luck(int min, int max); extern int weight_limit(void); extern bool_ calc_powers_silent; |