diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-20 11:19:41 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-20 11:19:41 +0200 |
commit | e4018b3ebf7d7e14787a04420014acf581d69978 (patch) | |
tree | 743aeabfc897ac9eac50334aefdd55254173a2d9 /crawl-ref/source/test/los_symm.lua | |
parent | b00943ff50ceecafa35b13e6286f04b4e4e30070 (diff) | |
download | crawl-ref-e4018b3ebf7d7e14787a04420014acf581d69978.tar.gz crawl-ref-e4018b3ebf7d7e14787a04420014acf581d69978.zip |
Split debug lua bindings out to new library "debug".
Diffstat (limited to 'crawl-ref/source/test/los_symm.lua')
-rw-r--r-- | crawl-ref/source/test/los_symm.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/test/los_symm.lua b/crawl-ref/source/test/los_symm.lua index eac1db7577..400c4a2356 100644 --- a/crawl-ref/source/test/los_symm.lua +++ b/crawl-ref/source/test/los_symm.lua @@ -39,7 +39,7 @@ local function test_losight_symmetry() local this_p = dgn.point(x, y) local you_p = dgn.point(you_x, you_y) dgn.grid(you_x, you_y, "floor_special") - dgn.dbg_dump_map(FAILMAP) + debug.dump_map(FAILMAP) assert(false, "LOS asymmetry detected (iter #" .. checks .. "): " .. you_p .. " sees " .. this_p .. ", but not vice versa." .. @@ -51,11 +51,11 @@ end local function run_los_tests(depth, nlevels, tests_per_level) local place = "D:" .. depth crawl.mpr("Running LOS tests on " .. place) - dgn.dbg_goto_place(place) + debug.goto_place(place) for lev_i = 1, nlevels do - dgn.dbg_flush_map_memory() - dgn.dbg_generate_level() + debug.flush_map_memory() + debug.generate_level() for t_i = 1, tests_per_level do test_losight_symmetry() end |