Esempio n. 1
0
/*
 * @brief Only called at Quake2World startup, not for each game.
 */
void Sv_Init(void) {

	memset(&svs, 0, sizeof(svs));

	Sv_InitLocal();

	Sv_InitCommands();

	Sv_InitMasters();

	Mem_InitBuffer(&net_message, net_message_buffer, sizeof(net_message_buffer));

	Net_Config(NS_UDP_SERVER, true);
}
Esempio n. 2
0
/*
 * @brief Only called at Quetoo startup, not for each game.
 */
void Sv_Init(void) {

	memset(&svs, 0, sizeof(svs));

	Cm_LoadBspModel(NULL, NULL);

	Sv_InitConsole();

	Sv_InitLocal();

	Sv_InitAdmin();

	Sv_InitMasters();
}