summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/clua.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-20 18:05:53 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-20 18:05:53 +0000
commitcad996abe8226b4ed735bf1f50000120fb237d8e (patch)
tree95d6b3306be8d3d633d56fdda1ec9327990ca4d6 /crawl-ref/source/clua.cc
parent17bab86986e24aa85c28eb74887c074f5c244d35 (diff)
downloadcrawl-ref-cad996abe8226b4ed735bf1f50000120fb237d8e.tar.gz
crawl-ref-cad996abe8226b4ed735bf1f50000120fb237d8e.zip
Moved position information Lua functions to luadgn.cc.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2496 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/clua.cc')
-rw-r--r--crawl-ref/source/clua.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/crawl-ref/source/clua.cc b/crawl-ref/source/clua.cc
index 6065b4ebba..1381c92314 100644
--- a/crawl-ref/source/clua.cc
+++ b/crawl-ref/source/clua.cc
@@ -741,9 +741,6 @@ LUARET1(you_see_grid, boolean,
see_grid(luaL_checkint(ls, 1), luaL_checkint(ls, 2)))
LUARET1(you_see_grid_no_trans, boolean,
see_grid_no_trans(luaL_checkint(ls, 1), luaL_checkint(ls, 2)))
-LUARET1(you_x_pos, number, you.x_pos)
-LUARET1(you_y_pos, number, you.y_pos)
-LUARET2(you_pos, number, you.x_pos, you.y_pos)
// increase by 1 because check happens on old level
@@ -827,10 +824,6 @@ static const struct luaL_reg you_lib[] =
{ "see_grid", you_see_grid },
{ "see_grid_no_trans", you_see_grid_no_trans },
- { "x_pos", you_x_pos },
- { "y_pos", you_y_pos },
- { "pos", you_pos },
-
{ NULL, NULL },
};