Crossfire Server, Trunk
R22010
|
#include <signal.h>
Go to the source code of this file.
Functions | |
void | login_check_shutdown (object *const op) |
void | player_map_change_common (object *op, mapstruct *const oldmap, mapstruct *const newmap) |
Variables | |
volatile sig_atomic_t | shutdown_flag |
void login_check_shutdown | ( | object *const | op | ) |
Warn op if a server shutdown is scheduled. Used to inform players about scheduled shutdowns when they log in.
Definition at line 1347 of file server.c.
References cmd_shutdown_time, draw_ext_info_format(), i18n(), MSG_TYPE_ADMIN, MSG_TYPE_ADMIN_DM, NDI_ALL, NDI_UNIQUE, shutdown_warn_times, and todtick.
Referenced by check_login().
Definition at line 265 of file server.c.
References EVENT_MAPENTER, EVENT_MAPLEAVE, events_execute_global_event(), player_update_bg_music(), mapdef::players, set_map_timeout(), and mapdef::timeout.
Referenced by enter_map(), and move_player_attack().
volatile sig_atomic_t shutdown_flag |
Definition at line 53 of file server.c.
Referenced by check_shutdown(), and signal_shutdown().