00001 /* 00002 * File: l_defs.h 00003 * Summary: Functions defined in the Lua bindings but used elsewhere. 00004 * 00005 * TODO: Move these where they belong. 00006 */ 00007 00008 #ifndef L_DEFS_H 00009 #define L_DEFS_H 00010 00011 dungeon_feature_type dungeon_feature_by_name(const std::string &name); 00012 std::vector<std::string> dungeon_feature_matches(const std::string &name); 00013 const char *dungeon_feature_name(dungeon_feature_type feat); 00014 std::string dgn_set_default_depth(const std::string &s); 00015 void dgn_reset_default_depth(); 00016 bool in_show_bounds(const coord_def &c); 00017 coord_def player2grid(const coord_def &p); 00018 00019 #endif