version info moved

This commit is contained in:
James Turk 2003-06-06 18:55:57 +00:00
parent 50bd7df7b9
commit a9f2fdec57
3 changed files with 16 additions and 12 deletions

View File

@ -22,15 +22,6 @@
//Defines- undefine any of these if you dont have the indicated SDL extension// //Defines- undefine any of these if you dont have the indicated SDL extension//
//! Major version number.
#define VERSION_MAJOR 0
//! Minor version number.
#define VERSION_MINOR 8
//! Version release number.
#define VERSION_RELEASE 3
//! String representation of Version #
#define VERSION_STR "0.8.3"
//! Define to include font support. //! Define to include font support.
#define USE_SDL_TTF #define USE_SDL_TTF
//! Define to include non-bmp image file support. //! Define to include non-bmp image file support.
@ -42,9 +33,13 @@
//! Define to use the Physfs file system. //! Define to use the Physfs file system.
//#define USE_PHYSFS //#define USE_PHYSFS
#ifdef USE_SDL_MIXER
//! Maximum message length (for SDL_net). (10kb [10240] default) //! Maximum message length (for SDL_net). (10kb [10240] default)
#define MAX_MSG_LEN 10240 #define MAX_MSG_LEN 10240
//! Define a ZByte as a plain char (for SDL_net). //! Define a ZByte as a plain char (for SDL_net).
typedef char ZByte; typedef char ZByte;
#endif
#endif //__ze_defines_h__ #endif //__ze_defines_h__

View File

@ -13,7 +13,7 @@
\brief Definition file for core ZEngine class. \brief Definition file for core ZEngine class.
ZEngine Game Engine core Engine definition. ZEngine Game Engine core Engine definition.
<br>$Id: ZE_ZEngine.h,v 1.35 2003/05/13 01:30:51 cozman Exp $<br> <br>$Id: ZE_ZEngine.h,v 1.36 2003/06/06 18:55:58 cozman Exp $<br>
\author James Turk \author James Turk
**/ **/
@ -45,6 +45,14 @@ class ZEngine
{ {
private: private:
//! Major version number.
static const int VersionMajor = 0;
//! Minor version number, changes upon signifigant releases.
static const int VersionMinor = 8;
//! Version release number, changes on every release.
static const int VersionRelease = 3;
//! Version string.
static const char* VersionStr;
//! Static Pointer to Instance of ZEngine for Singleton. //! Static Pointer to Instance of ZEngine for Singleton.
static ZEngine *sInstance; static ZEngine *sInstance;
//! Width of Display //! Width of Display

View File

@ -13,7 +13,7 @@
\brief Central source file for ZEngine. \brief Central source file for ZEngine.
Actual implementation of ZEngine singleton class, the core of ZEngine. Actual implementation of ZEngine singleton class, the core of ZEngine.
<br>$Id: ZE_ZEngine.cpp,v 1.41 2003/06/02 02:16:57 cozman Exp $<br> <br>$Id: ZE_ZEngine.cpp,v 1.42 2003/06/06 18:55:57 cozman Exp $<br>
\author James Turk \author James Turk
**/ **/
@ -22,6 +22,7 @@
namespace ZE namespace ZE
{ {
const char* ZEngine::VersionStr = "0.8.3";
ZEngine *ZEngine::sInstance=NULL; ZEngine *ZEngine::sInstance=NULL;
ZEngine::ZEngine() ZEngine::ZEngine()
@ -81,7 +82,7 @@ void ZEngine::ReleaseInstance()
string ZEngine::GetVersion() string ZEngine::GetVersion()
{ {
return VERSION_STR; return VersionStr;
} }
void ZEngine::SetupDisplay(int width, int height, int bpp, bool fullscreen) void ZEngine::SetupDisplay(int width, int height, int bpp, bool fullscreen)