summaryrefslogtreecommitdiff
path: root/src/monster1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-03-07 16:55:40 +0100
committerBardur Arantsson <bardur@scientician.net>2015-03-07 16:55:40 +0100
commitd379c47aaec011921c1d09140ee1098a7053b5b6 (patch)
tree344e21109d3deff09b38937d5e355c18ef25ba8c /src/monster1.cc
parent85f1b7d97f1612c70edd774bfd9cf8b75c0b6c39 (diff)
Split monster2.cc declarations into separate header
Diffstat (limited to 'src/monster1.cc')
-rw-r--r--src/monster1.cc24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/monster1.cc b/src/monster1.cc
index 644b2424..c636985e 100644
--- a/src/monster1.cc
+++ b/src/monster1.cc
@@ -7,7 +7,9 @@
*/
#include "monster1.hpp"
+
#include "angband.h"
+#include "monster2.hpp"
#include "util.hpp"
/*
@@ -1652,7 +1654,7 @@ bool_ monster_dungeon(int r_idx)
}
-bool_ monster_ocean(int r_idx)
+static bool_ monster_ocean(int r_idx)
{
monster_race *r_ptr = &r_info[r_idx];
@@ -1663,7 +1665,7 @@ bool_ monster_ocean(int r_idx)
}
-bool_ monster_shore(int r_idx)
+static bool_ monster_shore(int r_idx)
{
monster_race *r_ptr = &r_info[r_idx];
@@ -1674,7 +1676,7 @@ bool_ monster_shore(int r_idx)
}
-bool_ monster_waste(int r_idx)
+static bool_ monster_waste(int r_idx)
{
monster_race *r_ptr = &r_info[r_idx];
@@ -1685,7 +1687,7 @@ bool_ monster_waste(int r_idx)
}
-bool_ monster_town(int r_idx)
+static bool_ monster_town(int r_idx)
{
monster_race *r_ptr = &r_info[r_idx];
@@ -1696,7 +1698,7 @@ bool_ monster_town(int r_idx)
}
-bool_ monster_wood(int r_idx)
+static bool_ monster_wood(int r_idx)
{
monster_race *r_ptr = &r_info[r_idx];
@@ -1707,7 +1709,7 @@ bool_ monster_wood(int r_idx)
}
-bool_ monster_volcano(int r_idx)
+static bool_ monster_volcano(int r_idx)
{
monster_race *r_ptr = &r_info[r_idx];
@@ -1718,7 +1720,7 @@ bool_ monster_volcano(int r_idx)
}
-bool_ monster_mountain(int r_idx)
+static bool_ monster_mountain(int r_idx)
{
monster_race *r_ptr = &r_info[r_idx];
@@ -1729,7 +1731,7 @@ bool_ monster_mountain(int r_idx)
}
-bool_ monster_grass(int r_idx)
+static bool_ monster_grass(int r_idx)
{
monster_race *r_ptr = &r_info[r_idx];
@@ -1740,7 +1742,7 @@ bool_ monster_grass(int r_idx)
}
-bool_ monster_deep_water(int r_idx)
+static bool_ monster_deep_water(int r_idx)
{
monster_race *r_ptr = &r_info[r_idx];
@@ -1753,7 +1755,7 @@ bool_ monster_deep_water(int r_idx)
}
-bool_ monster_shallow_water(int r_idx)
+static bool_ monster_shallow_water(int r_idx)
{
monster_race *r_ptr = &r_info[r_idx];
@@ -1766,7 +1768,7 @@ bool_ monster_shallow_water(int r_idx)
}
-bool_ monster_lava(int r_idx)
+static bool_ monster_lava(int r_idx)
{
monster_race *r_ptr = &r_info[r_idx];