Freeciv-3.2
|
#include "luascript_types.h"
Go to the source code of this file.
Functions | |
bool | script_client_callback_invoke (const char *callback_name, int nargs, enum api_types *parg_types, va_list args) |
void | script_client_remove_exported_object (void *object) |
bool | script_client_init (void) |
void | script_client_free (void) |
bool | script_client_do_string (const char *str) |
bool | script_client_do_file (const char *filename) |
void | script_client_state_load (struct section_file *file) |
void | script_client_state_save (struct section_file *file) |
void | script_client_signal_connect (const char *signal_name, const char *callback_name) |
void | script_client_signal_emit (const char *signal_name,...) |
const char * | script_client_signal_list (void) |
bool script_client_callback_invoke | ( | const char * | callback_name, |
int | nargs, | ||
enum api_types * | parg_types, | ||
va_list | args | ||
) |
Invoke the 'callback_name' Lua function.
Definition at line 99 of file script_client.c.
Parse and execute the script at filename.
Definition at line 89 of file script_client.c.
Referenced by luaconsole_load_file_callback(), qload_lua_script(), and qreload_lua_script().
Parse and execute the script in str
Definition at line 79 of file script_client.c.
Referenced by luaconsole_input_return().
Free the scripting data.
Definition at line 283 of file script_client.c.
Referenced by client_exit().
Initialize the scripting state.
Definition at line 195 of file script_client.c.
Referenced by client_main().
Mark any, if exported, full userdata representing 'object' in the current script state as 'Nonexistent'. This changes the type of the lua variable.
Definition at line 111 of file script_client.c.
Invoke all the callback functions attached to a given signal.
Definition at line 320 of file script_client.c.
Referenced by handle_research_info().
void script_client_state_load | ( | struct section_file * | file | ) |
Load the scripting state from file.
Definition at line 299 of file script_client.c.
void script_client_state_save | ( | struct section_file * | file | ) |
Save the scripting state to file.
Definition at line 311 of file script_client.c.