-
Notifications
You must be signed in to change notification settings - Fork 124
/
Copy pathversion.h
87 lines (62 loc) · 1.87 KB
/
version.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/*
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
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
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
$Id: version.h,v 1.7 2007-10-04 15:18:20 johnnycz Exp $
*/
// version.h
#ifndef __VERSION_H__
#define __VERSION_H__
#define QW_VERSION "2.40"
#if defined(_WIN32)
#if defined(_WIN64)
#define QW_PLATFORM "Win64"
#else
#define QW_PLATFORM "Win32"
#endif
#elif defined(__FreeBSD__)
#define QW_PLATFORM "FreeBSD"
#elif defined(__OpenBSD__)
#define QW_PLATFORM "OpenBSD"
#elif defined(__NetBSD__)
#define QW_PLATFORM "NetBSD"
#elif defined(__DragonFly__)
#define QW_PLATFORM "DragonFly"
#elif defined(__linux__)
#ifdef __x86_64__
#define QW_PLATFORM "Linux64"
#else
#define QW_PLATFORM "Linux32"
#endif
#elif defined(__sun__)
#define QW_PLATFORM "SunOS"
#elif defined(__APPLE__)
#define QW_PLATFORM "MacOSX"
#else
#define QW_PLATFORM "Unknown"
#endif
#define QW_RENDERER "GL"
#ifdef _DEBUG
#define QW_CONFIGURATION "Debug"
#else
#define QW_CONFIGURATION "Release"
#endif
#define VERSION_NUMBER "3.0.1"
int build_number(void);
void CL_Version_f(void);
char *VersionString(void);
char *VersionStringColour(void);
#define SERVER_NAME "EZQUAKE"
// MVDSV compatibility
#define QWE_VERSION "0.28"
#define QWE_VERNUM 0.28
#define QWE_SERVER_NAME "MVDSV"
#endif /* !__VERSION_H__ */