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//
//! 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 USE_SDL_TTF
//! Define to include non-bmp image file support.
@ -42,9 +33,13 @@
//! Define to use the Physfs file system.
//#define USE_PHYSFS
#ifdef USE_SDL_MIXER
//! Maximum message length (for SDL_net). (10kb [10240] default)
#define MAX_MSG_LEN 10240
//! Define a ZByte as a plain char (for SDL_net).
typedef char ZByte;
#endif
#endif //__ze_defines_h__

View File

@ -13,7 +13,7 @@
\brief Definition file for core ZEngine class.
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
**/
@ -45,6 +45,14 @@ class ZEngine
{
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 ZEngine *sInstance;
//! Width of Display

View File

@ -13,7 +13,7 @@
\brief Central source file for 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
**/
@ -22,6 +22,7 @@
namespace ZE
{
const char* ZEngine::VersionStr = "0.8.3";
ZEngine *ZEngine::sInstance=NULL;
ZEngine::ZEngine()
@ -81,7 +82,7 @@ void ZEngine::ReleaseInstance()
string ZEngine::GetVersion()
{
return VERSION_STR;
return VersionStr;
}
void ZEngine::SetupDisplay(int width, int height, int bpp, bool fullscreen)