diff --git a/doc/html/SDLGL__Util_8h-source.html b/doc/html/SDLGL__Util_8h-source.html index 5adda14..93225c4 100755 --- a/doc/html/SDLGL__Util_8h-source.html +++ b/doc/html/SDLGL__Util_8h-source.html @@ -18,7 +18,7 @@ 00010 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord); 00011 00012 #endif //__sdlgl_h__ -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Defines_8h-source.html b/doc/html/ZE__Defines_8h-source.html index a38c80e..fd2d51e 100644 --- a/doc/html/ZE__Defines_8h-source.html +++ b/doc/html/ZE__Defines_8h-source.html @@ -20,15 +20,15 @@ 00025 #define __ze_defines_h__ 00026 00027 //defines- undefine any of these if you dont have the indicated SDL extension// -00029 #define USE_SDL_TTF -00031 #define USE_SDL_IMAGE -00033 #define USE_SDL_MIXER -00035 //#define USE_PHYSFS -00037 #define DEBUG_STREAM -00039 #define VERSION "0.7.6" +00029 #define USE_OPENGL +00031 #define USE_SDL_TTF +00033 #define USE_SDL_IMAGE +00035 #define USE_SDL_MIXER +00037 //#define USE_PHYSFS +00039 #define VERSION "0.8.2" 00040 00041 #endif //__ze_defines_h__ -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Defines_8h.html b/doc/html/ZE__Defines_8h.html index d702cc6..377f092 100644 --- a/doc/html/ZE__Defines_8h.html +++ b/doc/html/ZE__Defines_8h.html @@ -10,7 +10,7 @@
File Header:
File: ZE_Defines.h
Description: Defines header file for ZEngine class, where all #define statements to control compilation options are placed.
Author(s): James Turk
-
Id
ZE_Defines.h,v 1.4 2002/12/29 06:50:19 cozman Exp
+
Id
ZE_Defines.h,v 1.6 2003/01/13 05:48:47 cozman Exp

@@ -22,23 +22,23 @@ Definition file, holds #define statements describing optional features of ZEngin Go to the source code of this file. - + + + - + - + - - +#define 

Defines

-#define USE_SDL_TTF
+#define USE_OPENGL
 Define to include OpenGL support (MUST be defined, may become optional in future).

+#define USE_SDL_TTF
 Define to include font support.

-#define USE_SDL_IMAGE
+#define USE_SDL_IMAGE
 Define to include non-bmp image file support.

-#define USE_SDL_MIXER
+#define USE_SDL_MIXER
 Define to include sound support.

-#define DEBUG_STREAM
 Undefine to disable debug streams for Error Handler.

-#define VERSION   "0.7.6"
VERSION   "0.8.2"
 Version number.

-
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Includes_8h-source.html b/doc/html/ZE__Includes_8h-source.html index 242bd90..e16089c 100644 --- a/doc/html/ZE__Includes_8h-source.html +++ b/doc/html/ZE__Includes_8h-source.html @@ -40,16 +40,17 @@ 00046 00047 #include <string> 00048 #include <vector> -00049 #include <fstream> +00049 #include <queue> 00050 #include <list> -00051 #include <cstdio> -00052 #include <cstdlib> -00053 #include <cstdarg> -00054 #include <cctype> -00055 using namespace std; -00056 -00057 #endif //__ze_includes_h__ -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +00051 #include <fstream> +00052 #include <cstdio> +00053 #include <cstdlib> +00054 #include <cstdarg> +00055 #include <cctype> +00056 using namespace std; +00057 +00058 #endif //__ze_includes_h__ +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Includes_8h.html b/doc/html/ZE__Includes_8h.html index 0f53ed0..bf77b73 100644 --- a/doc/html/ZE__Includes_8h.html +++ b/doc/html/ZE__Includes_8h.html @@ -10,7 +10,7 @@
File Header:
File: ZE_Includes.h
Description: Header file for ZEngine universal includes.
Author(s): James Turk
-
Id
ZE_Includes.h,v 1.4 2002/12/29 06:50:19 cozman Exp
+
Id
ZE_Includes.h,v 1.5 2003/01/13 05:53:47 cozman Exp

@@ -26,8 +26,9 @@ ZE_*.h files should only include this file and any other ZE_*.h files that they #include "SDL_mixer.h"
#include <string>
#include <vector>
-#include <fstream>
+#include <queue>
#include <list>
+#include <fstream>
#include <cstdio>
#include <cstdlib>
#include <cstdarg>
@@ -39,7 +40,7 @@ ZE_*.h files should only include this file and any other ZE_*.h files that they

Namespaces

namespace  std -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Utility_8cpp.html b/doc/html/ZE__Utility_8cpp.html new file mode 100755 index 0000000..d497565 --- /dev/null +++ b/doc/html/ZE__Utility_8cpp.html @@ -0,0 +1,31 @@ + + +ZE_Utility.cpp File Reference + + + +
+Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+

/src/ZE_Utility.cpp File Reference


Detailed Description

+
File Header:
File: ZE_Utility.cpp
+ Description: Implementation source file for ZEngine Utilities.
+ Author(s): James Turk
+
Id
ZE_Utility.cpp,v 1.3 2003/01/16 04:47:35 cozman Exp
+
+
+ +

+Source file containing open utilities for use inside and alongside ZEngine. +

+#include "ZE_Utility.h"
+ + + + +

Namespaces

namespace  ZE
+


Generated on Sat Jan 18 17:14:22 2003 for ZEngine by + +doxygen1.3-rc2
+ + diff --git a/doc/html/ZE__Utility_8h-source.html b/doc/html/ZE__Utility_8h-source.html new file mode 100755 index 0000000..5c02948 --- /dev/null +++ b/doc/html/ZE__Utility_8h-source.html @@ -0,0 +1,55 @@ + + +/include/ZE_Utility.h Source File + + + +
+Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+

/include/ZE_Utility.h

Go to the documentation of this file.
00001 /*******************************************************************************
+00002         This file is Part of the ZEngine Library for 2D game development.
+00003                    Copyright (C) 2002, 2003 James Turk
+00004 
+00005                      Licensed under a BSD-style license.
+00006 
+00007     The maintainer of this library is James Turk (james@conceptofzero.net) 
+00008      and the home of this Library is http://www.zengine.sourceforge.net
+00009 *******************************************************************************/
+00010 
+00025 #ifndef __ze_utility_h__
+00026 #define __ze_utility_h__
+00027 
+00028 #include "ZE_Includes.h"
+00029 
+00030 namespace ZE
+00031 {
+00032 
+00042 string FormatStr(const char *fmtstr, ...);
+00043 
+00045 //Macros//
+00047 
+00051 #define FreeImage(image) if(image){SDL_FreeSurface(image); image = NULL;}
+00052 
+00053 #ifdef USE_SDL_MIXER
+00054 
+00057 #define FreeSound(sound) if(sound){Mix_FreeChunk(sound); sound = NULL;}
+00058 
+00061 #define FreeMusic(music) if(music){Mix_FreeMusic(music); music = NULL;}
+00062 #endif
+00063 
+00064 #ifdef USE_SDL_TTF
+00065 
+00068 #define FreeFont(font) if(font){TTF_CloseFont(font); font = NULL;}
+00069 #endif
+00070 
+00071 
+00072 }
+00073 
+00074 #endif //__ze_utility_h__
+00075 
+

Generated on Sat Jan 18 17:14:22 2003 for ZEngine by + +doxygen1.3-rc2
+ + diff --git a/doc/html/ZE__Utility_8h.html b/doc/html/ZE__Utility_8h.html new file mode 100755 index 0000000..d5c53d0 --- /dev/null +++ b/doc/html/ZE__Utility_8h.html @@ -0,0 +1,147 @@ + + +ZE_Utility.h File Reference + + + +
+Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+

/include/ZE_Utility.h File Reference


Detailed Description

+
File Header:
File: ZE_Utility.h
+ Description: Header file for ZEngine Utilities.
+ Author(s): James Turk
+
Id
ZE_Utility.h,v 1.1 2003/01/15 05:31:51 cozman Exp
+
+
+ +

+Definition file for ZEngine Utilities which are used throughout the engine and can be used in conjunction with ZEngine. +

+#include "ZE_Includes.h"
+ +

+Go to the source code of this file. + + + + + + + + +

Namespaces

namespace  ZE

Defines

#define FreeImage(image)   if(image){SDL_FreeSurface(image); image = NULL;}
#define FreeSound(sound)   if(sound){Mix_FreeChunk(sound); sound = NULL;}
#define FreeMusic(music)   if(music){Mix_FreeMusic(music); music = NULL;}
#define FreeFont(font)   if(font){TTF_CloseFont(font); font = NULL;}
+


Define Documentation

+

+ + + + +
+ + + + + + + +
#define FreeImageimage      if(image){SDL_FreeSurface(image); image = NULL;} +
+
+ + + + + +
+   + + +

+Safely free an SDL_Surface* and set it to NULL.

+

+ + + + +
+ + + + + + + +
#define FreeSoundsound      if(sound){Mix_FreeChunk(sound); sound = NULL;} +
+
+ + + + + +
+   + + +

+Safely free a Mix_Chunk* and set it to NULL.

+

+ + + + +
+ + + + + + + +
#define FreeMusicmusic      if(music){Mix_FreeMusic(music); music = NULL;} +
+
+ + + + + +
+   + + +

+Safely free a Mix_Music* and set it to NULL.

+

+ + + + +
+ + + + + + + +
#define FreeFontfont      if(font){TTF_CloseFont(font); font = NULL;} +
+
+ + + + + +
+   + + +

+Safely free a TTF_Font and set it to NULL.

+


Generated on Sat Jan 18 17:14:22 2003 for ZEngine by + +doxygen1.3-rc2
+ + diff --git a/doc/html/ZE__ZConfigFile_8cpp.html b/doc/html/ZE__ZConfigFile_8cpp.html index d6cc173..c953774 100644 --- a/doc/html/ZE__ZConfigFile_8cpp.html +++ b/doc/html/ZE__ZConfigFile_8cpp.html @@ -10,7 +10,7 @@
File Header:
File: ZE_ZConfigFile.cpp
Description: Implementation source file for ZConfigFile, the ZEngine INI-Style Config File.
Author(s): James Turk
-
Id
ZE_ZConfigFile.cpp,v 1.3 2002/12/29 06:52:07 cozman Exp
+
Id
ZE_ZConfigFile.cpp,v 1.4 2003/01/16 05:45:58 cozman Exp

@@ -23,7 +23,7 @@ Implementation of ZConfigFile, the ZEngine INI-Style Config File.

Namespaces

namespace  ZE -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZConfigFile_8h-source.html b/doc/html/ZE__ZConfigFile_8h-source.html index 6d58297..4830bde 100644 --- a/doc/html/ZE__ZConfigFile_8h-source.html +++ b/doc/html/ZE__ZConfigFile_8h-source.html @@ -49,15 +49,15 @@ 00076 00078 string mFilename; 00079 -00087 string CleanString(string str); +00087 string CleanString(string str) const; 00088 -00096 bool Exists(string sec); +00096 bool Exists(string sec) const; 00097 -00106 bool Exists(string sec, string var); +00106 bool Exists(string sec, string var) const; 00107 00116 void SetVariable(string sec, string var, string val); 00117 -00127 string GetVariable(string sec, string var, string defVal); +00127 string GetVariable(string sec, string var, string defVal) const; 00128 00129 public: 00130 @@ -69,11 +69,11 @@ 00152 00159 void Process(string filename); 00160 -00170 int GetInt(string section, string var, int defVal); +00170 int GetInt(string section, string var, int defVal) const; 00171 -00182 bool GetBool(string section, string var, bool defVal); +00182 bool GetBool(string section, string var, bool defVal) const; 00183 -00193 string GetString(string section, string var, string defVal); +00193 string GetString(string section, string var, string defVal) const; 00194 00204 void SetInt(string section, string var, int val); 00205 @@ -89,7 +89,7 @@ 00243 } 00244 00245 #endif //__ze_zconfigfile_h__ -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZConfigFile_8h.html b/doc/html/ZE__ZConfigFile_8h.html index dca5614..cf9f25e 100644 --- a/doc/html/ZE__ZConfigFile_8h.html +++ b/doc/html/ZE__ZConfigFile_8h.html @@ -10,7 +10,7 @@
File Header:
File: Types/ZE_ZConfigFile.h
Description: Header file for ZEngine INI-Style Config Files.
Author(s): James Turk
-
Id
ZE_ZConfigFile.h,v 1.5 2002/12/29 06:50:19 cozman Exp
+
Id
ZE_ZConfigFile.h,v 1.6 2003/01/16 05:46:39 cozman Exp

@@ -25,7 +25,7 @@ Definition file for ZConfigFile, an INI-style Config format.

Namespaces

namespace  ZE -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZEngine_8cpp.html b/doc/html/ZE__ZEngine_8cpp.html index 4528d42..5ffa94a 100644 --- a/doc/html/ZE__ZEngine_8cpp.html +++ b/doc/html/ZE__ZEngine_8cpp.html @@ -10,12 +10,12 @@
File Header:
File: ZE_ZEngine.cpp
Description: Implementation source file for ZEngine library main singleton class.
Author(s): James Turk
-
Id
ZE_ZEngine.cpp,v 1.9 2002/12/29 06:52:07 cozman Exp
+
Id
ZE_ZEngine.cpp,v 1.16 2003/01/18 21:53:14 cozman Exp

-Actual implementation of ZEngine singleton class at heart of ZEngine. +Actual implementation of ZEngine singleton class, the core of ZEngine.

#include "ZE_ZEngine.h"
@@ -23,7 +23,7 @@ Actual implementation of ZEngine singleton class at heart of ZEngine.

Namespaces

namespace  ZE
-


Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZEngine_8h-source.html b/doc/html/ZE__ZEngine_8h-source.html index c0cb759..842237a 100644 --- a/doc/html/ZE__ZEngine_8h-source.html +++ b/doc/html/ZE__ZEngine_8h-source.html @@ -19,10 +19,10 @@ 00024 #ifndef __ze_zengine_h__ 00025 #define __ze_zengine_h__ 00026 -00027 #include "ZE_Error.h" -00028 #include "ZE_Defines.h" -00029 #include "ZE_Macros.h" -00030 #include "ZE_Includes.h" +00027 #include "ZE_Defines.h" +00028 #include "ZE_Utility.h" +00029 #include "ZE_Includes.h" +00030 #include "ZE_ZError.h" 00031 00037 namespace ZE 00038 { @@ -69,137 +69,165 @@ 00134 void SetupSound(int rate, bool stereo); 00135 #endif 00136 -00146 void CreateDisplay(string title, string icon=""); -00147 -00153 void CloseDisplay(); -00154 -00156 //Screen Access// -00158 -00159 private: -00161 SDL_Surface *mScreen; -00162 -00163 public: -00170 SDL_Surface *Display(); -00171 -00177 void Update(); -00178 -00188 void Clear(float red=0.0f, float green=0.0f, float blue=0.0f, float alpha=1.0f); -00189 -00191 //OpenGL Specific Functions// -00193 public: -00194 -00201 void SetGL2D(); -00202 -00204 //Timer and Framerate Independent Movement// -00206 -00207 private: -00209 bool mPaused; -00211 bool mUnpauseOnActive; -00213 Uint32 mLastPause; -00215 Uint32 mPausedTime; -00217 Uint32 mLastTime; -00219 double mSecPerFrame; -00220 -00221 public: -00228 void Delay(Uint32 milliseconds); -00229 -00236 Uint32 GetTime(); -00237 -00243 void PauseTimer(); +00148 bool CreateDisplay(string title, string icon=""); +00149 +00155 void CloseDisplay(); +00156 +00158 //Screen Access// +00160 +00161 private: +00163 SDL_Surface *mScreen; +00164 +00165 public: +00172 SDL_Surface *Display(); +00173 +00180 void Update(); +00181 +00191 void Clear(float red=0.0f, float green=0.0f, float blue=0.0f, float alpha=1.0f); +00192 +00194 //OpenGL Specific Functions// +00196 public: +00197 +00204 void SetGL2D(); +00205 +00207 //Timer and Framerate Independent Movement// +00209 +00210 private: +00212 bool mPaused; +00214 bool mUnpauseOnActive; +00216 Uint8 mDesiredFramerate; +00218 Uint32 mNextUpdate; +00220 Uint32 mLastPause; +00222 Uint32 mPausedTime; +00224 Uint32 mLastTime; +00226 double mSecPerFrame; +00227 +00228 public: +00235 void Delay(Uint32 milliseconds); +00236 +00243 Uint32 GetTime(); 00244 -00250 void UnpauseTimer(); +00250 void PauseTimer(); 00251 -00258 double GetFrameTime(); -00259 -00266 bool IsPaused(); -00267 -00269 //Event and Input Handling// -00271 private: -00273 bool mNeedReload; -00275 bool mActive; -00277 bool mQuit; -00279 Uint8 *mKeyIsPressed; -00281 bool mKeyPress[SDLK_LAST]; -00283 int mMouseX; -00285 int mMouseY; -00287 Uint8 mMouseB; -00288 -00289 public: -00296 bool IsActive(); -00297 -00304 void RequestQuit(); -00305 -00313 bool QuitRequested(); -00314 -00319 void SetReloadNeed(bool state); -00320 -00328 bool ImagesNeedReload(); -00329 -00339 void SetKeyRepeatRate(int rate); -00340 -00348 bool KeyIsPressed(SDLKey key); -00349 -00357 bool KeyPress(SDLKey key); -00358 -00364 void HideCursor(); -00365 -00371 void ShowCursor(); -00372 -00379 int MouseX(); -00380 -00387 int MouseY(); -00388 -00395 bool LButtonPressed(); -00396 -00403 bool RButtonPressed(); -00404 -00412 bool MouseInRect(SDL_Rect *rect); -00413 -00419 void CheckEvents(); -00420 -00421 #ifdef USE_PHYSFS -00422 -00423 //Physfs Utilities// -00425 public: -00432 void InitPhysFS(string argv); -00433 -00440 void AddPhysFSDir(string dir); -00441 -00442 #endif //USE_PHYSFS -00443 -00444 -00446 //Data Loading + Unloading// -00448 public: -00456 SDL_Surface* LoadImage(string filename); -00457 -00458 #ifdef USE_SDL_MIXER -00459 -00466 Mix_Chunk* LoadSound(string filename); -00467 -00475 Mix_Music* LoadMusic(string filename); -00476 #endif -00477 -00478 #ifdef USE_SDL_TTF +00257 void UnpauseTimer(); +00258 +00265 double GetFrameTime(); +00266 +00274 double GetFramerate(); +00275 +00285 void SetDesiredFramerate(Uint8 rate); +00286 +00294 Uint8 GetDesiredFramerate(); +00295 +00302 bool IsPaused(); +00303 +00305 //Event and Input Handling// +00307 private: +00309 bool mNeedReload; +00311 bool mActive; +00313 bool mQuit; +00315 Uint8 *mKeyIsPressed; +00317 bool mKeyPress[SDLK_LAST]; +00319 int mMouseX; +00321 int mMouseY; +00323 Uint8 mMouseB; +00324 +00325 public: +00332 bool IsActive(); +00333 +00340 void RequestQuit(); +00341 +00349 bool QuitRequested(); +00350 +00355 void SetReloadNeed(bool state); +00356 +00364 bool ImagesNeedReload(); +00365 +00375 void SetKeyRepeatRate(int rate); +00376 +00384 bool KeyIsPressed(SDLKey key); +00385 +00393 bool KeyPress(SDLKey key); +00394 +00400 void HideCursor(); +00401 +00407 void ShowCursor(); +00408 +00415 int MouseX(); +00416 +00423 int MouseY(); +00424 +00431 bool LButtonPressed(); +00432 +00439 bool RButtonPressed(); +00440 +00448 bool MouseInRect(SDL_Rect *rect); +00449 +00455 void CheckEvents(); +00456 +00457 #ifdef USE_PHYSFS +00458 +00459 //Physfs Utilities// +00461 public: +00468 void InitPhysFS(string argv); +00469 +00476 void AddPhysFSDir(string dir); +00477 +00478 #endif //USE_PHYSFS 00479 -00487 TTF_Font* LoadFont(string filename, int size); -00488 #endif -00489 -00491 //Accessors// -00493 -00494 public: -00501 int Width(); -00502 -00509 int Height(); -00510 -00517 int BPP(); -00518 -00525 bool IsFullscreen(); -00526 }; -00527 -00528 } -00529 -00530 #endif //__ze_zengine_h__ -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +00481 //Error Logging// +00483 private: +00485 queue<ZError> mErrorQueue; +00487 ZError mCurError; +00489 bool mLogAllErrors; +00491 FILE *mErrlog; +00492 +00500 void LogError(ZError error); +00501 +00502 public: +00513 void SetErrorLog(bool logAll, string logFile=""); +00514 +00525 void ReportError(ZErrorCode code, string desc="", string file="", unsigned int line=0); +00526 +00534 ZErrorCode GetLastError(); +00535 +00543 void WriteLog(string str); +00544 +00551 void FlushErrors(); +00552 +00553 +00555 //Data Loading + Unloading// +00557 public: +00565 SDL_Surface* LoadImage(string filename); +00566 +00567 #ifdef USE_SDL_MIXER +00568 +00575 Mix_Chunk* LoadSound(string filename); +00576 +00584 Mix_Music* LoadMusic(string filename); +00585 #endif +00586 +00587 #ifdef USE_SDL_TTF +00588 +00596 TTF_Font* LoadFont(string filename, int size); +00597 #endif +00598 +00600 //Accessors// +00602 +00603 public: +00610 int Width(); +00611 +00618 int Height(); +00619 +00626 int BPP(); +00627 +00634 bool IsFullscreen(); +00635 }; +00636 +00637 } +00638 +00639 #endif //__ze_zengine_h__ +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZEngine_8h.html b/doc/html/ZE__ZEngine_8h.html index fa41c8c..03e48fa 100644 --- a/doc/html/ZE__ZEngine_8h.html +++ b/doc/html/ZE__ZEngine_8h.html @@ -10,17 +10,17 @@
File Header:
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.8 2002/12/29 06:50:19 cozman Exp
+
Id
ZE_ZEngine.h,v 1.12 2003/01/15 05:51:18 cozman Exp

ZEngine Game Engine core Engine definition.

-#include "ZE_Error.h"
#include "ZE_Defines.h"
-#include "ZE_Macros.h"
+#include "ZE_Utility.h"
#include "ZE_Includes.h"
+#include "ZE_ZError.h"

Go to the source code of this file. @@ -28,7 +28,7 @@ ZEngine Game Engine core Engine definition.

Namespaces

namespace  ZE
-


Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZError_8cpp.html b/doc/html/ZE__ZError_8cpp.html new file mode 100755 index 0000000..19ac280 --- /dev/null +++ b/doc/html/ZE__ZError_8cpp.html @@ -0,0 +1,31 @@ + + +ZE_ZError.cpp File Reference + + + +
+Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+

/src/ZE_ZError.cpp File Reference


Detailed Description

+
File Header:
File: ZE_ZError.cpp
+ Description: Implementation source file for core ZEngine Error Object.
+ Author(s): James Turk
+
Id
ZE_ZError.cpp,v 1.2 2003/01/16 05:45:58 cozman Exp
+
+
+ +

+Implementation of ZError, the ZEngine internal error information storage class. +

+#include "ZE_ZError.h"
+ + + + +

Namespaces

namespace  ZE
+


Generated on Sat Jan 18 17:14:22 2003 for ZEngine by + +doxygen1.3-rc2
+ + diff --git a/doc/html/ZE__ZError_8h-source.html b/doc/html/ZE__ZError_8h-source.html new file mode 100755 index 0000000..5c48f0d --- /dev/null +++ b/doc/html/ZE__ZError_8h-source.html @@ -0,0 +1,78 @@ + + +/include/ZE_ZError.h Source File + + + +
+Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+

/include/ZE_ZError.h

Go to the documentation of this file.
00001 /*******************************************************************************
+00002         This file is Part of the ZEngine Library for 2D game development.
+00003                    Copyright (C) 2002, 2003 James Turk
+00004 
+00005                      Licensed under a BSD-style license.
+00006 
+00007     The maintainer of this library is James Turk (james@conceptofzero.net) 
+00008      and the home of this Library is http://www.zengine.sourceforge.net
+00009 *******************************************************************************/
+00010 
+00025 #ifndef __ze_zerror_h__
+00026 #define __ze_zerror_h__
+00027 
+00028 #include "ZE_Utility.h"
+00029 #include <string>
+00030 using namespace std;
+00031 
+00032 namespace ZE
+00033 {
+00034 
+00036 
+00040 enum ZErrorCode 
+00041 {
+00042     ZERR_NONE,          
+00043     ZERR_SDL_INTERNAL,  
+00044     ZERR_SDL_INIT,      
+00045     ZERR_MIX_INIT,      
+00046     ZERR_TTF_INIT,      
+00047     ZERR_VIDMODE,       
+00048     ZERR_LOAD_IMAGE,    
+00049     ZERR_LOAD_SOUND,    
+00050     ZERR_LOAD_MUSIC,    
+00051     ZERR_LOAD_FONT,     
+00052     ZERR_NOIMAGE,       
+00053     ZERR_NOSOUND,       
+00054     ZERR_NOMUSIC,       
+00055     ZERR_NOFONT,        
+00056     ZERR_LAST           
+00057 };
+00058 
+00065 class ZError
+00066 {
+00067     protected:
+00069         static string sErrorDesc[ZERR_LAST];
+00071         ZErrorCode rCode;
+00073         string rDescription;
+00075         string rFilename;
+00077         unsigned int rLine;
+00078 
+00079     public:
+00089         ZError(ZErrorCode code=ZERR_NONE, string desc="", string file="", int line=0);
+00090 
+00100         void Create(ZErrorCode code, string desc="", string file="", int line=0);
+00101 
+00103         //Accessors//
+00105 
+00112         ZErrorCode Code() const;
+00113 
+00119         string LogString() const;
+00120 };
+00121 
+00122 }
+00123 
+00124 #endif //__ze_zerror_h__
+

Generated on Sat Jan 18 17:14:22 2003 for ZEngine by + +doxygen1.3-rc2
+ + diff --git a/doc/html/ZE__ZError_8h.html b/doc/html/ZE__ZError_8h.html new file mode 100755 index 0000000..816e262 --- /dev/null +++ b/doc/html/ZE__ZError_8h.html @@ -0,0 +1,34 @@ + + +ZE_ZError.h File Reference + + + +
+Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+

/include/ZE_ZError.h File Reference


Detailed Description

+
File Header:
File: ZE_ZError.h
+ Description: Header file for ZEngine Error Object.
+ Author(s): James Turk
+
Id
ZE_ZError.h,v 1.4 2003/01/16 05:46:39 cozman Exp
+
+
+ +

+Definition file for ZError, the Error logging class for ZEngine. This class should never be used by the average user, it is used by ZEngine to store information on an error. +

+#include "ZE_Utility.h"
+#include <string>
+ +

+Go to the source code of this file. + + + +

Namespaces

namespace  ZE
+


Generated on Sat Jan 18 17:14:22 2003 for ZEngine by + +doxygen1.3-rc2
+ + diff --git a/doc/html/ZE__ZFont_8cpp.html b/doc/html/ZE__ZFont_8cpp.html index 05bb5a8..6f6ecf7 100644 --- a/doc/html/ZE__ZFont_8cpp.html +++ b/doc/html/ZE__ZFont_8cpp.html @@ -10,7 +10,7 @@
File Header:
File: ZE_ZFont.cpp
Description: Implementation source file for core ZEngine Font Object.
Author(s): James Turk
-
Id
ZE_ZFont.cpp,v 1.3 2002/12/29 06:52:07 cozman Exp
+
Id
ZE_ZFont.cpp,v 1.5 2003/01/16 05:45:58 cozman Exp

@@ -21,7 +21,7 @@ Implementation of ZFont, the basic Font class for ZEngine.
-
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZFont_8h-source.html b/doc/html/ZE__ZFont_8h-source.html index 9bea6f6..effa638 100644 --- a/doc/html/ZE__ZFont_8h-source.html +++ b/doc/html/ZE__ZFont_8h-source.html @@ -51,9 +51,9 @@ 00096 00098 //Settings and Drawing// 00100 -00108 void DrawText(string text, ZImage &image); +00108 void DrawText(string text, ZImage &image) const; 00109 -00117 void DrawShadedText(string text, ZImage &image); +00117 void DrawShadedText(string text, ZImage &image) const; 00118 00127 void SetColor(Uint8 r, Uint8 g, Uint8 b); 00128 @@ -65,21 +65,21 @@ 00156 00158 //Accessors// 00160 -00167 bool IsLoaded(); +00167 bool IsLoaded() const; 00168 -00175 bool IsBold(); +00175 bool IsBold() const; 00176 -00183 bool IsItalic(); +00183 bool IsItalic() const; 00184 -00191 bool IsUnderlined(); +00191 bool IsUnderlined() const; 00192 -00199 int Height(); +00199 int Height() const; 00200 -00207 int LineSkip(); +00207 int LineSkip() const; 00208 -00216 int StringWidth(string text); +00216 int StringWidth(string text) const; 00217 -00225 int StringHeight(string text); +00225 int StringHeight(string text) const; 00226 }; 00227 00228 } @@ -87,7 +87,7 @@ 00230 #endif //USE_SDL_TTF 00231 00232 #endif //__ze_zfont_h__ -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZFont_8h.html b/doc/html/ZE__ZFont_8h.html index 30fbc02..73fa911 100644 --- a/doc/html/ZE__ZFont_8h.html +++ b/doc/html/ZE__ZFont_8h.html @@ -10,7 +10,7 @@
File Header:
File: ZE_ZFont.h
Description: Header file for core ZEngine Font Object.
Author(s): James Turk
-
Id
ZE_ZFont.h,v 1.3 2002/12/29 06:50:19 cozman Exp
+
Id
ZE_ZFont.h,v 1.4 2003/01/16 05:46:39 cozman Exp

@@ -26,7 +26,7 @@ Definition file for ZFont, the basic Font class for ZEngine.

Namespaces

namespace  ZE -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZImage_8cpp.html b/doc/html/ZE__ZImage_8cpp.html index a67dbaa..d461bbc 100644 --- a/doc/html/ZE__ZImage_8cpp.html +++ b/doc/html/ZE__ZImage_8cpp.html @@ -10,7 +10,7 @@
File Header:
File: ZE_ZImage.cpp
Description: Implementation source file for core ZEngine Image or Texture Object.
Author(s): James Turk, Gamer Tazar
-
Id
ZE_ZImage.cpp,v 1.11 2002/12/29 07:09:44 cozman Exp
+
Id
ZE_ZImage.cpp,v 1.15 2003/01/16 05:45:58 cozman Exp

@@ -23,7 +23,7 @@ Implementation of ZImage, the Image class for ZEngine.

Namespaces

namespace  ZE -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZImage_8h-source.html b/doc/html/ZE__ZImage_8h-source.html index bb51221..190886d 100644 --- a/doc/html/ZE__ZImage_8h-source.html +++ b/doc/html/ZE__ZImage_8h-source.html @@ -40,57 +40,59 @@ 00058 00064 ZImage(); 00065 -00072 ZImage(string filename); +00072 ZImage::ZImage(const ZImage &rhs); 00073 -00080 ZImage(SDL_Surface *surface); +00080 ZImage(string filename); 00081 -00093 ZImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h); -00094 -00100 ~ZImage(); -00101 -00103 //Opening and Closing// -00105 -00112 void Open(string filename); -00113 -00125 void OpenFromImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h); -00126 -00133 void Attach(SDL_Surface *surface); +00088 ZImage(SDL_Surface *surface); +00089 +00101 ZImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h); +00102 +00108 ~ZImage(); +00109 +00111 //Opening and Closing// +00113 +00120 void Open(string filename); +00121 +00133 void OpenFromImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h); 00134 -00140 void Reload(); -00141 -00147 void Release(); -00148 -00150 //Graphics// -00152 -00161 void SetColorKey(Uint8 red, Uint8 green, Uint8 blue); -00162 -00170 void Flip(bool horizontal, bool vertical); -00171 -00179 void Stretch(float xFactor, float yFactor); -00180 -00188 void Resize(unsigned int width, unsigned int height); -00189 -00196 void Bind(); +00141 void Attach(SDL_Surface *surface); +00142 +00148 void Reload(); +00149 +00155 void Release(); +00156 +00158 //Graphics// +00160 +00169 void SetColorKey(Uint8 red, Uint8 green, Uint8 blue); +00170 +00178 void Flip(bool horizontal, bool vertical); +00179 +00187 void Stretch(float xFactor, float yFactor); +00188 +00196 void Resize(unsigned int width, unsigned int height); 00197 -00205 void Draw(float x, float y); -00206 -00215 void DrawRotated(int x, int y, float angle); -00216 -00218 //Accessors// -00220 -00227 bool IsLoaded(); -00228 -00234 SDL_Surface *Surface(); -00235 -00242 int Width(); +00204 void Bind() const; +00205 +00213 void Draw(float x, float y) const; +00214 +00223 void DrawRotated(int x, int y, float angle) const; +00224 +00226 //Accessors// +00228 +00235 bool IsLoaded() const; +00236 +00242 SDL_Surface *Surface() const; 00243 -00250 int Height(); -00251 }; -00252 -00253 } -00254 -00255 #endif -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +00250 int Width() const; +00251 +00258 int Height() const; +00259 }; +00260 +00261 } +00262 +00263 #endif +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZImage_8h.html b/doc/html/ZE__ZImage_8h.html index 14a8ba1..d3fecd9 100644 --- a/doc/html/ZE__ZImage_8h.html +++ b/doc/html/ZE__ZImage_8h.html @@ -10,7 +10,7 @@
File Header:
File: ZE_ZImage.h
Description: Header file for core ZEngine Image and Texture Object.
Author(s): James Turk, Gamer Tazar
-
Id
ZE_ZImage.h,v 1.7 2002/12/29 07:22:02 cozman Exp
+
Id
ZE_ZImage.h,v 1.8 2003/01/16 05:46:39 cozman Exp

@@ -25,7 +25,7 @@ Definition file for ZImage, the OpenGL version of the ZImage class for ZEngine.

Namespaces

namespace  ZE -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZMusic_8cpp.html b/doc/html/ZE__ZMusic_8cpp.html index f3a1c5b..9bcffbb 100644 --- a/doc/html/ZE__ZMusic_8cpp.html +++ b/doc/html/ZE__ZMusic_8cpp.html @@ -10,7 +10,7 @@
File Header:
File: ZE_ZMusic.cpp
Description: Implementation source file for core ZEngine Music Object.
Author(s): James Turk
-
Id
ZE_ZMusic.cpp,v 1.3 2002/12/29 06:52:07 cozman Exp
+
Id
ZE_ZMusic.cpp,v 1.5 2003/01/16 05:45:58 cozman Exp

@@ -21,7 +21,7 @@ Implementation of ZMusic, the basic Music class for ZEngine.
-
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZMusic_8h-source.html b/doc/html/ZE__ZMusic_8h-source.html index 7fd73b5..b3e0e7d 100644 --- a/doc/html/ZE__ZMusic_8h-source.html +++ b/doc/html/ZE__ZMusic_8h-source.html @@ -48,27 +48,27 @@ 00089 00091 //Play Controls// 00093 -00102 void Play(int loopNum=0, int fadeTime=0); +00102 void Play(int loopNum=0, int fadeTime=0) const; 00103 -00109 void Pause(); +00109 void Pause() const; 00110 -00116 void Unpause(); +00116 void Unpause() const; 00117 -00123 void Rewind(); +00123 void Rewind() const; 00124 -00131 void Stop(int fadeTime=0); +00131 void Stop(int fadeTime=0) const; 00132 00139 void SetVolume(int volume); 00140 00142 //Accessors// 00144 -00151 bool IsLoaded(); +00151 bool IsLoaded() const; 00152 -00159 bool IsPlaying(); +00159 bool IsPlaying() const; 00160 -00167 bool IsPaused(); +00167 bool IsPaused() const; 00168 -00175 int Volume(); +00175 int Volume() const; 00176 }; 00177 00178 @@ -77,7 +77,7 @@ 00181 #endif //USE_SDL_MIXER 00182 00183 #endif //__ze_zmusic_h__ -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZMusic_8h.html b/doc/html/ZE__ZMusic_8h.html index c2129fe..5243e83 100644 --- a/doc/html/ZE__ZMusic_8h.html +++ b/doc/html/ZE__ZMusic_8h.html @@ -10,7 +10,7 @@
File Header:
File: ZE_ZMusic.h
Description: Header file for core ZEngine Music Wrapper Object.
Author(s): James Turk
-
Id
ZE_ZMusic.h,v 1.3 2002/12/29 06:50:19 cozman Exp
+
Id
ZE_ZMusic.h,v 1.4 2003/01/16 05:46:39 cozman Exp

@@ -25,7 +25,7 @@ Definition file for ZMusic, the Music file wrapper for ZEngine.

Namespaces

namespace  ZE -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZObject_8h-source.html b/doc/html/ZE__ZObject_8h-source.html index 3830949..028a7ae 100644 --- a/doc/html/ZE__ZObject_8h-source.html +++ b/doc/html/ZE__ZObject_8h-source.html @@ -35,7 +35,7 @@ 00056 } 00057 00058 #endif //__ze_zobject_h__ -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZObject_8h.html b/doc/html/ZE__ZObject_8h.html index 393abe4..d86cb9c 100644 --- a/doc/html/ZE__ZObject_8h.html +++ b/doc/html/ZE__ZObject_8h.html @@ -25,7 +25,7 @@ Definition file for ZObject the Virtual Base Class for majority of the ZEngine O

Namespaces

namespace  ZE -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZRect_8cpp.html b/doc/html/ZE__ZRect_8cpp.html index 6b3507a..4b63ebb 100644 --- a/doc/html/ZE__ZRect_8cpp.html +++ b/doc/html/ZE__ZRect_8cpp.html @@ -10,7 +10,7 @@
File Header:
File: ZE_ZRect.cpp
Description: Implementation source file for core ZEngine Rectangle Object.
Author(s): James Turk
-
Id
ZE_ZRect.cpp,v 1.4 2002/12/29 06:52:07 cozman Exp
+
Id
ZE_ZRect.cpp,v 1.7 2003/01/16 05:45:58 cozman Exp

@@ -23,7 +23,7 @@ Implementation of ZRect, the Rectangle class for ZEngine.

Namespaces

namespace  ZE -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZRect_8h-source.html b/doc/html/ZE__ZRect_8h-source.html index 347817f..e817d09 100644 --- a/doc/html/ZE__ZRect_8h-source.html +++ b/doc/html/ZE__ZRect_8h-source.html @@ -44,7 +44,7 @@ 00085 00094 bool operator<(const ZRect &rhs) const; 00095 -00105 void Draw(Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha=255); +00105 void Draw(Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha=255) const; 00106 00114 void Move(float x, float y); 00115 @@ -84,7 +84,7 @@ 00253 } //namspace ZE 00254 00255 #endif //__ze_zrect_h__ -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZRect_8h.html b/doc/html/ZE__ZRect_8h.html index 09cad7f..b2620a0 100644 --- a/doc/html/ZE__ZRect_8h.html +++ b/doc/html/ZE__ZRect_8h.html @@ -10,7 +10,7 @@
File Header:
File: ZE_ZRect.h
Description: Header file for core ZEngine Rectangle Object.
Author(s): James Turk
-
Id
ZE_ZRect.h,v 1.4 2002/12/29 06:50:19 cozman Exp
+
Id
ZE_ZRect.h,v 1.5 2003/01/16 05:46:39 cozman Exp

@@ -25,7 +25,7 @@ Definition file for ZRect, the Rectangle class for ZEngine.

Namespaces

namespace  ZE -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZSound_8cpp.html b/doc/html/ZE__ZSound_8cpp.html index a25c705..c90579f 100644 --- a/doc/html/ZE__ZSound_8cpp.html +++ b/doc/html/ZE__ZSound_8cpp.html @@ -10,7 +10,7 @@
File Header:
File: ZE_ZSound.cpp
Description: Implementation source file for core ZEngine Sound Object.
Author(s): James Turk
-
Id
ZE_ZSound.cpp,v 1.3 2002/12/29 06:52:07 cozman Exp
+
Id
ZE_ZSound.cpp,v 1.5 2003/01/16 05:45:58 cozman Exp

@@ -21,7 +21,7 @@ Implementation of ZSound, the basic Sound class for ZEngine.
-
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZSound_8h-source.html b/doc/html/ZE__ZSound_8h-source.html index 8bd8aaf..4301f3b 100644 --- a/doc/html/ZE__ZSound_8h-source.html +++ b/doc/html/ZE__ZSound_8h-source.html @@ -51,23 +51,23 @@ 00095 00104 void Play(int loopNum=0, int fadeTime=0); 00105 -00111 void Pause(); +00111 void Pause() const; 00112 -00118 void Unpause(); +00118 void Unpause() const; 00119 -00126 void Stop(int fadeTime=0); +00126 void Stop(int fadeTime=0) const; 00127 00134 void SetVolume(int volume); 00135 00137 //Accessors// 00139 -00146 bool IsLoaded(); +00146 bool IsLoaded() const; 00147 -00154 bool IsPlaying(); +00154 bool IsPlaying() const; 00155 -00162 bool IsPaused(); +00162 bool IsPaused() const; 00163 -00170 int Volume(); +00170 int Volume() const; 00171 }; 00172 00173 @@ -76,7 +76,7 @@ 00176 #endif //USE_SDL_MIXER 00177 00178 #endif //__ze_zsound_h__ -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZSound_8h.html b/doc/html/ZE__ZSound_8h.html index 07160ce..de0e246 100644 --- a/doc/html/ZE__ZSound_8h.html +++ b/doc/html/ZE__ZSound_8h.html @@ -10,7 +10,7 @@
File Header:
File: ZE_ZSound.h
Description: Header file for core ZEngine Sound Wrapper Object.
Author(s): James Turk
-
Id
ZE_ZSound.h,v 1.3 2002/12/29 06:50:19 cozman Exp
+
Id
ZE_ZSound.h,v 1.4 2003/01/16 05:46:39 cozman Exp

@@ -25,7 +25,7 @@ Definition file for ZSound, the Sound Effect wrapper for ZEngine.

Namespaces

namespace  ZE -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZTimer_8cpp.html b/doc/html/ZE__ZTimer_8cpp.html index 6b97ef1..95ea7fb 100644 --- a/doc/html/ZE__ZTimer_8cpp.html +++ b/doc/html/ZE__ZTimer_8cpp.html @@ -10,7 +10,7 @@
File Header:
File: ZE_ZTimer.cpp
Description: Implementation source file for core ZEngine Timer Object.
Author(s): James Turk
-
Id
ZE_ZTimer.cpp,v 1.3 2002/12/29 06:52:07 cozman Exp
+
Id
ZE_ZTimer.cpp,v 1.4 2003/01/16 05:45:58 cozman Exp

@@ -23,7 +23,7 @@ Implementation of ZTimer, the basic Timer class for ZEngine.

Namespaces

namespace  ZE -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZTimer_8h-source.html b/doc/html/ZE__ZTimer_8h-source.html index 9aa8446..b85900a 100644 --- a/doc/html/ZE__ZTimer_8h-source.html +++ b/doc/html/ZE__ZTimer_8h-source.html @@ -32,7 +32,7 @@ 00045 Uint32 rPausedTime; 00047 Uint32 rLastPause; 00048 -00055 Uint32 GetParentTime(); +00055 Uint32 GetParentTime() const; 00056 00057 public: 00058 @@ -44,15 +44,15 @@ 00080 00086 void Unpause(); 00087 -00094 Uint32 GetTime(); +00094 Uint32 GetTime() const; 00095 -00102 bool IsPaused(); +00102 bool IsPaused() const; 00103 }; 00104 00105 } 00106 00107 #endif //__ze_ztimer_h__ -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZTimer_8h.html b/doc/html/ZE__ZTimer_8h.html index 5a72b1b..b3036ab 100644 --- a/doc/html/ZE__ZTimer_8h.html +++ b/doc/html/ZE__ZTimer_8h.html @@ -10,7 +10,7 @@
File Header:
File: ZE_ZTimer.h
Description: Header file for core ZEngine Timer Object.
Author(s): James Turk
-
Id
ZE_ZTimer.h,v 1.3 2002/12/29 06:50:19 cozman Exp
+
Id
ZE_ZTimer.h,v 1.4 2003/01/16 05:46:39 cozman Exp

@@ -25,7 +25,7 @@ Definition file for ZTimer, the Timer class for ZEngine.

Namespaces

namespace  ZE -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZEngine_8h-source.html b/doc/html/ZEngine_8h-source.html index 97079a6..c9e5dd7 100644 --- a/doc/html/ZEngine_8h-source.html +++ b/doc/html/ZEngine_8h-source.html @@ -7,25 +7,25 @@
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZEngine.h

Go to the documentation of this file.
00001 
-00052 #ifndef __zengine_h__
-00053 #define __zengine_h__
-00054 
-00055 #include "ZE_ZEngine.h"
-00056 #include "ZE_Macros.h"
-00057 #include "ZE_ZImage.h"
-00058 #include "ZE_ZTimer.h"
-00059 #include "ZE_ZConfigFile.h"
-00060 #include "ZE_ZRect.h"
-00061 #ifdef USE_SDL_TTF
-00062 #include "ZE_ZFont.h"
-00063 #endif
-00064 #ifdef USE_SDL_MIXER
-00065 #include "ZE_ZSound.h"
-00066 #include "ZE_ZMusic.h"
-00067 #endif
-00068 
-00069 #endif //__zengine_h__
-

Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +00053 #ifndef __zengine_h__ +00054 #define __zengine_h__ +00055 +00056 #include "ZE_ZEngine.h" +00057 #include "ZE_Utility.h" +00058 #include "ZE_ZImage.h" +00059 #include "ZE_ZTimer.h" +00060 #include "ZE_ZConfigFile.h" +00061 #include "ZE_ZRect.h" +00062 #ifdef USE_SDL_TTF +00063 #include "ZE_ZFont.h" +00064 #endif +00065 #ifdef USE_SDL_MIXER +00066 #include "ZE_ZSound.h" +00067 #include "ZE_ZMusic.h" +00068 #endif +00069 +00070 #endif //__zengine_h__ +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZEngine_8h.html b/doc/html/ZEngine_8h.html index 911d401..3444feb 100644 --- a/doc/html/ZEngine_8h.html +++ b/doc/html/ZEngine_8h.html @@ -10,7 +10,7 @@
File Header:
File: ZEngine.h
Description: Public Header File for ZEngine.
Author(s): James Turk
-
Id
ZEngine.h,v 1.16 2003/01/03 03:48:01 cozman Exp
+
Id
ZEngine.h,v 1.20 2003/01/18 22:00:52 cozman Exp

@@ -18,7 +18,7 @@ Header file for ZEngine Game Engine from Concept of Zero, this is the file that programs that wish to utilize ZEngine should include.

#include "ZE_ZEngine.h"
-#include "ZE_Macros.h"
+#include "ZE_Utility.h"
#include "ZE_ZImage.h"
#include "ZE_ZTimer.h"
#include "ZE_ZConfigFile.h"
@@ -31,7 +31,7 @@ Header file for ZEngine Game Engine from Concept of Zero, this is the file that Go to the source code of this file.
-


Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/annotated.html b/doc/html/annotated.html index ddc8502..a09c44f 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -11,6 +11,7 @@ ZE::ZConfigFile::ZCF_SectionZConfigFile Section class ZE::ZConfigFile::ZCF_VariableZConfigFile Variable class ZE::ZEngineMain ZEngine Singleton Class + ZE::ZErrorZError class for describing errors ZE::ZFontZFont class for basic Font use ZE::ZImageZImage class for basic Image use ZE::ZMusicZMusic class for playing full length music (eg. ogg or wav) @@ -19,7 +20,7 @@ ZE::ZSoundZSound class for playing sound effects. (WAV) ZE::ZTimerZTimer class for Timer use -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZConfigFile-members.html b/doc/html/classZE_1_1ZConfigFile-members.html index a9c90a4..78898a5 100644 --- a/doc/html/classZE_1_1ZConfigFile-members.html +++ b/doc/html/classZE_1_1ZConfigFile-members.html @@ -7,15 +7,15 @@
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ZE::ZConfigFile Member List

This is the complete list of members for ZE::ZConfigFile, including all inherited members. - + - - + + - - - - + + + + @@ -29,7 +29,7 @@ -
CleanString(string str)ZE::ZConfigFile [private]
CleanString(string str) constZE::ZConfigFile [private]
Close()ZE::ZConfigFile
Exists(string sec)ZE::ZConfigFile [private]
Exists(string sec, string var)ZE::ZConfigFile [private]
Exists(string sec) constZE::ZConfigFile [private]
Exists(string sec, string var) constZE::ZConfigFile [private]
Flush()ZE::ZConfigFile
GetBool(string section, string var, bool defVal)ZE::ZConfigFile
GetInt(string section, string var, int defVal)ZE::ZConfigFile
GetString(string section, string var, string defVal)ZE::ZConfigFile
GetVariable(string sec, string var, string defVal)ZE::ZConfigFile [private]
GetBool(string section, string var, bool defVal) constZE::ZConfigFile
GetInt(string section, string var, int defVal) constZE::ZConfigFile
GetString(string section, string var, string defVal) constZE::ZConfigFile
GetVariable(string sec, string var, string defVal) constZE::ZConfigFile [private]
mFileLayoutZE::ZConfigFile [private]
mFilenameZE::ZConfigFile [private]
Process(string filename)ZE::ZConfigFile
ZObject()ZE::ZObject [inline]
~ZConfigFile()ZE::ZConfigFile
~ZObject()ZE::ZObject [inline, virtual]

Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZConfigFile.html b/doc/html/classZE_1_1ZConfigFile.html index e67e659..23d95e4 100644 --- a/doc/html/classZE_1_1ZConfigFile.html +++ b/doc/html/classZE_1_1ZConfigFile.html @@ -24,11 +24,11 @@ Inherits ZE::ZObject.  Destructor, flushes file.

void Process (string filename)  Parse a file.

-int GetInt (string section, string var, int defVal) +int GetInt (string section, string var, int defVal) const  Get value in integer format from file.

-bool GetBool (string section, string var, bool defVal) +bool GetBool (string section, string var, bool defVal) const  Get value in boolean format from file.

-string GetString (string section, string var, string defVal) +string GetString (string section, string var, string defVal) const  Get value in string format from file.

void SetInt (string section, string var, int val)  Set value in integer format in file.

@@ -41,15 +41,15 @@ Inherits ZE::ZObject. void Close ()  Close the file.


Private Methods

-string CleanString (string str) +string CleanString (string str) const  Reformat a string in a form more suitable to parsing.

-bool Exists (string sec) +bool Exists (string sec) const  Check if a section exists.

-bool Exists (string sec, string var) +bool Exists (string sec, string var) const  Check if a variable exists.

void SetVariable (string sec, string var, string val)  Internal function to set variables.

-string GetVariable (string sec, string var, string defVal) +string GetVariable (string sec, string var, string defVal) const  Internal function to get value of a variable.


Private Attributes

@@ -162,7 +162,7 @@ Flushes the file, ensures a flush if the file is left open. string    str )  - [private] + const [private] @@ -197,7 +197,7 @@ Removes whitespace from a string and makes all characters lowercase.
string    sec )  - [private] + const [private] @@ -241,7 +241,7 @@ Find out if a section currently exists.
Parameters:
< )  - [private] + const [private] @@ -343,7 +343,7 @@ Set variable to value, called internally only.
Parameters: )  - [private] + const [private] @@ -429,7 +429,7 @@ Parses the file, reading the contents into the fileLayout map.
< )  - + const @@ -481,7 +481,7 @@ Get the current value of a variable in the file, or defVal if not found in file. )  - + const @@ -533,7 +533,7 @@ Get the current value of a variable in the file, or defVal if not found in file. )  - + const @@ -770,7 +770,7 @@ Flush the file and clear the filename.
The documentation for this class was generated from the following files: -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Section-members.html b/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Section-members.html index 612442f..13e521a 100755 --- a/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Section-members.html +++ b/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Section-members.html @@ -9,7 +9,7 @@

ZE::ZConfigFile::ZCF_Section Member List

This is the complete list of members for ZE::ZConfigFile::ZCF_Section, including all inherited members. -
sectionZE::ZConfigFile::ZCF_Section
varListZE::ZConfigFile::ZCF_Section

Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Section.html b/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Section.html index be2b68c..3b3e4ed 100755 --- a/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Section.html +++ b/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Section.html @@ -21,7 +21,7 @@ list< ZCF_V
The documentation for this class was generated from the following file:
-
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Variable-members.html b/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Variable-members.html index 0aa5c97..c805287 100755 --- a/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Variable-members.html +++ b/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Variable-members.html @@ -9,7 +9,7 @@

ZE::ZConfigFile::ZCF_Variable Member List

This is the complete list of members for ZE::ZConfigFile::ZCF_Variable, including all inherited members. -
valZE::ZConfigFile::ZCF_Variable
varZE::ZConfigFile::ZCF_Variable

Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Variable.html b/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Variable.html index c0e6f66..5949d9b 100755 --- a/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Variable.html +++ b/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Variable.html @@ -21,7 +21,7 @@ string ZE_ZConfigFile.h -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZEngine-members.html b/doc/html/classZE_1_1ZEngine-members.html index 071b492..b6e764d 100644 --- a/doc/html/classZE_1_1ZEngine-members.html +++ b/doc/html/classZE_1_1ZEngine-members.html @@ -7,71 +7,86 @@
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ZE::ZEngine Member List

This is the complete list of members for ZE::ZEngine, including all inherited members. - - + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + - - + + - + - - + + - + + + + - - + + - + - + + -
BPP()ZE::ZEngine
CheckEvents()ZE::ZEngine
BPP()ZE::ZEngine
CheckEvents()ZE::ZEngine
Clear(float red=0.0f, float green=0.0f, float blue=0.0f, float alpha=1.0f)ZE::ZEngine
CloseDisplay()ZE::ZEngine
CreateDisplay(string title, string icon="")ZE::ZEngine
Delay(Uint32 milliseconds)ZE::ZEngine
Display()ZE::ZEngine
FlushErrors()ZE::ZEngine
GetDesiredFramerate()ZE::ZEngine
GetFramerate()ZE::ZEngine
GetFrameTime()ZE::ZEngine
GetInstance()ZE::ZEngine [static]
GetLastError()ZE::ZEngine
GetTime()ZE::ZEngine
GetVersion()ZE::ZEngine [static]
Height()ZE::ZEngine
HideCursor()ZE::ZEngine
ImagesNeedReload()ZE::ZEngine
IsActive()ZE::ZEngine
IsFullscreen()ZE::ZEngine
IsPaused()ZE::ZEngine
KeyIsPressed(SDLKey key)ZE::ZEngine
KeyPress(SDLKey key)ZE::ZEngine
LButtonPressed()ZE::ZEngine
LoadFont(string filename, int size)ZE::ZEngine
LoadImage(string filename)ZE::ZEngine
LoadMusic(string filename)ZE::ZEngine
LoadSound(string filename)ZE::ZEngine
mActiveZE::ZEngine [private]
Height()ZE::ZEngine
HideCursor()ZE::ZEngine
ImagesNeedReload()ZE::ZEngine
IsActive()ZE::ZEngine
IsFullscreen()ZE::ZEngine
IsPaused()ZE::ZEngine
KeyIsPressed(SDLKey key)ZE::ZEngine
KeyPress(SDLKey key)ZE::ZEngine
LButtonPressed()ZE::ZEngine
LoadFont(string filename, int size)ZE::ZEngine
LoadImage(string filename)ZE::ZEngine
LoadMusic(string filename)ZE::ZEngine
LoadSound(string filename)ZE::ZEngine
LogError(ZError error)ZE::ZEngine [private]
mActiveZE::ZEngine [private]
mBPPZE::ZEngine [private]
mCurErrorZE::ZEngine [private]
mDesiredFramerateZE::ZEngine [private]
mErrlogZE::ZEngine [private]
mErrorQueueZE::ZEngine [private]
mFullscreenZE::ZEngine [private]
mHeightZE::ZEngine [private]
mKeyIsPressedZE::ZEngine [private]
mKeyPressZE::ZEngine [private]
mLastPauseZE::ZEngine [private]
mLastTimeZE::ZEngine [private]
mMouseBZE::ZEngine [private]
mMouseXZE::ZEngine [private]
mMouseYZE::ZEngine [private]
mNeedReloadZE::ZEngine [private]
MouseInRect(SDL_Rect *rect)ZE::ZEngine
MouseX()ZE::ZEngine
MouseY()ZE::ZEngine
mKeyIsPressedZE::ZEngine [private]
mKeyPressZE::ZEngine [private]
mLastPauseZE::ZEngine [private]
mLastTimeZE::ZEngine [private]
mLogAllErrorsZE::ZEngine [private]
mMouseBZE::ZEngine [private]
mMouseXZE::ZEngine [private]
mMouseYZE::ZEngine [private]
mNeedReloadZE::ZEngine [private]
mNextUpdateZE::ZEngine [private]
MouseInRect(SDL_Rect *rect)ZE::ZEngine
MouseX()ZE::ZEngine
MouseY()ZE::ZEngine
mPausedZE::ZEngine [private]
mPausedTimeZE::ZEngine [private]
mQuitZE::ZEngine [private]
mPausedTimeZE::ZEngine [private]
mQuitZE::ZEngine [private]
mRateZE::ZEngine [private]
mScreenZE::ZEngine [private]
mSecPerFrameZE::ZEngine [private]
mSecPerFrameZE::ZEngine [private]
mStereoZE::ZEngine [private]
mUnpauseOnActiveZE::ZEngine [private]
mWidthZE::ZEngine [private]
PauseTimer()ZE::ZEngine
QuitRequested()ZE::ZEngine
RButtonPressed()ZE::ZEngine
QuitRequested()ZE::ZEngine
RButtonPressed()ZE::ZEngine
ReleaseInstance()ZE::ZEngine [static]
RequestQuit()ZE::ZEngine
ReportError(ZErrorCode code, string desc="", string file="", unsigned int line=0)ZE::ZEngine
RequestQuit()ZE::ZEngine
SetDesiredFramerate(Uint8 rate)ZE::ZEngine
SetErrorLog(bool logAll, string logFile="")ZE::ZEngine
SetGL2D()ZE::ZEngine
SetKeyRepeatRate(int rate)ZE::ZEngine
SetReloadNeed(bool state)ZE::ZEngine
SetKeyRepeatRate(int rate)ZE::ZEngine
SetReloadNeed(bool state)ZE::ZEngine
SetupDisplay(int width, int height, int bpp, bool fullscreen)ZE::ZEngine
SetupSound(int rate, bool stereo)ZE::ZEngine
ShowCursor()ZE::ZEngine
ShowCursor()ZE::ZEngine
sInstanceZE::ZEngine [private, static]
UnpauseTimer()ZE::ZEngine
Update()ZE::ZEngine
Width()ZE::ZEngine
Width()ZE::ZEngine
WriteLog(string str)ZE::ZEngine
ZEngine()ZE::ZEngine [private]

Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZEngine.html b/doc/html/classZE_1_1ZEngine.html index 94690e9..d07adbe 100644 --- a/doc/html/classZE_1_1ZEngine.html +++ b/doc/html/classZE_1_1ZEngine.html @@ -18,7 +18,7 @@  Setup Display for SDL.

void SetupSound (int rate, bool stereo)  Initialize Sound for SDL.

-void CreateDisplay (string title, string icon="") +bool CreateDisplay (string title, string icon="")  Create Display with predefined settings.

void CloseDisplay ()  Quit SDL and any Subsystems.

@@ -40,56 +40,72 @@  Unpause ZEngine.

double GetFrameTime ()  Get Seconds Per Frame.

-bool IsPaused () - Check Engine Paused State.

-bool IsActive () - Find out if application is active.

-void RequestQuit () - Request A Quit.

-bool QuitRequested () - Find out if user has requested to quit.

-void SetReloadNeed (bool state) - Set State of ImagesNeedReload.

-bool ImagesNeedReload () - Find out if images should be reloaded.

-void SetKeyRepeatRate (int rate) - Set Key repeat rate.

-bool KeyIsPressed (SDLKey key) - Find the state of a key.

-bool KeyPress (SDLKey key) - Find if key has been pressed since last check.

-void HideCursor () - Hide mouse cursor.

-void ShowCursor () - Show mouse cursor.

-int MouseX () - Get X Position of Mouse.

-int MouseY () - Get Y Position of Mouse.

-bool LButtonPressed () - Get Status of Left Button.

-bool RButtonPressed () - Get Status of Right Button.

-bool MouseInRect (SDL_Rect *rect) - Check if mouse is in given rectangle.

-void CheckEvents () - Check for Activation, Window Manager, and Quit Events.

-SDL_Surface * LoadImage (string filename) - Load an Image.

-Mix_Chunk * LoadSound (string filename) - Load a Sound.

-Mix_Music * LoadMusic (string filename) - Load a Music File.

-TTF_Font * LoadFont (string filename, int size) - Load a Font.

-int Width () - Get Current Display Width.

-int Height () - Get Current Display Height.

-int BPP () - Get Current Display BPP.

-bool IsFullscreen () - Get Fullscreen setting.

+double GetFramerate () + Get Frames Per Second.

+void SetDesiredFramerate (Uint8 rate) + Set Desired Framerate.

+Uint8 GetDesiredFramerate () + Get Desired Framerate.

+bool IsPaused () + Check Engine Paused State.

+bool IsActive () + Find out if application is active.

+void RequestQuit () + Request A Quit.

+bool QuitRequested () + Find out if user has requested to quit.

+void SetReloadNeed (bool state) + Set State of ImagesNeedReload.

+bool ImagesNeedReload () + Find out if images should be reloaded.

+void SetKeyRepeatRate (int rate) + Set Key repeat rate.

+bool KeyIsPressed (SDLKey key) + Find the state of a key.

+bool KeyPress (SDLKey key) + Find if key has been pressed since last check.

+void HideCursor () + Hide mouse cursor.

+void ShowCursor () + Show mouse cursor.

+int MouseX () + Get X Position of Mouse.

+int MouseY () + Get Y Position of Mouse.

+bool LButtonPressed () + Get Status of Left Button.

+bool RButtonPressed () + Get Status of Right Button.

+bool MouseInRect (SDL_Rect *rect) + Check if mouse is in given rectangle.

+void CheckEvents () + Check for Activation, Window Manager, and Quit Events.

+void SetErrorLog (bool logAll, string logFile="") + Modify Error Logging.

+void ReportError (ZErrorCode code, string desc="", string file="", unsigned int line=0) + Report an error.

+ZErrorCode GetLastError () + Get the last error.

+void WriteLog (string str) + Write to the log.

+void FlushErrors () + Flush Stack of Errors to file.

+SDL_Surface * LoadImage (string filename) + Load an Image.

+Mix_Chunk * LoadSound (string filename) + Load a Sound.

+Mix_Music * LoadMusic (string filename) + Load a Music File.

+TTF_Font * LoadFont (string filename, int size) + Load a Font.

+int Width () + Get Current Display Width.

+int Height () + Get Current Display Height.

+int BPP () + Get Current Display BPP.

+bool IsFullscreen () + Get Fullscreen setting.


Static Public Methods

ZEngine * GetInstance ()  Get Instance.

@@ -100,6 +116,8 @@

Private Methods

 ZEngine ()  Constructor for ZEngine.

+void LogError (ZError error) + Writes an error to file.


Private Attributes

int mWidth @@ -128,42 +146,60 @@ bool  bool mUnpauseOnActive  Keep track of if ZEngine should unpause on active event.

- -Uint32 mLastPause + +Uint8 mDesiredFramerateValue framerate strives to be at, set by SetDesiredFramerate.

+ +Uint32 mNextUpdateTime scheduled for next update (used for framerate locked movement).

+ +Uint32 mLastPause  Keep track of time game was last paused.

- -Uint32 mPausedTime + +Uint32 mPausedTime  Keep track of total globally paused time.

- -Uint32 mLastTime + +Uint32 mLastTime  Keep track of last screen update time.

- -double mSecPerFrame + +double mSecPerFrame  Seconds per frame.

- -bool mNeedReload + +bool mNeedReload  bool which is only set to true if the engine thinks the images need to be reloaded (loss of focus in fullscreen).

- -bool mActive + +bool mActive  bool describing Active or Inactive State of Game

- -bool mQuit + +bool mQuit  bool for checking if a Quit event has been detected

- -Uint8 * mKeyIsPressed + +Uint8 * mKeyIsPressed  Pointer to array of Keys.

- -bool mKeyPress [SDLK_LAST] + +bool mKeyPress [SDLK_LAST]  Array of keys, used by KeyPress.

- -int mMouseX + +int mMouseX  X Position of Mouse.

- -int mMouseY + +int mMouseY  Y Position of Mouse.

- -Uint8 mMouseB + +Uint8 mMouseB  Mouse Button Information.

+ +queue< ZErrormErrorQueueStack of Errors which have occured.

+ +ZError mCurErrorCurrent error.

+ +bool mLogAllErrorsOption controlling how logfile is used.

+ +FILE * mErrlogC-style FILE* for error logging.


Static Private Attributes

ZEngine * sInstance = NULL @@ -397,7 +433,7 @@ Set sound settings to specified parameters. (called before CreateDisplay) - + @@ -426,7 +462,7 @@ Set sound settings to specified parameters. (called before CreateDisplay) +Swap OpenGL buffers, and update screen, if a desired framerate is set it will delay to stay under that rate. Must be called every frame.
void ZE::ZEngine::CreateDisplay bool ZE::ZEngine::CreateDisplay string    title,

-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 OS icon. +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 error if false is returned (returns bool in versions >= 0.8.2).

Parameters:
@@ -462,7 +498,7 @@ SetupDisplay and SetupSound should be called prior to this to change settings, s +Shut down SDL (and SDL_ttf,SDL_mixer if necessary) You shouldn't ever have to call this, ReleaseInstance calls this for you.

-Shut down SDL (and SDL_ttf,SDL_mixer if necessary).

@@ -519,7 +555,7 @@ Get pointer to screen SDL_Surface, allowing direct screen manipulation using SDL

-Swap OpenGL buffers, and update screen. Must be called every frame.

@@ -752,11 +788,106 @@ Unpause ZEngine timer and all <

-Get double that describes the time passed between screen updates. (used for Framerate Independant Movement)

Returns:
Time between screen updates.
+Get double that describes the time passed between screen updates. (should be used for Framerate Independant Movement)
Returns:
Time between screen updates.
-

+

+ + + + +
+ + + + + + + + + +
double ZE::ZEngine::GetFramerate  
+
+ + + + + +
+   + + +

+Get double representing current (approximate) FPS. This value is always the same as 1/GetFrameTime().

Since:
0.8.2
+
Returns:
Current Framerate.
+
+

+ + + + +
+ + + + + + + + + + +
void ZE::ZEngine::SetDesiredFramerate Uint8   rate
+
+ + + + + +
+   + + +

+Sets desired framerate, if engine gets ahead of desired rate during a frame it will stall in Update until current framerate is closer to that desired. Acceptable values are 1-255, setting this value to 0 will disable this feature. (Desired framerate is disabled upon initialization of ZEngine.)

Since:
0.8.2
+
Parameters:
+ + +
rate Desired framerate 1-255, or 0 to disable.
+
+
+

+ + + + +
+ + + + + + + + + +
Uint8 ZE::ZEngine::GetDesiredFramerate  
+
+ + + + + +
+   + + +

+Get desired framerate set by SetDesiredFramerate.

Since:
0.8.2
+
Returns:
Current setting for desired framerate.
+
+

@@ -785,7 +916,7 @@ Find out if engine timer is paused.
Returns:
Paus
-

+

@@ -814,7 +945,7 @@ Function to find out if application currently has focus.
Retu
-

+

@@ -842,7 +973,7 @@ Function to find out if application currently has focus.
Retu Tell the engine that it should behave as if a Quit was requested, does not call any shutdown functions.
-

+

@@ -867,11 +998,11 @@ Tell the engine that it should behave as if a Quit was requested, does not call

-Function to find out if user or operating system has requested program cease execution, can be set by Alt-F4, SDL_Quit event or ZEngine::RequestQuit().

Returns:
bool telling if quit has been requested.
+Function to find out if user or operating system has requested program cease execution, can be set by Alt-F4, SDL_Quit event or ZEngine::RequestQuit().
Returns:
bool telling if quit has been requested.
-

+

@@ -905,7 +1036,7 @@ Function to find out if user or operating system has requested program cease exe
-

+

@@ -934,7 +1065,7 @@ Function that is good to call every frame to check if images should be reloaded,
-

+

@@ -970,7 +1101,7 @@ Calls SDL_EnableKeyRepeat(rate,rate) because usually this is the desired movemen
-

+

@@ -1005,7 +1136,7 @@ Function returns true/false based on if key is currently pressed or not.
-

+

@@ -1040,7 +1171,7 @@ Function returns true/false based on if key has been pressed since last check. <
-

+

@@ -1068,7 +1199,7 @@ Function returns true/false based on if key has been pressed since last check. < Hide the system mouse cursor.
-

+

Show the system mouse cursor.
@@ -1096,7 +1227,7 @@ Hide the system mouse cursor.
-

+

@@ -1125,7 +1256,7 @@ Find X Position of Mouse on screen.
Returns:
X Po
-

+

@@ -1154,7 +1285,7 @@ Find Y Position of Mouse on screen.
Returns:
Y Po
-

+

@@ -1183,7 +1314,7 @@ Get pressed status of left button of mouse.
Returns:
-

+

@@ -1212,7 +1343,7 @@ Get pressed status of right button of mouse.
Returns:
-

+

@@ -1247,7 +1378,7 @@ Return status of mouse in current rectangle (used for buttons)
<
-

+

@@ -1275,7 +1406,240 @@ Return status of mouse in current rectangle (used for buttons)
< Cycle through event queue, processing events, updating all Event Related variables, should be called once per frame.
-

+

+ + + + +
+ + + + + + + + + + +
void ZE::ZEngine::LogError ZError   error [private]
+
+ + + + + +
+   + + +

+Writes error to current error file.

Since:
0.8.2
+
Parameters:
+ + +
error ZError to write to file.
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void ZE::ZEngine::SetErrorLog bool   logAll,
string   logFile = ""
+
+ + + + + +
+   + + +

+Change the way errors are logged and the file they are logged to, before calling this errors are logged to stderr. (SDL may define stderr.txt on some platforms.)

Since:
0.8.2
+
Parameters:
+ + + +
logAll If set to true every error will be written to file instead of stored in the logfile.
logFile Name of file to use as log, passing in stderr or stdio will set the log to the C streams. Passing in nothing will not change the current error log file, which defaults to stderr.
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void ZE::ZEngine::ReportError ZErrorCode   code,
string   desc = "",
string   file = "",
unsigned int   line = 0
+
+ + + + + +
+   + + +

+Adds the error to the the error queue, and sets the current error to this error.

Since:
0.8.2
+
Parameters:
+ + + + + +
code ZErrorCode of error.
desc Optional string describing error.
file Optional argument specifying the file the error occured in.
line Optional argument specifying the line the error occured on.
+
+
+

+ + + + +
+ + + + + + + + + +
ZErrorCode ZE::ZEngine::GetLastError  
+
+ + + + + +
+   + + +

+Get the last error reported.

Since:
0.8.2
+
Returns:
ZErrorCode of last error reported.
+
+

+ + + + +
+ + + + + + + + + + +
void ZE::ZEngine::WriteLog string   str
+
+ + + + + +
+   + + +

+Write a string to the log, allowing special usage of the error log.

Since:
0.8.2
+
Parameters:
+ + +
str String to write to log file.
+
+
+

+ + + + +
+ + + + + + + + + +
void ZE::ZEngine::FlushErrors  
+
+ + + + + +
+   + + +

+Write the error stack to the error log.

Since:
0.8.2
+
+

@@ -1310,7 +1674,7 @@ Loads an Image to an ImageData class which keeps vital information on the Image.
-

+

@@ -1345,7 +1709,7 @@ Loads a Sound to a SoundData class which keeps vital information on the Sound
-

+

@@ -1380,7 +1744,7 @@ Loads a Music Clip to a MusicData class which keeps vital information on the Mus
-

+

@@ -1425,7 +1789,7 @@ Loads a Font to a FontData class which keeps vital information on the Font
-

+

@@ -1454,7 +1818,7 @@ Get Width of Window or Fullscreen mode.
Returns:
-

+

@@ -1483,7 +1847,7 @@ Get Height of Window or Fullscreen mode.
Returns:
-

+

@@ -1512,7 +1876,7 @@ Get BPP of Window or Fullscreen mode.
Returns:
BP
-

+

@@ -1543,7 +1907,7 @@ Get Fullscreen setting of Display.
Returns:
True


The documentation for this class was generated from the following files: -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZError-members.html b/doc/html/classZE_1_1ZError-members.html new file mode 100755 index 0000000..330546e --- /dev/null +++ b/doc/html/classZE_1_1ZError-members.html @@ -0,0 +1,24 @@ + + +Member List + + + +
+Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+

ZE::ZError Member List

This is the complete list of members for ZE::ZError, including all inherited members. + + + + + + + + + +
Code() constZE::ZError
Create(ZErrorCode code, string desc="", string file="", int line=0)ZE::ZError
LogString() constZE::ZError
rCodeZE::ZError [protected]
rDescriptionZE::ZError [protected]
rFilenameZE::ZError [protected]
rLineZE::ZError [protected]
sErrorDescZE::ZError [protected, static]
ZError(ZErrorCode code=ZERR_NONE, string desc="", string file="", int line=0)ZE::ZError

Generated on Sat Jan 18 17:14:22 2003 for ZEngine by + +doxygen1.3-rc2
+ + diff --git a/doc/html/classZE_1_1ZError.html b/doc/html/classZE_1_1ZError.html new file mode 100755 index 0000000..f79bddc --- /dev/null +++ b/doc/html/classZE_1_1ZError.html @@ -0,0 +1,258 @@ + + +ZE::ZError class Reference + + + +
+Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+

ZE::ZError Class Reference

#include <ZE_ZError.h> +

+List of all members.


Detailed Description

+ZError class for storing and printing information on errors. Inherited from ZObject and tied closely to ZEngine.
Since:
0.8.2
+ +

+ + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

 ZError (ZErrorCode code=ZERR_NONE, string desc="", string file="", int line=0)
 Default constructor for ZError.

void Create (ZErrorCode code, string desc="", string file="", int line=0)
 Set members of error object.

ZErrorCode Code () const
 Get ZErrorCode of error.

string LogString () const
 Get formatted string for log file.


Protected Attributes

+ZErrorCode rCode
 Error ID.

+string rDescription
 Error Description.

+string rFilename
 File which error occured in.

+unsigned int rLine
 Line which error occured on.


Static Protected Attributes

string sErrorDesc [ZERR_LAST]
 Static Array of Error Identifiers.

+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ZE::ZError::ZError ZErrorCode   code = ZERR_NONE,
string   desc = "",
string   file = "",
int   line = 0
+
+ + + + + +
+   + + +

+Make new ZError object, by default set rCode to ZERR_NONE with no description.

Parameters:
+ + + + + +
code ZErrorCode to set object to, defaults to ZERR_NONE.
desc Description to use for object, defaults to nothing.
file Optional argument specifying the file the error occured in.
line Optional argument specifying the line the error occured on.
+
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void ZE::ZError::Create ZErrorCode   code,
string   desc = "",
string   file = "",
int   line = 0
+
+ + + + + +
+   + + +

+Set new values in ZError object.

Parameters:
+ + + + + +
code ZErrorCode to set object to.
desc Description to use for object, defaults to nothing.
file Optional argument specifying the file the error occured in.
line Optional argument specifying the line the error occured on.
+
+
+

+ + + + +
+ + + + + + + + + +
ZErrorCode ZE::ZError::Code   const
+
+ + + + + +
+   + + +

+Access ZErrorCode of the ZError object.

Returns:
The error ZErrorCode.
+
+

+ + + + +
+ + + + + + + + + +
string ZE::ZError::LogString   const
+
+ + + + + +
+   + + +

+Return the string to be written to the logfile. Called by ZEngine in LogError.

+


Member Data Documentation

+

+ + + + +
+ + +
string ZE::ZError::sErrorDesc [static, protected] +
+
+ + + + + +
+   + + +

+Initial value:

 
+{
+    "No Error. [%s]",
+    "SDL Error. [%s]",
+    "Error Initializing SDL: %s", "Error Initializing SDL_mixer: %s", "Error Initializing SDL_ttf: %s",
+    "Error Creating Display: %s",
+    "Failed to load Image: %s", "Failed to load Sound: %s", "Failed to load Music: %s", "Failed to load Font: %s", 
+    "Called ZImage::%s with no Image loaded.", "Called ZSound::%s with no Sound loaded.", 
+    "Called ZMusic::%s with no Music loaded.", "Called ZFont::%s with no Font loaded."
+}
+
+


The documentation for this class was generated from the following files: +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by + +doxygen1.3-rc2
+ + diff --git a/doc/html/classZE_1_1ZFont-members.html b/doc/html/classZE_1_1ZFont-members.html index dcbe4b3..5221acd 100644 --- a/doc/html/classZE_1_1ZFont-members.html +++ b/doc/html/classZE_1_1ZFont-members.html @@ -7,14 +7,14 @@
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ZE::ZFont Member List

This is the complete list of members for ZE::ZFont, including all inherited members. - - - - - - - - + + + + + + + + @@ -26,14 +26,14 @@ - - + + -
DrawShadedText(string text, ZImage &image)ZE::ZFont
DrawText(string text, ZImage &image)ZE::ZFont
Height()ZE::ZFont
IsBold()ZE::ZFont
IsItalic()ZE::ZFont
IsLoaded()ZE::ZFont
IsUnderlined()ZE::ZFont
LineSkip()ZE::ZFont
DrawShadedText(string text, ZImage &image) constZE::ZFont
DrawText(string text, ZImage &image) constZE::ZFont
Height() constZE::ZFont
IsBold() constZE::ZFont
IsItalic() constZE::ZFont
IsLoaded() constZE::ZFont
IsUnderlined() constZE::ZFont
LineSkip() constZE::ZFont
Open(string filename, int size)ZE::ZFont
rBGColorZE::ZFont [protected]
rColorZE::ZFont [protected]
SetBGColor(Uint8 r, Uint8 g, Uint8 b)ZE::ZFont
SetColor(Uint8 r, Uint8 g, Uint8 b)ZE::ZFont
SetStyle(bool bold, bool italic, bool underline)ZE::ZFont
StringHeight(string text)ZE::ZFont
StringWidth(string text)ZE::ZFont
StringHeight(string text) constZE::ZFont
StringWidth(string text) constZE::ZFont
ZFont()ZE::ZFont
ZFont(string filename, int size)ZE::ZFont
ZObject()ZE::ZObject [inline]
~ZFont()ZE::ZFont
~ZObject()ZE::ZObject [inline, virtual]

Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZFont.html b/doc/html/classZE_1_1ZFont.html index 116f682..f680ba5 100644 --- a/doc/html/classZE_1_1ZFont.html +++ b/doc/html/classZE_1_1ZFont.html @@ -26,9 +26,9 @@ Inherits ZE::ZObject.  Opens a font with a certain size.

void Release ()  Release font.

-void DrawText (string text, ZImage &image) +void DrawText (string text, ZImage &image) const  Draws a string in a color to a ZImage.

-void DrawShadedText (string text, ZImage &image) +void DrawShadedText (string text, ZImage &image) const  Draws a string with a colored background to a ZImage.

void SetColor (Uint8 r, Uint8 g, Uint8 b)  Set Text rColor.

@@ -38,21 +38,21 @@ Inherits ZE::ZObject.  Set display format.

void Resize (int size)  Resize Font.

-bool IsLoaded () +bool IsLoaded () const  Check if file is loaded.

-bool IsBold () +bool IsBold () const  Get Bold Setting.

-bool IsItalic () +bool IsItalic () const  Get Italic Setting.

-bool IsUnderlined () +bool IsUnderlined () const  Get Underlined Setting.

-int Height () +int Height () const  Get Height of Font.

-int LineSkip () +int LineSkip () const  Get Line Skip for Font.

-int StringWidth (string text) +int StringWidth (string text) const  Get String Width.

-int StringHeight (string text) +int StringHeight (string text) const  Get String Height.


Protected Attributes

@@ -262,7 +262,7 @@ Release memory held by font. )  - + const @@ -306,7 +306,7 @@ Draw to a surface in specified color and associate that surface with a )  - + const @@ -527,7 +527,7 @@ Release and Reopen font in new size.
Parameters:
(    )  - + const @@ -556,7 +556,7 @@ Check if file is loaded and pointer to data is non-NULL.
Retu (    )  - + const @@ -585,7 +585,7 @@ Check if font output is currently bold.
Returns:
(    )  - + const @@ -614,7 +614,7 @@ Check if font output is currently italic.
Returns:
(    )  - + const @@ -643,7 +643,7 @@ Check if font output is currently underline.
Returns:
(    )  - + const @@ -672,7 +672,7 @@ Check font height as reported by SDL_ttf.
Returns:
(    )  - + const @@ -702,7 +702,7 @@ Check font line skip as reported by SDL_ttf.
Returns:
string    text )  - + const @@ -737,7 +737,7 @@ Get Width of String in Current Font in Pixels.
Parameters:string    text )  - + const @@ -763,7 +763,7 @@ Get Height of String in Current Font in Pixels.
Parameters:
The documentation for this class was generated from the following file: -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZImage-members.html b/doc/html/classZE_1_1ZImage-members.html index 6e1b17c..f6a24fa 100644 --- a/doc/html/classZE_1_1ZImage-members.html +++ b/doc/html/classZE_1_1ZImage-members.html @@ -7,19 +7,19 @@
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ZE::ZImage Member List

This is the complete list of members for ZE::ZImage, including all inherited members. - - - - - - - - - - - + + + + + + + + + + + - + @@ -28,18 +28,19 @@ - - - - + + + + - - - + + + + - + -
Attach(SDL_Surface *surface)ZE::ZImage
Bind()ZE::ZImage
Draw(float x, float y)ZE::ZImage
DrawRotated(int x, int y, float angle)ZE::ZImage
Flip(bool horizontal, bool vertical)ZE::ZImage
Height()ZE::ZImage
IsLoaded()ZE::ZImage
Open(string filename)ZE::ZImage
OpenFromImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h)ZE::ZImage
Release()ZE::ZImage
Reload()ZE::ZImage
Attach(SDL_Surface *surface)ZE::ZImage
Bind() constZE::ZImage
Draw(float x, float y) constZE::ZImage
DrawRotated(int x, int y, float angle) constZE::ZImage
Flip(bool horizontal, bool vertical)ZE::ZImage
Height() constZE::ZImage
IsLoaded() constZE::ZImage
Open(string filename)ZE::ZImage
OpenFromImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h)ZE::ZImage
Release()ZE::ZImage
Reload()ZE::ZImage
rEngineZE::ZObject [protected]
Resize(unsigned int width, unsigned int height)ZE::ZImage
Resize(unsigned int width, unsigned int height)ZE::ZImage
rHeightZE::ZImage [protected]
rImageZE::ZImage [protected]
rTexIDZE::ZImage [protected]
rTexMinXZE::ZImage [protected]
rTexMinYZE::ZImage [protected]
rWidthZE::ZImage [protected]
SetColorKey(Uint8 red, Uint8 green, Uint8 blue)ZE::ZImage
Stretch(float xFactor, float yFactor)ZE::ZImage
Surface()ZE::ZImage
Width()ZE::ZImage
SetColorKey(Uint8 red, Uint8 green, Uint8 blue)ZE::ZImage
Stretch(float xFactor, float yFactor)ZE::ZImage
Surface() constZE::ZImage
Width() constZE::ZImage
ZImage()ZE::ZImage
ZImage(string filename)ZE::ZImage
ZImage(SDL_Surface *surface)ZE::ZImage
ZImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h)ZE::ZImage
ZImage(string filename)ZE::ZImage
ZImage(SDL_Surface *surface)ZE::ZImage
ZImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h)ZE::ZImage
ZImage::ZImage(const ZImage &rhs)ZE::ZImage
ZObject()ZE::ZObject [inline]
~ZImage()ZE::ZImage
~ZImage()ZE::ZImage
~ZObject()ZE::ZObject [inline, virtual]

Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZImage.html b/doc/html/classZE_1_1ZImage.html index d0071e7..1b9e662 100644 --- a/doc/html/classZE_1_1ZImage.html +++ b/doc/html/classZE_1_1ZImage.html @@ -18,46 +18,48 @@ Inherits ZE::ZObject.

Public Methods

 ZImage ()  Default Constructor.

ZImage (string filename) - Constructor to Construct from File.

ZImage (SDL_Surface *surface) - Constructor to Construct from SDL_Surface*.

ZImage (SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h) - Constructor to Construct from part of an SDL_Surface*.

~ZImage () - Destructor, frees memory.

-void Open (string filename) - Opens a file.

-void OpenFromImage (SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h) - Cuts part of an existing image to create the new image.

-void Attach (SDL_Surface *surface) - Attach an existing surface to class.

-void Reload () - Reattach a preloaded texture that has been lost.

-void Release () - Releases image.

-void SetColorKey (Uint8 red, Uint8 green, Uint8 blue) - Set Color Key (transparent color) of Image.

-void Flip (bool horizontal, bool vertical) - Flip image over one or both axes.

-void Stretch (float xFactor, float yFactor) - Stretch the image by a certain X and Y factor.

-void Resize (unsigned int width, unsigned int height) - Resizes an image, stretching to new size.

-void Bind () - OpenGL related bind call.

-void Draw (float x, float y) - Draw Image to Screen.

-void DrawRotated (int x, int y, float angle) - Draw Image rotated to screen.

-bool IsLoaded () - Check if file is loaded.

-SDL_Surface * Surface () - Get SDL_Surface. Get SDL_Surface pointer to actual image data.

-int Width () - Get Width.

-int Height () - Get Height.

ZImage::ZImage (const ZImage &rhs) + Copy constructor for ZImage.

ZImage (string filename) + Constructor to Construct from File.

ZImage (SDL_Surface *surface) + Constructor to Construct from SDL_Surface*.

ZImage (SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h) + Constructor to Construct from part of an SDL_Surface*.

~ZImage () + Destructor, frees memory.

+void Open (string filename) + Opens a file.

+void OpenFromImage (SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h) + Cuts part of an existing image to create the new image.

+void Attach (SDL_Surface *surface) + Attach an existing surface to class.

+void Reload () + Reattach a preloaded texture that has been lost.

+void Release () + Releases image.

+void SetColorKey (Uint8 red, Uint8 green, Uint8 blue) + Set Color Key (transparent color) of Image.

+void Flip (bool horizontal, bool vertical) + Flip image over one or both axes.

+void Stretch (float xFactor, float yFactor) + Stretch the image by a certain X and Y factor.

+void Resize (unsigned int width, unsigned int height) + Resizes an image, stretching to new size.

+void Bind () const + OpenGL related bind call.

+void Draw (float x, float y) const + Draw Image to Screen.

+void DrawRotated (int x, int y, float angle) const + Draw Image rotated to screen.

+bool IsLoaded () const + Check if file is loaded.

+SDL_Surface * Surface () const + Get SDL_Surface. Get SDL_Surface pointer to actual image data.

+int Width () const + Get Width.

+int Height () const + Get Height.


Protected Attributes

GLfloat rTexMinX @@ -113,7 +115,7 @@ unsigned int 

+

@@ -139,7 +141,7 @@ Default Constructor, initializes variables.

-Constructor is same as calling ZImage::Open() on passed filename.

Parameters:
+Constructor is same as calling ZImage::Open() on passed filename.
Parameters:
filename File to open as rImage.
@@ -147,7 +149,7 @@ Constructor is same as calling ZI
-

+

@@ -173,7 +175,7 @@ Constructor is same as calling ZI

-Constructor is same as calling ZImage::Attach() on passed SDL_Surface*.

Parameters:
+Constructor is same as calling ZImage::Attach() on passed SDL_Surface*.
Parameters:
surface SDL_Surface* to use as rImage.
@@ -181,7 +183,7 @@ Constructor is same as calling ZI
-

+

@@ -234,7 +236,7 @@ Constructor is same as calling ZI

-Constructor is same as calling ZImage::OpenFromImage. +Constructor is same as calling ZImage::OpenFromImage.

Parameters:
@@ -248,7 +250,7 @@ Constructor is same as calling ZI
-

+

+Destructor calls ZImage::Release().
@@ -273,11 +275,45 @@ Constructor is same as calling ZI

-Destructor calls ZImage::Release().


Member Function Documentation

-

+

+ + + + +
+ + + + + + + + + + +
ZE::ZImage::ZImage::ZImage const ZImage &   rhs
+
+ + + + + +
+   + + +

+Creates one ZImage using another.

Parameters:
+ + +
rhs A previously created ZImage to copy.
+
+
+

@@ -311,7 +347,7 @@ Open a file using ZEngine. Load
-

+

@@ -378,7 +414,7 @@ Cut part of an SDL_Surface to create a new Image.
-

+

@@ -412,7 +448,7 @@ Attach a pointer to instance of ZIma
-

+

+Attach loaded textures which have been lost due to loss of focus, should be called when ZEngine::ImagesNeedReload is true.
@@ -437,10 +473,10 @@ Attach a pointer to instance of ZIma

-Attach loaded textures which have been lost due to loss of focus, should be called when ZEngine::ImagesNeedReload is true.

-

+

@@ -468,7 +504,7 @@ Attach loaded textures which have been lost due to loss of focus, should be call Frees memory via call to SDL_FreeSurface for the image.
-

+

@@ -519,7 +555,7 @@ Set color which will not be drawn in image.
Parameters:
-

+

@@ -563,7 +599,7 @@ Flip image vertical and/or horizontal.
Parameters:
-

+

@@ -607,7 +643,7 @@ Stretch image using a factor to multiply width and height by.
-

+

@@ -651,7 +687,7 @@ Stretch image to new width and height.
Parameters:
-

+

- +
@@ -661,7 +697,7 @@ Stretch image to new width and height.
Parameters:
  const
@@ -679,7 +715,7 @@ Stretch image to new width and height.

Parameters:
-

+

- +
@@ -699,7 +735,7 @@ OpenGL related bind call, only available in case you want to bind image in 3D. D
const
@@ -723,7 +759,7 @@ Draw Image to screen at specified location.

Parameters: -

+

- +
@@ -749,7 +785,7 @@ Draw Image to screen at specified location.
Parameters:
const
@@ -774,7 +810,7 @@ Image is rotated about it's own center by specified angle, then drawn to screen. -

+

- +
@@ -784,7 +820,7 @@ Image is rotated about it's own center by specified angle, then drawn to screen.   const
@@ -803,7 +839,7 @@ Check if surface is a valid GL texture. (does not detect surface loss)

-

+

- +
@@ -813,7 +849,7 @@ Check if surface is a valid GL texture. (does not detect surface loss)
  const
@@ -832,7 +868,7 @@ Check if surface is a valid GL texture. (does not detect surface loss)

-

+

- +
@@ -842,7 +878,7 @@ Check if surface is a valid GL texture. (does not detect surface loss)
  const
@@ -861,7 +897,7 @@ Get Current Width of Image.

Returns:
Image Width. -

+

- +
@@ -871,7 +907,7 @@ Get Current Width of Image.
Returns:
Image Width.
  const
@@ -892,7 +928,7 @@ Get Current Height of Image.

Returns:
Image Heigh
The documentation for this class was generated from the following files: -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZMusic-members.html b/doc/html/classZE_1_1ZMusic-members.html index 6c01c4b..caaef23 100644 --- a/doc/html/classZE_1_1ZMusic-members.html +++ b/doc/html/classZE_1_1ZMusic-members.html @@ -7,27 +7,27 @@
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ZE::ZMusic Member List

This is the complete list of members for ZE::ZMusic, including all inherited members. - - - + + + - - + + - + - - - + + + -
IsLoaded()ZE::ZMusic
IsPaused()ZE::ZMusic
IsPlaying()ZE::ZMusic
IsLoaded() constZE::ZMusic
IsPaused() constZE::ZMusic
IsPlaying() constZE::ZMusic
LoopInfiniteZE::ZMusic [static]
Open(string filename)ZE::ZMusic
Pause()ZE::ZMusic
Play(int loopNum=0, int fadeTime=0)ZE::ZMusic
Pause() constZE::ZMusic
Play(int loopNum=0, int fadeTime=0) constZE::ZMusic
Release()ZE::ZMusic
rEngineZE::ZObject [protected]
Rewind()ZE::ZMusic
Rewind() constZE::ZMusic
rMusicZE::ZMusic [protected]
SetVolume(int volume)ZE::ZMusic
Stop(int fadeTime=0)ZE::ZMusic
Unpause()ZE::ZMusic
Volume()ZE::ZMusic
Stop(int fadeTime=0) constZE::ZMusic
Unpause() constZE::ZMusic
Volume() constZE::ZMusic
ZMusic()ZE::ZMusic
ZMusic(string filename)ZE::ZMusic
ZObject()ZE::ZObject [inline]
~ZMusic()ZE::ZMusic
~ZObject()ZE::ZObject [inline, virtual]

Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZMusic.html b/doc/html/classZE_1_1ZMusic.html index 168b83c..51ce6c6 100644 --- a/doc/html/classZE_1_1ZMusic.html +++ b/doc/html/classZE_1_1ZMusic.html @@ -26,25 +26,25 @@ Inherits ZE::ZObject.  Opens a music file.

void Release ()  Release music.

-void Play (int loopNum=0, int fadeTime=0) +void Play (int loopNum=0, int fadeTime=0) const  Play currently loaded music.

-void Pause () +void Pause () const  Pause music.

-void Unpause () +void Unpause () const  Unpause music.

-void Rewind () +void Rewind () const  Rewind music.

-void Stop (int fadeTime=0) +void Stop (int fadeTime=0) const  Stop music.

void SetVolume (int volume)  Change Volume.

-bool IsLoaded () +bool IsLoaded () const  Check if file is loaded.

-bool IsPlaying () +bool IsPlaying () const  Check if music is Playing.

-bool IsPaused () +bool IsPaused () const  Check if music is Paused.

-int Volume () +int Volume () const  Find Current Volume of Music.


Static Public Attributes

@@ -229,7 +229,7 @@ Release memory held by music data. )  - + const @@ -263,7 +263,7 @@ Play music currently loaded in ZMusi (    )  - + const @@ -291,7 +291,7 @@ Pause currently playing music. (    )  - + const @@ -319,7 +319,7 @@ Unpause currently paused music. (    )  - + const @@ -348,7 +348,7 @@ Rewind music to beginning. int    fadeTime = 0 )  - + const @@ -415,7 +415,7 @@ Change volume of currently playing music.
Parameters:
(    )  - + const @@ -444,7 +444,7 @@ Check if file is loaded and pointer to data is non-NULL.
Retu (    )  - + const @@ -473,7 +473,7 @@ Check if music is playing, specifically if it is not stopped. (Paused state shou (    )  - + const @@ -502,7 +502,7 @@ Check if music is "playing" but currently paused.
Returns:(    )  - + const @@ -523,7 +523,7 @@ Get current volume of music represented as a value from 0-128.
<
The documentation for this class was generated from the following file:
-
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZObject-members.html b/doc/html/classZE_1_1ZObject-members.html index fff0d5f..6b69fe4 100644 --- a/doc/html/classZE_1_1ZObject-members.html +++ b/doc/html/classZE_1_1ZObject-members.html @@ -10,7 +10,7 @@ rEngineZE::ZObject [protected] ZObject()ZE::ZObject [inline] ~ZObject()ZE::ZObject [inline, virtual] -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZObject.html b/doc/html/classZE_1_1ZObject.html index 89ac82a..278a404 100644 --- a/doc/html/classZE_1_1ZObject.html +++ b/doc/html/classZE_1_1ZObject.html @@ -84,7 +84,7 @@ This is the base class from which all ZE_ZObject.h -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZRect-members.html b/doc/html/classZE_1_1ZRect-members.html index ece1b15..8049541 100644 --- a/doc/html/classZE_1_1ZRect-members.html +++ b/doc/html/classZE_1_1ZRect-members.html @@ -10,7 +10,7 @@ Bottom() constZE::ZRect Contains(float x, float y) constZE::ZRect Contains(const ZRect &rect) constZE::ZRect - Draw(Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha=255)ZE::ZRect + Draw(Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha=255) constZE::ZRect Height() constZE::ZRect Intersection(const ZRect &rect) constZE::ZRect Intersects(const ZRect &rect) constZE::ZRect @@ -34,7 +34,7 @@ ZRect()ZE::ZRect ZRect(float x, float y, float width, float height)ZE::ZRect ZRect(const ZRect &rhs)ZE::ZRect -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZRect.html b/doc/html/classZE_1_1ZRect.html index be932eb..522a895 100644 --- a/doc/html/classZE_1_1ZRect.html +++ b/doc/html/classZE_1_1ZRect.html @@ -24,7 +24,7 @@  Overload for = operator with ZRect.

bool operator< (const ZRect &rhs) const  Overload for < operator with ZRect, based upon location then size.

-void Draw (Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha=255) +void Draw (Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha=255) const  Draw rectangle. (filled).

void Move (float x, float y)  Changes the location of the rectangle.

@@ -298,7 +298,7 @@ Rectangles are sorted by y value, followed by x value, if they start at the same )  - + const @@ -913,7 +913,7 @@ Access private height member.
Returns:
Value of m
The documentation for this class was generated from the following files: -
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZSound-members.html b/doc/html/classZE_1_1ZSound-members.html index 377c41f..88c2d6a 100644 --- a/doc/html/classZE_1_1ZSound-members.html +++ b/doc/html/classZE_1_1ZSound-members.html @@ -7,27 +7,27 @@
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ZE::ZSound Member List

This is the complete list of members for ZE::ZSound, including all inherited members. - - - + + + - + - - - + + + -
IsLoaded()ZE::ZSound
IsPaused()ZE::ZSound
IsPlaying()ZE::ZSound
IsLoaded() constZE::ZSound
IsPaused() constZE::ZSound
IsPlaying() constZE::ZSound
LoopInfiniteZE::ZSound [static]
Open(string filename)ZE::ZSound
Pause()ZE::ZSound
Pause() constZE::ZSound
Play(int loopNum=0, int fadeTime=0)ZE::ZSound
rChannelIDZE::ZSound [protected]
Release()ZE::ZSound
rEngineZE::ZObject [protected]
rSoundZE::ZSound [protected]
SetVolume(int volume)ZE::ZSound
Stop(int fadeTime=0)ZE::ZSound
Unpause()ZE::ZSound
Volume()ZE::ZSound
Stop(int fadeTime=0) constZE::ZSound
Unpause() constZE::ZSound
Volume() constZE::ZSound
ZObject()ZE::ZObject [inline]
ZSound()ZE::ZSound
ZSound(string filename)ZE::ZSound
~ZObject()ZE::ZObject [inline, virtual]
~ZSound()ZE::ZSound

Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZSound.html b/doc/html/classZE_1_1ZSound.html index 4e15c62..2d79619 100644 --- a/doc/html/classZE_1_1ZSound.html +++ b/doc/html/classZE_1_1ZSound.html @@ -28,21 +28,21 @@ Inherits ZE::ZObject.  Release sound effect.

void Play (int loopNum=0, int fadeTime=0)  Play currently loaded sound effect.

-void Pause () +void Pause () const  Pause sound.

-void Unpause () +void Unpause () const  Unpause sound.

-void Stop (int fadeTime=0) +void Stop (int fadeTime=0) const  Stop sound.

void SetVolume (int volume)  Change Volume.

-bool IsLoaded () +bool IsLoaded () const  Check if file is loaded.

-bool IsPlaying () +bool IsPlaying () const  Check if sound is Playing.

-bool IsPaused () +bool IsPaused () const  Check if sound is Paused.

-int Volume () +int Volume () const  Find Current Volume of Sound Channel.


Static Public Attributes

@@ -264,7 +264,7 @@ Play sound effect, looping loopNum times. (use (    )  - + const @@ -292,7 +292,7 @@ Pause currently playing sound. (    )  - + const @@ -321,7 +321,7 @@ Unpause currently playing sound. int    fadeTime = 0 )  - + const @@ -388,7 +388,7 @@ Change volume of currently playing sample.
Parameters:(    )  - + const @@ -417,7 +417,7 @@ Check if file is loaded and pointer to data is non-NULL.
Retu (    )  - + const @@ -446,7 +446,7 @@ Check if sound is playing, specifically if it is not stopped. (Paused state shou (    )  - + const @@ -475,7 +475,7 @@ Check if sound is "playing" but currently paused.
Returns:(    )  - + const @@ -496,7 +496,7 @@ Get current volume of sound channel represented as a value from 0-128.

The documentation for this class was generated from the following file:
-
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZTimer-members.html b/doc/html/classZE_1_1ZTimer-members.html index 8bea268..11975ab 100644 --- a/doc/html/classZE_1_1ZTimer-members.html +++ b/doc/html/classZE_1_1ZTimer-members.html @@ -7,9 +7,9 @@
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ZE::ZTimer Member List

This is the complete list of members for ZE::ZTimer, including all inherited members. - - - + + + @@ -21,7 +21,7 @@ -
GetParentTime()ZE::ZTimer [protected]
GetTime()ZE::ZTimer
IsPaused()ZE::ZTimer
GetParentTime() constZE::ZTimer [protected]
GetTime() constZE::ZTimer
IsPaused() constZE::ZTimer
Pause()ZE::ZTimer
rEngineZE::ZObject [protected]
Reset()ZE::ZTimer
ZObject()ZE::ZObject [inline]
ZTimer(bool useZEngine=true)ZE::ZTimer
~ZObject()ZE::ZObject [inline, virtual]

Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZTimer.html b/doc/html/classZE_1_1ZTimer.html index cb2d3fc..59d77e4 100644 --- a/doc/html/classZE_1_1ZTimer.html +++ b/doc/html/classZE_1_1ZTimer.html @@ -24,12 +24,12 @@ Inherits ZE::ZObject.  Pause Timer.

void Unpause ()  Unpause Timer.

-Uint32 GetTime () +Uint32 GetTime () const  Get Time of Timer.

-bool IsPaused () +bool IsPaused () const  Get paused state.


Protected Methods

-Uint32 GetParentTime () +Uint32 GetParentTime () const  Get time from parent timer.


Protected Attributes

@@ -91,7 +91,7 @@ Sets TimePaused to current ZEngine< (    )  - [protected] + const [protected] @@ -204,7 +204,7 @@ Unpause the timer if it is paused. (    )  - + const @@ -233,7 +233,7 @@ Get current time accounting for time paused.
Returns:
(    )  - + const @@ -254,7 +254,7 @@ Find out paused state of timer.
Returns:
Paused s
The documentation for this class was generated from the following files:
-
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/files.html b/doc/html/files.html index 52247a1..2021994 100644 --- a/doc/html/files.html +++ b/doc/html/files.html @@ -8,11 +8,11 @@ Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ZEngine File List

Here is a list of all documented files with brief descriptions: - - + + @@ -23,9 +23,10 @@ - + + @@ -33,7 +34,7 @@
/include/ZE_Defines.h [code]Define file for ZEngine
/include/ZE_Error.h [code]Definition file for ZEngine Error Handling Functions
/include/ZE_Includes.h [code]Include file for SDL and C++ Includes that many ZEngine files need
/include/ZE_Macros.h [code]Definition file for ZEngine Macros
/include/ZE_Utility.h [code]Definition file for ZEngine Utilities
/include/ZE_ZConfigFile.h [code]Definition file for ZConfigFile
/include/ZE_ZEngine.h [code]Definition file for core ZEngine class
/include/ZE_ZError.h [code]Definition file for ZError
/include/ZE_ZFont.h [code]Definition file for ZFont
/include/ZE_ZImage.h [code]Definition file for ZImage
/include/ZE_ZMusic.h [code]Definition file for ZMusic
/include/ZEngine.h [code]Header file for ZEngine
/include/external/physfsrwops.h [code]
/include/external/SDLGL_Util.h [code]
/src/ZE_Error.cppSource file for error logging utilities
/src/ZE_Utility.cppSource file for ZEngine utility functions
/src/ZE_ZConfigFile.cppSource file for ZConfigFile
/src/ZE_ZEngine.cppCentral source file for ZEngine
/src/ZE_ZError.cppSource file for ZError
/src/ZE_ZFont.cppSource file for ZFont
/src/ZE_ZImage.cppSource file for ZImage
/src/ZE_ZMusic.cppSource file for ZMusic
/src/ZE_ZSound.cppSource file for ZSound
/src/ZE_ZTimer.cppSource file for ZTimer
-
Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/functions.html b/doc/html/functions.html index d05d3cd..76665d1 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -13,30 +13,32 @@ Here is a list of all documented class members with links to the class documentation for each member:

- a -

+: ZE::ZImage

- b -

+: ZE::ZEngine

- c -

- d -

- e - @@ -46,15 +48,19 @@ Here is a list of all documented class members with links to the class documenta

- f -

+: ZE::ZImage
  • Flush() +: ZE::ZConfigFile
  • FlushErrors() +: ZE::ZEngine

    - g -

    - i -

    - k -

    +: ZE::ZEngine
  • KeyPress() +: ZE::ZEngine

    - l -

    - m -

    - o -

    - p - @@ -143,29 +157,33 @@ Here is a list of all documented class members with links to the class documenta

    - q -

    +: ZE::ZEngine

    - r -

    - t -

    - x -

    - u -

    +
  • USE_OPENGL +: ZE_Defines.h
  • USE_SDL_IMAGE +: ZE_Defines.h
  • USE_SDL_MIXER +: ZE_Defines.h
  • USE_SDL_TTF +: ZE_Defines.h

    - v -

    -
    Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
    Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html index e2e92fb..9f500c7 100644 --- a/doc/html/hierarchy.html +++ b/doc/html/hierarchy.html @@ -10,6 +10,7 @@
  • ZE::ZConfigFile::ZCF_Section
  • ZE::ZConfigFile::ZCF_Variable
  • ZE::ZEngine +
  • ZE::ZError
  • ZE::ZObject
  • ZE::ZRect -
    Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
    Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/index.html b/doc/html/index.html index f137712..9c5c8cc 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -8,18 +8,18 @@ Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZEngine Documentation

    -

    0.8.1

    Author:
    James Turk
    -
    Version:
    0.8.1
    -
    Date:
    January 2, 2003
    +

    0.8.2

    Author:
    James Turk
    +
    Version:
    0.8.2
    +
    Date:
    January 18, 2003

    About ZEngine


        -ZEngine is designed to provide a powerful yet easy to use 2D game engine in a well designed Object Oriented manner, and uses cross platform libraries such as SDL and OpenGL. (ZEngine can use SDL_ttf,SDL_image, SDL_mixer, and PhysFS all of which are cross platform as well as Open Source.)
        -It is licensed under a BSD-style license, and anyone is free to suggest or implement changes to be added to the Engine, as well as modify the engine to their own needs or use it however they like.
        -ZEngine now uses OpenGL rather than SDL to do 2D drawing, thus increasing the uses of the engine and making the engine much faster in all test cases, and the engine was tested for memory leaks with MSVC and is known to have no leaks.
    -     -The ZEngine website can be found at http://zengine.sourceforge.net/.
    -     -The ZEngine tutorials can be found at http://conceptofzero.net/tutorials/zengine/.
    -

    +     -The ZEngine website : http://zengine.sourceforge.net/.
    +     -The ZEngine tutorials : http://conceptofzero.net/tutorials/zengine/.
    +     -The ZEngine forums : http://www.conceptofzero.net/forums/index.php?act=SF&f=15

    Licensing


            This file is Part of the ZEngine Library for 2D game development.
    @@ -36,7 +36,7 @@ Contributing Authors
      James Turk james@conceptofzero.net - Core Engine, Design, Docs, and Classes
    Gamer Tazar tazar@conceptofzero.net - OpenGL assistance
    Sean sean@conceptofzero.net - MSVC++6 Project Files
    -
    Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
    Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/namespaceZE.html b/doc/html/namespaceZE.html index 48c8d7d..f266f8a 100644 --- a/doc/html/namespaceZE.html +++ b/doc/html/namespaceZE.html @@ -24,6 +24,8 @@ Namespace for ZEngine classes a  ZConfigFile Section class. More...

    class  ZEngine  Main ZEngine Singleton Class. More...

    +class  ZErrorZError class for describing errors. More...

    class  ZFont  ZFont class for basic Font use. More...

    class  ZImage @@ -38,119 +40,92 @@ Namespace for ZEngine classes a  ZSound class for playing sound effects. (WAV). More...

    class  ZTimer  ZTimer class for Timer use. More...

    +

    Enumerations

    +enum  ZErrorCode {
    +  ZERR_NONE, +ZERR_SDL_INTERNAL, +ZERR_SDL_INIT, +ZERR_MIX_INIT, +
    +  ZERR_TTF_INIT, +ZERR_VIDMODE, +ZERR_LOAD_IMAGE, +ZERR_LOAD_SOUND, +
    +  ZERR_LOAD_MUSIC, +ZERR_LOAD_FONT, +ZERR_NOIMAGE, +ZERR_NOSOUND, +
    +  ZERR_NOMUSIC, +ZERR_NOFONT, +ZERR_LAST +
    + } + Enumeration of ZEngine error codes. More...


    Functions

    -string _GetError (int line, string file, string str) - Error handling Utiltity function.

    -void _LogError (int line, string file, string str) - Error handling Utiltity function.

    -string FormatStr (const char *fmtstr,...) - Parses a string and interprets variable arguments, similar to sprintf.

    +string FormatStr (const char *fmtstr,...) + Parses a string and interprets variable arguments, similar to sprintf.

    + +

    Enumeration Type Documentation

    +

    + + + + +
    + + +
    enum ZE::ZErrorCode +
    +
    + + + + +
    +   + + +

    +All the error codes currently possibly by ZEngine, note that ZERR_LAST is not used as an error code, but instead as a range check on the others.

    Enumeration values:
    + + + + + + + + + + + + + + + + +
    ZERR_NONE  +No error has occured.
    ZERR_SDL_INTERNAL  +Error internal to SDL has occured, usually more detail is given by SDL.
    ZERR_SDL_INIT  +Error Initializing SDL.
    ZERR_MIX_INIT  +Error Initializing SDL_mixer.
    ZERR_TTF_INIT  +Error Initializing SDL_ttf.
    ZERR_VIDMODE  +Error setting up the display.
    ZERR_LOAD_IMAGE  +Error loading an image.
    ZERR_LOAD_SOUND  +Error loading a sound sample.
    ZERR_LOAD_MUSIC  +Error loading music.
    ZERR_LOAD_FONT  +Error loading a font.
    ZERR_NOIMAGE  +Error trying to use a ZImage without properly loading an image.
    ZERR_NOSOUND  +Error trying to use a ZSound without properly loading a sound.
    ZERR_NOMUSIC  +Error trying to use a ZMusic without properly loading music.
    ZERR_NOFONT  +Error trying to use a ZFont without properly loading a font.
    ZERR_LAST  +Value used as range index, not a valid error code.
    +
    +


    Function Documentation

    -

    - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - -
    string ZE::_GetError int   line,
    string   file,
    string   str
    -
    - - - - - -
    -   - - -

    -Get string describing error given appropriate details.

    Parameters:
    - - - - -
    line Line error occured on.
    file Name of file error occured in.
    str More detail on error.
    -
    -
    Returns:
    String describing error.
    -
    -

    - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - -
    void ZE::_LogError int   line,
    string   file,
    string   str
    -
    - - - - - -
    -   - - -

    -Log error to stderr, describing error given appropriate details.

    Parameters:
    - - - - -
    line Line error occured on.
    file Name of file error occured in.
    str More detail on error.
    -
    -
    -

    +

    @@ -195,7 +170,7 @@ Takes identifiers out of fmtstr and parses them, replacing them with coorespond
    -


    Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
    Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/namespacemembers.html b/doc/html/namespacemembers.html index b22a192..adf2c4c 100644 --- a/doc/html/namespacemembers.html +++ b/doc/html/namespacemembers.html @@ -7,19 +7,33 @@
    Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZEngine Namespace Members

    -_ | f
    +f | z

    -Here is a list of all documented namespace members with links to the namespaces they belong to:

    - _ - -

      -
    • _GetError() -: ZE
    • _LogError() -: ZE
    -

    - f - +Here is a list of all documented namespace members with links to the namespaces they belong to:

    - f -

    • FormatStr() -: ZE
    -
    Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +: ZE +

    - z - +

      +
    • ZERR_LAST +: ZE
    • ZERR_LOAD_FONT +: ZE
    • ZERR_LOAD_IMAGE +: ZE
    • ZERR_LOAD_MUSIC +: ZE
    • ZERR_LOAD_SOUND +: ZE
    • ZERR_MIX_INIT +: ZE
    • ZERR_NOFONT +: ZE
    • ZERR_NOIMAGE +: ZE
    • ZERR_NOMUSIC +: ZE
    • ZERR_NONE +: ZE
    • ZERR_NOSOUND +: ZE
    • ZERR_SDL_INIT +: ZE
    • ZERR_SDL_INTERNAL +: ZE
    • ZERR_TTF_INIT +: ZE
    • ZERR_VIDMODE +: ZE
    • ZErrorCode +: ZE
    +
    Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/namespaces.html b/doc/html/namespaces.html index fe51c94..f578d95 100644 --- a/doc/html/namespaces.html +++ b/doc/html/namespaces.html @@ -9,7 +9,7 @@

    ZEngine Namespace List

    Here is a list of all documented namespaces with brief descriptions:
    ZEZEngine Namespace
    -
    Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
    Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/physfsrwops_8h-source.html b/doc/html/physfsrwops_8h-source.html index 13bfded..06f0501 100644 --- a/doc/html/physfsrwops_8h-source.html +++ b/doc/html/physfsrwops_8h-source.html @@ -46,7 +46,7 @@ 00078 00079 /* end of physfsrwops.h ... */ 00080 -

    Generated on Thu Jan 2 22:51:08 2003 for ZEngine by +
    Generated on Sat Jan 18 17:14:22 2003 for ZEngine by doxygen1.3-rc2