summaryrefslogtreecommitdiff
path: root/src/q_eol.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2011-02-20 19:54:40 +0100
committerBardur Arantsson <bardur@scientician.net>2011-02-20 20:56:41 +0100
commit5fbe06613a8a9e5d8731a832ddff0e9bdce112bb (patch)
tree4ab5267304509feed1bbcf4ad265cd8597c64fce /src/q_eol.c
parent420428c53fe83064331ac2e06297c8a93abc93cf (diff)
Remove redefinition of "bool" for C++ friendliness.
Diffstat (limited to 'src/q_eol.c')
-rw-r--r--src/q_eol.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/q_eol.c b/src/q_eol.c
index 4b66e8ad..5b1cf78e 100644
--- a/src/q_eol.c
+++ b/src/q_eol.c
@@ -1,10 +1,10 @@
#undef cquest
#define cquest (quest[QUEST_EOL])
-bool quest_eol_gen_hook(char *fmt)
+bool_ quest_eol_gen_hook(char *fmt)
{
int x, y;
- bool done = FALSE;
+ bool_ done = FALSE;
int xsize = 50, ysize = 30, y0, x0;
int m_idx = 0;
@@ -81,7 +81,7 @@ bool quest_eol_gen_hook(char *fmt)
return TRUE;
}
-bool quest_eol_finish_hook(char *fmt)
+bool_ quest_eol_finish_hook(char *fmt)
{
object_type forge, *q_ptr;
s32b q_idx;
@@ -113,7 +113,7 @@ bool quest_eol_finish_hook(char *fmt)
return TRUE;
}
-bool quest_eol_fail_hook(char *fmt)
+bool_ quest_eol_fail_hook(char *fmt)
{
s32b q_idx;
@@ -131,7 +131,7 @@ bool quest_eol_fail_hook(char *fmt)
return TRUE;
}
-bool quest_eol_death_hook(char *fmt)
+bool_ quest_eol_death_hook(char *fmt)
{
s32b r_idx, m_idx;
@@ -151,7 +151,7 @@ bool quest_eol_death_hook(char *fmt)
return FALSE;
}
-bool quest_eol_stair_hook(char *fmt)
+bool_ quest_eol_stair_hook(char *fmt)
{
monster_race *r_ptr = &r_info[test_monster_name("Eol, the Dark Elf")];
cptr down;
@@ -181,7 +181,7 @@ bool quest_eol_stair_hook(char *fmt)
return FALSE;
}
-bool quest_eol_init_hook(int q)
+bool_ quest_eol_init_hook(int q)
{
if ((cquest.status >= QUEST_STATUS_TAKEN) && (cquest.status < QUEST_STATUS_FINISHED))
{