Crossfire Server, Trunk
|
#include <signal.h>
Go to the source code of this file.
Functions | |
bool | can_follow (object *, player *) |
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 |
Definition at line 2796 of file c_wiz.cpp.
Referenced by do_follow().
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 1483 of file server.cpp.
References draw_ext_info_format(), MSG_TYPE_ADMIN, MSG_TYPE_ADMIN_DM, NDI_UNIQUE, give::op, SHUTDOWN_IDLE, SHUTDOWN_NONE, shutdown_state, SHUTDOWN_TIME, shutdown_warn_times, shutdown_s::time, and shutdown_s::type.
Referenced by check_login().
Definition at line 282 of file server.cpp.
References EVENT_MAPENTER, EVENT_MAPLEAVE, events_execute_global_event(), give::op, player_update_bg_music(), mapstruct::players, set_map_timeout(), and mapstruct::timeout.
Referenced by enter_map(), and move_player_attack().
volatile sig_atomic_t shutdown_flag |
Definition at line 53 of file server.cpp.
Referenced by check_shutdown(), and signal_shutdown().