1 #ifndef __ALEPHVERSION_H
2 #define __ALEPHVERSION_H
3 
4 /*
5 ALEPHVERSION.H
6 
7 	Copyright (C) 2002 and beyond by the "Aleph One" developers
8 
9 	This program is free software; you can redistribute it and/or modify
10 	it under the terms of the GNU General Public License as published by
11 	the Free Software Foundation; either version 3 of the License, or
12 	(at your option) any later version.
13 
14 	This program is distributed in the hope that it will be useful,
15 	but WITHOUT ANY WARRANTY; without even the implied warranty of
16 	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 	GNU General Public License for more details.
18 
19 	This license is contained in the file "COPYING",
20 	which is included with this source code; it is available online at
21 	http://www.gnu.org/licenses/gpl.html
22 
23 */
24 
25 
26 #define A1_DISPLAY_NAME "Aleph One"
27 #define A1_DISPLAY_VERSION "1.3b3"
28 #define A1_DISPLAY_DATE_VERSION "2019-03-31"
29 #define A1_DATE_VERSION "20190331"
30 
31 #ifdef WIN32
32 #define A1_DISPLAY_PLATFORM "Windows"
33 #define A1_UPDATE_PLATFORM "windows"
34 #elif defined (__APPLE__) && defined(__MACH__)
35 #ifdef MAC_APP_STORE
36 #define A1_DISPLAY_PLATFORM "Mac OS X (App Store)"
37 #define A1_UPDATE_PLATFORM "macappstore"
38 #else
39 #define A1_DISPLAY_PLATFORM "Mac OS X"
40 #define A1_UPDATE_PLATFORM "macosx"
41 #endif
42 #elif defined (linux)
43 #define A1_DISPLAY_PLATFORM "Linux"
44 #define A1_UPDATE_PLATFORM "source"
45 #elif defined (__NetBSD__)
46 #define A1_DISPLAY_PLATFORM "NetBSD"
47 #define A1_UPDATE_PLATFORM "source"
48 #elif defined (__OpenBSD__)
49 #define A1_DISPLAY_PLATFORM "OpenBSD"
50 #define A1_UPDATE_PLATFORM "source"
51 #else
52 #define A1_DISPLAY_PLATFORM "Unknown"
53 #define A1_UPDATE_PLATFORM "source"
54 #endif
55 
56 #ifndef A1_VERSION_STRING
57 #define A1_VERSION_STRING A1_DISPLAY_PLATFORM " " A1_DISPLAY_DATE_VERSION " " A1_DISPLAY_VERSION
58 #endif
59 
60 #define A1_HOMEPAGE_URL "https://alephone.lhowon.org/"
61 #define A1_UPDATE_URL "https://updates.lhowon.org/update_check/" A1_UPDATE_PLATFORM ".txt"
62 #define A1_METASERVER_HOST "metaserver.lhowon.org"
63 #define A1_METASERVER_LOGIN_URL "https://metaserver.lhowon.org/metaclient/login"
64 #define A1_METASERVER_SIGNUP_URL "https://metaserver.lhowon.org/metaclient/signup"
65 #define A1_METASERVER_SETTINGS_URL "https://metaserver.lhowon.org/metaclient/settings"
66 #define A1_LEADERBOARD_URL "https://stats.lhowon.org/"
67 #define A1_STATSERVER_ADD_URL "https://stats.lhowon.org/statclient/add"
68 
69 #endif // ALEPHVERSION_H
70