![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include "luascript_types.h"
Include dependency graph for script_client.h:
This graph shows which files directly or indirectly include this file: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) |
| Invoke the 'callback_name' Lua function. More... | |
| bool | script_client_init () |
| Initialize the scripting state. More... | |
| void | script_client_free () |
| Free the scripting data. More... | |
| bool | script_client_do_string (const char *str) |
| Parse and execute the script in str. More... | |
| bool | script_client_do_file (const char *filename) |
| Parse and execute the script at filename. More... | |
| void | script_client_state_load (struct section_file *file) |
| Load the scripting state from file. More... | |
| void | script_client_state_save (struct section_file *file) |
| Save the scripting state to file. More... | |
| void | script_client_signal_connect (const char *signal_name, const char *callback_name) |
| void | script_client_signal_emit (const char *signal_name,...) |
| Invoke all the callback functions attached to a given signal. More... | |
| const char * | script_client_signal_list () |
| 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 91 of file script_client.cpp.
| bool script_client_do_file | ( | const char * | filename | ) |
Parse and execute the script at filename.
Definition at line 81 of file script_client.cpp.
Referenced by qload_lua_script(), and qreload_lua_script().
| bool script_client_do_string | ( | const char * | str | ) |
Parse and execute the script in str.
Definition at line 71 of file script_client.cpp.
| void script_client_free | ( | ) |
Free the scripting data.
Definition at line 256 of file script_client.cpp.
Referenced by client_exit().
| bool script_client_init | ( | ) |
Initialize the scripting state.
Definition at line 170 of file script_client.cpp.
Referenced by client_main().
| void script_client_signal_connect | ( | const char * | signal_name, |
| const char * | callback_name | ||
| ) |
| void script_client_signal_emit | ( | const char * | signal_name, |
| ... | |||
| ) |
Invoke all the callback functions attached to a given signal.
Definition at line 293 of file script_client.cpp.
Referenced by handle_research_info().
| const char* script_client_signal_list | ( | ) |
| void script_client_state_load | ( | struct section_file * | file | ) |
Load the scripting state from file.
Definition at line 272 of file script_client.cpp.
| void script_client_state_save | ( | struct section_file * | file | ) |
Save the scripting state to file.
Definition at line 284 of file script_client.cpp.