summaryrefslogtreecommitdiff
path: root/lib/mods/theme/core
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-04-02 21:53:11 +0200
committerBardur Arantsson <bardur@scientician.net>2012-04-02 22:08:27 +0200
commit6eb6d9b8aa702f333d480158265cc0c3a469a0c9 (patch)
treea8d164a36e347a73413997600d2d3e866de5a3b8 /lib/mods/theme/core
parent9bbfe24fccd16a17c89f9222ded38aa5a220c4f6 (diff)
Refactor: Clean up process_dungeon_file()
Diffstat (limited to 'lib/mods/theme/core')
-rw-r--r--lib/mods/theme/core/dungeon.lua16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/mods/theme/core/dungeon.lua b/lib/mods/theme/core/dungeon.lua
index fc8364bd..d91d785b 100644
--- a/lib/mods/theme/core/dungeon.lua
+++ b/lib/mods/theme/core/dungeon.lua
@@ -46,22 +46,6 @@ function rotate_dir(dir, mov)
return dir
end
--- Check if the map is a filename or directly a map
-function load_map(map, y, x)
- if strsub(map, 1, 5) == "#!map" then
- %load_map(TRUE, map, y, x)
- else
- %load_map(FALSE, map, y, x)
- end
-end
-function get_map_size(map)
- if strsub(map, 1, 5) == "#!map" then
- return %get_map_size(TRUE, map)
- else
- return %get_map_size(FALSE, map)
- end
-end
-
-- Place a trap for a specific level
function place_trap(y, x, level)
local old_dun = dun_level