diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:59 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:59 +0100 |
commit | 63fae54381d0898503c5dc7f4dcfabc125c04807 (patch) | |
tree | 00b743f932c4c3fc7feb7c8a4e87be520e47d2e9 /src/xtra1.hpp | |
parent | 71a3bdb100d427ceedce7b2c8fe94de6181341d1 (diff) |
Move xtra1.cc function declarations to separate header
Make a couple of functions private to the module while we're
at it.
Diffstat (limited to 'src/xtra1.hpp')
-rw-r--r-- | src/xtra1.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/xtra1.hpp b/src/xtra1.hpp new file mode 100644 index 00000000..f5d193ff --- /dev/null +++ b/src/xtra1.hpp @@ -0,0 +1,22 @@ +#pragma once + +#include "angband.h" + +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 int luck(int min, int max); +extern int weight_limit(void); +extern bool_ calc_powers_silent; +extern void cnv_stat(int i, char *out_val); +extern s16b modify_stat_value(int value, int amount); +extern void calc_hitpoints(void); +extern void notice_stuff(void); +extern void update_stuff(void); +extern void redraw_stuff(void); +extern void window_stuff(void); +extern void handle_stuff(void); +extern bool_ monk_heavy_armor(void); +extern void calc_bonuses(bool_ silent); +extern void gain_fate(byte fate); +extern void fate_desc(char *desc, int fate); +extern void dump_fates(FILE *OutFile); |