diff --git a/doc/html/SDLGL__Util_8h-source.html b/doc/html/SDLGL__Util_8h-source.html index 8964ced..fd24b40 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 Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:34 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 4bc1d6e..68c915c 100644 --- a/doc/html/ZE__Defines_8h-source.html +++ b/doc/html/ZE__Defines_8h-source.html @@ -29,16 +29,15 @@ 00036 00037 #define USE_SDL_MIXER 00038 -00039 #define USE_SDL_NET -00040 -00041 #define USE_PHYSFS -00042 -00044 #define MAX_MSG_LEN 10240 +00039 //#define USE_SDL_NET +00041 //#define USE_PHYSFS +00042 +00044 #define MAX_MSG_LEN 10240 00045 -00046 typedef char ZByte; +00046 typedef char ZByte; 00047 00048 #endif //__ze_defines_h__ -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Defines_8h.html b/doc/html/ZE__Defines_8h.html index 539aa77..376d250 100644 --- a/doc/html/ZE__Defines_8h.html +++ b/doc/html/ZE__Defines_8h.html @@ -34,21 +34,15 @@ Definition file, holds #define statements describing optional features of ZEngin #define USE_SDL_MIXER  Define to include sound support.

- -#define USE_SDL_NETDefine to include net support.

- -#define USE_PHYSFSDefine to use the Physfs file system.

- -#define MAX_MSG_LEN   10240 + +#define MAX_MSG_LEN   10240  Maximum message length (for SDL_net). (10kb [10240] default).


Typedefs

- -typedef char ZByte + +typedef char ZByte  Define a ZByte as a plain char (for SDL_net).

-
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 2be1687..a32282c 100644 --- a/doc/html/ZE__Includes_8h-source.html +++ b/doc/html/ZE__Includes_8h-source.html @@ -55,7 +55,7 @@ 00061 using namespace std; 00062 00063 #endif //__ze_includes_h__ -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Includes_8h.html b/doc/html/ZE__Includes_8h.html index 8cfd980..ed72004 100644 --- a/doc/html/ZE__Includes_8h.html +++ b/doc/html/ZE__Includes_8h.html @@ -24,9 +24,6 @@ ZE_*.h files should only include this file and any other ZE_*.h files that they #include "SDL_image.h"
#include "SDL_ttf.h"
#include "SDL_mixer.h"
-#include "SDL_net.h"
-#include "physfs.h"
-#include "external/physfsrwops.h"
#include "external/mt19937ar.h"
#include <string>
#include <vector>
@@ -45,7 +42,7 @@ ZE_*.h files should only include this file and any other ZE_*.h files that they

Namespaces

namespace  std -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Utility_8cpp.html b/doc/html/ZE__Utility_8cpp.html index be09dcd..f4c7614 100755 --- a/doc/html/ZE__Utility_8cpp.html +++ b/doc/html/ZE__Utility_8cpp.html @@ -23,7 +23,7 @@ Source file containing open utilities for use inside and alongside ZEngine.

Namespaces

namespace  ZE -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 index 859114d..995f817 100755 --- a/doc/html/ZE__Utility_8h-source.html +++ b/doc/html/ZE__Utility_8h-source.html @@ -26,28 +26,29 @@ 00032 00042 string FormatStr(const char *fmtstr, ...); 00043 -00045 //Macros// +00045 //Memory// 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 } +00054 void FreeImage(SDL_Surface *&image); +00055 +00056 #ifdef USE_SDL_MIXER +00057 +00064 void FreeSound(Mix_Chunk *&chunk); +00065 +00072 void FreeMusic(Mix_Music *&music); 00073 -00074 #endif //__ze_utility_h__ +00074 #endif 00075 -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +00076 #ifdef USE_SDL_TTF +00077 +00083 void FreeFont(TTF_Font *&font); +00084 #endif +00085 +00086 +00087 } +00088 +00089 #endif //__ze_utility_h__ +00090 +
Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Utility_8h.html b/doc/html/ZE__Utility_8h.html index 0b4e178..f576bed 100755 --- a/doc/html/ZE__Utility_8h.html +++ b/doc/html/ZE__Utility_8h.html @@ -24,122 +24,8 @@ Definition file for ZEngine Utilities which are used throughout the engine and c

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 Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZClient_8cpp.html b/doc/html/ZE__ZClient_8cpp.html index 0b1c8d5..4783be3 100755 --- a/doc/html/ZE__ZClient_8cpp.html +++ b/doc/html/ZE__ZClient_8cpp.html @@ -21,7 +21,7 @@ Implementation file for ZClient, the TCP Client class for ZEngine.
-
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZClient_8h-source.html b/doc/html/ZE__ZClient_8h-source.html index 3555450..133188a 100755 --- a/doc/html/ZE__ZClient_8h-source.html +++ b/doc/html/ZE__ZClient_8h-source.html @@ -26,33 +26,33 @@ 00031 namespace ZE 00032 { 00033 -00040 class ZClient +00040 class ZClient 00041 { 00042 protected: -00044 ZEngine *rEngine; -00046 TCPsocket rSocket; -00048 SDLNet_SocketSet rSocketSet; -00050 bool rVerbose; -00052 int rWaitTime; +00044 ZEngine *rEngine; +00046 TCPsocket rSocket; +00048 SDLNet_SocketSet rSocketSet; +00050 bool rVerbose; +00052 int rWaitTime; 00053 00054 public: -00061 ZClient(bool verbose=false); +00061 ZClient(bool verbose=false); 00062 -00068 virtual ~ZClient(); +00068 virtual ~ZClient(); 00069 -00078 bool Connect(char *server, Uint16 port); +00078 bool Connect(char *server, Uint16 port); 00079 -00085 void Disconnect(); +00085 void Disconnect(); 00086 -00094 void SetWaitTime(int wait); +00094 void SetWaitTime(int wait); 00095 -00104 bool Send(ZByte *data, int size); +00104 bool Send(ZByte *data, int size); 00105 -00113 int Receive(ZByte *data); +00113 int Receive(ZByte *data); 00114 -00121 bool Connected(); +00121 bool Connected(); 00122 -00129 int WaitTime(); +00129 int WaitTime(); 00130 }; 00131 00132 } //namespace ZE @@ -60,7 +60,7 @@ 00134 #endif //USE_SDL_NET 00135 00136 #endif //__ze_zclient_h__ -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZClient_8h.html b/doc/html/ZE__ZClient_8h.html index 1eaab4d..d0e6ab2 100755 --- a/doc/html/ZE__ZClient_8h.html +++ b/doc/html/ZE__ZClient_8h.html @@ -22,10 +22,8 @@ Definition file for ZClient, the TCP Client class for ZEngine.

Go to the source code of this file. - -

Namespaces

namespace  ZE
-


Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZConfigFile_8cpp.html b/doc/html/ZE__ZConfigFile_8cpp.html index 65b833b..11af60f 100644 --- a/doc/html/ZE__ZConfigFile_8cpp.html +++ b/doc/html/ZE__ZConfigFile_8cpp.html @@ -23,7 +23,7 @@ Implementation of ZConfigFile, the ZEngine INI-Style Config File.

Namespaces

namespace  ZE -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 58674e0..3980164 100644 --- a/doc/html/ZE__ZConfigFile_8h-source.html +++ b/doc/html/ZE__ZConfigFile_8h-source.html @@ -92,7 +92,7 @@ 00266 } 00267 00268 #endif //__ze_zconfigfile_h__ -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZConfigFile_8h.html b/doc/html/ZE__ZConfigFile_8h.html index 8c238a8..1a0c3ad 100644 --- a/doc/html/ZE__ZConfigFile_8h.html +++ b/doc/html/ZE__ZConfigFile_8h.html @@ -25,7 +25,7 @@ Definition file for ZConfigFile, an INI-style Config format.

Namespaces

namespace  ZE -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZEngine_8cpp.html b/doc/html/ZE__ZEngine_8cpp.html index c7f4905..c4a56d7 100644 --- a/doc/html/ZE__ZEngine_8cpp.html +++ b/doc/html/ZE__ZEngine_8cpp.html @@ -10,7 +10,7 @@
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.36 2003/04/27 22:05:25 cozman Exp
+
Id
ZE_ZEngine.cpp,v 1.38 2003/04/28 00:23:06 cozman Exp

@@ -23,7 +23,7 @@ Actual implementation of ZEngine singleton class, the core of ZEngine.

Namespaces

namespace  ZE -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 7f1bb84..b0bb96e 100644 --- a/doc/html/ZE__ZEngine_8h-source.html +++ b/doc/html/ZE__ZEngine_8h-source.html @@ -167,9 +167,9 @@ 00484 00485 //Physfs Utilities// 00487 -00493 void InitPhysFS(string argv); +00493 void InitPhysFS(string argv); 00494 -00501 void AddPhysFSDir(string dir); +00501 void AddPhysFSDir(string dir); 00502 00503 #endif //USE_PHYSFS 00504 @@ -178,59 +178,59 @@ 00516 void LogError(ZError error); 00517 00518 public: -00529 void SetErrorLog(bool logAll, string logFile=""); +00529 void SetErrorLog(bool logAll, string logFile=""); 00530 -00541 void ReportError(ZErrorCode code, string desc="", string file="", unsigned int line=0); +00541 void ReportError(ZErrorCode code, string desc="", string file="", unsigned int line=0); 00542 -00550 ZErrorCode GetLastError(); +00550 ZErrorCode GetLastError(); 00551 -00559 void WriteLog(string str); +00559 void WriteLog(string str); 00560 -00567 void FlushErrors(); +00567 void FlushErrors(); 00568 00570 //Random Number Generation// 00572 -00580 void SeedRandom(unsigned long seed); +00580 void SeedRandom(unsigned long seed); 00581 -00590 unsigned long RandLong(unsigned long max); +00590 unsigned long RandLong(unsigned long max); 00591 -00601 long RandLong(long min, long max); +00601 long RandLong(long min, long max); 00602 -00610 double RandDouble(); +00610 double RandDouble(); 00611 -00621 double RandDouble(double min, double max); +00621 double RandDouble(double min, double max); 00622 00624 //Data Loading + Unloading// 00626 -00633 SDL_Surface* LoadImage(string filename); +00633 SDL_Surface* LoadImage(string filename); 00634 00635 #ifdef USE_SDL_MIXER 00636 -00643 Mix_Chunk* LoadSound(string filename); +00643 Mix_Chunk* LoadSound(string filename); 00644 -00652 Mix_Music* LoadMusic(string filename); +00652 Mix_Music* LoadMusic(string filename); 00653 #endif 00654 00655 #ifdef USE_SDL_TTF 00656 -00664 TTF_Font* LoadFont(string filename, int size); +00664 TTF_Font* LoadFont(string filename, int size); 00665 #endif 00666 00668 //Accessors// 00670 -00677 int Width(); +00677 int Width(); 00678 -00685 int Height(); +00685 int Height(); 00686 -00693 int BPP(); +00693 int BPP(); 00694 -00701 bool IsFullscreen(); +00701 bool IsFullscreen(); 00702 }; 00703 00704 } 00705 00706 #endif //__ze_zengine_h__ -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZEngine_8h.html b/doc/html/ZE__ZEngine_8h.html index 5fdb34d..445ee38 100644 --- a/doc/html/ZE__ZEngine_8h.html +++ b/doc/html/ZE__ZEngine_8h.html @@ -10,7 +10,7 @@
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.22 2003/04/27 21:50:47 cozman Exp
+
Id
ZE_ZEngine.h,v 1.24 2003/04/28 00:23:06 cozman Exp

@@ -28,7 +28,7 @@ ZEngine Game Engine core Engine definition.

Namespaces

namespace  ZE -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZError_8cpp.html b/doc/html/ZE__ZError_8cpp.html index 55e1493..226870c 100755 --- a/doc/html/ZE__ZError_8cpp.html +++ b/doc/html/ZE__ZError_8cpp.html @@ -23,7 +23,7 @@ Implementation of ZError, the ZEngine internal error information storage class.

Namespaces

namespace  ZE -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 index 152e5ae..7331c08 100755 --- a/doc/html/ZE__ZError_8h-source.html +++ b/doc/html/ZE__ZError_8h-source.html @@ -27,34 +27,34 @@ 00033 { 00034 00036 -00040 enum ZErrorCode +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_NET_INIT, -00048 ZERR_VIDMODE, -00049 ZERR_LOAD_IMAGE, -00050 ZERR_LOAD_SOUND, -00051 ZERR_LOAD_MUSIC, -00052 ZERR_LOAD_FONT, -00053 ZERR_NOIMAGE, -00054 ZERR_NOSOUND, -00055 ZERR_NOMUSIC, -00056 ZERR_NOFONT, -00057 ZERR_NOSOCKET, -00058 ZERR_NET_CLIENT, -00059 ZERR_NET_SERVER, -00060 ZERR_LAST +00042 ZERR_NONE, +00043 ZERR_SDL_INTERNAL, +00044 ZERR_SDL_INIT, +00045 ZERR_MIX_INIT, +00046 ZERR_TTF_INIT, +00047 ZERR_NET_INIT, +00048 ZERR_VIDMODE, +00049 ZERR_LOAD_IMAGE, +00050 ZERR_LOAD_SOUND, +00051 ZERR_LOAD_MUSIC, +00052 ZERR_LOAD_FONT, +00053 ZERR_NOIMAGE, +00054 ZERR_NOSOUND, +00055 ZERR_NOMUSIC, +00056 ZERR_NOFONT, +00057 ZERR_NOSOCKET, +00058 ZERR_NET_CLIENT, +00059 ZERR_NET_SERVER, +00060 ZERR_LAST 00061 }; 00062 00069 class ZError 00070 { 00071 protected: 00073 static string *sErrorDesc; -00075 ZErrorCode rCode; +00075 ZErrorCode rCode; 00077 string rDescription; 00079 string rFilename; 00081 unsigned int rLine; @@ -72,7 +72,7 @@ 00126 00128 //Accessors// 00130 -00137 ZErrorCode Code() const; +00137 ZErrorCode Code() const; 00138 00144 string LogString() const; 00145 }; @@ -80,7 +80,7 @@ 00147 } 00148 00149 #endif //__ze_zerror_h__ -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZError_8h.html b/doc/html/ZE__ZError_8h.html index 26ee9f6..0029ac9 100755 --- a/doc/html/ZE__ZError_8h.html +++ b/doc/html/ZE__ZError_8h.html @@ -26,7 +26,7 @@ Definition file for ZError, the Error logging class for ZEngine. This class shou

Namespaces

namespace  ZE -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZFont_8cpp.html b/doc/html/ZE__ZFont_8cpp.html index 97b54f6..02d5f24 100644 --- a/doc/html/ZE__ZFont_8cpp.html +++ b/doc/html/ZE__ZFont_8cpp.html @@ -21,7 +21,7 @@ Implementation of ZFont, the basic Font class for ZEngine.
-
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 70d31a5..2e68156 100644 --- a/doc/html/ZE__ZFont_8h-source.html +++ b/doc/html/ZE__ZFont_8h-source.html @@ -88,7 +88,7 @@ 00232 #endif //USE_SDL_TTF 00233 00234 #endif //__ze_zfont_h__ -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZFont_8h.html b/doc/html/ZE__ZFont_8h.html index acae20e..8fed77a 100644 --- a/doc/html/ZE__ZFont_8h.html +++ b/doc/html/ZE__ZFont_8h.html @@ -26,7 +26,7 @@ Definition file for ZFont, the basic Font class for ZEngine.

Namespaces

namespace  ZE -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZImage_8cpp.html b/doc/html/ZE__ZImage_8cpp.html index db62cfe..9a51816 100644 --- a/doc/html/ZE__ZImage_8cpp.html +++ b/doc/html/ZE__ZImage_8cpp.html @@ -23,7 +23,7 @@ Implementation of ZImage, the Image class for ZEngine.

Namespaces

namespace  ZE -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 2727f87..cd1dc2d 100644 --- a/doc/html/ZE__ZImage_8h-source.html +++ b/doc/html/ZE__ZImage_8h-source.html @@ -106,7 +106,7 @@ 00330 } 00331 00332 #endif -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZImage_8h.html b/doc/html/ZE__ZImage_8h.html index 15c865f..dd649fa 100644 --- a/doc/html/ZE__ZImage_8h.html +++ b/doc/html/ZE__ZImage_8h.html @@ -25,7 +25,7 @@ Definition file for ZImage, the OpenGL version of the ZImage class for ZEngine.

Namespaces

namespace  ZE -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZMusic_8cpp.html b/doc/html/ZE__ZMusic_8cpp.html index 8d6bbb9..07a0b4f 100644 --- a/doc/html/ZE__ZMusic_8cpp.html +++ b/doc/html/ZE__ZMusic_8cpp.html @@ -21,7 +21,7 @@ Implementation of ZMusic, the basic Music class for ZEngine.
-
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 28b6fbe..354b424 100644 --- a/doc/html/ZE__ZMusic_8h-source.html +++ b/doc/html/ZE__ZMusic_8h-source.html @@ -78,7 +78,7 @@ 00183 #endif //USE_SDL_MIXER 00184 00185 #endif //__ze_zmusic_h__ -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZMusic_8h.html b/doc/html/ZE__ZMusic_8h.html index ec47beb..8921990 100644 --- a/doc/html/ZE__ZMusic_8h.html +++ b/doc/html/ZE__ZMusic_8h.html @@ -25,7 +25,7 @@ Definition file for ZMusic, the Music file wrapper for ZEngine.

Namespaces

namespace  ZE -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZRect_8cpp.html b/doc/html/ZE__ZRect_8cpp.html index 33aa890..acf0961 100644 --- a/doc/html/ZE__ZRect_8cpp.html +++ b/doc/html/ZE__ZRect_8cpp.html @@ -23,7 +23,7 @@ Implementation of ZRect, the Rectangle class for ZEngine.

Namespaces

namespace  ZE -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 ba6d223..265689a 100644 --- a/doc/html/ZE__ZRect_8h-source.html +++ b/doc/html/ZE__ZRect_8h-source.html @@ -88,7 +88,7 @@ 00268 } //namespace ZE 00269 00270 #endif //__ze_zrect_h__ -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZRect_8h.html b/doc/html/ZE__ZRect_8h.html index 2d930aa..bff836f 100644 --- a/doc/html/ZE__ZRect_8h.html +++ b/doc/html/ZE__ZRect_8h.html @@ -25,7 +25,7 @@ Definition file for ZRect, the Rectangle class for ZEngine.

Namespaces

namespace  ZE -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZServer_8cpp.html b/doc/html/ZE__ZServer_8cpp.html index 1864b8c..f09654e 100755 --- a/doc/html/ZE__ZServer_8cpp.html +++ b/doc/html/ZE__ZServer_8cpp.html @@ -21,7 +21,7 @@ Implementation file for ZServer, the TCP Server class for ZEngine.
-
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZServer_8h-source.html b/doc/html/ZE__ZServer_8h-source.html index aa7f4d0..295b483 100755 --- a/doc/html/ZE__ZServer_8h-source.html +++ b/doc/html/ZE__ZServer_8h-source.html @@ -26,35 +26,35 @@ 00031 namespace ZE 00032 { 00033 -00041 class ZServer +00041 class ZServer 00042 { 00043 private: -00045 ZEngine *rEngine; -00047 TCPsocket rSocket; -00049 SDLNet_SocketSet rSocketSet; -00051 TCPsocket *rClientSockets; -00053 int rMaxClients; -00055 bool rVerbose; -00057 int rWaitTime; +00045 ZEngine *rEngine; +00047 TCPsocket rSocket; +00049 SDLNet_SocketSet rSocketSet; +00051 TCPsocket *rClientSockets; +00053 int rMaxClients; +00055 bool rVerbose; +00057 int rWaitTime; 00058 -00065 void CloseSocket(int num); +00065 void CloseSocket(int num); 00066 00067 public: -00074 ZServer(bool verbose=false); +00074 ZServer(bool verbose=false); 00075 -00081 virtual ~ZServer(); +00081 virtual ~ZServer(); 00082 -00091 bool Start(int maxClients, Uint16 port); +00091 bool Start(int maxClients, Uint16 port); 00092 -00098 void Stop(); +00098 void Stop(); 00099 -00107 void SetWaitTime(int wait); +00107 void SetWaitTime(int wait); 00108 -00115 void CheckSockets(); +00115 void CheckSockets(); 00116 -00123 int Clients(); +00123 int Clients(); 00124 -00131 int WaitTime(); +00131 int WaitTime(); 00132 }; 00133 00134 } //namespace ZE @@ -62,7 +62,7 @@ 00136 #endif //USE_SDL_NET 00137 00138 #endif //__ze_zserver_h__ -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZServer_8h.html b/doc/html/ZE__ZServer_8h.html index b815744..c719423 100755 --- a/doc/html/ZE__ZServer_8h.html +++ b/doc/html/ZE__ZServer_8h.html @@ -22,10 +22,8 @@ Definition file for ZServer, the TCP Server class for ZEngine.

Go to the source code of this file. - -

Namespaces

namespace  ZE
-


Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZSound_8cpp.html b/doc/html/ZE__ZSound_8cpp.html index 4a56e03..cb1e284 100644 --- a/doc/html/ZE__ZSound_8cpp.html +++ b/doc/html/ZE__ZSound_8cpp.html @@ -21,7 +21,7 @@ Implementation of ZSound, the basic Sound class for ZEngine.
-
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 4125f63..b55efff 100644 --- a/doc/html/ZE__ZSound_8h-source.html +++ b/doc/html/ZE__ZSound_8h-source.html @@ -77,7 +77,7 @@ 00178 #endif //USE_SDL_MIXER 00179 00180 #endif //__ze_zsound_h__ -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZSound_8h.html b/doc/html/ZE__ZSound_8h.html index 95e5ba2..287a667 100644 --- a/doc/html/ZE__ZSound_8h.html +++ b/doc/html/ZE__ZSound_8h.html @@ -25,7 +25,7 @@ Definition file for ZSound, the Sound Effect wrapper for ZEngine.

Namespaces

namespace  ZE -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZTimer_8cpp.html b/doc/html/ZE__ZTimer_8cpp.html index 2a0b8c4..234ba0f 100644 --- a/doc/html/ZE__ZTimer_8cpp.html +++ b/doc/html/ZE__ZTimer_8cpp.html @@ -23,7 +23,7 @@ Implementation of ZTimer, the basic Timer class for ZEngine.

Namespaces

namespace  ZE -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 9573391..23c3797 100644 --- a/doc/html/ZE__ZTimer_8h-source.html +++ b/doc/html/ZE__ZTimer_8h-source.html @@ -55,7 +55,7 @@ 00114 } 00115 00116 #endif //__ze_ztimer_h__ -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZTimer_8h.html b/doc/html/ZE__ZTimer_8h.html index 130ef3c..60c5d99 100644 --- a/doc/html/ZE__ZTimer_8h.html +++ b/doc/html/ZE__ZTimer_8h.html @@ -25,7 +25,7 @@ Definition file for ZTimer, the Timer class for ZEngine.

Namespaces

namespace  ZE -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZEngine_8h-source.html b/doc/html/ZEngine_8h-source.html index 274f301..af7bb52 100644 --- a/doc/html/ZEngine_8h-source.html +++ b/doc/html/ZEngine_8h-source.html @@ -30,7 +30,7 @@ 00074 #endif 00075 00076 #endif //__zengine_h__ -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZEngine_8h.html b/doc/html/ZEngine_8h.html index f8e2408..eb92e14 100644 --- a/doc/html/ZEngine_8h.html +++ b/doc/html/ZEngine_8h.html @@ -27,14 +27,12 @@ Header file for ZEngine Game Engine from Concept of Zero, this is the file that #include "ZE_ZFont.h"
#include "ZE_ZSound.h"
#include "ZE_ZMusic.h"
-#include "ZE_ZClient.h"
-#include "ZE_ZServer.h"

Go to the source code of this file.
-


Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/annotated.html b/doc/html/annotated.html index bbcc48f..18ba4c1 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -7,7 +7,6 @@
Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

ZEngine Compound List

Here are the classes, structs, unions and interfaces with brief descriptions: - @@ -17,11 +16,10 @@ -
ZE::ZClientZEngine class for a simplified TCP client
ZE::ZConfigFileZConfigFile Class for use in ZEngine
ZE::ZConfigFile::ZCF_SectionZConfigFile Section class
ZE::ZConfigFile::ZCF_VariableZConfigFile Variable class
ZE::ZImageZImage class for basic Image use
ZE::ZMusicZMusic class for playing full length music (eg. ogg or wav)
ZE::ZRectZEngine class for simplified rectangle use
ZE::ZServerZEngine class for simplified TCP server
ZE::ZSoundZSound class for playing sound effects. (WAV)
ZE::ZTimerZTimer class for Timer use
-
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 0f02894..769c7d4 100644 --- a/doc/html/classZE_1_1ZConfigFile-members.html +++ b/doc/html/classZE_1_1ZConfigFile-members.html @@ -28,7 +28,7 @@ ZConfigFile()ZE::ZConfigFile ZConfigFile(string filename)ZE::ZConfigFile ~ZConfigFile()ZE::ZConfigFile [virtual] -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZConfigFile.html b/doc/html/classZE_1_1ZConfigFile.html index 8f24e4c..67c67d3 100644 --- a/doc/html/classZE_1_1ZConfigFile.html +++ b/doc/html/classZE_1_1ZConfigFile.html @@ -877,7 +877,7 @@ Flush the file and clear the filename.
The documentation for this class was generated from the following files: -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 cd6a3d6..6cc8617 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 Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 f51dcc4..9fe77a3 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 Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 655e3d5..72d5692 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 Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 1a7f67c..9137d09 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 Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 2fe9545..b274c5f 100644 --- a/doc/html/classZE_1_1ZEngine-members.html +++ b/doc/html/classZE_1_1ZEngine-members.html @@ -7,37 +7,35 @@
Main Page   Namespace List   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. - - + - + - + - + - - + - - - - + + + + @@ -72,17 +70,17 @@ - - - - + + + + - + - + - + @@ -94,10 +92,10 @@ - - + + -
AddPhysFSDir(string dir)ZE::ZEngine
BPP()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
FlushErrors()ZE::ZEngine
GetDesiredFramerate()ZE::ZEngine
GetFramerate()ZE::ZEngine
GetFrameTime()ZE::ZEngine
GetInstance()ZE::ZEngine [static]
GetLastError()ZE::ZEngine
GetLastError()ZE::ZEngine
GetTime()ZE::ZEngine
GetVersion()ZE::ZEngine [static]
Height()ZE::ZEngine
Height()ZE::ZEngine
HideCursor()ZE::ZEngine
ImagesNeedReload()ZE::ZEngine
Initialized()ZE::ZEngine
InitPhysFS(string argv)ZE::ZEngine
IsActive()ZE::ZEngine
IsFullscreen()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
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]
mWidthZE::ZEngine [private]
PauseTimer()ZE::ZEngine
QuitRequested()ZE::ZEngine
RandDouble()ZE::ZEngine
RandDouble(double min, double max)ZE::ZEngine
RandLong(unsigned long max)ZE::ZEngine
RandLong(long min, long max)ZE::ZEngine
RandDouble()ZE::ZEngine
RandDouble(double min, double max)ZE::ZEngine
RandLong(unsigned long max)ZE::ZEngine
RandLong(long min, long max)ZE::ZEngine
RButtonPressed()ZE::ZEngine
ReleaseInstance()ZE::ZEngine [static]
ReportError(ZErrorCode code, string desc="", string file="", unsigned int line=0)ZE::ZEngine
ReportError(ZErrorCode code, string desc="", string file="", unsigned int line=0)ZE::ZEngine
RequestQuit()ZE::ZEngine
SeedRandom(unsigned long seed)ZE::ZEngine
SeedRandom(unsigned long seed)ZE::ZEngine
SetDesiredFramerate(Uint8 rate)ZE::ZEngine
SetErrorLog(bool logAll, string logFile="")ZE::ZEngine
SetErrorLog(bool logAll, string logFile="")ZE::ZEngine
SetEventFilter(SDL_EventFilter filter)ZE::ZEngine
SetGL2D()ZE::ZEngine
SetKeyRepeatRate(int rate)ZE::ZEngine
ToggleFullscreen()ZE::ZEngine
UnpauseTimer()ZE::ZEngine
Update()ZE::ZEngine
Width()ZE::ZEngine
WriteLog(string str)ZE::ZEngine
Width()ZE::ZEngine
WriteLog(string str)ZE::ZEngine
ZEngine()ZE::ZEngine [private]

Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZEngine.html b/doc/html/classZE_1_1ZEngine.html index ddb1fca..b908f16 100644 --- a/doc/html/classZE_1_1ZEngine.html +++ b/doc/html/classZE_1_1ZEngine.html @@ -86,46 +86,42 @@  Check for Activation, Window Manager, and Quit Events.

void SetEventFilter (SDL_EventFilter filter)  Add a SDL Event Filter for user processing of events.

-void InitPhysFS (string argv) - Initialize PhysicsFS.

-void AddPhysFSDir (string dir) - Add Directory to PhysFS Search Path.

-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.

-void SeedRandom (unsigned long seed) - Seed random number generator.

-unsigned long RandLong (unsigned long max) - Obtain random integer [0,max).

-long RandLong (long min, long max) - Obtain random integer [min,max].

-double RandDouble () - Obtain random double [0,1).

-double RandDouble (double min, double max) - Obtain random double [min,max].

-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.

+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.

+void SeedRandom (unsigned long seed) + Seed random number generator.

+unsigned long RandLong (unsigned long max) + Obtain random integer [0,max).

+long RandLong (long min, long max) + Obtain random integer [min,max].

+double RandDouble () + Obtain random double [0,1).

+double RandDouble (double min, double max) + Obtain random double [min,max].

+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.

@@ -1524,74 +1520,6 @@ This is only needed when you need tight control with

- - - - -
- - - - - - - - - - -
void ZE::ZEngine::InitPhysFS string   argv
-
- - - - - -
-   - - -

-Sets up PhysicsFS, must be called when application is started.

Parameters:
- - -
argv argv[0] from application's main.
-
-
-

- - - - -
- - - - - - - - - - -
void ZE::ZEngine::AddPhysFSDir string   dir
-
- - - - - -
-   - - -

-Add Directory to PhysicsFS search path, the path it looks in for files when attempting to load.

Parameters:
- - -
dir Directory to add to search path.
-
-

@@ -1627,7 +1555,7 @@ Writes error to current error file.
Since:
0.8.2
-

+

@@ -1672,7 +1600,7 @@ Change the way errors are logged and the file they are logged to, before calling
-

+

- + @@ -1731,13 +1659,13 @@ Adds the error to the the error queue, and sets the current error to this error.
@@ -1680,7 +1608,7 @@ Change the way errors are logged and the file they are logged to, before calling
void ZE::ZEngine::ReportError ZErrorCode ZErrorCode    code,
-

+

-
- + @@ -1761,7 +1689,7 @@ Get the last error reported.
Since:
0.8.2
ZErrorCode ZE::ZEngine::GetLastError ZErrorCode ZE::ZEngine::GetLastError  
-

+

@@ -1796,7 +1724,7 @@ Write a string to the log, allowing special usage of the error log.
-

+

@@ -1825,7 +1753,7 @@ Write the error stack to the error log.
Since:
0.
-

+

@@ -1860,7 +1788,7 @@ Reseed Mersenne Twister (MT19937) random number generator. NOTE: Generator is in
-

+

@@ -1896,7 +1824,7 @@ Obtain random long l where 0 <= l < max.
Since:
-

+

@@ -1942,7 +1870,7 @@ Obtain random long l where min <= l <= max.
Since:<
-

+

@@ -1972,7 +1900,7 @@ Obtain random double d where 0 <= d < 1.
Since:
-

+

@@ -2018,7 +1946,7 @@ Obtain random double d where min <= d <= max.
Since:
-

+

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

+

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

+

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

+

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

+

@@ -2197,7 +2125,7 @@ Get Width of Window or Fullscreen mode.
Returns:
-

+

@@ -2226,7 +2154,7 @@ Get Height of Window or Fullscreen mode.
Returns:
-

+

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

+

@@ -2286,7 +2214,7 @@ Get Fullscreen setting of Display.
Returns:
True


The documentation for this class was generated from the following files: -
Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 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 index 3923638..a3f5926 100755 --- a/doc/html/classZE_1_1ZError-members.html +++ b/doc/html/classZE_1_1ZError-members.html @@ -19,7 +19,7 @@
sErrorDescZE::ZError [protected, static]
ZError(ZErrorCode code=ZERR_NONE, string desc="", string file="", int line=0)ZE::ZError
~ZError()ZE::ZError [virtual]


Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZError.html b/doc/html/classZE_1_1ZError.html index 05b2193..9496b65 100755 --- a/doc/html/classZE_1_1ZError.html +++ b/doc/html/classZE_1_1ZError.html @@ -15,13 +15,13 @@ - + - + - + @@ -32,7 +32,7 @@ +ZErrorCode  @@ -57,7 +57,7 @@ string *  - + @@ -200,7 +200,7 @@ Properly delete the string table, freeing all memory used by the strings. - + @@ -256,7 +256,7 @@ Set new values in ZError object.

Public Methods

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

virtual ~ZError ()
 Virtual Destructor.

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

ZErrorCode Code () const
ZErrorCode Code () const
 Get ZErrorCode of error.

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

 Destroy string table of error strings.


Protected Attributes

-ZErrorCode rCode
rCode
 Error ID.

string rDescription
ZE::ZError::ZError ZErrorCode ZErrorCode    code = ZERR_NONE,
void ZE::ZError::Create ZErrorCode ZErrorCode    code,
- + @@ -309,7 +309,7 @@ Return the string to be written to the logfile. Called by ZE_ZError.h
  • /src/ZE_ZError.cpp -
    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:35 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 bccdb07..56fc6e9 100644 --- a/doc/html/classZE_1_1ZFont-members.html +++ b/doc/html/classZE_1_1ZFont-members.html @@ -31,7 +31,7 @@
  • -
    ZErrorCode ZE::ZError::Code ZErrorCode ZE::ZError::Code  
    ZFont()ZE::ZFont
    ZFont(string filename, int size)ZE::ZFont
    ~ZFont()ZE::ZFont [virtual]

    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +

    Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZFont.html b/doc/html/classZE_1_1ZFont.html index fb90e80..bbd308a 100644 --- a/doc/html/classZE_1_1ZFont.html +++ b/doc/html/classZE_1_1ZFont.html @@ -764,7 +764,7 @@ Get Height of String in Current Font in Pixels.
    Parameters:
    The documentation for this class was generated from the following file: -
    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:35 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 0723d06..aa65227 100644 --- a/doc/html/classZE_1_1ZImage-members.html +++ b/doc/html/classZE_1_1ZImage-members.html @@ -45,7 +45,7 @@ ZImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h)ZE::ZImage ZImage(const ZImage &img, Sint16 x, Sint16 y, Sint16 w, Sint16 h)ZE::ZImage ~ZImage()ZE::ZImage [virtual] -
    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZImage.html b/doc/html/classZE_1_1ZImage.html index 4cce4f9..32ee1c3 100644 --- a/doc/html/classZE_1_1ZImage.html +++ b/doc/html/classZE_1_1ZImage.html @@ -1240,7 +1240,7 @@ Get current alpha value of image.
    Since:
    0.8.2
    The documentation for this class was generated from the following files: -
    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:35 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 68a3fba..295c767 100644 --- a/doc/html/classZE_1_1ZMusic-members.html +++ b/doc/html/classZE_1_1ZMusic-members.html @@ -25,7 +25,7 @@ ZMusic()ZE::ZMusic ZMusic(string filename)ZE::ZMusic ~ZMusic()ZE::ZMusic [virtual] -
    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZMusic.html b/doc/html/classZE_1_1ZMusic.html index 838edf3..f069ee5 100644 --- a/doc/html/classZE_1_1ZMusic.html +++ b/doc/html/classZE_1_1ZMusic.html @@ -524,7 +524,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 Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:35 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 ef1df9a..5c89d6a 100644 --- a/doc/html/classZE_1_1ZRect-members.html +++ b/doc/html/classZE_1_1ZRect-members.html @@ -36,7 +36,7 @@ ZRect(const SDL_Rect &rect)ZE::ZRect ZRect(const ZRect &rhs)ZE::ZRect ~ZRect()ZE::ZRect [virtual] -
    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZRect.html b/doc/html/classZE_1_1ZRect.html index 06edfa4..39ac9fd 100644 --- a/doc/html/classZE_1_1ZRect.html +++ b/doc/html/classZE_1_1ZRect.html @@ -979,7 +979,7 @@ Access private height member.
    Returns:
    Value of m
    The documentation for this class was generated from the following files: -
    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:35 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 638c228..c64fad8 100644 --- a/doc/html/classZE_1_1ZSound-members.html +++ b/doc/html/classZE_1_1ZSound-members.html @@ -25,7 +25,7 @@ ZSound()ZE::ZSound ZSound(string filename)ZE::ZSound ~ZSound()ZE::ZSound [virtual] -
    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZSound.html b/doc/html/classZE_1_1ZSound.html index 5eddcfa..bb61f5e 100644 --- a/doc/html/classZE_1_1ZSound.html +++ b/doc/html/classZE_1_1ZSound.html @@ -497,7 +497,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 Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:35 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 7b53af3..2936bad 100644 --- a/doc/html/classZE_1_1ZTimer-members.html +++ b/doc/html/classZE_1_1ZTimer-members.html @@ -20,7 +20,7 @@ Unpause()ZE::ZTimer ZTimer(bool useZEngine=true)ZE::ZTimer ~ZTimer()ZE::ZTimer [virtual] -
    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZTimer.html b/doc/html/classZE_1_1ZTimer.html index 5d05692..14992fb 100644 --- a/doc/html/classZE_1_1ZTimer.html +++ b/doc/html/classZE_1_1ZTimer.html @@ -285,7 +285,7 @@ Find out paused state of timer.
    Returns:
    Paused s
    The documentation for this class was generated from the following files: -
    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/files.html b/doc/html/files.html index 1cdddee..3749d68 100644 --- a/doc/html/files.html +++ b/doc/html/files.html @@ -38,7 +38,7 @@ /src/ZE_ZSound.cppSource file for ZSound /src/ZE_ZTimer.cppSource file for ZTimer -
    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/functions.html b/doc/html/functions.html index 840a91d..9fe51b9 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -12,8 +12,7 @@

    Here is a list of all documented class members with links to the class documentation for each member:

    - a -

    - b - @@ -21,21 +20,16 @@ Here is a list of all documented class members with links to the class documenta
  • Bind() : ZE::ZImage
  • Bottom() : ZE::ZRect
  • BPP() -: ZE::ZEngine +: ZE::ZEngine

    - c -

  • +: ZE::ZEngine

    - g -

    - w -

    +
  • Width() +: ZE::ZRect, ZE::ZImage, ZE::ZEngine
  • WriteLog() +: ZE::ZEngine

    - x -

    • X() @@ -290,32 +271,28 @@ Here is a list of all documented class members with links to the class documenta : ZE::ZRect

    - z -

    - ~ -

    -
    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/globals.html b/doc/html/globals.html index 5e52252..39b2bd4 100644 --- a/doc/html/globals.html +++ b/doc/html/globals.html @@ -7,27 +7,18 @@
    Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZEngine File Members

    -f | m | u | v | z
    +m | u | v | z

    -Here is a list of all documented file members with links to the documentation:

    - f - -

    -

    - m - +Here is a list of all documented file members with links to the documentation:

    - m -

    +: ZE_Defines.h

    - u -

    - v -

      @@ -36,8 +27,8 @@ Here is a list of all documented file members with links to the documentation:- z - -
      Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +: ZE_Defines.h
    +
    Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/index.html b/doc/html/index.html index e1717ed..e67d11b 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -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
    - Kevin Watters kwatters@adelphia.net - Fix to ZImage::SetColorKey<br>
    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by + Kevin Watters kwatters@adelphia.net - Fix to ZImage::SetColorKey<br>
    Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/mt19937ar_8h-source.html b/doc/html/mt19937ar_8h-source.html index 7c8c85b..35cb0b0 100755 --- a/doc/html/mt19937ar_8h-source.html +++ b/doc/html/mt19937ar_8h-source.html @@ -29,7 +29,7 @@ 00021 double genrand_res53(void); 00022 00023 #endif //__mt19937ar__ -
    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/namespaceZE.html b/doc/html/namespaceZE.html index d0bc367..04a06aa 100644 --- a/doc/html/namespaceZE.html +++ b/doc/html/namespaceZE.html @@ -16,8 +16,6 @@ Namespace for ZEngine classes a - - @@ -36,46 +34,52 @@ Namespace for ZEngine classes a - - - - + + + + + + + + +

    Compounds

    class  ZClient
     ZEngine class for a simplified TCP client. More...

    class  ZConfigFile
     ZConfigFile Class for use in ZEngine. More...

    class  ZCF_Variable
     ZMusic class for playing full length music (eg. ogg or wav). More...

    class  ZRect
     ZEngine class for simplified rectangle use. More...

    class  ZServer
     ZEngine class for simplified TCP server. More...

    class  ZSound
     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, +
    enum  ZErrorCode {
    +  ZERR_NONE, +ZERR_SDL_INTERNAL, +ZERR_SDL_INIT, +ZERR_MIX_INIT,
    -  ZERR_TTF_INIT, -ZERR_NET_INIT, -ZERR_VIDMODE, -ZERR_LOAD_IMAGE, +  ZERR_TTF_INIT, +ZERR_NET_INIT, +ZERR_VIDMODE, +ZERR_LOAD_IMAGE,
    -  ZERR_LOAD_SOUND, -ZERR_LOAD_MUSIC, -ZERR_LOAD_FONT, -ZERR_NOIMAGE, +  ZERR_LOAD_SOUND, +ZERR_LOAD_MUSIC, +ZERR_LOAD_FONT, +ZERR_NOIMAGE,
    -  ZERR_NOSOUND, -ZERR_NOMUSIC, -ZERR_NOFONT, -ZERR_NOSOCKET, +  ZERR_NOSOUND, +ZERR_NOMUSIC, +ZERR_NOFONT, +ZERR_NOSOCKET,
    -  ZERR_NET_CLIENT, -ZERR_NET_SERVER, -ZERR_LAST +  ZERR_NET_CLIENT, +ZERR_NET_SERVER, +ZERR_LAST
    }
     Enumeration of ZEngine error codes. More...

     Enumeration of ZEngine error codes. More...


    Functions

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

    void FreeImage (SDL_Surface *&image)
     Properly free SDL_Surface.

    void FreeSound (Mix_Chunk *&chunk)
     Properly free Mix_Chunk.

    void FreeMusic (Mix_Music *&music)
     Properly free Mix_Music.

    void FreeFont (TTF_Font *&font)
     Properly free TTF_Font.


    Enumeration Type Documentation

    -

    +

    @@ -96,43 +100,43 @@ 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.

    Enumeration values:
    - - - - - - - - - - - - - - - - - - - + + +
    ZERR_NONE  +
    ZERR_NONE  No error has occured.
    ZERR_SDL_INTERNAL  +
    ZERR_SDL_INTERNAL  Error internal to SDL has occured, usually more detail is given by SDL.
    ZERR_SDL_INIT  +
    ZERR_SDL_INIT  Error Initializing SDL.
    ZERR_MIX_INIT  +
    ZERR_MIX_INIT  Error Initializing SDL_mixer.
    ZERR_TTF_INIT  +
    ZERR_TTF_INIT  Error Initializing SDL_ttf.
    ZERR_NET_INIT  +
    ZERR_NET_INIT  Error Initializing SDL_net.
    ZERR_VIDMODE  +
    ZERR_VIDMODE  Error setting up the display.
    ZERR_LOAD_IMAGE  +
    ZERR_LOAD_IMAGE  Error loading an image.
    ZERR_LOAD_SOUND  +
    ZERR_LOAD_SOUND  Error loading a sound sample.
    ZERR_LOAD_MUSIC  +
    ZERR_LOAD_MUSIC  Error loading music.
    ZERR_LOAD_FONT  +
    ZERR_LOAD_FONT  Error loading a font.
    ZERR_NOIMAGE  +
    ZERR_NOIMAGE  Error trying to use a ZImage without properly loading an image.
    ZERR_NOSOUND  +
    ZERR_NOSOUND  Error trying to use a ZSound without properly loading a sound.
    ZERR_NOMUSIC  +
    ZERR_NOMUSIC  Error trying to use a ZMusic without properly loading music.
    ZERR_NOFONT  +
    ZERR_NOFONT  Error trying to use a ZFont without properly loading a font.
    ZERR_NOSOCKET  -Error trying to use a ZClient without having an open socket.
    ZERR_NET_CLIENT  -Error using SDL_net in ZClient.
    ZERR_NET_SERVER  -Error using SDL_net in ZClient.
    ZERR_LAST  +
    ZERR_NOSOCKET  +Error trying to use a ZClient without having an open socket.
    ZERR_NET_CLIENT  +Error using SDL_net in ZClient.
    ZERR_NET_SERVER  +Error using SDL_net in ZClient.
    ZERR_LAST  Value used as range index, not a valid error code.
    @@ -185,7 +189,143 @@ Takes identifiers out of fmtstr and parses them, replacing them with coorespond
    -


    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +

    + + + + +
    + + + + + + + + + + +
    void ZE::FreeImage SDL_Surface *&   image
    +
    + + + + + +
    +   + + +

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

    Parameters:
    + + +
    image Image to free and set to NULL.
    +
    +
    +

    + + + + +
    + + + + + + + + + + +
    void FreeSound Mix_Chunk *&   chunk
    +
    + + + + + +
    +   + + +

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

    Parameters:
    + + +
    chunk Chunk to free and set to NULL.
    +
    +
    +

    + + + + +
    + + + + + + + + + + +
    void FreeMusic Mix_Music *&   music
    +
    + + + + + +
    +   + + +

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

    Parameters:
    + + +
    music Music to free and set to NULL.
    +
    +
    +

    + + + + +
    + + + + + + + + + + +
    void FreeFont TTF_Font *&   font
    +
    + + + + + +
    +   + + +

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

    Parameters:
    + + +
    font Font to free and set to NULL.
    +
    +
    +


    Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/namespacemembers.html b/doc/html/namespacemembers.html index 3bb7b44..8e33312 100644 --- a/doc/html/namespacemembers.html +++ b/doc/html/namespacemembers.html @@ -13,31 +13,35 @@ Here is a list of all documented namespace members with links to the namespaces they belong to:

    - f -

    • FormatStr() -: ZE
    +: ZE
  • FreeFont() +: ZE
  • FreeImage() +: ZE
  • FreeMusic() +: ZE
  • FreeSound() +: 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_NET_CLIENT -: ZE
    • ZERR_NET_INIT -: ZE
    • ZERR_NET_SERVER -: ZE
    • ZERR_NOFONT -: ZE
    • ZERR_NOIMAGE -: ZE
    • ZERR_NOMUSIC -: ZE
    • ZERR_NONE -: ZE
    • ZERR_NOSOCKET -: ZE
    • ZERR_NOSOUND -: ZE
    • ZERR_SDL_INIT -: ZE
    • ZERR_SDL_INTERNAL -: ZE
    • ZERR_TTF_INIT -: ZE
    • ZERR_VIDMODE -: ZE
    • ZErrorCode -: ZE
    -
    Generated on Sun Apr 27 18:16:26 2003 for ZEngine by +: ZE
  • ZERR_LOAD_FONT +: ZE
  • ZERR_LOAD_IMAGE +: ZE
  • ZERR_LOAD_MUSIC +: ZE
  • ZERR_LOAD_SOUND +: ZE
  • ZERR_MIX_INIT +: ZE
  • ZERR_NET_CLIENT +: ZE
  • ZERR_NET_INIT +: ZE
  • ZERR_NET_SERVER +: ZE
  • ZERR_NOFONT +: ZE
  • ZERR_NOIMAGE +: ZE
  • ZERR_NOMUSIC +: ZE
  • ZERR_NONE +: ZE
  • ZERR_NOSOCKET +: ZE
  • ZERR_NOSOUND +: ZE
  • ZERR_SDL_INIT +: ZE
  • ZERR_SDL_INTERNAL +: ZE
  • ZERR_TTF_INIT +: ZE
  • ZERR_VIDMODE +: ZE
  • ZErrorCode +: ZE +
    Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/namespaces.html b/doc/html/namespaces.html index b148871..1c5e673 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 Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:35 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/physfsrwops_8h-source.html b/doc/html/physfsrwops_8h-source.html index e9a7b33..7c731e2 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 Sun Apr 27 18:16:26 2003 for ZEngine by +
    Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/include/ZE_Utility.h b/include/ZE_Utility.h index c655bf5..4ded00b 100755 --- a/include/ZE_Utility.h +++ b/include/ZE_Utility.h @@ -13,7 +13,7 @@ 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 $
    +$Id: ZE_Utility.h,v 1.2 2003/04/28 02:01:20 cozman Exp $
    \file ZE_Utility.h \brief Definition file for ZEngine Utilities. @@ -42,30 +42,45 @@ namespace ZE string FormatStr(const char *fmtstr, ...); ////////// -//Macros// +//Memory// ////////// /*! + \brief Properly free SDL_Surface. + Safely free an SDL_Surface* and set it to NULL. + \param image Image to free and set to NULL. **/ -#define FreeImage(image) if(image){SDL_FreeSurface(image); image = NULL;} +void FreeImage(SDL_Surface *&image); #ifdef USE_SDL_MIXER + /*! + \brief Properly free Mix_Chunk. + Safely free a Mix_Chunk* and set it to NULL. + \param chunk Chunk to free and set to NULL. **/ -#define FreeSound(sound) if(sound){Mix_FreeChunk(sound); sound = NULL;} +void FreeSound(Mix_Chunk *&chunk); + /*! + \brief Properly free Mix_Music. + Safely free a Mix_Music* and set it to NULL. + \param music Music to free and set to NULL. **/ -#define FreeMusic(music) if(music){Mix_FreeMusic(music); music = NULL;} +void FreeMusic(Mix_Music *&music); + #endif #ifdef USE_SDL_TTF /*! - Safely free a TTF_Font and set it to NULL. + \brief Properly free TTF_Font. + + Safely free a TTF_Font* and set it to NULL. + \param font Font to free and set to NULL. **/ -#define FreeFont(font) if(font){TTF_CloseFont(font); font = NULL;} +void FreeFont(TTF_Font *&font); #endif diff --git a/src/ZE_Utility.cpp b/src/ZE_Utility.cpp index 4c6ceda..ca69892 100755 --- a/src/ZE_Utility.cpp +++ b/src/ZE_Utility.cpp @@ -13,7 +13,7 @@ File: ZE_Utility.cpp
    Description: Implementation source file for ZEngine Utilities.
    Author(s): James Turk
    -$Id: ZE_Utility.cpp,v 1.4 2003/01/19 01:03:57 cozman Exp $
    +$Id: ZE_Utility.cpp,v 1.5 2003/04/28 02:01:20 cozman Exp $
    \file ZE_Utility.cpp \brief Source file for ZEngine utility functions. @@ -37,5 +37,49 @@ string FormatStr(const char *fmtstr, ...) return buf; } +void FreeImage(SDL_Surface *&image) +{ + if(image) + { + SDL_FreeSurface(image); + image = NULL; + } +} + +#ifdef USE_SDL_MIXER + +void FreeSound(Mix_Chunk *&chunk) +{ + if(chunk) + { + Mix_FreeChunk(chunk); + chunk = NULL; + } +} + +void FreeMusic(Mix_Music *&music) +{ + if(music) + { + Mix_FreeMusic(music); + music = NULL; + } +} + +#endif + +#ifdef USE_SDL_TTF + +void FreeFont(TTF_Font *&font) +{ + if(font) + { + TTF_CloseFont(font); + font = NULL; + } +} + +#endif + }