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__ -
1.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__
-
1.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 @@
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. | |
1.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__
-
1.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 @@
#include "SDL_mixer.h"#include <string>#include <vector>#include <fstream>#include <queue>#include <list>#include <fstream>#include <cstdio>#include <cstdlib>#include <cstdarg>
1.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 @@
+
+
++Source file containing open utilities for use inside and alongside ZEngine. +
+#include "ZE_Utility.h"
+
Namespaces | |
| namespace | ZE |
1.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 @@
+
+
+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 +
1.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 @@
+
+
++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;} |
+
+
|
+
| + + | +
+
+ +Safely free an SDL_Surface* and set it to NULL. |
+
+
+
|
+
| + + | +
+
+ +Safely free a Mix_Chunk* and set it to NULL. |
+
+
+
|
+
| + + | +
+
+ +Safely free a Mix_Music* and set it to NULL. |
+
+
+
|
+
| + + | +
+
+ +Safely free a TTF_Font and set it to NULL. |
+
1.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 @@
1.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__
-
1.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 @@
1.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 @@
-Actual implementation of ZEngine singleton class at heart of ZEngine. +Actual implementation of ZEngine singleton class, the core of ZEngine.
#include "ZE_ZEngine.h"
Namespaces | |
| namespace | ZE |
1.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__
-
1.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 @@
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.
Namespaces | |
| namespace | ZE |
1.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 @@
+
+
++Implementation of ZError, the ZEngine internal error information storage class. +
+#include "ZE_ZError.h"
+
Namespaces | |
| namespace | ZE |
1.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 @@
+
+
+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__ +
1.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 @@
+
+
++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 |
1.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 @@
1.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__
-
1.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 @@
1.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 @@
1.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
-
1.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 @@
1.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 @@
1.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__
-
1.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 @@
1.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__
-
1.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
1.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 @@
1.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__
-
1.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 @@
1.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 @@
1.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__
-
1.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 @@
1.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 @@
1.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__
-
1.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 @@
1.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 @@
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__ -
1.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 @@
#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.
1.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 @@
1.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 @@
| CleanString(string str) | ZE::ZConfigFile | [private] |
| CleanString(string str) const | ZE::ZConfigFile | [private] |
| Close() | ZE::ZConfigFile | |
| Exists(string sec) | ZE::ZConfigFile | [private] |
| Exists(string sec, string var) | ZE::ZConfigFile | [private] |
| Exists(string sec) const | ZE::ZConfigFile | [private] |
| Exists(string sec, string var) const | ZE::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) const | ZE::ZConfigFile | |
| GetInt(string section, string var, int defVal) const | ZE::ZConfigFile | |
| GetString(string section, string var, string defVal) const | ZE::ZConfigFile | |
| GetVariable(string sec, string var, string defVal) const | ZE::ZConfigFile | [private] |
| mFileLayout | ZE::ZConfigFile | [private] |
| mFilename | ZE::ZConfigFile | [private] |
| Process(string filename) | ZE::ZConfigFile | |
| ZObject() | ZE::ZObject | [inline] |
| ~ZConfigFile() | ZE::ZConfigFile | |
| ~ZObject() | ZE::ZObject | [inline, virtual] |
1.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.
[private] [private] [private] [private] [private] [private] [private] [private]
1.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 @@
| section | ZE::ZConfigFile::ZCF_Section | |
| varList | ZE::ZConfigFile::ZCF_Section |
1.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
1.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 @@
| val | ZE::ZConfigFile::ZCF_Variable | |
| var | ZE::ZConfigFile::ZCF_Variable |
1.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
1.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 @@
1.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 @@
| void ZE::ZEngine::CreateDisplay | +bool ZE::ZEngine::CreateDisplay | ( | string | title, | @@ -426,7 +462,7 @@ Set sound settings to specified parameters. (called before CreateDisplay)
-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).
|
@@ -752,11 +788,106 @@ Unpause ZEngine timer and all <
-Get double that describes the time passed between screen updates. (used for Framerate Independant Movement)
+
+
|
+
| + + | +
+
+ +Get double representing current (approximate) FPS. This value is always the same as 1/GetFrameTime().
|
+
+
+
|
+
| + + | +
+
+ +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.)
|
+
+
+
|
+
| + + | +
+
+ +Get desired framerate set by SetDesiredFramerate.
|
+
@@ -785,7 +916,7 @@ Find out if engine timer is paused.
|
@@ -814,7 +945,7 @@ Function to find out if application currently has focus.
|
@@ -842,7 +973,7 @@ Function to find out if application currently has focus.
|
| @@ -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().
|
| @@ -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. |
| @@ -1096,7 +1227,7 @@ Hide the system mouse cursor. | Show the system mouse cursor.
@@ -1125,7 +1256,7 @@ Find X Position of Mouse on screen.
|
@@ -1154,7 +1285,7 @@ Find Y Position of Mouse on screen.
|
@@ -1183,7 +1314,7 @@ Get pressed status of left button of mouse.
|
@@ -1212,7 +1343,7 @@ Get pressed status of right button of mouse.
|
@@ -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)
|
+
+
|
+
| + + | +
+
+ +Writes error to current error file.
|
+
+
+
|
+ ||||||||||||
| + + | +
+
+ +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.)
|
+
+
+
|
+ ||||||||||||||||||||
| + + | +
+
+ +Adds the error to the the error queue, and sets the current error to this error.
|
+
+
+
|
+
| + + | +
+
+ +Get the last error reported.
|
+
+
+
|
+
| + + | +
+
+ +Write a string to the log, allowing special usage of the error log.
|
+
+
+
|
+
| + + | +
+
+ +Write the error stack to the error log.
|
+
| @@ -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.
|
@@ -1483,7 +1847,7 @@ Get Height of Window or Fullscreen mode.
|
@@ -1512,7 +1876,7 @@ Get BPP of Window or Fullscreen mode.
|
@@ -1543,7 +1907,7 @@ Get Fullscreen setting of Display.
|
1.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 @@
+
+
+| Code() const | ZE::ZError | |
| Create(ZErrorCode code, string desc="", string file="", int line=0) | ZE::ZError | |
| LogString() const | ZE::ZError | |
| rCode | ZE::ZError | [protected] |
| rDescription | ZE::ZError | [protected] |
| rFilename | ZE::ZError | [protected] |
| rLine | ZE::ZError | [protected] |
| sErrorDesc | ZE::ZError | [protected, static] |
| ZError(ZErrorCode code=ZERR_NONE, string desc="", string file="", int line=0) | ZE::ZError |
1.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 @@
+
+
+#include <ZE_ZError.h>
++
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. | |
+
+
|
+ ||||||||||||||||||||
| + + | +
+
+ +Make new ZError object, by default set rCode to ZERR_NONE with no description.
|
+
+
+
|
+ ||||||||||||||||||||
| + + | +
+
+ +Set new values in ZError object.
|
+
+
+
|
+
| + + | +
+
+ +Access ZErrorCode of the ZError object.
|
+
+
+
|
+
| + + | +
+
+ +Return the string to be written to the logfile. Called by ZEngine in LogError. |
+
+
+
|
+
| + + | +
+
+ +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."
+}
+ |
+
1.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 @@
| 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) const | ZE::ZFont | |
| DrawText(string text, ZImage &image) const | ZE::ZFont | |
| Height() const | ZE::ZFont | |
| IsBold() const | ZE::ZFont | |
| IsItalic() const | ZE::ZFont | |
| IsLoaded() const | ZE::ZFont | |
| IsUnderlined() const | ZE::ZFont | |
| LineSkip() const | ZE::ZFont | |
| Open(string filename, int size) | ZE::ZFont | |
| rBGColor | ZE::ZFont | [protected] |
| rColor | ZE::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) const | ZE::ZFont | |
| StringWidth(string text) const | ZE::ZFont | |
| ZFont() | ZE::ZFont | |
| ZFont(string filename, int size) | ZE::ZFont | |
| ZObject() | ZE::ZObject | [inline] |
| ~ZFont() | ZE::ZFont | |
| ~ZObject() | ZE::ZObject | [inline, virtual] |
1.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.
1.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 @@
| 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() const | ZE::ZImage | |
| Draw(float x, float y) const | ZE::ZImage | |
| DrawRotated(int x, int y, float angle) const | ZE::ZImage | |
| Flip(bool horizontal, bool vertical) | ZE::ZImage | |
| Height() const | ZE::ZImage | |
| IsLoaded() const | 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 | |
| rEngine | ZE::ZObject | [protected] |
| Resize(unsigned int width, unsigned int height) | ZE::ZImage | |
| Resize(unsigned int width, unsigned int height) | ZE::ZImage | |
| rHeight | ZE::ZImage | [protected] |
| rImage | ZE::ZImage | [protected] |
| rTexID | ZE::ZImage | [protected] |
| rTexMinX | ZE::ZImage | [protected] |
| rTexMinY | ZE::ZImage | [protected] |
| rWidth | ZE::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() const | ZE::ZImage | |
| Width() const | ZE::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] |
1.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.
| @@ -139,7 +141,7 @@ Default Constructor, initializes variables. |
-Constructor is same as calling ZImage::Open() on passed filename.
|
| @@ -173,7 +175,7 @@ Constructor is same as calling ZI |
-Constructor is same as calling ZImage::Attach() on passed SDL_Surface*.
|
| @@ -234,7 +236,7 @@ Constructor is same as calling ZI |
-Constructor is same as calling ZImage::OpenFromImage. +Constructor is same as calling ZImage::OpenFromImage.
|
| @@ -699,7 +735,7 @@ OpenGL related bind call, only available in case you want to bind image in 3D. D | |||||
| ) | -+ | const | |||
@@ -749,7 +785,7 @@ Draw Image to screen at specified location.
| ||||||
| @@ -784,7 +820,7 @@ Image is rotated about it's own center by specified angle, then drawn to screen. | ( | ) | -+ | const |
@@ -813,7 +849,7 @@ Check if surface is a valid GL texture. (does not detect surface loss)
|
) | -+ | const |
@@ -842,7 +878,7 @@ Check if surface is a valid GL texture. (does not detect surface loss)
|
) | -+ | const |
@@ -871,7 +907,7 @@ Get Current Width of Image.
|
1.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 @@
| IsLoaded() | ZE::ZMusic | |
| IsPaused() | ZE::ZMusic | |
| IsPlaying() | ZE::ZMusic | |
| IsLoaded() const | ZE::ZMusic | |
| IsPaused() const | ZE::ZMusic | |
| IsPlaying() const | ZE::ZMusic | |
| LoopInfinite | ZE::ZMusic | [static] |
| Open(string filename) | ZE::ZMusic | |
| Pause() | ZE::ZMusic | |
| Play(int loopNum=0, int fadeTime=0) | ZE::ZMusic | |
| Pause() const | ZE::ZMusic | |
| Play(int loopNum=0, int fadeTime=0) const | ZE::ZMusic | |
| Release() | ZE::ZMusic | |
| rEngine | ZE::ZObject | [protected] |
| Rewind() | ZE::ZMusic | |
| Rewind() const | ZE::ZMusic | |
| rMusic | ZE::ZMusic | [protected] |
| SetVolume(int volume) | ZE::ZMusic | |
| Stop(int fadeTime=0) | ZE::ZMusic | |
| Unpause() | ZE::ZMusic | |
| Volume() | ZE::ZMusic | |
| Stop(int fadeTime=0) const | ZE::ZMusic | |
| Unpause() const | ZE::ZMusic | |
| Volume() const | ZE::ZMusic | |
| ZMusic() | ZE::ZMusic | |
| ZMusic(string filename) | ZE::ZMusic | |
| ZObject() | ZE::ZObject | [inline] |
| ~ZMusic() | ZE::ZMusic | |
| ~ZObject() | ZE::ZObject | [inline, virtual] |
1.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.
1.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 @@
[protected] [inline] [inline, virtual]
1.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
-
1.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 @@
1.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 @@
1.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 @@
| IsLoaded() | ZE::ZSound | |
| IsPaused() | ZE::ZSound | |
| IsPlaying() | ZE::ZSound | |
| IsLoaded() const | ZE::ZSound | |
| IsPaused() const | ZE::ZSound | |
| IsPlaying() const | ZE::ZSound | |
| LoopInfinite | ZE::ZSound | [static] |
| Open(string filename) | ZE::ZSound | |
| Pause() | ZE::ZSound | |
| Pause() const | ZE::ZSound | |
| Play(int loopNum=0, int fadeTime=0) | ZE::ZSound | |
| rChannelID | ZE::ZSound | [protected] |
| Release() | ZE::ZSound | |
| rEngine | ZE::ZObject | [protected] |
| rSound | ZE::ZSound | [protected] |
| SetVolume(int volume) | ZE::ZSound | |
| Stop(int fadeTime=0) | ZE::ZSound | |
| Unpause() | ZE::ZSound | |
| Volume() | ZE::ZSound | |
| Stop(int fadeTime=0) const | ZE::ZSound | |
| Unpause() const | ZE::ZSound | |
| Volume() const | ZE::ZSound | |
| ZObject() | ZE::ZObject | [inline] |
| ZSound() | ZE::ZSound | |
| ZSound(string filename) | ZE::ZSound | |
| ~ZObject() | ZE::ZObject | [inline, virtual] |
| ~ZSound() | ZE::ZSound |
1.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.
1.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 @@
| GetParentTime() | ZE::ZTimer | [protected] |
| GetTime() | ZE::ZTimer | |
| IsPaused() | ZE::ZTimer | |
| GetParentTime() const | ZE::ZTimer | [protected] |
| GetTime() const | ZE::ZTimer | |
| IsPaused() const | ZE::ZTimer | |
| Pause() | ZE::ZTimer | |
| rEngine | ZE::ZObject | [protected] |
| Reset() | ZE::ZTimer | |
| ZObject() | ZE::ZObject | [inline] |
| ZTimer(bool useZEngine=true) | ZE::ZTimer | |
| ~ZObject() | ZE::ZObject | [inline, virtual] |
1.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.
[protected] [protected]
1.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
| /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.cpp | Source file for error logging utilities |
| /src/ZE_Utility.cpp | Source file for ZEngine utility functions |
| /src/ZE_ZConfigFile.cpp | Source file for ZConfigFile |
| /src/ZE_ZEngine.cpp | Central source file for ZEngine |
| /src/ZE_ZError.cpp | Source file for ZError |
| /src/ZE_ZFont.cpp | Source file for ZFont |
| /src/ZE_ZImage.cpp | Source file for ZImage |
| /src/ZE_ZMusic.cpp | Source file for ZMusic |
| /src/ZE_ZSound.cpp | Source file for ZSound |
| /src/ZE_ZTimer.cpp | Source file for ZTimer |
1.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:
1.3-rc2
diff --git a/doc/html/globals.html b/doc/html/globals.html
index 4204e54..c282fc6 100644
--- a/doc/html/globals.html
+++ b/doc/html/globals.html
@@ -7,39 +7,28 @@
-Here is a list of all documented file members with links to the documentation:
1.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 @@
1.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
-
This file is Part of the ZEngine Library for 2D game development. @@ -36,7 +36,7 @@ Contributing Authors
1.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
+
+
|
+
| + + | +
+
+ +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.
|
+
-
-
|
- ||||||||||||||||
| - - | -
-
- -Get string describing error given appropriate details.
|
-
-
-
|
- ||||||||||||||||
| - - | -
-
- -Log error to stderr, describing error given appropriate details.
|
-
| @@ -195,7 +170,7 @@ Takes identifiers out of fmtstr and parses them, replacing them with coorespond |
1.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 @@
-Here is a list of all documented namespace members with links to the namespaces they belong to:
1.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 @@
| ZE | ZEngine Namespace |
1.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
-
1.3-rc2