summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_debug.cc
diff options
context:
space:
mode:
authorEnne Walker <enne.walker@gmail.com>2010-05-30 08:48:51 -0400
committerEnne Walker <enne.walker@gmail.com>2010-05-30 08:50:38 -0400
commit9517433e93cdf78ff6b337e50df6b09dd4e4fd95 (patch)
tree10858227f823d857778ee5be8e339886b038a413 /crawl-ref/source/l_debug.cc
parentbe734ca30eba735e20a8145bb22cdcc4de134ced (diff)
downloadcrawl-ref-9517433e93cdf78ff6b337e50df6b09dd4e4fd95.tar.gz
crawl-ref-9517433e93cdf78ff6b337e50df6b09dd4e4fd95.zip
Split off tilepick files into tileview.
tileview.h/cc now contains all the functions that change what is shown to the player via env. tilepick now contains only "const" functions to look up tiles.
Diffstat (limited to 'crawl-ref/source/l_debug.cc')
-rw-r--r--crawl-ref/source/l_debug.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/l_debug.cc b/crawl-ref/source/l_debug.cc
index 7304ac4305..0243df0a4a 100644
--- a/crawl-ref/source/l_debug.cc
+++ b/crawl-ref/source/l_debug.cc
@@ -25,7 +25,7 @@
#include "mon-util.h"
#include "place.h"
#ifdef USE_TILE
- #include "tilepick.h"
+ #include "tileview.h"
#endif
#include "view.h"
#include "wiz-dgn.h"
@@ -74,7 +74,7 @@ LUAFN(debug_generate_level)
#ifdef USE_TILE
tile_init_default_flavour();
tile_clear_flavour();
- TileNewLevel(true);
+ tile_new_level(true);
#endif
builder(you.absdepth0, you.level_type,
lua_isboolean(ls, 1)? lua_toboolean(ls, 1) : true);