diff options
author | Bardur Arantsson <bardur@scientician.net> | 2011-02-20 19:54:40 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2011-02-20 20:56:41 +0100 |
commit | 5fbe06613a8a9e5d8731a832ddff0e9bdce112bb (patch) | |
tree | 4ab5267304509feed1bbcf4ad265cd8597c64fce /src/q_one.c | |
parent | 420428c53fe83064331ac2e06297c8a93abc93cf (diff) |
Remove redefinition of "bool" for C++ friendliness.
Diffstat (limited to 'src/q_one.c')
-rw-r--r-- | src/q_one.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/q_one.c b/src/q_one.c index a52b37b8..37a753ee 100644 --- a/src/q_one.c +++ b/src/q_one.c @@ -1,7 +1,7 @@ #undef cquest #define cquest (quest[QUEST_ONE]) -bool quest_one_move_hook(char *fmt) +bool_ quest_one_move_hook(char *fmt) { s32b y, x; cave_type *c_ptr; @@ -66,7 +66,7 @@ bool quest_one_move_hook(char *fmt) return FALSE; } -bool quest_one_drop_hook(char *fmt) +bool_ quest_one_drop_hook(char *fmt) { s32b o_idx; object_type *o_ptr; @@ -97,7 +97,7 @@ bool quest_one_drop_hook(char *fmt) return TRUE; } -bool quest_one_wield_hook(char *fmt) +bool_ quest_one_wield_hook(char *fmt) { s32b o_idx; object_type *o_ptr; @@ -154,7 +154,7 @@ bool quest_one_wield_hook(char *fmt) return FALSE; } -bool quest_one_hp_hook(char *fmt) +bool_ quest_one_hp_hook(char *fmt) { if (cquest.status == QUEST_STATUS_FAILED_DONE) { @@ -171,7 +171,7 @@ bool quest_one_hp_hook(char *fmt) } return (FALSE); } -bool quest_one_die_hook(char *fmt) +bool_ quest_one_die_hook(char *fmt) { if (cquest.status == QUEST_STATUS_FAILED_DONE) { @@ -190,7 +190,7 @@ bool quest_one_die_hook(char *fmt) } return (FALSE); } -bool quest_one_identify_hook(char *fmt) +bool_ quest_one_identify_hook(char *fmt) { s32b item; @@ -222,10 +222,10 @@ bool quest_one_identify_hook(char *fmt) return (FALSE); } -bool quest_one_death_hook(char *fmt) +bool_ quest_one_death_hook(char *fmt) { s32b r_idx, m_idx; - bool ok = FALSE; + bool_ ok = FALSE; monster_race *r_ptr; m_idx = get_next_arg(fmt); @@ -304,7 +304,7 @@ bool quest_one_death_hook(char *fmt) return (FALSE); } -bool quest_one_dump_hook(char *fmt) +bool_ quest_one_dump_hook(char *fmt) { if (cquest.status == QUEST_STATUS_FINISHED) { @@ -316,7 +316,7 @@ bool quest_one_dump_hook(char *fmt) } return (FALSE); } -bool quest_one_gen_hook(char *fmt) +bool_ quest_one_gen_hook(char *fmt) { s32b x, y, tries = 10000; @@ -346,7 +346,7 @@ bool quest_one_gen_hook(char *fmt) return (FALSE); } -bool quest_one_init_hook(int q_idx) +bool_ quest_one_init_hook(int q_idx) { if ((cquest.status >= QUEST_STATUS_TAKEN) && (cquest.status < QUEST_STATUS_FINISHED)) { |