1 #include "qcommon.h"
2 
3 cvar_t *allow_download;
4 cvar_t *allow_download_players;
5 cvar_t *allow_download_models;
6 cvar_t *allow_download_sounds;
7 cvar_t *allow_download_maps;
8 cvar_t *allow_download_demos;
9 cvar_t *allow_download_other;
10 
11 cvar_t	*rcon_password;
12 cvar_t	*mvd_running;
13 
SV_Init(void)14 void SV_Init( void ) {
15 	allow_download = Cvar_Get( "allow_download", "1", CVAR_ARCHIVE );
16 	allow_download_players = Cvar_Get( "allow_download_players", "0", CVAR_ARCHIVE );
17 	allow_download_models = Cvar_Get( "allow_download_models", "1", CVAR_ARCHIVE );
18 	allow_download_sounds = Cvar_Get( "allow_download_sounds", "1", CVAR_ARCHIVE );
19 	allow_download_maps	= Cvar_Get( "allow_download_maps", "1", CVAR_ARCHIVE );
20 	allow_download_demos = Cvar_Get( "allow_download_demos", "0", 0 );
21 	allow_download_other = Cvar_Get( "allow_download_other", "0", 0 );
22 
23 	rcon_password = Cvar_Get( "rcon_password", "", CVAR_PRIVATE );
24 	mvd_running = Cvar_Get( "mvd_running", "0", CVAR_ROM );
25 }
26 
SV_Shutdown(const char * finalmsg,killtype_t type)27 void SV_Shutdown( const char *finalmsg, killtype_t type ) {
28 }
29 
SV_Frame(int msec)30 void SV_Frame( int msec ) {
31 }
32 
SV_PacketEvent(int ret)33 void SV_PacketEvent( int ret ) {
34 }
35 
MVD_PacketEvent(int ret)36 void MVD_PacketEvent( int ret ) {
37 }
38 
MVD_GetDemoPercent(int * percent,int * bufferPercent)39 qboolean MVD_GetDemoPercent( int *percent, int *bufferPercent ) {
40 	*percent = 0;
41 	*bufferPercent = 0;
42 
43 	return qfalse;
44 }
45