From fe1de1997c980e1faf04821bb3978f315238ae5b Mon Sep 17 00:00:00 2001 From: James Turk Date: Sun, 27 Apr 2003 22:05:04 +0000 Subject: [PATCH] random numbers --- doc/html/SDLGL__Util_8h-source.html | 2 +- doc/html/ZE__Defines_8h-source.html | 13 +- doc/html/ZE__Defines_8h.html | 16 +- doc/html/ZE__Includes_8h-source.html | 2 +- doc/html/ZE__Includes_8h.html | 7 +- doc/html/ZE__Utility_8cpp.html | 2 +- doc/html/ZE__Utility_8h-source.html | 2 +- doc/html/ZE__Utility_8h.html | 2 +- doc/html/ZE__ZConfigFile_8cpp.html | 2 +- doc/html/ZE__ZConfigFile_8h-source.html | 2 +- doc/html/ZE__ZConfigFile_8h.html | 2 +- doc/html/ZE__ZEngine_8cpp.html | 4 +- doc/html/ZE__ZEngine_8h-source.html | 42 ++-- doc/html/ZE__ZEngine_8h.html | 4 +- doc/html/ZE__ZError_8cpp.html | 2 +- doc/html/ZE__ZError_8h-source.html | 2 +- doc/html/ZE__ZError_8h.html | 2 +- doc/html/ZE__ZFont_8cpp.html | 2 +- doc/html/ZE__ZFont_8h-source.html | 2 +- doc/html/ZE__ZFont_8h.html | 2 +- doc/html/ZE__ZImage_8cpp.html | 2 +- doc/html/ZE__ZImage_8h-source.html | 2 +- doc/html/ZE__ZImage_8h.html | 2 +- doc/html/ZE__ZMusic_8cpp.html | 2 +- doc/html/ZE__ZMusic_8h-source.html | 2 +- doc/html/ZE__ZMusic_8h.html | 2 +- doc/html/ZE__ZRect_8cpp.html | 2 +- doc/html/ZE__ZRect_8h-source.html | 2 +- doc/html/ZE__ZRect_8h.html | 2 +- doc/html/ZE__ZSound_8cpp.html | 2 +- doc/html/ZE__ZSound_8h-source.html | 2 +- doc/html/ZE__ZSound_8h.html | 2 +- doc/html/ZE__ZTimer_8cpp.html | 2 +- doc/html/ZE__ZTimer_8h-source.html | 2 +- doc/html/ZE__ZTimer_8h.html | 2 +- doc/html/ZEngine_8h-source.html | 2 +- doc/html/ZEngine_8h.html | 4 +- doc/html/annotated.html | 4 +- doc/html/classZE_1_1ZConfigFile-members.html | 2 +- doc/html/classZE_1_1ZConfigFile.html | 2 +- ..._1ZConfigFile_1_1ZCF__Section-members.html | 2 +- ...lassZE_1_1ZConfigFile_1_1ZCF__Section.html | 2 +- ...1ZConfigFile_1_1ZCF__Variable-members.html | 2 +- ...assZE_1_1ZConfigFile_1_1ZCF__Variable.html | 2 +- doc/html/classZE_1_1ZEngine-members.html | 40 ++-- doc/html/classZE_1_1ZEngine.html | 182 ++++++++++++------ doc/html/classZE_1_1ZError-members.html | 2 +- doc/html/classZE_1_1ZError.html | 2 +- doc/html/classZE_1_1ZFont-members.html | 2 +- doc/html/classZE_1_1ZFont.html | 2 +- doc/html/classZE_1_1ZImage-members.html | 2 +- doc/html/classZE_1_1ZImage.html | 2 +- doc/html/classZE_1_1ZMusic-members.html | 2 +- doc/html/classZE_1_1ZMusic.html | 2 +- doc/html/classZE_1_1ZRect-members.html | 2 +- doc/html/classZE_1_1ZRect.html | 2 +- doc/html/classZE_1_1ZSound-members.html | 2 +- doc/html/classZE_1_1ZSound.html | 2 +- doc/html/classZE_1_1ZTimer-members.html | 2 +- doc/html/classZE_1_1ZTimer.html | 2 +- doc/html/files.html | 2 +- doc/html/functions.html | 99 ++++++---- doc/html/globals.html | 12 +- doc/html/index.html | 2 +- doc/html/namespaceZE.html | 12 +- doc/html/namespacemembers.html | 2 +- doc/html/namespaces.html | 2 +- doc/html/physfsrwops_8h-source.html | 2 +- include/ZE_Includes.h | 3 +- include/ZE_ZClient.h | 4 +- include/ZE_ZServer.h | 4 +- src/ZE_ZEngine.cpp | 6 +- 72 files changed, 343 insertions(+), 223 deletions(-) diff --git a/doc/html/SDLGL__Util_8h-source.html b/doc/html/SDLGL__Util_8h-source.html index 49d9919..6801c78 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 076bf28..6c4e3b0 100644 --- a/doc/html/ZE__Defines_8h-source.html +++ b/doc/html/ZE__Defines_8h-source.html @@ -29,15 +29,16 @@ 00036 00037 #define USE_SDL_MIXER 00038 -00039 //#define USE_SDL_NET -00041 //#define USE_PHYSFS -00042 -00044 #define MAX_MSG_LEN 10240 +00039 #define USE_SDL_NET +00040 +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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Defines_8h.html b/doc/html/ZE__Defines_8h.html index 28d5a72..45abde5 100644 --- a/doc/html/ZE__Defines_8h.html +++ b/doc/html/ZE__Defines_8h.html @@ -34,15 +34,21 @@ Definition file, holds #define statements describing optional features of ZEngin #define USE_SDL_MIXER  Define to include sound support.

- -#define MAX_MSG_LEN   10240 + +#define USE_SDL_NETDefine to include net support.

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

+ +#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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 bb2d11e..4384ab1 100644 --- a/doc/html/ZE__Includes_8h-source.html +++ b/doc/html/ZE__Includes_8h-source.html @@ -54,7 +54,7 @@ 00060 using namespace std; 00061 00062 #endif //__ze_includes_h__ -
Generated on Sun Apr 27 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Includes_8h.html b/doc/html/ZE__Includes_8h.html index cdebd1c..b5566a1 100644 --- a/doc/html/ZE__Includes_8h.html +++ b/doc/html/ZE__Includes_8h.html @@ -10,7 +10,7 @@
File Header:
File: ZE_Includes.h
Description: Header file for ZEngine universal includes.
Author(s): James Turk
-
Id
ZE_Includes.h,v 1.6 2003/02/16 21:38:50 cozman Exp
+
Id
ZE_Includes.h,v 1.7 2003/04/27 21:50:47 cozman Exp

@@ -24,6 +24,9 @@ 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>
@@ -41,7 +44,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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Utility_8cpp.html b/doc/html/ZE__Utility_8cpp.html index c93e97e..4ddc709 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 fd1646e..51cae26 100755 --- a/doc/html/ZE__Utility_8h-source.html +++ b/doc/html/ZE__Utility_8h-source.html @@ -47,7 +47,7 @@ 00073 00074 #endif //__ze_utility_h__ 00075 -
Generated on Sun Apr 27 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Utility_8h.html b/doc/html/ZE__Utility_8h.html index f9fc15d..af201a5 100755 --- a/doc/html/ZE__Utility_8h.html +++ b/doc/html/ZE__Utility_8h.html @@ -139,7 +139,7 @@ Safely free a Mix_Music* and set it to NULL. Safely free a TTF_Font and set it to NULL. -
Generated on Sun Apr 27 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZConfigFile_8cpp.html b/doc/html/ZE__ZConfigFile_8cpp.html index 35772fb..b5de621 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 1b73f8d..8d0297d 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZConfigFile_8h.html b/doc/html/ZE__ZConfigFile_8h.html index ebd2f51..8cb62fb 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZEngine_8cpp.html b/doc/html/ZE__ZEngine_8cpp.html index 888cb89..50e2267 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.34 2003/04/08 03:30:50 cozman Exp
+
Id
ZE_ZEngine.cpp,v 1.35 2003/04/27 21:50:48 cozman Exp

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

Namespaces

namespace  ZE -
Generated on Sun Apr 27 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 249f9fa..29e91f3 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZEngine_8h.html b/doc/html/ZE__ZEngine_8h.html index 0638c10..5d26e78 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.21 2003/04/18 21:59:56 cozman Exp
+
Id
ZE_ZEngine.h,v 1.22 2003/04/27 21:50:47 cozman Exp

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

Namespaces

namespace  ZE -
Generated on Sun Apr 27 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZError_8cpp.html b/doc/html/ZE__ZError_8cpp.html index 85cd46a..2e3ab10 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 c6f12e3..c4f3600 100755 --- a/doc/html/ZE__ZError_8h-source.html +++ b/doc/html/ZE__ZError_8h-source.html @@ -80,7 +80,7 @@ 00147 } 00148 00149 #endif //__ze_zerror_h__ -
Generated on Sun Apr 27 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZError_8h.html b/doc/html/ZE__ZError_8h.html index caf30a6..e5691eb 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZFont_8cpp.html b/doc/html/ZE__ZFont_8cpp.html index f771476..b97de03 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 04ebf22..206da1f 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZFont_8h.html b/doc/html/ZE__ZFont_8h.html index 10c0cfd..5cd484d 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZImage_8cpp.html b/doc/html/ZE__ZImage_8cpp.html index 89eb9ed..2a65aba 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 a1bb400..81218aa 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZImage_8h.html b/doc/html/ZE__ZImage_8h.html index ff6d601..bdd4e26 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZMusic_8cpp.html b/doc/html/ZE__ZMusic_8cpp.html index 705c04f..6935012 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 12b8dcd..d7637bd 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZMusic_8h.html b/doc/html/ZE__ZMusic_8h.html index 7fe3a89..1d40f61 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZRect_8cpp.html b/doc/html/ZE__ZRect_8cpp.html index 61d58ca..30d26da 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 563b81b..c7a343a 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZRect_8h.html b/doc/html/ZE__ZRect_8h.html index 57ccea4..79a0f0b 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZSound_8cpp.html b/doc/html/ZE__ZSound_8cpp.html index 792bd69..cadaf33 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 f6014c3..e9f5e9d 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZSound_8h.html b/doc/html/ZE__ZSound_8h.html index d5d005a..aa8b2fe 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZTimer_8cpp.html b/doc/html/ZE__ZTimer_8cpp.html index b501058..991e5ba 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 35898df..104b991 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZTimer_8h.html b/doc/html/ZE__ZTimer_8h.html index 763f070..05477b6 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZEngine_8h-source.html b/doc/html/ZEngine_8h-source.html index 17e416b..3504a15 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZEngine_8h.html b/doc/html/ZEngine_8h.html index 6b922ff..78ffa04 100644 --- a/doc/html/ZEngine_8h.html +++ b/doc/html/ZEngine_8h.html @@ -27,12 +27,14 @@ 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 32c92a1..1313f7a 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -7,6 +7,7 @@
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: + @@ -16,10 +17,11 @@ +
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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 bb9b7bf..ec90a5f 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZConfigFile.html b/doc/html/classZE_1_1ZConfigFile.html index a0c8f46..4f51ad5 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 3a402be..cc920e0 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 5be1d21..4338973 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 b52519d..a05a358 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 1472d87..5d5e288 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 4ad7a51..aa96036 100644 --- a/doc/html/classZE_1_1ZEngine-members.html +++ b/doc/html/classZE_1_1ZEngine-members.html @@ -7,35 +7,37 @@
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. - + + - + - + - + + - + - - - - + + + + @@ -70,17 +72,17 @@ - - - - + + + + - + - + - + @@ -92,10 +94,10 @@ - - + + -
BPP()ZE::ZEngine
AddPhysFSDir(string dir)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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZEngine.html b/doc/html/classZE_1_1ZEngine.html index 113f45d..78834a6 100644 --- a/doc/html/classZE_1_1ZEngine.html +++ b/doc/html/classZE_1_1ZEngine.html @@ -86,42 +86,46 @@  Check for Activation, Window Manager, and Quit Events.

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

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

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

-ZErrorCode GetLastError () - Get the last error.

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

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

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


Static Public Methods

ZEngine * GetInstance ()  Get Instance.

@@ -1520,6 +1524,74 @@ 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.
+
+

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

+

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

+

@@ -1659,7 +1731,7 @@ Adds the error to the the error queue, and sets the current error to this error.
-

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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


The documentation for this class was generated from the following files: -
Generated on Sun Apr 27 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 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 d7c58c5..886fcca 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 17:49:38 2003 for ZEngine by +
Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZError.html b/doc/html/classZE_1_1ZError.html index 707b47c..6b9f781 100755 --- a/doc/html/classZE_1_1ZError.html +++ b/doc/html/classZE_1_1ZError.html @@ -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 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 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 17f6c87..18626c8 100644 --- a/doc/html/classZE_1_1ZFont-members.html +++ b/doc/html/classZE_1_1ZFont-members.html @@ -31,7 +31,7 @@ ZFont()ZE::ZFont ZFont(string filename, int size)ZE::ZFont ~ZFont()ZE::ZFont [virtual] -
    Generated on Sun Apr 27 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZFont.html b/doc/html/classZE_1_1ZFont.html index 6811176..8ca7c62 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 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 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 287234b..7335b68 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 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZImage.html b/doc/html/classZE_1_1ZImage.html index ff1a2cf..034d1c2 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 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 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 cae2a0f..702672b 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 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZMusic.html b/doc/html/classZE_1_1ZMusic.html index 5bc7a53..b820c19 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 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 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 b713f58..cdd9a00 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 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZRect.html b/doc/html/classZE_1_1ZRect.html index 22197c5..711768e 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 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 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 99c0b63..5c6bdad 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 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZSound.html b/doc/html/classZE_1_1ZSound.html index 4e8e7b4..f53979d 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 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 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 970f45f..affe2f8 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 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZTimer.html b/doc/html/classZE_1_1ZTimer.html index 22aed8b..84bb378 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 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/files.html b/doc/html/files.html index fb80a26..7df3c6d 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 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/functions.html b/doc/html/functions.html index c057a09..6acac10 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -12,7 +12,8 @@

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

    - a -

    - b - @@ -20,16 +21,21 @@ 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 -

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

    - x -

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

    - z -

    - ~ -

    -
    Generated on Sun Apr 27 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/globals.html b/doc/html/globals.html index 9f2015f..33bdbd0 100644 --- a/doc/html/globals.html +++ b/doc/html/globals.html @@ -20,12 +20,14 @@ Here is a list of all documented file members with links to the documentation:- m - +: ZE_Defines.h

    - u -

    - v -

      @@ -34,8 +36,8 @@ Here is a list of all documented file members with links to the documentation:- z - -
      Generated on Sun Apr 27 17:49:38 2003 for ZEngine by +: ZE_Defines.h
    +
    Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/index.html b/doc/html/index.html index cac5877..3326cf4 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 17:49:38 2003 for ZEngine by + Kevin Watters kwatters@adelphia.net - Fix to ZImage::SetColorKey<br>
    Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/namespaceZE.html b/doc/html/namespaceZE.html index 086dd1f..a293f22 100644 --- a/doc/html/namespaceZE.html +++ b/doc/html/namespaceZE.html @@ -16,6 +16,8 @@ Namespace for ZEngine classes a + + @@ -34,6 +36,8 @@ Namespace for ZEngine classes a + + @@ -123,11 +127,11 @@ Error trying to use a ZMusic wit +Error trying to use a ZClient without having an open socket. +Error using SDL_net in ZClient. +Error using SDL_net in ZClient.

    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
    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  Value used as range index, not a valid error code.
    @@ -181,7 +185,7 @@ Takes identifiers out of fmtstr and parses them, replacing them with coorespond -
    Generated on Sun Apr 27 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/namespacemembers.html b/doc/html/namespacemembers.html index 44d8fd9..a30208d 100644 --- a/doc/html/namespacemembers.html +++ b/doc/html/namespacemembers.html @@ -37,7 +37,7 @@ Here is a list of all documented namespace members with links to the namespaces : ZE
  • ZERR_VIDMODE : ZE
  • ZErrorCode : ZE -
    Generated on Sun Apr 27 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/namespaces.html b/doc/html/namespaces.html index c3c03ff..7b50ba6 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 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/physfsrwops_8h-source.html b/doc/html/physfsrwops_8h-source.html index b2387f7..21a700b 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 17:49:38 2003 for ZEngine by +
    Generated on Sun Apr 27 17:56:46 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/include/ZE_Includes.h b/include/ZE_Includes.h index 3b82362..9ffd8f4 100644 --- a/include/ZE_Includes.h +++ b/include/ZE_Includes.h @@ -13,7 +13,7 @@ File: ZE_Includes.h
    Description: Header file for ZEngine universal includes.
    Author(s): James Turk
    -$Id: ZE_Includes.h,v 1.7 2003/04/27 21:50:47 cozman Exp $
    +$Id: ZE_Includes.h,v 1.8 2003/04/27 22:05:25 cozman Exp $
    \file ZE_Includes.h \brief Include file for SDL and C++ Includes that many ZEngine files need. @@ -57,6 +57,7 @@ $Id: ZE_Includes.h,v 1.7 2003/04/27 21:50:47 cozman Exp $
    #include #include #include +#include using namespace std; #endif //__ze_includes_h__ diff --git a/include/ZE_ZClient.h b/include/ZE_ZClient.h index ef3678d..560e4bc 100755 --- a/include/ZE_ZClient.h +++ b/include/ZE_ZClient.h @@ -13,7 +13,7 @@ File: ZE_ZClient.h
    Description: Header file for core ZEngine TCP Client Object.
    Author(s): James Turk
    -$Id: ZE_ZClient.h,v 1.3 2003/04/27 21:50:47 cozman Exp $
    +$Id: ZE_ZClient.h,v 1.4 2003/04/27 22:05:25 cozman Exp $
    \file ZE_ZClient.h \brief Definition file for ZClient. @@ -33,9 +33,9 @@ namespace ZE /*! \brief ZEngine class for a simplified TCP client. - \since 0.8.3 ZClient net client class, used to create a simple TCP game client for use with ZServer. + \since 0.8.3 **/ class ZClient { diff --git a/include/ZE_ZServer.h b/include/ZE_ZServer.h index eec9ddd..ebae4ea 100755 --- a/include/ZE_ZServer.h +++ b/include/ZE_ZServer.h @@ -13,7 +13,7 @@ File: ZE_ZServer.h
    Description: Header file for core ZEngine TCP Server Object.
    Author(s): James Turk
    -$Id: ZE_ZServer.h,v 1.4 2003/04/27 21:50:47 cozman Exp $
    +$Id: ZE_ZServer.h,v 1.5 2003/04/27 22:05:25 cozman Exp $
    \file ZE_ZServer.h \brief Definition file for ZServer. @@ -33,10 +33,10 @@ namespace ZE /*! \brief ZEngine class for simplified TCP server. - \since 0.8.3 ZServer server class, used to create a simple TCP game server for use with ZClient. A very simple turnaround server, all the server does is accept connections and relay all recieved data to all other clients. + \since 0.8.3 **/ class ZServer { diff --git a/src/ZE_ZEngine.cpp b/src/ZE_ZEngine.cpp index 13d9037..f73d3a8 100644 --- a/src/ZE_ZEngine.cpp +++ b/src/ZE_ZEngine.cpp @@ -13,7 +13,7 @@ File: ZE_ZEngine.cpp
    Description: Implementation source file for ZEngine library main singleton class.
    Author(s): James Turk
    -$Id: ZE_ZEngine.cpp,v 1.35 2003/04/27 21:50:48 cozman Exp $
    +$Id: ZE_ZEngine.cpp,v 1.36 2003/04/27 22:05:25 cozman Exp $
    \file ZE_ZEngine.cpp \brief Central source file for ZEngine. @@ -60,6 +60,8 @@ ZEngine::ZEngine() ZError::CreateStringTable(); mLogAllErrors = true; mErrlog = stderr; + + ZEngine::SeedRandom(static_cast(time(NULL))); } ZEngine* ZEngine::GetInstance() @@ -752,7 +754,7 @@ TTF_Font* ZEngine::LoadFont(string filename, int size) #ifdef USE_PHYSFS SDL_RWops *rw; rw = PHYSFSRWOPS_openRead(filename.c_str()); - fnt.font = TTF_OpenFontRW(rw,0); + font = TTF_OpenFontRW(rw,0); SDL_FreeRW(rw); #else font = TTF_OpenFont(filename.c_str(),size);