|
Odamex
Setting the Standard in Multiplayer Doom
|
00001 // Emacs style mode select -*- C++ -*- 00002 //----------------------------------------------------------------------------- 00003 // 00004 // $Id: sv_master.h 1788 2010-08-24 04:42:57Z russellrice $ 00005 // 00006 // Copyright (C) 2000-2006 by Sergey Makovkin (CSDoom .62). 00007 // Copyright (C) 2006-2010 by The Odamex Team. 00008 // 00009 // This program is free software; you can redistribute it and/or 00010 // modify it under the terms of the GNU General Public License 00011 // as published by the Free Software Foundation; either version 2 00012 // of the License, or (at your option) any later version. 00013 // 00014 // This program is distributed in the hope that it will be useful, 00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 // GNU General Public License for more details. 00018 // 00019 // DESCRIPTION: 00020 // SV_MASTER 00021 // 00022 //----------------------------------------------------------------------------- 00023 00024 00025 #ifndef __SVMASTER_H__ 00026 #define __SVMASTER_H__ 00027 00028 #include "doomtype.h" 00029 #include "doomstat.h" 00030 #include "d_player.h" 00031 #include "p_local.h" 00032 #include "sv_main.h" 00033 #include "sv_master.h" 00034 #include "c_console.h" 00035 00036 bool SV_AddMaster (const char *masterip); 00037 void SV_InitMasters(); 00038 bool SV_AddMaster(const char *masterip); 00039 void SV_ListMasters (); 00040 bool SV_RemoveMaster (const char *masterip); 00041 void SV_UpdateMasterServers(void); 00042 void SV_UpdateMaster(void); 00043 void SV_ArchiveMasters(FILE *fp); 00044 00045 #endif