summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_defs.h
blob: 8d0974a918ca47961ec1308c9be77a42fd1018cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * File:      l_defs.h
 * Summary:   Functions defined in the Lua bindings but used elsewhere.
 *
 * TODO: Move these where they belong.
 */

#ifndef L_DEFS_H
#define L_DEFS_H

dungeon_feature_type dungeon_feature_by_name(const std::string &name);
std::vector<std::string> dungeon_feature_matches(const std::string &name);
const char *dungeon_feature_name(dungeon_feature_type feat);
std::string dgn_set_default_depth(const std::string &s);
void dgn_reset_default_depth();
bool in_show_bounds(const coord_def &c);
coord_def player2grid(const coord_def &p);

#endif