![]() |
Crossfire Server, Trunk
1.75.0
|
#include <signal.h>
#include <vector>
Go to the source code of this file.
Data Structures | |
struct | ServerSettings |
Functions | |
bool | can_follow (object *, player *) |
void | login_check_shutdown (object *const op) |
Warn op if a server shutdown is scheduled. More... | |
void | player_map_change_common (object *op, mapstruct *const oldmap, mapstruct *const newmap) |
Variables | |
ServerSettings | serverSettings |
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 1488 of file server.cpp.
References draw_ext_info_format(), MSG_TYPE_ADMIN, MSG_TYPE_ADMIN_DM, NDI_UNIQUE, SHUTDOWN_IDLE, SHUTDOWN_NONE, shutdown_state, SHUTDOWN_TIME, shutdown_warn_times, shutdown_s::time, 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(), player_update_bg_music(), mapstruct::players, set_map_timeout(), and mapstruct::timeout.
Referenced by enter_map(), and move_player_attack().
ServerSettings serverSettings |
Definition at line 42 of file init.cpp.
Referenced by cfcitybell_init(), citylife_init(), free_server(), init_modules(), initPlugins(), and set_disable_plugin().
volatile sig_atomic_t shutdown_flag |
Definition at line 53 of file server.cpp.
Referenced by check_shutdown(), and signal_shutdown().