summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/levcomp.cc
blob: 5e0bb4cb64e71fab04a8fe241b8f156482b60d7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
}