From e65f11731155dec69701d806ba00c6bd24ffc33c Mon Sep 17 00:00:00 2001 From: Darshan Shaligram Date: Thu, 24 Sep 2009 20:18:07 +0530 Subject: Set up a basic testing framework for LOS. ./crawl -test with a full debug build will run the test. --- crawl-ref/source/dungeon.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crawl-ref/source/dungeon.cc') diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index 1abe8a5a99..30de547fe9 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -363,6 +363,12 @@ void level_clear_vault_memory() dgn_Map_Mask.init(0); } +void dgn_flush_map_memory() +{ + you.uniq_map_tags.clear(); + you.uniq_map_names.clear(); +} + static void _dgn_load_colour_grid() { dgn_colour_grid.reset(new dungeon_colour_grid); -- cgit v1.2.3-54-g00ecf