Crossfire Client, Trunk
|
Macros | |
#define | H1(a) draw_ext_info(NDI_BLACK, MSG_TYPE_CLIENT, MSG_TYPE_CLIENT_NOTICE, a) |
#define | H2(a) draw_ext_info(NDI_BLACK, MSG_TYPE_CLIENT, MSG_TYPE_CLIENT_NOTICE, a) |
#define | LINE(a) draw_ext_info(NDI_BLACK, MSG_TYPE_CLIENT, MSG_TYPE_CLIENT_NOTICE, a) |
Functions | |
static void | command_help (const char *cpnext) |
void | config_check (void) |
static void | do_clienthelp_list () |
static int | get_num_commands (void) |
static const char * | help_help (void) |
void | map_check_resize (void) |
static void | show_help (const ConsoleCommand *cc) |
Variables | |
bool | arm_mapedit = false |
#define H1 | ( | a | ) | draw_ext_info(NDI_BLACK, MSG_TYPE_CLIENT, MSG_TYPE_CLIENT_NOTICE, a) |
#define H2 | ( | a | ) | draw_ext_info(NDI_BLACK, MSG_TYPE_CLIENT, MSG_TYPE_CLIENT_NOTICE, a) |
#define LINE | ( | a | ) | draw_ext_info(NDI_BLACK, MSG_TYPE_CLIENT, MSG_TYPE_CLIENT_NOTICE, a) |
|
static |
Definition at line 95 of file p_cmd.c.
References do_clienthelp_list(), find_command(), MAX_BUF, send_command(), and show_help().
void config_check | ( | ) |
Check that want_config is valid, copy the new configuration to use_config, and apply the new configuration. Call this after changing want_config, either through config_load() or on_config_close().
Definition at line 331 of file config.c.
Referenced by do_set_mapscale(), main(), and on_auto_afk_response().
|
static |
Definition at line 45 of file p_cmd.c.
References ConsoleCommand::cat, COMM_CAT_MISC, get_cat_sorted_commands(), get_category_name(), get_num_commands(), H1, H2, LINE, MAX_BUF, and ConsoleCommand::name.
Referenced by command_help().
|
static |
Definition at line 379 of file p_cmd.c.
References num_commands.
Referenced by do_clienthelp_list().
void map_check_resize | ( | ) |
Calculate and set desired map size based on map window size.
Definition at line 49 of file map.c.
Referenced by config_check().
|
static |
Definition at line 72 of file p_cmd.c.
References ConsoleCommand::desc, H2, ConsoleCommand::helpfunc, LINE, MAX_BUF, and ConsoleCommand::name.
Referenced by command_help().
bool arm_mapedit = false |
If true, the next drawextinfo is expected to contain a map path.
Definition at line 39 of file p_cmd.c.
Referenced by do_mapedit(), and message_callback().