From 3d6077a47403e9256b3d0a5562f9423ec8805d24 Mon Sep 17 00:00:00 2001 From: James Turk Date: Sun, 2 Feb 2003 23:30:15 +0000 Subject: [PATCH] Fixed documentation in ZEngine. --- include/ZE_ZEngine.h | 6 +++--- src/ZE_ZEngine.cpp | 9 ++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/include/ZE_ZEngine.h b/include/ZE_ZEngine.h index df05016..62391bb 100644 --- a/include/ZE_ZEngine.h +++ b/include/ZE_ZEngine.h @@ -13,7 +13,7 @@ File: ZE_ZEngine.h
Description: Header file for ZEngine class, the core of the ZEngine.
Author(s): James Turk
-$Id: ZE_ZEngine.h,v 1.18 2003/01/27 04:33:34 cozman Exp $
+$Id: ZE_ZEngine.h,v 1.19 2003/02/02 23:30:15 cozman Exp $
\file ZE_ZEngine.h \brief Definition file for core ZEngine class. @@ -128,7 +128,7 @@ class ZEngine /*! \brief Initialize Sound for SDL. - Set sound settings to specified parameters. (called before CreateDisplay) + Set sound settings to specified parameters. (If not called before CreateDisplay rate will default to 22050+mono) \param rate Desired sound bitrate. \param stereo A bool for stereo setting. @@ -140,7 +140,7 @@ class ZEngine \brief Create Display with predefined settings. SetupDisplay and SetupSound should be called prior to this to change settings, settings from those do not go into effect - until this function is called. Specify no icon file to use default icon. Returns result of setting up ZEngine, and logs + until this function is called. Specify no icon file to use default icon for OS. Returns result of setting up ZEngine, and logs error if false is returned (Trys not to fail + returns bool in versions >= 0.8.2). \param title Window Title. diff --git a/src/ZE_ZEngine.cpp b/src/ZE_ZEngine.cpp index 4876018..f122809 100644 --- a/src/ZE_ZEngine.cpp +++ b/src/ZE_ZEngine.cpp @@ -13,7 +13,7 @@ File: ZE_ZEngine.cpp
Description: Implementation source file for ZEngine library main singleton class.
Author(s): James Turk
-$Id: ZE_ZEngine.cpp,v 1.26 2003/01/30 04:02:01 cozman Exp $
+$Id: ZE_ZEngine.cpp,v 1.27 2003/02/02 23:30:15 cozman Exp $
\file ZE_ZEngine.cpp \brief Central source file for ZEngine. @@ -31,9 +31,9 @@ ZEngine *ZEngine::sInstance=NULL; ZEngine::ZEngine() { mInitialized = false; - mWidth = 640; - mHeight = 480; - mBPP = 16; + mWidth = 800; + mHeight = 600; + mBPP = -1; mFullscreen = true; #ifdef USE_SDL_MIXER @@ -193,7 +193,6 @@ bool ZEngine::CreateDisplay(string title, string icon) if(!mInitialized) //only set these settings the first time { //Default window manager settings// - SDL_EnableKeyRepeat(30,30); if(!icon.length()) SDL_WM_SetCaption(title.c_str(),NULL); else