summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_libs.h
blob: bf721ab3a2c01c994f6ef92f3e2bfcc43c112f24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * File:     l_libs.h
 * Summary:  Library definitions for dlua.
 */

#include "clua.h"

extern const struct luaL_reg crawl_lib[];
extern const struct luaL_reg dgn_lib[];
extern const struct luaL_reg dgn_event_lib[];
extern const struct luaL_reg file_lib[];
extern const struct luaL_reg los_lib[];
extern const struct luaL_reg mapmarker_lib[];
extern const struct luaL_reg you_lib[];

void luaopen_dgnevent(lua_State *ls);
void luaopen_mapmarker(lua_State *ls);
void luaopen_ray(lua_State *ls);

void register_mapdef_tables(lua_State *ls);
void register_builder_funcs(lua_State *ls);