/[LeafOK_CVS]/pvpgn-1.7.4/src/client/client_connect.h
ViewVC logotype

Annotation of /pvpgn-1.7.4/src/client/client_connect.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Tue Jun 6 03:41:38 2006 UTC (19 years, 9 months ago) by sysadm
Branch: GNU, MAIN
CVS Tags: arelease, HEAD
Changes since 1.1: +0 -0 lines
Content type: text/x-chdr
no message

1 sysadm 1.1 /*
2     * Copyright (C) 2000 Ross Combs (rocombs@cs.nmsu.edu)
3     *
4     * This program is free software; you can redistribute it and/or
5     * modify it under the terms of the GNU General Public License
6     * as published by the Free Software Foundation; either version 2
7     * of the License, or (at your option) any later version.
8     *
9     * This program is distributed in the hope that it will be useful,
10     * but WITHOUT ANY WARRANTY; without even the implied warranty of
11     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12     * GNU General Public License for more details.
13     *
14     * You should have received a copy of the GNU General Public License
15     * along with this program; if not, write to the Free Software
16     * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17     */
18     #ifndef JUST_NEED_TYPES
19     #ifndef INCLUDED_CLIENT_CONNECT_PROTOS
20     #define INCLUDED_CLIENT_CONNECT_PROTOS
21    
22     #define JUST_NEED_TYPES
23     #ifdef HAVE_SYS_TYPES_H
24     # include <sys/types.h>
25     #endif
26     #ifdef HAVE_SYS_SOCKET_H
27     # include <sys/socket.h>
28     #endif
29     #include "compat/socket.h"
30     #ifdef HAVE_NETINET_IN_H
31     # include <netinet/in.h>
32     #endif
33     #include "compat/netinet_in.h"
34     #ifdef HAVE_ARPA_INET_H
35     # include <arpa/inet.h>
36     #endif
37     #undef JUST_NEED_TYPES
38    
39    
40     // Diablo 1.09b
41     #define CLIENT_VERSIONID_DRTL 0x0000002a
42     #define CLIENT_GAMEVERSION_DRTL 0x01000902
43     #define CLIENT_EXEINFO_DRTL "Diablo.exe 05/18/01 23:10:57 767760"
44     #define CLIENT_CHECKSUM_DRTL 0xac337ef9
45    
46     //plain Starcraft 1.11b
47     #define CLIENT_VERSIONID_STAR 0x000000c9
48     #define CLIENT_GAMEVERSION_STAR 0x01010103
49     #define CLIENT_EXEINFO_STAR "starcraft.exe 05/26/04 00:46:00 1048576"
50     #define CLIENT_CHECKSUM_STAR 0xe6380bff
51    
52    
53     #define CLIENT_VERSIONID_SSHR 0x000000a5 /* FIXME: wrong? */
54     #define CLIENT_GAMEVERSION_SSHR 0x0100080a /* FIXME: wrong? */
55     #define CLIENT_EXEINFO_SSHR "starcraft.exe 03/08/99 22:41:50 1042432" /* FIXME: wrong */
56     #define CLIENT_CHECKSUM_SSHR 0x12345678
57    
58     //Broodwar 1.11b
59     #define CLIENT_VERSIONID_SEXP 0x000000c9
60     #define CLIENT_GAMEVERSION_SEXP 0x01010103
61     #define CLIENT_EXEINFO_SEXP "starcraft.exe 05/26/04 00:46:00 1048576"
62     #define CLIENT_CHECKSUM_SEXP 0xe6380bff
63    
64     //Warcraft 2 Battle.Net Edition 2.02b
65     #define CLIENT_VERSIONID_W2BN 0x0000004f
66     #define CLIENT_GAMEVERSION_W2BN 0x02000201
67     #define CLIENT_EXEINFO_W2BN "Warcraft II BNE.exe 05/21/01 21:52:22 712704"
68     #define CLIENT_CHECKSUM_W2BN 0xf144a97e
69    
70     //Diablo 2 1.10
71     #define CLIENT_VERSIONID_D2DV 0x0000000a
72     #define CLIENT_GAMEVERSION_D2DV 0x01000a00
73     #define CLIENT_EXEINFO_D2DV "Game.exe 10/13/03 08:34:46 1194761"
74     #define CLIENT_CHECKSUM_D2DV 0x3132dda6
75    
76     //Diable 2 Expansion 1.10
77     #define CLIENT_VERSIONID_D2XP 0x0000000a
78     #define CLIENT_GAMEVERSION_D2XP 0x01000a00
79     #define CLIENT_EXEINFO_D2XP "Game.exe 10/13/03 08:35:30 1198857"
80     #define CLIENT_CHECKSUM_D2XP 0x210126ec
81    
82     //Warcraft 3 1.16 and Warcraft 3 Frozen Throne 1.16
83     #define CLIENT_VERSIONID_WAR3 0x00000010
84     #define CLIENT_GAMEVERSION_WAR3 0x01001026
85     #define CLIENT_EXEINFO_WAR3 "war3.exe 06/28/04 23:37:02 1568211"
86     #define CLIENT_CHECKSUM_WAR3 0xcc882269
87    
88     #define CLIENT_COUNTRYINFO_109_PROTOCOL 0x00000000
89     #define CLIENT_COUNTRYINFO_109_VERSIONID_D2DV 0x00000009
90     #define CLIENT_COUNTRYINFO_109_GAMELANG 0x00000000
91     #define CLIENT_COUNTRYINFO_109_LOCALIP 0x00000000
92     #define CLIENT_COUNTRYINFO_109_LANGID_USENGLISH 0x00000409
93     #define CLIENT_COUNTRYINFO_109_LANGSTR_USENGLISH "ENU"
94     #define CLIENT_COUNTRYINFO_109_COUNTRYNAME_USA "United States"
95    
96     extern int client_connect(char const * progname, char const * servname, unsigned short servport, char const * cdowner, char const * cdkey, char const * clienttag, struct sockaddr_in * saddr, unsigned int * sessionkey, unsigned int * sessionnum, char const * archtag);
97    
98     #endif
99     #endif

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1