2003-12-14 11:02:29 +01:00
|
|
|
#ifndef LUA_BINDINGS_H
|
|
|
|
#define LUA_BINDINGS_H
|
2003-11-10 00:36:11 +01:00
|
|
|
|
2006-04-16 18:11:16 +02:00
|
|
|
extern bool is_function(struct lua_State * L, const char * fname);
|
|
|
|
|
2003-11-10 00:36:11 +01:00
|
|
|
extern void bind_region(struct lua_State * L);
|
|
|
|
extern void bind_unit(struct lua_State * L);
|
|
|
|
extern void bind_ship(struct lua_State * L);
|
|
|
|
extern void bind_building(struct lua_State * L);
|
2003-12-14 11:02:29 +01:00
|
|
|
extern void bind_faction(struct lua_State * L);
|
|
|
|
extern void bind_alliance(struct lua_State * L);
|
|
|
|
extern void bind_eressea(struct lua_State * L);
|
2005-10-08 13:02:10 +02:00
|
|
|
extern void bind_spell(struct lua_State * L) ;
|
2004-06-07 23:43:55 +02:00
|
|
|
extern void bind_item(struct lua_State * L);
|
2005-10-08 13:02:10 +02:00
|
|
|
extern void bind_event(struct lua_State * L);
|
|
|
|
extern void bind_message(struct lua_State * L);
|
2005-11-26 16:28:11 +01:00
|
|
|
extern void bind_objects(struct lua_State * L);
|
2006-04-16 18:11:16 +02:00
|
|
|
|
|
|
|
/* server only */
|
2006-04-16 16:18:09 +02:00
|
|
|
extern void bind_script(struct lua_State * L);
|
|
|
|
extern void bind_gamecode(struct lua_State * L);
|
|
|
|
|
2006-04-16 18:11:16 +02:00
|
|
|
/* gmtool only */
|
|
|
|
extern void bind_gmtool(lua_State * L);
|
2005-10-08 13:02:10 +02:00
|
|
|
|
2003-11-10 00:36:11 +01:00
|
|
|
#endif
|