-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathversion.h
More file actions
81 lines (73 loc) · 1.68 KB
/
version.h
File metadata and controls
81 lines (73 loc) · 1.68 KB
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
/*
*
* File: version.h
* Date: 21.09.2001
* Project: Foxbot
*
* Description: This file provides version information for Foxbot
*
* Copyright (c) 2001, Tom Simpson
*
*
* $Id: version.h,v 1.2 2002/04/21 10:52:50 fb_cvs Exp $
*
*/
/*
* Build type, either debugging or optimized.
* This is set by the Makefile. Provide a default
* in case is isn't defined by the Makefile
*
*/
#ifndef _VERSION_H_
#define _VERSION_H_
#ifndef OPT_TYPE
#if defined(_MSC_VER) && defined(_DEBUG)
#define OPT_TYPE "debugging"
#elif defined(_MSC_VER) && defined(_NDEBUG)
#define OPT_TYPE "optimized"
#else
#define OPT_TYPE "default"
#endif /* _MSC_VER */
#endif
/*
* Version number.
* This is also defined by the Makefile.
* If not, we provide it here.
*/
#ifndef VERSION
#define VERSION (1.0)
#endif
/*
* Version type.
* This is also defined by the Makefile.
* If not, we provide it here.
*/
#ifndef MOD_VERSION
#ifdef USE_METAMOD
#define MOD_VERSION VERSION " (MM)"
#else
#define MOD_VERSION VERSION
#endif
#endif
/*
* We keep the compile time and date in a static string.
* This info gets updated on every link, indicating the
* latest time and date the dll was compiled and linked.
*/
extern const char* COMPILE_DTTM;
extern const char* COMPILE_DATE;
/*
* We can also provide the timezone. It gets set in the
* Makefile. If not, we can provide it here.
*/
#ifndef TZONE
constexpr const char* TZONE = "GMT";
#endif
/*
* This info is used as Plugin info by Metamod
*/
#define VDATE COMPILE_DATE
constexpr const char* VNAME = "FoXBot";
constexpr const char* VAUTHOR = "Tom Simpson & RoboCop <robocop@lycos.co.uk>";
constexpr const char* VURL = "apg-clan.org";
#endif /* _VERSION_H_ */