Freeciv-3.2
|
Go to the source code of this file.
Typedefs | |
typedef void(* | rs_conversion_logger) (const char *msg) |
Functions | |
bool | load_rulesets (const char *restore, const char *alt, bool compat_mode, rs_conversion_logger logger, bool act, bool buffer_script, bool load_luadata) |
bool | reload_rulesets_settings (void) |
void | send_rulesets (struct conn_list *dest) |
void | rulesets_deinit (void) |
void | ruleset_error_real (rs_conversion_logger logger, const char *file, const char *function, int line, enum log_level level, const char *format,...) fc__attribute((__format__(__printf__ |
char * | get_script_buffer (void) |
char * | get_parser_buffer (void) |
int | ruleset_purge_unused_entities (void) |
int | ruleset_purge_redundant_reqs (void) |
#define RS_DEFAULT_GOODS_SELECTION GSM_LEAVING |
#define RULESET_CAPABILITIES RULESET_CAPABILITIES_BASE |
Return current parser.lua buffer.
Definition at line 562 of file ruleset.c.
Referenced by save_ruleset().
Return current script.lua buffer.
Definition at line 554 of file ruleset.c.
Referenced by save_ruleset().
bool load_rulesets | ( | const char * | restore, |
const char * | alt, | ||
bool | compat_mode, | ||
rs_conversion_logger | logger, | ||
bool | act, | ||
bool | buffer_script, | ||
bool | load_luadata | ||
) |
Loads the rulesets.
Definition at line 9358 of file ruleset.c.
Referenced by ruledit_gui::launch_now(), main(), manual_command(), savegame2_load(), savegame3_load(), set_rulesetdir(), sg_load_ruleset(), sg_load_savefile(), srv_main(), and srv_prepare().
Reload the game settings saved in the ruleset file.
Definition at line 9705 of file ruleset.c.
Referenced by reset_command().
void ruleset_error_real | ( | rs_conversion_logger | logger, |
const char * | file, | ||
const char * | function, | ||
int | line, | ||
enum log_level | level, | ||
const char * | format, | ||
... | |||
) |
Completely deinitialize ruleset system. Server is not in usable state after this.
Definition at line 9438 of file ruleset.c.
Referenced by server_quit().
Send all ruleset information to the specified connections.
Definition at line 9728 of file ruleset.c.
Referenced by establish_new_connection(), load_command(), and set_rulesetdir().