]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - net_win.c
removed winsock_initialized counter as there are no longer two things initializing...
[xonotic/darkplaces.git] / net_win.c
index 4b43b5c9b1177e2bd18f5a30638aa8016f2e62a3..3bd5d1d65811c7b81b89e94f0cdc5365a857b20f 100644 (file)
--- a/net_win.c
+++ b/net_win.c
@@ -8,7 +8,7 @@ of the License, or (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 See the GNU General Public License for more details.
 
 
 See the GNU General Public License for more details.
 
@@ -67,7 +67,6 @@ int net_numdrivers = 2;
 
 
 #include "net_wins.h"
 
 
 #include "net_wins.h"
-#include "net_wipx.h"
 
 net_landriver_t        net_landrivers[MAX_NET_DRIVERS] =
 {
 
 net_landriver_t        net_landrivers[MAX_NET_DRIVERS] =
 {
@@ -95,34 +94,8 @@ net_landriver_t      net_landrivers[MAX_NET_DRIVERS] =
        WINS_AddrCompare,
        WINS_GetSocketPort,
        WINS_SetSocketPort
        WINS_AddrCompare,
        WINS_GetSocketPort,
        WINS_SetSocketPort
-       },
-       {
-       "Winsock IPX",
-       false,
-       0,
-       WIPX_Init,
-       WIPX_Shutdown,
-       WIPX_Listen,
-       WIPX_OpenSocket,
-       WIPX_CloseSocket,
-       WIPX_Connect,
-       WIPX_CheckNewConnections,
-       WIPX_Recv,
-       WIPX_Send,
-       WIPX_Read,
-       WIPX_Write,
-       WIPX_Broadcast,
-       WIPX_AddrToString,
-       WIPX_StringToAddr,
-       WIPX_GetSocketAddr,
-       WIPX_GetNameFromAddr,
-       WIPX_GetAddrFromName,
-       WIPX_AddrCompare,
-       WIPX_GetSocketPort,
-       WIPX_SetSocketPort
        }
        }
-
 };
 
 };
 
-int net_numlandrivers = 2;
+int net_numlandrivers = 1;