Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

/home/groups/n/no/noxwizard/cvs/src/version.h

Go to the documentation of this file.
00001   /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
00002     || NoX-Wizard UO Server Emulator (NXW) [http://noxwizard.sourceforge.net]  ||
00003     ||                                                                         ||
00004     || This software is free software released under GPL2 license.             ||
00005     || You can find detailed license information in nox-wizard.cpp file.       ||
00006     ||                                                                         ||
00007     || For any question post to NoX-Wizard forums.                             ||
00008     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
00009 
00015 #ifndef __VERSION_H__
00016 #define __VERSION_H__
00017 
00018 //NXW versions number are :
00019 // 
00020 //MajorNumber.MinorNumber(Letter)
00021 //
00022 //Letter is :
00023 //              i = internal version (includes internal tests, and releases to official testing shards)
00024 //          b = public released betas
00025 //      x = special release
00026 //      s = supported release
00027 //      u = unsupported release
00028 //
00029 //              public releases usually fall in s or u categories
00030 
00031 #define VER "**Oxygene**"
00032 //Note : vernumb MUST always be 5 char lenght and WSCREQVER also must.
00033 #define VERNUMB "0.82s"
00034 //This is the requested version for the WSC to be read correctly
00035 #define WSCREQVER "0.60s"
00036 //This is the requested version for the server.cfg to be read correctly
00037 #define SCPREQVER "0.67b"
00038 #define HOTFIX "11AF"
00039 #define VERHEXCODE 0x081
00040 
00041 #define VTF_SUPPORTED 0x1
00042 #define VTF_PRIVATE       0x2
00043 #define VTF_BETA      0x4
00044 #define VTF_SPECIAL   0x8
00045 #define VTF_GUI           0x40
00046 
00047 #define VT_S (VTF_SUPPORTED)
00048 #define VT_U (0)
00049 #define VT_I (VTF_PRIVATE|VTF_BETA)
00050 #define VT_B (VTF_BETA)
00051 #define VT_X (VTF_SPECIAL|VTF_SUPPORTED)
00052 
00053 #define VERTYPE2 VT_X
00054 
00055 //#define EXTREMELY_UNTESTED
00056 
00057 #ifdef _WINDOWS
00058 #define VERTYPE ((VERTYPE2|VTF_GUI))
00059 #else
00060 #define VERTYPE (VERTYPE2)
00061 #endif
00062 
00063 
00064 
00065 
00066 #define OS    "UNKNOWN OS"
00067 #define OSFIX "[UNKNOWN OS]   "
00068 #define PLATFORMID 0
00069 
00070 #ifdef _CONSOLE
00071 #undef OS
00072 #undef OSFIX
00073 #undef PLATFORMID
00074 #define OS    ((ServerScp::g_nDeamonMode==0) ? ("Win32-Console") : ("WinNT-Service"))
00075 #define OSFIX ((ServerScp::g_nDeamonMode==0) ? ("[Win32-Console]") : ("[WinNT-Service]"))
00076 #define PLATFORMID 1                            
00077 #endif 
00078 
00079 #ifdef _WINDOWS
00080 #undef OS
00081 #undef OSFIX
00082 #undef PLATFORMID
00083 #define OS    (("Win32-GUI"))
00084 #define OSFIX (("[Win32-Gui]    "))
00085 #define PLATFORMID 2
00086 #endif
00087 
00088 #ifdef __unix__
00089 #undef OS
00090 #undef OSFIX
00091 #undef PLATFORMID
00092 #define OS    ((ServerScp::g_nDeamonMode==0) ? ("Linux-Console") : ("Linux-Deamon"))
00093 #define OSFIX ((ServerScp::g_nDeamonMode==0) ? ("[GNU/Linux tty]") : ("[GNU/Linux dmn]"))
00094 #define PLATFORMID 4                            
00095 #endif
00096 
00097 #if defined(__OpenBSD__)
00098 #undef OS
00099 #undef OSFIX
00100 #undef PLATFORMID
00101 #define OS    ((ServerScp::g_nDeamonMode==0) ? ("OpenBSD-Console") : ("OpenBSD-Deamon"))
00102 #define OSFIX ((ServerScp::g_nDeamonMode==0) ? ("[OpenBSD tty]  ") : ("[OpenBSD dmn]  "))
00103 #define PLATFORMID 6
00104 #endif
00105 
00106 #if defined(__FreeBSD__)
00107 #undef OS
00108 #undef OSFIX
00109 #undef PLATFORMID
00110 #define OS    ((ServerScp::g_nDeamonMode==0) ? ("FreeBSD-Console") : ("FreeBSD-Deamon"))
00111 #define OSFIX ((ServerScp::g_nDeamonMode==0) ? ("[FreeBSD tty]  ") : ("[FreeBSD dmn]  "))
00112 #define PLATFORMID 7
00113 #endif
00114 
00115 
00116 #ifdef __BEOS__
00117 #undef OS
00118 #undef OSFIX
00119 #undef PLATFORMID
00120 #define OS    "BeOS"
00121 #define OSFIX "[BeOS 5]        "
00122 #define PLATFORMID 5
00123 #endif
00124 
00125 #define PRODUCT (("NoX-Wizard"))
00126 
00127 
00128 #define SUPPORTED_CLIENT "3.0.3a" 
00129 // #define SUPPORTED_CLIENT_T3D "3.0.0 UO:Third Dawn Build 61"
00130 
00131 // SUPPORTED_CLIENT is part of the client version control system.
00132 // this is NOT necassairily the lastest client.
00133 // don't change it unless you are sure that its packets structure is in synch with network.cpp etc.
00134 // until I (LB) don't leave the wolfpack project, I want to be the only(!) one who
00135 // changes that value. thx for your understanding =:)
00136 
00137 // Your timezone
00138 #define TIMEZONE "GMT+1"
00139 // Information about the person who compiled this (Put your info here!)
00140 
00141 #define NAME "Official Dev Team"
00142 
00143 //NOTE: In order to modify this, please ask to the nox-wizard staff. Remember to do not remove any developer from PROGRAMMERS without nox-wizard staff permission
00144 #define PROGRAMMERS "Xanathar, Luxor, Sparhawk, Elcabesa, Araknesh, Anthalir, Endymion, Akron, Riekr, Fax, Frodo, Horian, Stonedz and Wintermute"
00145 
00146 #define EMAIL "staff@noxwizard.com"
00147 
00148 
00149 #endif //__VERSION_H__
SourceForge.net Logo