summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_dgngrd.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-03-08 19:05:23 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-03-08 19:09:38 +0100
commitcf92c3c6c81801b85cf6c2f29df93f394328a621 (patch)
tree9320196f33601b5be460cfb82632827ce305f463 /crawl-ref/source/l_dgngrd.cc
parent1b6a047496a1ef8a78a7200165b27ec814e4f766 (diff)
downloadcrawl-ref-cf92c3c6c81801b85cf6c2f29df93f394328a621.tar.gz
crawl-ref-cf92c3c6c81801b85cf6c2f29df93f394328a621.zip
Drop the code for set_feature_desc_long().
Diffstat (limited to 'crawl-ref/source/l_dgngrd.cc')
-rw-r--r--crawl-ref/source/l_dgngrd.cc34
1 files changed, 0 insertions, 34 deletions
diff --git a/crawl-ref/source/l_dgngrd.cc b/crawl-ref/source/l_dgngrd.cc
index 40bdfb22fc..18a4aa512c 100644
--- a/crawl-ref/source/l_dgngrd.cc
+++ b/crawl-ref/source/l_dgngrd.cc
@@ -99,38 +99,6 @@ static int dgn_set_feature_desc_short(lua_State *ls)
return (0);
}
-static int dgn_set_feature_desc_long(lua_State *ls)
-{
- const std::string raw_name = luaL_checkstring(ls, 1);
- const std::string desc = luaL_checkstring(ls, 2);
-
- if (raw_name.empty())
- {
- luaL_argerror(ls, 1, "Raw name can't be empty");
- return (0);
- }
-
- set_feature_desc_long(raw_name, desc);
-
- return (0);
-}
-
-static int dgn_set_feature_quote(lua_State *ls)
-{
- const std::string raw_name = luaL_checkstring(ls, 1);
- const std::string quote = luaL_checkstring(ls, 2);
-
- if (raw_name.empty())
- {
- luaL_argerror(ls, 1, "Raw name can't be empty");
- return (0);
- }
-
- set_feature_quote(raw_name, quote);
-
- return (0);
-}
-
static int dgn_max_bounds(lua_State *ls)
{
lua_pushnumber(ls, GXM);
@@ -184,8 +152,6 @@ const struct luaL_reg dgn_grid_dlib[] =
{ "feature_desc", dgn_feature_desc },
{ "feature_desc_at", dgn_feature_desc_at },
{ "set_feature_desc_short", dgn_set_feature_desc_short },
-{ "set_feature_desc_long", dgn_set_feature_desc_long },
-{ "set_feature_quote", dgn_set_feature_quote },
{ "seen_replace_feat", dgn_seen_replace_feat },
{ "grid", dgn_grid },