diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-11-22 08:41:20 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-11-22 08:41:20 +0000 |
commit | 1d0f57cbceb778139ca215cc4fcfd1584951f6dd (patch) | |
tree | cafd60c944c51fcce778aa5d6912bc548c518339 /crawl-ref/source/util/levcomp.cc | |
parent | 6f5e187a9e5cd348296dba2fd89d2e206e775a01 (diff) | |
download | crawl-ref-1d0f57cbceb778139ca215cc4fcfd1584951f6dd.tar.gz crawl-ref-1d0f57cbceb778139ca215cc4fcfd1584951f6dd.zip |
Merged stone_soup r15:451 into trunk.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@452 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/util/levcomp.cc')
-rw-r--r-- | crawl-ref/source/util/levcomp.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/crawl-ref/source/util/levcomp.cc b/crawl-ref/source/util/levcomp.cc new file mode 100644 index 0000000000..5e0bb4cb64 --- /dev/null +++ b/crawl-ref/source/util/levcomp.cc @@ -0,0 +1,18 @@ +#include "AppHdr.h" +#include "levcomp.h" + +std::string lc_desfile; +map_def lc_map; +level_range lc_range; +level_range lc_default_depth; + +extern int yylineno; + +void reset_map_parser() +{ + lc_map.init(); + lc_range.reset(); + lc_default_depth.reset(); + + yylineno = 1; +} |