71 const char *format, ...)
174 const char *
section =
"script.code";
240 const char *format, ...)
int api_game_specenum_open(lua_State *L)
const struct ft_color ftc_luaconsole_debug
const struct ft_color ftc_luaconsole_verbose
const struct ft_color ftc_luaconsole_error
const struct ft_color ftc_luaconsole_normal
const struct ft_color ftc_luaconsole_warn
#define fc_assert_ret_val(condition, val)
#define log_fatal(message,...)
void luaconsole_vprintf(const struct ft_color color, const char *format, va_list args)
bool luascript_callback_invoke(struct fc_lua *fcl, const char *callback_name, int nargs, enum api_types *parg_types, va_list args)
void luascript_remove_exported_object(struct fc_lua *fcl, void *object)
int luascript_do_string(struct fc_lua *fcl, const char *str, const char *name)
int luascript_do_file(struct fc_lua *fcl, const char *filename)
void luascript_vars_load(struct fc_lua *fcl, struct section_file *file, const char *section)
void luascript_vars_save(struct fc_lua *fcl, struct section_file *file, const char *section)
struct fc_lua * luascript_new(luascript_log_func_t output_fct, bool secured_environment)
void luascript_destroy(struct fc_lua *fcl)
void luascript_signal_free(struct fc_lua *fcl)
void luascript_signal_init(struct fc_lua *fcl)
struct signal_deprecator * luascript_signal_create(struct fc_lua *fcl, const char *signal_name, int nargs,...)
void luascript_signal_emit_valist(struct fc_lua *fcl, const char *signal_name, va_list args)
const char * secfile_lookup_str_default(const struct section_file *secfile, const char *def, const char *path,...)
#define secfile_insert_str_noescape(secfile, string, path,...)
static void script_client_vars_free(void)
static void script_client_code_load(struct section_file *file)
static char * script_client_code
static void script_client_vars_init(void)
bool script_client_do_file(const char *filename)
static void static void script_client_signal_create(void)
void script_client_state_load(struct section_file *file)
static void script_client_output(struct fc_lua *fcl, enum log_level level, const char *format,...) fc__attribute((__format__(__printf__
static void script_client_code_init(void)
static void script_client_vars_save(struct section_file *file)
bool script_client_init(void)
static void script_client_vars_load(struct section_file *file)
static void script_client_code_free(void)
bool script_client_do_string(const char *str)
void script_client_state_save(struct section_file *file)
void script_client_remove_exported_object(void *object)
static void script_client_code_save(struct section_file *file)
bool script_client_callback_invoke(const char *callback_name, int nargs, enum api_types *parg_types, va_list args)
void script_client_free(void)
void script_client_signal_emit(const char *signal_name,...)
static struct fc_lua * main_fcl
struct setting_list * level[OLEVELS_NUM]
int fc_vsnprintf(char *str, size_t n, const char *format, va_list ap)
TOLUA_API int tolua_client_open(lua_State *tolua_S)
TOLUA_API int tolua_common_a_open(lua_State *tolua_S)
TOLUA_API int tolua_common_z_open(lua_State *tolua_S)
TOLUA_API int tolua_game_open(lua_State *tolua_S)
TOLUA_API int tolua_signal_open(lua_State *tolua_S)