summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/mapflag.cpp2
-rw-r--r--src/map/mapflag.hpp2
-rw-r--r--src/map/mob.cpp8
-rw-r--r--src/map/script-fun.cpp1
4 files changed, 7 insertions, 6 deletions
diff --git a/src/map/mapflag.cpp b/src/map/mapflag.cpp
index 91dfe8d..d5e78d8 100644
--- a/src/map/mapflag.cpp
+++ b/src/map/mapflag.cpp
@@ -40,7 +40,7 @@ void MapFlags::set(MapFlag mf, bool val)
flags &=~ static_cast<unsigned>(mf);
}
-bool extract(XString str, MapFlag *mf)
+bool impl_extract(XString str, MapFlag *mf)
{
const struct
{
diff --git a/src/map/mapflag.hpp b/src/map/mapflag.hpp
index d964405..5818697 100644
--- a/src/map/mapflag.hpp
+++ b/src/map/mapflag.hpp
@@ -75,7 +75,7 @@ public:
void set(MapFlag, bool);
};
-bool extract(XString str, MapFlag *mf);
+bool impl_extract(XString str, MapFlag *mf);
MapFlag map_flag_from_int(int shift);
} // namespace tmwa
diff --git a/src/map/mob.cpp b/src/map/mob.cpp
index b01a4ff..c690ad0 100644
--- a/src/map/mob.cpp
+++ b/src/map/mob.cpp
@@ -3428,7 +3428,7 @@ int mob_makedummymobdb(Species mob_class)
}
static
-bool extract(XString str, LevelElement *le)
+bool impl_extract(XString str, LevelElement *le)
{
int tmp;
if (extract(str, &tmp))
@@ -3583,7 +3583,7 @@ bool mob_readdb(ZString filename)
}
static
-bool extract(XString str, MobSkillCondition *msc)
+bool impl_extract(XString str, MobSkillCondition *msc)
{
const struct
{
@@ -3607,7 +3607,7 @@ bool extract(XString str, MobSkillCondition *msc)
}
static
-bool extract(XString str, MobSkillState *mss)
+bool impl_extract(XString str, MobSkillState *mss)
{
const struct
{
@@ -3630,7 +3630,7 @@ bool extract(XString str, MobSkillState *mss)
}
static
-bool extract(XString str, MobSkillTarget *mst)
+bool impl_extract(XString str, MobSkillTarget *mst)
{
const struct
{
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp
index cc28cd2..12f8679 100644
--- a/src/map/script-fun.cpp
+++ b/src/map/script-fun.cpp
@@ -30,6 +30,7 @@
#include "../generic/random.hpp"
#include "../io/cxxstdio.hpp"
+#include "../io/extract.hpp"
#include "../net/timer.hpp"