diff --git a/changelog.txt b/changelog.txt index 61b9049..76a784b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,7 +1,9 @@ ZEngine Version Log for Version 0.8.2 -$Id: changelog.txt,v 1.30 2003/04/27 18:37:39 cozman Exp $ +$Id: changelog.txt,v 1.31 2003/04/27 18:54:58 cozman Exp $ 0.8.3 + -Fixed project files for people who don't want to add ZEngine to their path. + -Altered layout of some of the header files to hopefully be more readable. -Fixed minor bugs in ZImage, allowing Gewi to work properly. -Added loading of fonts from withen an archive via PhysFS (needs SDL_ttf 2.0.6) -Changed behavior of ZImage::Bind to work with blending. diff --git a/config b/config index 55a75c2..8be093d 100644 --- a/config +++ b/config @@ -1,7 +1,7 @@ #Config file for ZEngine# #Edit only this file# -BUILD= ZEngine-0.8.2 +BUILD= ZEngine-0.8.3 #Define compiler commands: CC= g++ diff --git a/doc/ZEngine.linux.doxygen b/doc/ZEngine.linux.doxygen index 061dcbb..722397a 100644 --- a/doc/ZEngine.linux.doxygen +++ b/doc/ZEngine.linux.doxygen @@ -4,8 +4,8 @@ # General configuration options #--------------------------------------------------------------------------- PROJECT_NAME = ZEngine -PROJECT_NUMBER = 0.8.2 -OUTPUT_DIRECTORY = /home/James/ZEngine-0.8.2/doc +PROJECT_NUMBER = 0.8.3 +OUTPUT_DIRECTORY = /home/James/ZEngine-0.8.3/doc OUTPUT_LANGUAGE = English EXTRACT_ALL = NO EXTRACT_PRIVATE = YES @@ -19,7 +19,7 @@ REPEAT_BRIEF = NO ALWAYS_DETAILED_SEC = NO INLINE_INHERITED_MEMB = NO FULL_PATH_NAMES = YES -STRIP_FROM_PATH = /home/James/ZEngine-0.8.2/ +STRIP_FROM_PATH = /home/James/ZEngine-0.8.3/ INTERNAL_DOCS = NO STRIP_CODE_COMMENTS = YES CASE_SENSE_NAMES = YES @@ -52,12 +52,12 @@ QUIET = NO WARNINGS = YES WARN_IF_UNDOCUMENTED = YES WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = /home/James/ZEngine-0.8.2/doc/ZEngine.log +WARN_LOGFILE = /home/James/ZEngine-0.8.3/doc/ZEngine.log #--------------------------------------------------------------------------- # configuration options related to the input files #--------------------------------------------------------------------------- -INPUT = /home/James/ZEngine-0.8.2/src \ - /home/James/ZEngine-0.8.2/include +INPUT = /home/James/ZEngine-0.8.3/src \ + /home/James/ZEngine-0.8.3/include FILE_PATTERNS = RECURSIVE = YES EXCLUDE = diff --git a/doc/ZEngine.win32.doxygen b/doc/ZEngine.win32.doxygen index dbb112f..ebd7c52 100644 --- a/doc/ZEngine.win32.doxygen +++ b/doc/ZEngine.win32.doxygen @@ -4,8 +4,8 @@ # General configuration options #--------------------------------------------------------------------------- PROJECT_NAME = ZEngine -PROJECT_NUMBER = 0.8.2 -OUTPUT_DIRECTORY = C:\libs\ZEngine-0.8.2\doc\ +PROJECT_NUMBER = 0.8.3 +OUTPUT_DIRECTORY = C:\libs\ZEngine-0.8.3\doc\ OUTPUT_LANGUAGE = English EXTRACT_ALL = NO EXTRACT_PRIVATE = YES @@ -20,7 +20,7 @@ REPEAT_BRIEF = NO ALWAYS_DETAILED_SEC = NO INLINE_INHERITED_MEMB = NO FULL_PATH_NAMES = YES -STRIP_FROM_PATH = C:\libs\ZEngine-0.8.2 +STRIP_FROM_PATH = C:\libs\ZEngine-0.8.3 INTERNAL_DOCS = NO CASE_SENSE_NAMES = YES SHORT_NAMES = NO @@ -53,12 +53,12 @@ WARNINGS = YES WARN_IF_UNDOCUMENTED = YES WARN_IF_DOC_ERROR = YES WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = C:\libs\ZEngine-0.8.2\doc\ZEngine.log +WARN_LOGFILE = C:\libs\ZEngine-0.8.3\doc\ZEngine.log #--------------------------------------------------------------------------- # configuration options related to the input files #--------------------------------------------------------------------------- -INPUT = C:/libs/ZEngine-0.8.2/include \ - C:/libs/ZEngine-0.8.2/src +INPUT = C:/libs/ZEngine-0.8.3/include \ + C:/libs/ZEngine-0.8.3/src FILE_PATTERNS = RECURSIVE = YES EXCLUDE = diff --git a/doc/html/SDLGL__Util_8h-source.html b/doc/html/SDLGL__Util_8h-source.html index cdc5eca..5a62e59 100755 --- a/doc/html/SDLGL__Util_8h-source.html +++ b/doc/html/SDLGL__Util_8h-source.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/external/SDLGL_Util.h

00001 /*This code comes from testgl.c which is part of the SDL source distribution.
 00002     Available at http://libsdl.org/
 00003 */
@@ -18,7 +18,7 @@
 00010 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord);
 00011 
 00012 #endif //__sdlgl_h__
-

Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:39 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 23c4f4c..3b6f032 100644 --- a/doc/html/ZE__Defines_8h-source.html +++ b/doc/html/ZE__Defines_8h-source.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_Defines.h

Go to the documentation of this file.
00001 /*******************************************************************************
 00002         This file is Part of the ZEngine Library for 2D game development.
 00003                    Copyright (C) 2002, 2003 James Turk
@@ -19,15 +19,25 @@
 00024 #ifndef __ze_defines_h__
 00025 #define __ze_defines_h__
 00026 
-00027 //defines- undefine any of these if you dont have the indicated SDL extension//
-00029 #define USE_SDL_TTF
-00031 #define USE_SDL_IMAGE
-00033 #define USE_SDL_MIXER
-00035 //#define USE_PHYSFS
-00037 #define VERSION "0.8.2"
-00038 
-00039 #endif //__ze_defines_h__
-

Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +00027 //Defines- undefine any of these if you dont have the indicated SDL extension// +00028 +00030 #define VERSION "0.8.3" +00031 +00033 #define USE_SDL_TTF +00034 +00035 #define USE_SDL_IMAGE +00036 +00037 #define USE_SDL_MIXER +00038 +00039 //#define USE_SDL_NET +00041 //#define USE_PHYSFS +00042 +00044 #define MAX_MSG_LEN 10240 +00045 +00046 typedef char ZByte; +00047 +00048 #endif //__ze_defines_h__ +
Generated on Sun Apr 27 14:53:39 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Defines_8h.html b/doc/html/ZE__Defines_8h.html index 642cbe6..16efc53 100644 --- a/doc/html/ZE__Defines_8h.html +++ b/doc/html/ZE__Defines_8h.html @@ -5,12 +5,12 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_Defines.h File Reference


Detailed Description

File Header:
File: ZE_Defines.h
Description: Defines header file for ZEngine class, where all #define statements to control compilation options are placed.
Author(s): James Turk
-
Id
ZE_Defines.h,v 1.7 2003/01/19 05:43:40 cozman Exp
+
Id
ZE_Defines.h,v 1.11 2003/04/08 03:33:10 cozman Exp

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

Defines

-#define USE_SDL_TTF
 Define to include font support.

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

-#define USE_SDL_MIXER
 Define to include sound support.

-#define VERSION   "0.8.2"
+#define VERSION   "0.8.3"
 Version number.

+#define USE_SDL_TTF
 Define to include font support.

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

+#define USE_SDL_MIXER
 Define to include sound support.

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


Typedefs

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

-
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 4dbe310..971d029 100644 --- a/doc/html/ZE__Includes_8h-source.html +++ b/doc/html/ZE__Includes_8h-source.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_Includes.h

Go to the documentation of this file.
00001 /*******************************************************************************
 00002         This file is Part of the ZEngine Library for 2D game development.
 00003                    Copyright (C) 2002, 2003 James Turk
@@ -33,24 +33,27 @@
 00039 #ifdef USE_SDL_MIXER
 00040 #include "SDL_mixer.h"
 00041 #endif
-00042 #ifdef USE_PHYSFS
-00043 #include "physfs.h"
-00044 #include "external/physfsrwops.h"
-00045 #endif
-00046 
-00047 #include <string>
-00048 #include <vector>
-00049 #include <queue>
-00050 #include <list>
-00051 #include <fstream>
-00052 #include <cstdio>
-00053 #include <cstdlib>
-00054 #include <cstdarg>
-00055 #include <cctype>
-00056 using namespace std;
-00057 
-00058 #endif //__ze_includes_h__
-

Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +00042 #ifdef USE_SDL_NET +00043 #include "SDL_net.h" +00044 #endif +00045 #ifdef USE_PHYSFS +00046 #include "physfs.h" +00047 #include "external/physfsrwops.h" +00048 #endif +00049 +00050 #include <string> +00051 #include <vector> +00052 #include <queue> +00053 #include <list> +00054 #include <fstream> +00055 #include <cstdio> +00056 #include <cstdlib> +00057 #include <cstdarg> +00058 #include <cctype> +00059 using namespace std; +00060 +00061 #endif //__ze_includes_h__ +
Generated on Sun Apr 27 14:53:39 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Includes_8h.html b/doc/html/ZE__Includes_8h.html index 701f6d9..c2e682c 100644 --- a/doc/html/ZE__Includes_8h.html +++ b/doc/html/ZE__Includes_8h.html @@ -5,12 +5,12 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_Includes.h File Reference


Detailed Description

File Header:
File: ZE_Includes.h
Description: Header file for ZEngine universal includes.
Author(s): James Turk
-
Id
ZE_Includes.h,v 1.5 2003/01/13 05:53:47 cozman Exp
+
Id
ZE_Includes.h,v 1.6 2003/02/16 21:38:50 cozman Exp

@@ -40,7 +40,7 @@ ZE_*.h files should only include this file and any other ZE_*.h files that they

Namespaces

namespace  std -
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Utility_8cpp.html b/doc/html/ZE__Utility_8cpp.html index 7a2e567..c3298c7 100755 --- a/doc/html/ZE__Utility_8cpp.html +++ b/doc/html/ZE__Utility_8cpp.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/src/ZE_Utility.cpp File Reference


Detailed Description

File Header:
File: ZE_Utility.cpp
Description: Implementation source file for ZEngine Utilities.
@@ -23,7 +23,7 @@ Source file containing open utilities for use inside and alongside ZEngine.

Namespaces

namespace  ZE -
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 69a6c36..2e59b9c 100755 --- a/doc/html/ZE__Utility_8h-source.html +++ b/doc/html/ZE__Utility_8h-source.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_Utility.h

Go to the documentation of this file.
00001 /*******************************************************************************
 00002         This file is Part of the ZEngine Library for 2D game development.
 00003                    Copyright (C) 2002, 2003 James Turk
@@ -24,7 +24,7 @@
 00030 namespace ZE
 00031 {
 00032 
-00042 string FormatStr(const char *fmtstr, ...);
+00042 string FormatStr(const char *fmtstr, ...);
 00043 
 00045 //Macros//
 00047 
@@ -47,7 +47,7 @@
 00073 
 00074 #endif //__ze_utility_h__
 00075 
-

Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__Utility_8h.html b/doc/html/ZE__Utility_8h.html index 973f957..74c3c4d 100755 --- a/doc/html/ZE__Utility_8h.html +++ b/doc/html/ZE__Utility_8h.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_Utility.h File Reference


Detailed Description

File Header:
File: ZE_Utility.h
Description: Header file for ZEngine Utilities.
@@ -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 Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZConfigFile_8cpp.html b/doc/html/ZE__ZConfigFile_8cpp.html index 4a83b40..523a0e7 100644 --- a/doc/html/ZE__ZConfigFile_8cpp.html +++ b/doc/html/ZE__ZConfigFile_8cpp.html @@ -5,12 +5,12 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/src/ZE_ZConfigFile.cpp File Reference


Detailed Description

File Header:
File: ZE_ZConfigFile.cpp
Description: Implementation source file for ZConfigFile, the ZEngine INI-Style Config File.
Author(s): James Turk
-
Id
ZE_ZConfigFile.cpp,v 1.4 2003/01/16 05:45:58 cozman Exp
+
Id
ZE_ZConfigFile.cpp,v 1.7 2003/04/08 03:30:50 cozman Exp

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

Namespaces

namespace  ZE -
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 c0d4f80..1893783 100644 --- a/doc/html/ZE__ZConfigFile_8h-source.html +++ b/doc/html/ZE__ZConfigFile_8h-source.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZConfigFile.h

Go to the documentation of this file.
00001 /*******************************************************************************
 00002         This file is Part of the ZEngine Library for 2D game development.
 00003                    Copyright (C) 2002, 2003 James Turk
@@ -19,77 +19,80 @@
 00025 #ifndef __ze_zconfigfile_h__
 00026 #define __ze_zconfigfile_h__
 00027 
-00028 #include "ZE_ZObject.h"        //included even though ZCF isn't derived (to obtain all other needed headers)
+00028 #include "ZE_ZEngine.h"
 00029 
 00030 namespace ZE
 00031 {
 00032 
-00038 class ZConfigFile : public ZObject
+00038 class ZConfigFile
 00039 {
 00040     private:
 00041 
 00042         //Private Types//
 00043 
-00044 
-00051         class ZCF_Variable
-00052         {
-00053             public:
-00055                 string var;
-00057                 string val;
-00058         };
-00059 
-00065         class ZCF_Section
-00066         {
-00067             public:
-00069                 string section;
-00071                 list<ZCF_Variable> varList;
-00072         };
-00073 
-00075         list<ZCF_Section> mFileLayout;
-00076 
-00078         string mFilename;
-00079 
-00087         string CleanString(string str)  const;
-00088         
-00096         bool Exists(string sec) const;
-00097 
-00106         bool Exists(string sec, string var) const;
-00107 
-00116         void SetVariable(string sec, string var, string val);
-00117 
-00127         string GetVariable(string sec, string var, string defVal) const;
-00128 
-00129     public:
-00130 
-00136         ZConfigFile();
-00137 
-00144         ZConfigFile(string filename);
-00145 
-00151         ~ZConfigFile();
-00152 
-00159         void Process(string filename);
-00160 
-00170         int GetInt(string section, string var, int defVal) const;
+00050         class ZCF_Variable
+00051         {
+00052             public:
+00054                 string var;
+00056                 string val;
+00057         };
+00058 
+00064         class ZCF_Section
+00065         {
+00066             public:
+00068                 string section;
+00070                 list<ZCF_Variable> varList;
+00071         };
+00072 
+00073     protected:
+00075         list<ZCF_Section> rFileLayout;
+00077         string rFilename;
+00078 
+00086         string CleanString(string str)  const;
+00087         
+00095         bool Exists(string sec) const;
+00096 
+00105         bool Exists(string sec, string var) const;
+00106 
+00115         void SetVariable(string sec, string var, string val);
+00116 
+00126         string GetVariable(string sec, string var, string defVal) const;
+00127 
+00128     public:
+00129 
+00135         ZConfigFile();
+00136 
+00143         ZConfigFile(string filename);
+00144 
+00150         virtual ~ZConfigFile();
+00151 
+00158         void Process(string filename);
+00159 
+00170         float GetFloat(string section, string var, float defVal) const;
 00171 
-00182         bool GetBool(string section, string var, bool defVal) const;
-00183 
-00193         string GetString(string section, string var, string defVal) const;
+00181         int GetInt(string section, string var, int defVal) const;
+00182 
+00193         bool GetBool(string section, string var, bool defVal) const;
 00194 
-00204         void SetInt(string section, string var, int val);
+00204         string GetString(string section, string var, string defVal) const;
 00205 
-00215         void SetBool(string section, string var, bool val);
-00216 
-00226         void SetString(string section, string var, string val);
-00227         
-00233         void Flush();
-00234 
-00240         void Close();
-00241 };
-00242 
-00243 }
-00244 
-00245 #endif //__ze_zconfigfile_h__
-

Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +00216 void SetFloat(string section, string var, float val); +00217 +00227 void SetInt(string section, string var, int val); +00228 +00238 void SetBool(string section, string var, bool val); +00239 +00249 void SetString(string section, string var, string val); +00250 +00256 void Flush(); +00257 +00263 void Close(); +00264 }; +00265 +00266 } +00267 +00268 #endif //__ze_zconfigfile_h__ +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZConfigFile_8h.html b/doc/html/ZE__ZConfigFile_8h.html index 73b9ac6..6c80b07 100644 --- a/doc/html/ZE__ZConfigFile_8h.html +++ b/doc/html/ZE__ZConfigFile_8h.html @@ -5,19 +5,19 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZConfigFile.h File Reference


Detailed Description

File Header:
File: Types/ZE_ZConfigFile.h
Description: Header file for ZEngine INI-Style Config Files.
Author(s): James Turk
-
Id
ZE_ZConfigFile.h,v 1.6 2003/01/16 05:46:39 cozman Exp
+
Id
ZE_ZConfigFile.h,v 1.9 2003/02/10 04:40:16 cozman Exp

Definition file for ZConfigFile, an INI-style Config format.

-#include "ZE_ZObject.h"
+#include "ZE_ZEngine.h"

Go to the source code of this file. @@ -25,7 +25,7 @@ Definition file for ZConfigFile, an INI-style Config format.

Namespaces

namespace  ZE
-


Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZEngine_8cpp.html b/doc/html/ZE__ZEngine_8cpp.html index de471d5..42e57d4 100644 --- a/doc/html/ZE__ZEngine_8cpp.html +++ b/doc/html/ZE__ZEngine_8cpp.html @@ -5,12 +5,12 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/src/ZE_ZEngine.cpp File Reference


Detailed Description

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.25 2003/01/27 04:33:34 cozman Exp
+
Id
ZE_ZEngine.cpp,v 1.34 2003/04/08 03:30:50 cozman Exp

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

Namespaces

namespace  ZE -
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 12ec0d5..8359f41 100644 --- a/doc/html/ZE__ZEngine_8h-source.html +++ b/doc/html/ZE__ZEngine_8h-source.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZEngine.h

Go to the documentation of this file.
00001 /*******************************************************************************
 00002         This file is Part of the ZEngine Library for 2D game development.
 00003                    Copyright (C) 2002, 2003 James Turk
@@ -29,212 +29,197 @@
 00039 
 00046 class ZEngine
 00047 {
-00049     //Singleton + Memory Management//
-00051 
-00052     private:
-00054         static ZEngine *sInstance;
-00055 
-00061         ZEngine();
-00062 
-00063     public:
-00064 
-00071         static ZEngine* GetInstance();
-00072 
-00078         static void ReleaseInstance();
-00079 
-00086         static string GetVersion();
-00087 
-00089     //Initialization//
-00091 
-00092     private:
-00094         int mWidth;
-00096         int mHeight;
-00098         int mBPP;
-00100         bool mFullscreen;
-00102         bool mInitialized;
-00103 
-00104 #ifdef USE_SDL_MIXER 
-00105 
-00106         int mRate;
-00108         bool mStereo;
-00109 #endif 
-00110 
-00111 
-00112     public:
-00113         //add initialization
-00114 
-00125         void SetupDisplay(int width, int height, int bpp, bool fullscreen);
-00126 
-00127 #ifdef USE_SDL_MIXER
-00128 
-00136         void SetupSound(int rate, bool stereo);
-00137 #endif 
-00138 
-00150         bool CreateDisplay(string title, string icon="");
-00151 
-00157         void CloseDisplay();
-00158 
-00166         void ToggleFullscreen();
-00167 
-00175         bool Initialized();
-00176 
-00178     //Screen Access//
-00180 
-00181     private:
-00183         SDL_Surface *mScreen;
-00184 
-00185     public:
-00192         SDL_Surface *Display();
-00193 
-00200         void Update();
-00201 
-00211         void Clear(float red=0.0f, float green=0.0f, float blue=0.0f, float alpha=1.0f);
-00212 
-00214     //OpenGL Specific Functions//
-00216     public:
-00217 
-00224         void SetGL2D();
-00225 
-00227     //Timer and Framerate Independent Movement//
-00229     
-00230     private:
-00232         bool mPaused;
-00234         bool mUnpauseOnActive;
-00236         Uint8 mDesiredFramerate;
-00238         Uint32 mNextUpdate;
-00240         Uint32 mLastPause;
-00242         Uint32 mPausedTime;
-00244         Uint32 mLastTime;
-00246         double mSecPerFrame;
-00247 
-00248     public:
-00255         void Delay(Uint32 milliseconds);
-00256 
-00263         Uint32 GetTime();
-00264 
-00270         void PauseTimer();
-00271 
-00277         void UnpauseTimer();
-00278 
-00285         double GetFrameTime();
-00286 
-00294         double GetFramerate();
-00295 
-00305         void SetDesiredFramerate(Uint8 rate);
-00306 
-00314         Uint8 GetDesiredFramerate();
-00315 
-00322         bool IsPaused();
-00323 
-00325     //Event and Input Handling//
-00327     private:
-00329         bool mNeedReload;
-00331         bool mActive;
-00333         bool mQuit;
-00335         Uint8 *mKeyIsPressed;
-00337         bool mKeyPress[SDLK_LAST];
-00339         int mMouseX;
-00341         int mMouseY;
-00343         Uint8 mMouseB;
-00344 
-00345     public:
-00352         bool IsActive();
-00353 
-00360         void RequestQuit();
-00361 
-00369         bool QuitRequested();
-00370 
-00375         void SetReloadNeed(bool state);
-00376 
-00384         bool ImagesNeedReload();
-00385         
-00395         void SetKeyRepeatRate(int rate);
-00396 
-00404         bool KeyIsPressed(SDLKey key);
-00405 
-00413         bool KeyPress(SDLKey key);
-00414 
-00420         void HideCursor();
-00421 
-00427         void ShowCursor();
-00428 
-00435         int MouseX();
-00436 
-00443         int MouseY();
-00444 
-00451         bool LButtonPressed();
-00452 
-00459         bool RButtonPressed();
-00460 
-00468         bool MouseInRect(SDL_Rect *rect);
-00469 
-00475         void CheckEvents();
-00476 
-00487         void SetEventFilter(SDL_EventFilter filter);
-00488 
-00489 #ifdef USE_PHYSFS
-00490 
-00491     //Physfs Utilities//
-00493     public:
-00500         void InitPhysFS(string argv);
-00501 
-00508         void AddPhysFSDir(string dir);
-00509 
-00510 #endif    //USE_PHYSFS
-00511 
-00513     //Error Logging//
-00515     private:
-00517         queue<ZError> mErrorQueue;
-00519         ZError mCurError;
-00521         bool mLogAllErrors;
-00523         FILE *mErrlog;
-00524 
-00532         void LogError(ZError error);
-00533 
-00534     public:
-00545         void SetErrorLog(bool logAll, string logFile="");
-00546 
-00557         void ReportError(ZErrorCode code, string desc="", string file="", unsigned int line=0);
-00558 
-00566         ZErrorCode GetLastError();
-00567 
-00575         void WriteLog(string str);
-00576 
-00583         void FlushErrors();
-00584 
-00585 
-00587     //Data Loading + Unloading//
-00589     public:
-00597         SDL_Surface* LoadImage(string filename);
-00598 
-00599 #ifdef USE_SDL_MIXER
-00600 
-00607         Mix_Chunk* LoadSound(string filename);
-00608 
-00616         Mix_Music* LoadMusic(string filename);
-00617 #endif
-00618 
-00619 #ifdef USE_SDL_TTF
-00620 
-00628         TTF_Font* LoadFont(string filename, int size);
-00629 #endif 
-00630 
-00632     //Accessors//
-00634 
-00635     public:    
-00642         int Width();
-00643 
-00650         int Height();
-00651 
-00658         int BPP();
-00659 
-00666         bool IsFullscreen();
-00667 };
-00668 
-00669 }
-00670 
-00671 #endif //__ze_zengine_h__
-

Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +00048 +00049 private: +00051 static ZEngine *sInstance; +00053 int mWidth; +00055 int mHeight; +00057 int mBPP; +00059 bool mFullscreen; +00061 bool mInitialized; +00063 SDL_Surface *mScreen; +00065 bool mPaused; +00067 bool mUnpauseOnActive; +00069 Uint8 mDesiredFramerate; +00071 Uint32 mNextUpdate; +00073 Uint32 mLastPause; +00075 Uint32 mPausedTime; +00077 Uint32 mLastTime; +00079 double mSecPerFrame; +00081 bool mNeedReload; +00083 bool mActive; +00085 bool mQuit; +00087 Uint8 *mKeyIsPressed; +00089 bool mKeyPress[SDLK_LAST]; +00091 int mMouseX; +00093 int mMouseY; +00095 Uint8 mMouseB; +00097 queue<ZError> mErrorQueue; +00099 ZError mCurError; +00101 bool mLogAllErrors; +00103 FILE *mErrlog; +00104 +00105 #ifdef USE_SDL_MIXER +00106 +00107 int mRate; +00109 bool mStereo; +00110 #endif +00111 +00113 //Singleton + Memory Management// +00115 +00116 private: +00122 ZEngine(); +00123 +00124 public: +00125 +00132 static ZEngine* GetInstance(); +00133 +00139 static void ReleaseInstance(); +00140 +00147 static string GetVersion(); +00148 +00150 //Initialization// +00152 +00163 void SetupDisplay(int width, int height, int bpp, bool fullscreen); +00164 +00165 #ifdef USE_SDL_MIXER +00166 +00174 void SetupSound(int rate, bool stereo); +00175 #endif +00176 +00188 bool CreateDisplay(string title, string icon=""); +00189 +00195 void CloseDisplay(); +00196 +00204 void ToggleFullscreen(); +00205 +00213 bool Initialized(); +00214 +00216 //Screen Access// +00218 +00225 SDL_Surface *Display(); +00226 +00233 void Update(); +00234 +00244 void Clear(float red=0.0f, float green=0.0f, float blue=0.0f, float alpha=1.0f); +00245 +00247 //OpenGL Specific Functions// +00249 +00256 void SetGL2D(); +00257 +00259 //Timer and Framerate Independent Movement// +00261 +00268 void Delay(Uint32 milliseconds); +00269 +00276 Uint32 GetTime(); +00277 +00283 void PauseTimer(); +00284 +00290 void UnpauseTimer(); +00291 +00298 double GetFrameTime(); +00299 +00307 double GetFramerate(); +00308 +00318 void SetDesiredFramerate(Uint8 rate); +00319 +00327 Uint8 GetDesiredFramerate(); +00328 +00335 bool IsPaused(); +00336 +00338 //Event and Input Handling// +00340 +00347 bool IsActive(); +00348 +00355 void RequestQuit(); +00356 +00364 bool QuitRequested(); +00365 +00370 void SetReloadNeed(bool state); +00371 +00379 bool ImagesNeedReload(); +00380 +00389 void SetKeyRepeatRate(int rate); +00390 +00398 bool KeyIsPressed(SDLKey key); +00399 +00407 bool KeyPress(SDLKey key); +00408 +00414 void HideCursor(); +00415 +00421 void ShowCursor(); +00422 +00429 int MouseX(); +00430 +00437 int MouseY(); +00438 +00445 bool LButtonPressed(); +00446 +00453 bool RButtonPressed(); +00454 +00462 bool MouseInRect(SDL_Rect *rect); +00463 +00469 void CheckEvents(); +00470 +00481 void SetEventFilter(SDL_EventFilter filter); +00482 +00483 #ifdef USE_PHYSFS +00484 +00485 //Physfs Utilities// +00487 +00493 void InitPhysFS(string argv); +00494 +00501 void AddPhysFSDir(string dir); +00502 +00503 #endif //USE_PHYSFS +00504 +00506 //Error Logging// +00508 private: +00516 void LogError(ZError error); +00517 +00518 public: +00529 void SetErrorLog(bool logAll, string logFile=""); +00530 +00541 void ReportError(ZErrorCode code, string desc="", string file="", unsigned int line=0); +00542 +00550 ZErrorCode GetLastError(); +00551 +00559 void WriteLog(string str); +00560 +00567 void FlushErrors(); +00568 +00569 +00571 //Data Loading + Unloading// +00573 +00580 SDL_Surface* LoadImage(string filename); +00581 +00582 #ifdef USE_SDL_MIXER +00583 +00590 Mix_Chunk* LoadSound(string filename); +00591 +00599 Mix_Music* LoadMusic(string filename); +00600 #endif +00601 +00602 #ifdef USE_SDL_TTF +00603 +00611 TTF_Font* LoadFont(string filename, int size); +00612 #endif +00613 +00615 //Accessors// +00617 +00624 int Width(); +00625 +00632 int Height(); +00633 +00640 int BPP(); +00641 +00648 bool IsFullscreen(); +00649 }; +00650 +00651 } +00652 +00653 #endif //__ze_zengine_h__ +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZEngine_8h.html b/doc/html/ZE__ZEngine_8h.html index 71f977d..8827056 100644 --- a/doc/html/ZE__ZEngine_8h.html +++ b/doc/html/ZE__ZEngine_8h.html @@ -5,12 +5,12 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZEngine.h File Reference


Detailed Description

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.18 2003/01/27 04:33:34 cozman Exp
+
Id
ZE_ZEngine.h,v 1.21 2003/04/18 21:59:56 cozman Exp

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

Namespaces

namespace  ZE -
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZError_8cpp.html b/doc/html/ZE__ZError_8cpp.html index 04f9fe5..4c9a5fa 100755 --- a/doc/html/ZE__ZError_8cpp.html +++ b/doc/html/ZE__ZError_8cpp.html @@ -5,12 +5,12 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/src/ZE_ZError.cpp File Reference


Detailed Description

File Header:
File: ZE_ZError.cpp
Description: Implementation source file for core ZEngine Error Object.
Author(s): James Turk
-
Id
ZE_ZError.cpp,v 1.3 2003/01/26 00:55:52 cozman Exp
+
Id
ZE_ZError.cpp,v 1.5 2003/03/01 20:43:41 cozman Exp

@@ -23,7 +23,7 @@ Implementation of ZError, the ZEngine internal error information storage class.

Namespaces

namespace  ZE -
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 8747003..72dcfc9 100755 --- a/doc/html/ZE__ZError_8h-source.html +++ b/doc/html/ZE__ZError_8h-source.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZError.h

Go to the documentation of this file.
00001 /*******************************************************************************
 00002         This file is Part of the ZEngine Library for 2D game development.
 00003                    Copyright (C) 2002, 2003 James Turk
@@ -27,54 +27,60 @@
 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_VIDMODE,       
-00048     ZERR_LOAD_IMAGE,    
-00049     ZERR_LOAD_SOUND,    
-00050     ZERR_LOAD_MUSIC,    
-00051     ZERR_LOAD_FONT,     
-00052     ZERR_NOIMAGE,       
-00053     ZERR_NOSOUND,       
-00054     ZERR_NOMUSIC,       
-00055     ZERR_NOFONT,        
-00056     ZERR_LAST           
-00057 };
-00058 
-00065 class ZError
-00066 {
-00067     protected:
-00069         static string *sErrorDesc;
-00071         ZErrorCode rCode;
-00073         string rDescription;
-00075         string rFilename;
-00077         unsigned int rLine;
-00078 
-00079     public:
-00085         static void CreateStringTable();
-00086 
-00092         static void DestroyStringTable();
-00093 
-00103         ZError(ZErrorCode code=ZERR_NONE, string desc="", string file="", int line=0);
-00104 
-00114         void Create(ZErrorCode code, string desc="", string file="", int line=0);
+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;
+00077         string rDescription;
+00079         string rFilename;
+00081         unsigned int rLine;
+00082 
+00083     public:
+00089         static void CreateStringTable();
+00090 
+00096         static void DestroyStringTable();
+00097 
+00107         ZError(ZErrorCode code=ZERR_NONE, string desc="", string file="", int line=0);
+00108 
+00114         virtual ~ZError();
 00115 
-00117         //Accessors//
-00119 
-00126         ZErrorCode Code() const;
-00127 
-00133         string LogString() const;
-00134 };
-00135 
-00136 }
-00137 
-00138 #endif //__ze_zerror_h__
-

Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +00125 void Create(ZErrorCode code, string desc="", string file="", int line=0); +00126 +00128 //Accessors// +00130 +00137 ZErrorCode Code() const; +00138 +00144 string LogString() const; +00145 }; +00146 +00147 } +00148 +00149 #endif //__ze_zerror_h__ +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZError_8h.html b/doc/html/ZE__ZError_8h.html index eacbf42..21e9d3f 100755 --- a/doc/html/ZE__ZError_8h.html +++ b/doc/html/ZE__ZError_8h.html @@ -5,12 +5,12 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZError.h File Reference


Detailed Description

File Header:
File: ZE_ZError.h
Description: Header file for ZEngine Error Object.
Author(s): James Turk
-
Id
ZE_ZError.h,v 1.5 2003/01/26 00:55:52 cozman Exp
+
Id
ZE_ZError.h,v 1.7 2003/03/01 20:42:52 cozman Exp

@@ -26,7 +26,7 @@ Definition file for ZError, the Error logging class for ZEngine. This class shou

Namespaces

namespace  ZE -
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZFont_8cpp.html b/doc/html/ZE__ZFont_8cpp.html index 3954c2e..896c7d0 100644 --- a/doc/html/ZE__ZFont_8cpp.html +++ b/doc/html/ZE__ZFont_8cpp.html @@ -5,12 +5,12 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/src/ZE_ZFont.cpp File Reference


Detailed Description

File Header:
File: ZE_ZFont.cpp
Description: Implementation source file for core ZEngine Font Object.
Author(s): James Turk
-
Id
ZE_ZFont.cpp,v 1.5 2003/01/16 05:45:58 cozman Exp
+
Id
ZE_ZFont.cpp,v 1.8 2003/04/08 03:34:25 cozman Exp

@@ -21,7 +21,7 @@ Implementation of ZFont, the basic Font class for ZEngine.
-
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 f46f87b..9541ba6 100644 --- a/doc/html/ZE__ZFont_8h-source.html +++ b/doc/html/ZE__ZFont_8h-source.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZFont.h

Go to the documentation of this file.
00001 /*******************************************************************************
 00002         This file is Part of the ZEngine Library for 2D game development.
 00003                    Copyright (C) 2002, 2003 James Turk
@@ -19,7 +19,7 @@
 00024 #ifndef __ze_zfont_h__
 00025 #define __ze_zfont_h__
 00026 
-00027 #include "ZE_ZObject.h"
+00027 #include "ZE_ZEngine.h"
 00028 #include "ZE_ZImage.h"
 00029 
 00030 #ifdef USE_SDL_TTF
@@ -27,67 +27,68 @@
 00032 namespace ZE
 00033 {
 00034 
-00040 class ZFont : public ZObject
+00040 class ZFont
 00041 {
 00042     protected:
-00044         TTF_Font *rFont;
-00046         string rFilename;
-00048         SDL_Color rColor;
-00050         SDL_Color rBGColor;
-00051 
-00052     public:
+00044         ZEngine* rEngine;
+00046         TTF_Font *rFont;
+00048         string rFilename;
+00050         SDL_Color rColor;
+00052         SDL_Color rBGColor;
 00053 
-00055         //Opening and Closing//
-00057 
-00063         ZFont();
-00064 
-00072         ZFont(string filename, int size);
-00073 
-00079         ~ZFont();
-00080 
-00088         void Open(string filename, int size);
-00089 
-00095         void Release();
-00096 
-00098         //Settings and Drawing//
-00100 
-00108         void DrawText(string text, ZImage &image) const;
-00109 
-00117         void DrawShadedText(string text, ZImage &image) const;
-00118 
-00127         void SetColor(Uint8 r, Uint8 g, Uint8 b);
-00128 
-00137         void SetBGColor(Uint8 r, Uint8 g, Uint8 b);
-00138 
-00147         void SetStyle(bool bold, bool italic, bool underline);
-00148 
-00155         void Resize(int size);
-00156 
-00158         //Accessors//
-00160 
-00167         bool IsLoaded() const;
-00168 
-00175         bool IsBold() const;
-00176 
-00183         bool IsItalic() const;
-00184 
-00191         bool IsUnderlined() const;
-00192 
-00199         int Height() const;
-00200 
-00207         int LineSkip() const;
-00208 
-00216         int StringWidth(string text) const;
-00217 
-00225         int StringHeight(string text) const;
-00226 };
-00227 
-00228 }
+00054     public:
+00055 
+00057         //Opening and Closing//
+00059 
+00065         ZFont();
+00066 
+00074         ZFont(string filename, int size);
+00075 
+00081         virtual ~ZFont();
+00082 
+00090         void Open(string filename, int size);
+00091 
+00097         void Release();
+00098 
+00100         //Settings and Drawing//
+00102 
+00110         void DrawText(string text, ZImage &image) const;
+00111 
+00119         void DrawShadedText(string text, ZImage &image) const;
+00120 
+00129         void SetColor(Uint8 r, Uint8 g, Uint8 b);
+00130 
+00139         void SetBGColor(Uint8 r, Uint8 g, Uint8 b);
+00140 
+00149         void SetStyle(bool bold, bool italic, bool underline);
+00150 
+00157         void Resize(int size);
+00158 
+00160         //Accessors//
+00162 
+00169         bool IsLoaded() const;
+00170 
+00177         bool IsBold() const;
+00178 
+00185         bool IsItalic() const;
+00186 
+00193         bool IsUnderlined() const;
+00194 
+00201         int Height() const;
+00202 
+00209         int LineSkip() const;
+00210 
+00218         int StringWidth(string text) const;
+00219 
+00227         int StringHeight(string text) const;
+00228 };
 00229 
-00230 #endif //USE_SDL_TTF
-00231 
-00232 #endif //__ze_zfont_h__
-

Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +00230 } +00231 +00232 #endif //USE_SDL_TTF +00233 +00234 #endif //__ze_zfont_h__ +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZFont_8h.html b/doc/html/ZE__ZFont_8h.html index 1556413..81b6efd 100644 --- a/doc/html/ZE__ZFont_8h.html +++ b/doc/html/ZE__ZFont_8h.html @@ -5,19 +5,19 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZFont.h File Reference


Detailed Description

File Header:
File: ZE_ZFont.h
Description: Header file for core ZEngine Font Object.
Author(s): James Turk
-
Id
ZE_ZFont.h,v 1.4 2003/01/16 05:46:39 cozman Exp
+
Id
ZE_ZFont.h,v 1.6 2003/02/10 04:40:16 cozman Exp

Definition file for ZFont, the basic Font class for ZEngine.

-#include "ZE_ZObject.h"
+#include "ZE_ZEngine.h"
#include "ZE_ZImage.h"

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

Namespaces

namespace  ZE -
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZImage_8cpp.html b/doc/html/ZE__ZImage_8cpp.html index fb71950..e05f60b 100644 --- a/doc/html/ZE__ZImage_8cpp.html +++ b/doc/html/ZE__ZImage_8cpp.html @@ -5,12 +5,12 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/src/ZE_ZImage.cpp File Reference


Detailed Description

File Header:
File: ZE_ZImage.cpp
Description: Implementation source file for core ZEngine Image or Texture Object.
Author(s): James Turk, Gamer Tazar
-
Id
ZE_ZImage.cpp,v 1.21 2003/01/25 19:56:05 cozman Exp
+
Id
ZE_ZImage.cpp,v 1.30 2003/04/18 21:52:49 cozman Exp

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

Namespaces

namespace  ZE -
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 127efaf..7b27137 100644 --- a/doc/html/ZE__ZImage_8h-source.html +++ b/doc/html/ZE__ZImage_8h-source.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZImage.h

Go to the documentation of this file.
00001 /*******************************************************************************
 00002         This file is Part of the ZEngine Library for 2D game development.
 00003                    Copyright (C) 2002, 2003 James Turk
@@ -19,85 +19,94 @@
 00024 #ifndef __ze_zimage_h__
 00025 #define __ze_zimage_h__
 00026 
-00027 #include "ZE_ZObject.h"
+00027 #include "ZE_ZEngine.h"
 00028 
 00029 namespace ZE
 00030 {
 00031 
-00037 class ZImage : public ZObject
+00037 class ZImage
 00038 {
 00039     protected:
-00041         GLfloat rTexMinX;
-00043         GLfloat rTexMinY;
-00045         GLfloat rTexMaxX;
-00047         GLfloat rTexMaxY;
-00049         SDL_Surface *rImage;
-00051         unsigned int rTexID;
-00053         unsigned int rWidth;
-00055         unsigned int rHeight;
-00057         Uint8 rAlpha;
-00058     
-00059     public:
-00060 
-00066         ZImage();
-00067 
-00074         ZImage(const ZImage &rhs);
-00075 
-00082         ZImage(string filename);
-00083 
-00090         ZImage(SDL_Surface *surface);
-00091 
-00103         ZImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h);
-00104 
-00110         ~ZImage();
-00111 
-00113         //Opening and Closing//
-00115 
-00122         void Open(string filename);
-00123 
-00135         void OpenFromImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h);
-00136 
-00143         void Attach(SDL_Surface *surface);
-00144 
-00150         void Reload();
+00041         ZEngine* rEngine;
+00043         GLfloat rTexMinX;
+00045         GLfloat rTexMinY;
+00047         GLfloat rTexMaxX;
+00049         GLfloat rTexMaxY;
+00051         SDL_Surface *rImage;
+00053         unsigned int rTexID;
+00055         unsigned int rWidth;
+00057         unsigned int rHeight;
+00059         Uint8 rAlpha;
+00060     
+00061     public:
+00062 
+00068         ZImage();
+00069 
+00076         ZImage(const ZImage &rhs);
+00077 
+00084         ZImage(string filename);
+00085 
+00092         ZImage(SDL_Surface *surface);
+00093 
+00105         ZImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h);
+00106 
+00118         ZImage(const ZImage &img, Sint16 x, Sint16 y, Sint16 w, Sint16 h);
+00119 
+00125         virtual ~ZImage();
+00126 
+00128         //Opening and Closing//
+00130 
+00137         void Open(string filename);
+00138 
+00150         void OpenFromImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h);
 00151 
-00157         void Release();
-00158 
-00160         //Graphics//
-00162 
-00170         void SetAlpha(Uint8 alpha);
-00171 
-00180         void SetColorKey(Uint8 red, Uint8 green, Uint8 blue);
-00181 
-00189         void Flip(bool horizontal, bool vertical);
-00190 
-00198         void Stretch(float xFactor, float yFactor);
+00163         void OpenFromImage(const ZImage &img, Sint16 x, Sint16 y, Sint16 w, Sint16 h);
+00164 
+00171         void Attach(SDL_Surface *surface);
+00172 
+00178         void Reload();
+00179 
+00185         void Release();
+00186 
+00188         //Graphics//
+00190 
+00198         void SetAlpha(Uint8 alpha);
 00199 
-00207         void Resize(unsigned int width, unsigned int height);
-00208 
-00215         void Bind() const;
-00216 
-00224         void Draw(float x, float y) const;
-00225 
-00234         void DrawRotated(int x, int y, float angle) const;
-00235 
-00237         //Accessors//
-00239 
-00246         bool IsLoaded() const;
-00247 
-00253         SDL_Surface *Surface() const;
-00254 
-00261         int Width() const;
-00262 
-00269         int Height() const;
-00270 
-00278         Uint8 Alpha() const;
-00279 };
-00280 
-00281 }
-00282 
-00283 #endif
-

Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +00208 void SetColorKey(Uint8 red, Uint8 green, Uint8 blue); +00209 +00217 void Flip(bool horizontal, bool vertical); +00218 +00226 void Stretch(float xFactor, float yFactor); +00227 +00235 void Resize(unsigned int width, unsigned int height); +00236 +00243 void Bind() const; +00244 +00252 void Draw(int x, int y) const; +00253 +00262 void Draw(float x, float y) const; +00263 +00272 void DrawRotated(int x, int y, float angle) const; +00273 +00283 void DrawRotated(float x, float y, float angle) const; +00284 +00286 //Accessors// +00288 +00295 bool IsLoaded() const; +00296 +00302 SDL_Surface *Surface() const; +00303 +00310 int Width() const; +00311 +00318 int Height() const; +00319 +00327 Uint8 Alpha() const; +00328 }; +00329 +00330 } +00331 +00332 #endif +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZImage_8h.html b/doc/html/ZE__ZImage_8h.html index 86bbc3e..e4d8725 100644 --- a/doc/html/ZE__ZImage_8h.html +++ b/doc/html/ZE__ZImage_8h.html @@ -5,19 +5,19 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZImage.h File Reference


Detailed Description

File Header:
File: ZE_ZImage.h
Description: Header file for core ZEngine Image and Texture Object.
Author(s): James Turk, Gamer Tazar
-
Id
ZE_ZImage.h,v 1.11 2003/01/25 19:56:05 cozman Exp
+
Id
ZE_ZImage.h,v 1.16 2003/02/10 05:26:18 cozman Exp

Definition file for ZImage, the OpenGL version of the ZImage class for ZEngine.

-#include "ZE_ZObject.h"
+#include "ZE_ZEngine.h"

Go to the source code of this file. @@ -25,7 +25,7 @@ Definition file for ZImage, the OpenGL version of the ZImage class for ZEngine.

Namespaces

namespace  ZE
-


Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZMusic_8cpp.html b/doc/html/ZE__ZMusic_8cpp.html index 08878b4..455ba56 100644 --- a/doc/html/ZE__ZMusic_8cpp.html +++ b/doc/html/ZE__ZMusic_8cpp.html @@ -5,12 +5,12 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/src/ZE_ZMusic.cpp File Reference


Detailed Description

File Header:
File: ZE_ZMusic.cpp
Description: Implementation source file for core ZEngine Music Object.
Author(s): James Turk
-
Id
ZE_ZMusic.cpp,v 1.5 2003/01/16 05:45:58 cozman Exp
+
Id
ZE_ZMusic.cpp,v 1.6 2003/02/10 04:02:38 cozman Exp

@@ -21,7 +21,7 @@ Implementation of ZMusic, the basic Music class for ZEngine.
-
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 c1733e9..1635376 100644 --- a/doc/html/ZE__ZMusic_8h-source.html +++ b/doc/html/ZE__ZMusic_8h-source.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZMusic.h

Go to the documentation of this file.
00001 /*******************************************************************************
 00002         This file is Part of the ZEngine Library for 2D game development.
 00003                    Copyright (C) 2002, 2003 James Turk
@@ -19,65 +19,66 @@
 00024 #ifndef __ze_zmusic_h__
 00025 #define __ze_zmusic_h__
 00026 
-00027 #include "ZE_ZObject.h"
+00027 #include "ZE_ZEngine.h"
 00028 
 00029 #ifdef USE_SDL_MIXER
 00030 
 00031 namespace ZE
 00032 {
 00033 
-00039 class ZMusic : public ZObject 
+00039 class ZMusic
 00040 {
 00041     protected:
-00043         Mix_Music *rMusic;
-00044 
-00045     public:
-00047         static const int LoopInfinite;
-00048 
-00050         //Opening and Closing//
-00052 
-00058         ZMusic();
-00059 
-00066         ZMusic(string filename);
-00067 
-00073         ~ZMusic();
-00074 
-00081         void Open(string filename);
-00082 
-00088         void Release();
-00089 
-00091         //Play Controls//
-00093 
-00102         void Play(int loopNum=0, int fadeTime=0) const;
-00103 
-00109         void Pause() const;
-00110 
-00116         void Unpause() const;
-00117 
-00123         void Rewind() const;
-00124 
-00131         void Stop(int fadeTime=0) const;
-00132 
-00139         void SetVolume(int volume);
-00140 
-00142         //Accessors//
-00144 
-00151         bool IsLoaded() const;
-00152 
-00159         bool IsPlaying() const;
-00160 
-00167         bool IsPaused() const;
-00168 
-00175         int Volume() const;
-00176 };
-00177 
-00178 
-00179 }
+00043         ZEngine* rEngine;
+00045         Mix_Music *rMusic;
+00046 
+00047     public:
+00049         static const int LoopInfinite;
+00050 
+00052         //Opening and Closing//
+00054 
+00060         ZMusic();
+00061 
+00068         ZMusic(string filename);
+00069 
+00075         virtual ~ZMusic();
+00076 
+00083         void Open(string filename);
+00084 
+00090         void Release();
+00091 
+00093         //Play Controls//
+00095 
+00104         void Play(int loopNum=0, int fadeTime=0) const;
+00105 
+00111         void Pause() const;
+00112 
+00118         void Unpause() const;
+00119 
+00125         void Rewind() const;
+00126 
+00133         void Stop(int fadeTime=0) const;
+00134 
+00141         void SetVolume(int volume);
+00142 
+00144         //Accessors//
+00146 
+00153         bool IsLoaded() const;
+00154 
+00161         bool IsPlaying() const;
+00162 
+00169         bool IsPaused() const;
+00170 
+00177         int Volume() const;
+00178 };
+00179 
 00180 
-00181 #endif //USE_SDL_MIXER
-00182 
-00183 #endif //__ze_zmusic_h__
-

Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +00181 } +00182 +00183 #endif //USE_SDL_MIXER +00184 +00185 #endif //__ze_zmusic_h__ +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZMusic_8h.html b/doc/html/ZE__ZMusic_8h.html index 5ee376f..eb43e0c 100644 --- a/doc/html/ZE__ZMusic_8h.html +++ b/doc/html/ZE__ZMusic_8h.html @@ -5,19 +5,19 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZMusic.h File Reference


Detailed Description

File Header:
File: ZE_ZMusic.h
Description: Header file for core ZEngine Music Wrapper Object.
Author(s): James Turk
-
Id
ZE_ZMusic.h,v 1.4 2003/01/16 05:46:39 cozman Exp
+
Id
ZE_ZMusic.h,v 1.6 2003/02/10 04:40:16 cozman Exp

Definition file for ZMusic, the Music file wrapper for ZEngine.

-#include "ZE_ZObject.h"
+#include "ZE_ZEngine.h"

Go to the source code of this file. @@ -25,7 +25,7 @@ Definition file for ZMusic, the Music file wrapper for ZEngine.

Namespaces

namespace  ZE
-


Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZRect_8cpp.html b/doc/html/ZE__ZRect_8cpp.html index 72f0c2a..69c1b21 100644 --- a/doc/html/ZE__ZRect_8cpp.html +++ b/doc/html/ZE__ZRect_8cpp.html @@ -5,12 +5,12 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/src/ZE_ZRect.cpp File Reference


Detailed Description

File Header:
File: ZE_ZRect.cpp
Description: Implementation source file for core ZEngine Rectangle Object.
Author(s): James Turk
-
Id
ZE_ZRect.cpp,v 1.7 2003/01/16 05:45:58 cozman Exp
+
Id
ZE_ZRect.cpp,v 1.9 2003/02/10 05:40:28 cozman Exp

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

Namespaces

namespace  ZE -
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 a92dc29..9658e0a 100644 --- a/doc/html/ZE__ZRect_8h-source.html +++ b/doc/html/ZE__ZRect_8h-source.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZRect.h

Go to the documentation of this file.
00001 /*******************************************************************************
 00002         This file is Part of the ZEngine Library for 2D game development.
 00003                    Copyright (C) 2002, 2003 James Turk
@@ -19,7 +19,7 @@
 00024 #ifndef __ze_zrect_h__
 00025 #define __ze_zrect_h__
 00026 
-00027 #include "ZE_ZObject.h"        //included even though ZRect isn't derived (to obtain all other needed headers)
+00027 #include "ZE_ZEngine.h"
 00028 
 00029 namespace ZE
 00030 {
@@ -38,53 +38,57 @@
 00057 
 00067         ZRect(float x, float y, float width, float height);
 00068 
-00075         ZRect(const ZRect &rhs);
+00075         ZRect(const SDL_Rect &rect);
 00076 
-00084         const ZRect& operator=(const ZRect &rhs);
-00085 
-00094         bool operator<(const ZRect &rhs) const;
-00095 
-00105         void Draw(Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha=255) const;
-00106 
-00114         void Move(float x, float y);
-00115 
-00123         void MoveRel(float xMove, float yMove);
-00124 
-00132         void Resize(float width, float height);
-00133 
-00141         void ResizeRel(float widthChange, float heightChange);
-00142 
-00150         bool Intersects(const ZRect &rect) const;
-00151 
-00160         bool Contains(float x, float y) const;
-00161 
-00169         bool Contains(const ZRect &rect) const;
-00170 
-00178         ZRect Intersection(const ZRect &rect) const;
-00179 
-00186         SDL_Rect SDLrect() const;
-00187 
-00194         float X() const;
-00195 
-00202         float Y() const;
-00203 
-00210         float Left() const;
-00211 
-00218         float Right() const;
-00219 
-00226         float Top() const;
-00227 
-00234         float Bottom() const;
-00235 
-00242         float Width() const;
-00243 
-00250         float Height() const;
-00251 };
-00252 
-00253 } //namspace ZE
-00254 
-00255 #endif //__ze_zrect_h__
-

Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +00083 ZRect(const ZRect &rhs); +00084 +00092 const ZRect& operator=(const ZRect &rhs); +00093 +00099 virtual ~ZRect(); +00100 +00109 bool operator<(const ZRect &rhs) const; +00110 +00120 void Draw(Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha=255) const; +00121 +00129 void Move(float x, float y); +00130 +00138 void MoveRel(float xMove, float yMove); +00139 +00147 void Resize(float width, float height); +00148 +00156 void ResizeRel(float widthChange, float heightChange); +00157 +00165 bool Intersects(const ZRect &rect) const; +00166 +00175 bool Contains(float x, float y) const; +00176 +00184 bool Contains(const ZRect &rect) const; +00185 +00193 ZRect Intersection(const ZRect &rect) const; +00194 +00201 SDL_Rect SDLrect() const; +00202 +00209 float X() const; +00210 +00217 float Y() const; +00218 +00225 float Left() const; +00226 +00233 float Right() const; +00234 +00241 float Top() const; +00242 +00249 float Bottom() const; +00250 +00257 float Width() const; +00258 +00265 float Height() const; +00266 }; +00267 +00268 } //namespace ZE +00269 +00270 #endif //__ze_zrect_h__ +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZRect_8h.html b/doc/html/ZE__ZRect_8h.html index 5a51ee6..800d863 100644 --- a/doc/html/ZE__ZRect_8h.html +++ b/doc/html/ZE__ZRect_8h.html @@ -5,19 +5,19 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZRect.h File Reference


Detailed Description

File Header:
File: ZE_ZRect.h
Description: Header file for core ZEngine Rectangle Object.
Author(s): James Turk
-
Id
ZE_ZRect.h,v 1.5 2003/01/16 05:46:39 cozman Exp
+
Id
ZE_ZRect.h,v 1.9 2003/02/16 21:54:29 cozman Exp

Definition file for ZRect, the Rectangle class for ZEngine.

-#include "ZE_ZObject.h"
+#include "ZE_ZEngine.h"

Go to the source code of this file. @@ -25,7 +25,7 @@ Definition file for ZRect, the Rectangle class for ZEngine.

Namespaces

namespace  ZE
-


Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZSound_8cpp.html b/doc/html/ZE__ZSound_8cpp.html index 3a9811b..cbc0dcf 100644 --- a/doc/html/ZE__ZSound_8cpp.html +++ b/doc/html/ZE__ZSound_8cpp.html @@ -5,12 +5,12 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/src/ZE_ZSound.cpp File Reference


Detailed Description

File Header:
File: ZE_ZSound.cpp
Description: Implementation source file for core ZEngine Sound Object.
Author(s): James Turk
-
Id
ZE_ZSound.cpp,v 1.5 2003/01/16 05:45:58 cozman Exp
+
Id
ZE_ZSound.cpp,v 1.6 2003/02/10 04:02:39 cozman Exp

@@ -21,7 +21,7 @@ Implementation of ZSound, the basic Sound class for ZEngine.
-
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 19d7dc8..a3f9f85 100644 --- a/doc/html/ZE__ZSound_8h-source.html +++ b/doc/html/ZE__ZSound_8h-source.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZSound.h

Go to the documentation of this file.
00001 /*******************************************************************************
 00002         This file is Part of the ZEngine Library for 2D game development.
 00003                    Copyright (C) 2002, 2003 James Turk
@@ -19,64 +19,65 @@
 00024 #ifndef __ze_zsound_h__
 00025 #define __ze_zsound_h__
 00026 
-00027 #include "ZE_ZObject.h"
+00027 #include "ZE_ZEngine.h"
 00028 
 00029 #ifdef USE_SDL_MIXER
 00030 
 00031 namespace ZE
 00032 {
 00033 
-00039 class ZSound : public ZObject 
+00039 class ZSound
 00040 {
 00041     protected:
-00043         Mix_Chunk* rSound;
-00045         int rChannelID;
-00046 
-00047     public:
-00049         static const int LoopInfinite;
-00050 
-00052         //Opening and Closing//
-00054 
-00060         ZSound();
-00061 
-00068         ZSound(string filename);
-00069 
-00075         ~ZSound();
-00076 
-00083         void Open(string filename);
-00084 
-00090         void Release();
-00091 
-00093         //Play Controls//
-00095 
-00104         void Play(int loopNum=0, int fadeTime=0);
-00105 
-00111         void Pause() const;
-00112 
-00118         void Unpause() const;
-00119 
-00126         void Stop(int fadeTime=0) const;
-00127 
-00134         void SetVolume(int volume);
-00135 
-00137         //Accessors//
-00139 
-00146         bool IsLoaded() const;
-00147 
-00154         bool IsPlaying() const;
-00155 
-00162         bool IsPaused() const;
-00163 
-00170         int Volume() const;
-00171 };
-00172 
-00173 
-00174 }
+00043         ZEngine* rEngine;
+00045         Mix_Chunk* rSound;
+00047         int rChannelID;
+00048 
+00049     public:
+00051         static const int LoopInfinite;
+00052 
+00054         //Opening and Closing//
+00056 
+00062         ZSound();
+00063 
+00070         ZSound(string filename);
+00071 
+00077         virtual ~ZSound();
+00078 
+00085         void Open(string filename);
+00086 
+00092         void Release();
+00093 
+00095         //Play Controls//
+00097 
+00106         void Play(int loopNum=0, int fadeTime=0);
+00107 
+00113         void Pause() const;
+00114 
+00120         void Unpause() const;
+00121 
+00128         void Stop(int fadeTime=0) const;
+00129 
+00136         void SetVolume(int volume);
+00137 
+00139         //Accessors//
+00141 
+00148         bool IsLoaded() const;
+00149 
+00156         bool IsPlaying() const;
+00157 
+00164         bool IsPaused() const;
+00165 
+00172         int Volume() const;
+00173 };
+00174 
 00175 
-00176 #endif //USE_SDL_MIXER
-00177 
-00178 #endif //__ze_zsound_h__
-

Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +00176 } +00177 +00178 #endif //USE_SDL_MIXER +00179 +00180 #endif //__ze_zsound_h__ +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZSound_8h.html b/doc/html/ZE__ZSound_8h.html index 2a80762..d53b940 100644 --- a/doc/html/ZE__ZSound_8h.html +++ b/doc/html/ZE__ZSound_8h.html @@ -5,19 +5,19 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZSound.h File Reference


Detailed Description

File Header:
File: ZE_ZSound.h
Description: Header file for core ZEngine Sound Wrapper Object.
Author(s): James Turk
-
Id
ZE_ZSound.h,v 1.4 2003/01/16 05:46:39 cozman Exp
+
Id
ZE_ZSound.h,v 1.6 2003/02/10 04:40:16 cozman Exp

Definition file for ZSound, the Sound Effect wrapper for ZEngine.

-#include "ZE_ZObject.h"
+#include "ZE_ZEngine.h"

Go to the source code of this file. @@ -25,7 +25,7 @@ Definition file for ZSound, the Sound Effect wrapper for ZEngine.

Namespaces

namespace  ZE
-


Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZTimer_8cpp.html b/doc/html/ZE__ZTimer_8cpp.html index b28f717..ff1e921 100644 --- a/doc/html/ZE__ZTimer_8cpp.html +++ b/doc/html/ZE__ZTimer_8cpp.html @@ -5,12 +5,12 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/src/ZE_ZTimer.cpp File Reference


Detailed Description

File Header:
File: ZE_ZTimer.cpp
Description: Implementation source file for core ZEngine Timer Object.
Author(s): James Turk
-
Id
ZE_ZTimer.cpp,v 1.4 2003/01/16 05:45:58 cozman Exp
+
Id
ZE_ZTimer.cpp,v 1.6 2003/02/10 04:40:30 cozman Exp

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

Namespaces

namespace  ZE -
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 ab242fc..8078d13 100644 --- a/doc/html/ZE__ZTimer_8h-source.html +++ b/doc/html/ZE__ZTimer_8h-source.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZTimer.h

Go to the documentation of this file.
00001 /*******************************************************************************
 00002         This file is Part of the ZEngine Library for 2D game development.
 00003                    Copyright (C) 2002, 2003 James Turk
@@ -19,40 +19,43 @@
 00024 #ifndef __ze_ztimer_h__
 00025 #define __ze_ztimer_h__
 00026 
-00027 #include "ZE_ZObject.h"
+00027 #include "ZE_ZEngine.h"
 00028 
 00029 namespace ZE
 00030 {
 00031 
-00037 class ZTimer : public ZObject 
+00037 class ZTimer
 00038 {
 00039     protected:
-00041         bool rPaused;
-00043         bool rUseZEngine;
-00045         Uint32 rPausedTime;
-00047         Uint32 rLastPause;
-00048 
-00055         Uint32 GetParentTime() const;
-00056 
-00057     public:
+00041         ZEngine* rEngine;
+00043         bool rPaused;
+00045         bool rUseZEngine;
+00047         Uint32 rPausedTime;
+00049         Uint32 rLastPause;
+00050 
+00057         Uint32 GetParentTime() const;
 00058 
-00065         ZTimer(bool useZEngine=true);
-00066 
-00072         void Reset();
-00073 
-00079         void Pause();
-00080 
-00086         void Unpause();
-00087 
-00094         Uint32 GetTime() const;
-00095 
-00102         bool IsPaused() const;
-00103 };
+00059     public:
+00060 
+00067         ZTimer(bool useZEngine=true);
+00068 
+00074         virtual ~ZTimer();
+00075 
+00081         void Reset();
+00082 
+00088         void Pause();
+00089 
+00095         void Unpause();
+00096 
+00103         Uint32 GetTime() const;
 00104 
-00105 }
-00106 
-00107 #endif //__ze_ztimer_h__
-

Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +00111 bool IsPaused() const; +00112 }; +00113 +00114 } +00115 +00116 #endif //__ze_ztimer_h__ +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZE__ZTimer_8h.html b/doc/html/ZE__ZTimer_8h.html index a094172..d0adc71 100644 --- a/doc/html/ZE__ZTimer_8h.html +++ b/doc/html/ZE__ZTimer_8h.html @@ -5,19 +5,19 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_ZTimer.h File Reference


Detailed Description

File Header:
File: ZE_ZTimer.h
Description: Header file for core ZEngine Timer Object.
Author(s): James Turk
-
Id
ZE_ZTimer.h,v 1.4 2003/01/16 05:46:39 cozman Exp
+
Id
ZE_ZTimer.h,v 1.6 2003/02/10 04:40:16 cozman Exp

Definition file for ZTimer, the Timer class for ZEngine.

-#include "ZE_ZObject.h"
+#include "ZE_ZEngine.h"

Go to the source code of this file. @@ -25,7 +25,7 @@ Definition file for ZTimer, the Timer class for ZEngine.

Namespaces

namespace  ZE
-


Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZEngine_8h-source.html b/doc/html/ZEngine_8h-source.html index f05ad5b..d15b2ce 100644 --- a/doc/html/ZEngine_8h-source.html +++ b/doc/html/ZEngine_8h-source.html @@ -5,28 +5,32 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZEngine.h

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

Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +00054 #ifndef __zengine_h__ +00055 #define __zengine_h__ +00056 +00057 #include "ZE_Defines.h" +00058 #include "ZE_ZEngine.h" +00059 #include "ZE_Utility.h" +00060 #include "ZE_ZImage.h" +00061 #include "ZE_ZTimer.h" +00062 #include "ZE_ZConfigFile.h" +00063 #include "ZE_ZRect.h" +00064 #ifdef USE_SDL_TTF +00065 #include "ZE_ZFont.h" +00066 #endif +00067 #ifdef USE_SDL_MIXER +00068 #include "ZE_ZSound.h" +00069 #include "ZE_ZMusic.h" +00070 #endif +00071 #ifdef USE_SDL_NET +00072 #include "ZE_ZClient.h" +00073 #include "ZE_ZServer.h" +00074 #endif +00075 +00076 #endif //__zengine_h__ +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/ZEngine_8h.html b/doc/html/ZEngine_8h.html index 75b283e..36be057 100644 --- a/doc/html/ZEngine_8h.html +++ b/doc/html/ZEngine_8h.html @@ -5,12 +5,12 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZEngine.h File Reference


Detailed Description

File Header:
File: ZEngine.h
Description: Public Header File for ZEngine.
Author(s): James Turk
-
Id
ZEngine.h,v 1.21 2003/01/24 11:06:25 cozman Exp
+
Id
ZEngine.h,v 1.23 2003/03/15 03:34:08 cozman Exp

@@ -32,7 +32,7 @@ Header file for ZEngine Game Engine from Concept of Zero, this is the file that Go to the source code of this file.
-
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 0526cf7..66703fe 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+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: @@ -15,12 +15,11 @@ -
ZE::ZConfigFileZConfigFile Class for use in ZEngine
ZE::ZConfigFile::ZCF_SectionZConfigFile Section class
ZE::ZFontZFont class for basic Font use
ZE::ZImageZImage class for basic Image use
ZE::ZMusicZMusic class for playing full length music (eg. ogg or wav)
ZE::ZObjectZObject base class for other ZEngine objects
ZE::ZRectZEngine class for simplified rectangle use
ZE::ZSoundZSound class for playing sound effects. (WAV)
ZE::ZTimerZTimer class for Timer use
-
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 3d584b5..91309a2 100644 --- a/doc/html/classZE_1_1ZConfigFile-members.html +++ b/doc/html/classZE_1_1ZConfigFile-members.html @@ -5,31 +5,30 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

ZE::ZConfigFile Member List

This is the complete list of members for ZE::ZConfigFile, including all inherited members. - - - - - - - - - - - + + + + + + + + + + - - - - - + + + + + + + - - - -
CleanString(string str) constZE::ZConfigFile [private]
Close()ZE::ZConfigFile
Exists(string sec) constZE::ZConfigFile [private]
Exists(string sec, string var) constZE::ZConfigFile [private]
Flush()ZE::ZConfigFile
GetBool(string section, string var, bool defVal) constZE::ZConfigFile
GetInt(string section, string var, int defVal) constZE::ZConfigFile
GetString(string section, string var, string defVal) constZE::ZConfigFile
GetVariable(string sec, string var, string defVal) constZE::ZConfigFile [private]
mFileLayoutZE::ZConfigFile [private]
mFilenameZE::ZConfigFile [private]
CleanString(string str) constZE::ZConfigFile [protected]
Close()ZE::ZConfigFile
Exists(string sec) constZE::ZConfigFile [protected]
Exists(string sec, string var) constZE::ZConfigFile [protected]
Flush()ZE::ZConfigFile
GetBool(string section, string var, bool defVal) constZE::ZConfigFile
GetFloat(string section, string var, float defVal) constZE::ZConfigFile
GetInt(string section, string var, int defVal) constZE::ZConfigFile
GetString(string section, string var, string defVal) constZE::ZConfigFile
GetVariable(string sec, string var, string defVal) constZE::ZConfigFile [protected]
Process(string filename)ZE::ZConfigFile
rEngineZE::ZObject [protected]
SetBool(string section, string var, bool val)ZE::ZConfigFile
SetInt(string section, string var, int val)ZE::ZConfigFile
SetString(string section, string var, string val)ZE::ZConfigFile
SetVariable(string sec, string var, string val)ZE::ZConfigFile [private]
rFileLayoutZE::ZConfigFile [protected]
rFilenameZE::ZConfigFile [protected]
SetBool(string section, string var, bool val)ZE::ZConfigFile
SetFloat(string section, string var, float val)ZE::ZConfigFile
SetInt(string section, string var, int val)ZE::ZConfigFile
SetString(string section, string var, string val)ZE::ZConfigFile
SetVariable(string sec, string var, string val)ZE::ZConfigFile [protected]
ZConfigFile()ZE::ZConfigFile
ZConfigFile(string filename)ZE::ZConfigFile
ZObject()ZE::ZObject [inline]
~ZConfigFile()ZE::ZConfigFile
~ZObject()ZE::ZObject [inline, virtual]

Generated on Tue Jan 28 16:31:28 2003 for ZEngine by + ~ZConfigFile()ZE::ZConfigFile [virtual] +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZConfigFile.html b/doc/html/classZE_1_1ZConfigFile.html index 51f4ce8..15bc719 100644 --- a/doc/html/classZE_1_1ZConfigFile.html +++ b/doc/html/classZE_1_1ZConfigFile.html @@ -5,13 +5,11 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

ZE::ZConfigFile Class Reference

#include <ZE_ZConfigFile.h>

-Inherits ZE::ZObject. -

List of all members.


Detailed Description

-ZConfigFile class for INI-style configuration files for games or applications. Inherited from ZObject. +ZConfigFile class for INI-style configuration files for games or applications. Inherited from ZObject.

@@ -20,43 +18,47 @@ Inherits ZE::ZObject. - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +
 Default constructor.

 ZConfigFile (string filename)
 Constructor which takes filename.

 ~ZConfigFile ()
virtual ~ZConfigFile ()
 Destructor, flushes file.

void Process (string filename)
 Parse a file.

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

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

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

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

void SetBool (string section, string var, bool val)
 Set value in boolean format in file.

void SetString (string section, string var, string val)
 Set value in string format in file.

void Flush ()
 Write all values to file.

void Close ()
 Close the file.


Private Methods

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

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

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

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

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


Private Attributes

-list< ZCF_SectionmFileLayout
float GetFloat (string section, string var, float defVal) const
 Get value in floating point format from file.

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

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

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

void SetFloat (string section, string var, float val)
 Set value in floating point format in file.

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

void SetBool (string section, string var, bool val)
 Set value in boolean format in file.

void SetString (string section, string var, string val)
 Set value in string format in file.

void Flush ()
 Write all values to file.

void Close ()
 Close the file.


Protected Methods

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

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

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

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

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


Protected Attributes

+list< ZCF_SectionrFileLayout
 List of sections of internal type.

-string mFilename
+string rFilename
 Filename of file currently open.


Constructor & Destructor Documentation

@@ -132,7 +134,7 @@ Constructor takes filename, and calls process on it.
Paramete (    )  - + [virtual] @@ -151,7 +153,7 @@ Flushes the file, ensures a flush if the file is left open.

Member Function Documentation

-

+

- +
@@ -162,7 +164,7 @@ Flushes the file, ensures a flush if the file is left open. string    str const [private] const [protected]
@@ -186,7 +188,7 @@ Removes whitespace from a string and makes all characters lowercase.

-

+

- +
@@ -197,7 +199,7 @@ Removes whitespace from a string and makes all characters lowercase.
string 
  sec const [private] const [protected]
@@ -221,7 +223,7 @@ Find out if a section currently exists.

Parameters:
< -

+

- +
@@ -241,7 +243,7 @@ Find out if a section currently exists.
Parameters:
<
const [private] const [protected]
@@ -266,7 +268,7 @@ Find out if a variable currently exists.

Parameters:
-

+

- +
@@ -292,7 +294,7 @@ Find out if a variable currently exists.
Parameters:
[private] [protected]
@@ -317,7 +319,7 @@ Set variable to value, called internally only.

Parameters: -

+

- +
@@ -343,7 +345,7 @@ Set variable to value, called internally only.
Parameters:
const [private] const [protected]
@@ -403,7 +405,60 @@ Parses the file, reading the contents into the fileLayout map.

< -

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
float ZE::ZConfigFile::GetFloat string   section,
string   var,
float   defVal
const
+
+ + + + + +
+   + + +

+Get the current value of a variable in the file, or defVal if not found in file.

Since:
0.8.3
+
Parameters:
+ + + + +
section Name of section to seek variable under.
var Name of variable to seek value for.
defVal Value to return if var does not exist within section.
+
+
Returns:
Contents of the variable in floating point format.
+
+

@@ -455,7 +510,7 @@ Get the current value of a variable in the file, or defVal if not found in file.
-

+

@@ -507,7 +562,7 @@ Get the current value of a variable in the file, or defVal if not found in file.
-

+

@@ -559,7 +614,59 @@ Get the current value of a variable in the file, or defVal if not found in file.
-

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
void ZE::ZConfigFile::SetFloat string   section,
string   var,
float   val
+
+ + + + + +
+   + + +

+Set the new value of a variable in the file to val, creating the section and variable if not already found in file.

Since:
0.8.3
+
Parameters:
+ + + + +
section Name of section to edit variable under.
var Name of variable to set value for.
val Floating point value to set variable to in file.
+
+
+

@@ -610,7 +717,7 @@ Set the new value of a variable in the file to val, creating the section and var
-

+

@@ -661,7 +768,7 @@ Set the new value of a variable in the file to val, creating the section and var
-

+

@@ -712,7 +819,7 @@ Set the new value of a variable in the file to val, creating the section and var
-

+

@@ -740,7 +847,7 @@ Set the new value of a variable in the file to val, creating the section and var Writes all values and sections to file.
-

+

@@ -770,7 +877,7 @@ Flush the file and clear the filename.


The documentation for this class was generated from the following files: -
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 c718e0e..c5092e5 100755 --- a/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Section-members.html +++ b/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Section-members.html @@ -5,11 +5,11 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

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 Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 6586b84..9ba471b 100755 --- a/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Section.html +++ b/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Section.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

ZE::ZConfigFile::ZCF_Section Class Reference

List of all members.

Detailed Description

ZConfigFile class for mapping a section name to a list of variables in that section.

@@ -21,7 +21,7 @@ list< ZCF_V


The documentation for this class was generated from the following file: -
Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 92f88b3..9afbce7 100755 --- a/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Variable-members.html +++ b/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Variable-members.html @@ -5,11 +5,11 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

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 Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 0dc93a5..4819aa6 100755 --- a/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Variable.html +++ b/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Variable.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

ZE::ZConfigFile::ZCF_Variable Class Reference

List of all members.

Detailed Description

ZConfigFile class for mapping a variable name to it's value, stored in string form (later converted to bool or int if needed).

@@ -21,7 +21,7 @@ string ZE_ZConfigFile.h -


Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 e0f7494..e92b295 100644 --- a/doc/html/classZE_1_1ZEngine-members.html +++ b/doc/html/classZE_1_1ZEngine-members.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+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. @@ -37,36 +37,36 @@ - + - - - - + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - + + + + + + + + @@ -90,7 +90,7 @@ -
BPP()ZE::ZEngine
CheckEvents()ZE::ZEngine
LoadMusic(string filename)ZE::ZEngine
LoadSound(string filename)ZE::ZEngine
LogError(ZError error)ZE::ZEngine [private]
mActiveZE::ZEngine [private]
mActiveZE::ZEngine [private]
mBPPZE::ZEngine [private]
mCurErrorZE::ZEngine [private]
mDesiredFramerateZE::ZEngine [private]
mErrlogZE::ZEngine [private]
mErrorQueueZE::ZEngine [private]
mCurErrorZE::ZEngine [private]
mDesiredFramerateZE::ZEngine [private]
mErrlogZE::ZEngine [private]
mErrorQueueZE::ZEngine [private]
mFullscreenZE::ZEngine [private]
mHeightZE::ZEngine [private]
mInitializedZE::ZEngine [private]
mKeyIsPressedZE::ZEngine [private]
mKeyPressZE::ZEngine [private]
mLastPauseZE::ZEngine [private]
mLastTimeZE::ZEngine [private]
mLogAllErrorsZE::ZEngine [private]
mMouseBZE::ZEngine [private]
mMouseXZE::ZEngine [private]
mMouseYZE::ZEngine [private]
mNeedReloadZE::ZEngine [private]
mNextUpdateZE::ZEngine [private]
mKeyIsPressedZE::ZEngine [private]
mKeyPressZE::ZEngine [private]
mLastPauseZE::ZEngine [private]
mLastTimeZE::ZEngine [private]
mLogAllErrorsZE::ZEngine [private]
mMouseBZE::ZEngine [private]
mMouseXZE::ZEngine [private]
mMouseYZE::ZEngine [private]
mNeedReloadZE::ZEngine [private]
mNextUpdateZE::ZEngine [private]
MouseInRect(SDL_Rect *rect)ZE::ZEngine
MouseX()ZE::ZEngine
MouseY()ZE::ZEngine
mPausedZE::ZEngine [private]
mPausedTimeZE::ZEngine [private]
mQuitZE::ZEngine [private]
mRateZE::ZEngine [private]
mScreenZE::ZEngine [private]
mSecPerFrameZE::ZEngine [private]
mStereoZE::ZEngine [private]
mUnpauseOnActiveZE::ZEngine [private]
mPausedZE::ZEngine [private]
mPausedTimeZE::ZEngine [private]
mQuitZE::ZEngine [private]
mRateZE::ZEngine [private]
mScreenZE::ZEngine [private]
mSecPerFrameZE::ZEngine [private]
mStereoZE::ZEngine [private]
mUnpauseOnActiveZE::ZEngine [private]
mWidthZE::ZEngine [private]
PauseTimer()ZE::ZEngine
QuitRequested()ZE::ZEngine
Width()ZE::ZEngine
WriteLog(string str)ZE::ZEngine
ZEngine()ZE::ZEngine [private]

Generated on Tue Jan 28 16:31:29 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZEngine.html b/doc/html/classZE_1_1ZEngine.html index 4db9fb1..9e0467b 100644 --- a/doc/html/classZE_1_1ZEngine.html +++ b/doc/html/classZE_1_1ZEngine.html @@ -5,7 +5,7 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

ZE::ZEngine Class Reference

#include <ZE_ZEngine.h>

List of all members.


Detailed Description

@@ -88,9 +88,9 @@  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) +void ReportError (ZErrorCode code, string desc="", string file="", unsigned int line=0)  Report an error.

-ZErrorCode GetLastError () +ZErrorCode GetLastError ()  Get the last error.

void WriteLog (string str)  Write to the log.

@@ -140,75 +140,75 @@ bool  bool mInitialized  If ZEngine display has been setup.

- -int mRateSound Bitrate.

- -bool mStereoStereo setting of Sound Subsystem.

- -SDL_Surface * mScreen + +SDL_Surface * mScreen  Pointer to Display.

- -bool mPaused + +bool mPaused  Keep track of paused state of game.

- -bool mUnpauseOnActive + +bool mUnpauseOnActive  Keep track of if ZEngine should unpause on active event.

- -Uint8 mDesiredFramerate + +Uint8 mDesiredFramerate  Value framerate strives to be at, set by SetDesiredFramerate.

- -Uint32 mNextUpdate + +Uint32 mNextUpdate  Time scheduled for next update (used for framerate locked movement).

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

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

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

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

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

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

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

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

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

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

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

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

- -queue< ZErrormErrorQueue + +queue< ZErrormErrorQueue  Stack of Errors which have occured.

- -ZError mCurError + +ZError mCurError  Current error.

- -bool mLogAllErrors + +bool mLogAllErrors  Option controlling how logfile is used.

- -FILE * mErrlog + +FILE * mErrlog  C-style FILE* for error logging.

+ +int mRateSound Bitrate.

+ +bool mStereoStereo setting of Sound Subsystem.


Static Private Attributes

ZEngine * sInstance = NULL @@ -425,7 +425,7 @@ Sets display parameters to specified parameters. (called before CreateDisplay)

-Set sound settings to specified parameters. (called before CreateDisplay) +Set sound settings to specified parameters. (If not called before CreateDisplay rate will default to 22050+mono)

Parameters:
@@ -471,7 +471,7 @@ Set sound settings to specified parameters. (called before CreateDisplay) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -162,6 +166,40 @@ Constructor for ZRect that takes

-SetupDisplay and SetupSound should be called prior to this to change settings, settings from those do not go into effect until this function is called. Specify no icon file to use default icon. Returns result of setting up ZEngine, and logs error if false is returned (Trys not to fail + returns bool in versions >= 0.8.2). +SetupDisplay and SetupSound should be called prior to this to change settings, settings from those do not go into effect until this function is called. Specify no icon file to use default icon for OS. Returns result of setting up ZEngine, and logs error if false is returned (Trys not to fail + returns bool in versions >= 0.8.2).

Parameters:
@@ -1160,7 +1160,7 @@ Function that is good to call every frame to check if images should be reloaded, + +

-Calls SDL_EnableKeyRepeat(rate,rate) because usually this is the desired movement style for games. The rate is set to 30 upon the creation of the display, pass zero to disable this. SDL_EnableKeyRepeat can be called separately: http://sdldoc.csn.ul.ie/sdlenablekeyrepeat.php. +Calls SDL_EnableKeyRepeat(rate,rate) because usually this is the desired movement style for games. 0 to disable. If 2 different values are needed SDL_EnableKeyRepeat can be called separately: http://sdldoc.csn.ul.ie/sdlenablekeyrepeat.php.

Parameters:
@@ -1598,7 +1598,7 @@ Change the way errors are logged and the file they are logged to, before calling - + @@ -1655,7 +1655,7 @@ Adds the error to the the error queue, and sets the current error to this error. +
void ZE::ZEngine::ReportError ZErrorCode ZErrorCode    code,
- + @@ -2011,7 +2011,7 @@ Get Fullscreen setting of Display.
Returns:
True
ZErrorCode ZE::ZEngine::GetLastError ZErrorCode ZE::ZEngine::GetLastError  

The documentation for this class was generated from the following files: -
Generated on Tue Jan 28 16:31:29 2003 for ZEngine by +
Generated on Sun Apr 27 14:53:40 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 c0cea45..4f934c1 100755 --- a/doc/html/classZE_1_1ZError-members.html +++ b/doc/html/classZE_1_1ZError-members.html @@ -5,20 +5,21 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

ZE::ZError Member List

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

Generated on Tue Jan 28 16:31:29 2003 for ZEngine by +
~ZError()ZE::ZError [virtual]

Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
diff --git a/doc/html/classZE_1_1ZError.html b/doc/html/classZE_1_1ZError.html index cf6be8c..a5e7655 100755 --- a/doc/html/classZE_1_1ZError.html +++ b/doc/html/classZE_1_1ZError.html @@ -5,24 +5,26 @@
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
+Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

ZE::ZError Class Reference

#include <ZE_ZError.h>

List of all members.


Detailed Description

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

- + - - - - - - + + + + + + + + @@ -30,7 +32,7 @@ +ZErrorCode  @@ -55,7 +57,7 @@ string *  - + @@ -105,6 +107,34 @@ Make new ZError object, by defau

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.

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

ZErrorCode Code () const
 Get ZErrorCode of error.

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

virtual ~ZError ()
 Virtual Destructor.

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

ZErrorCode Code () const
 Get ZErrorCode of error.

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


Static Public Methods

void CreateStringTable ()
 Construct string table for error strings.

 Destroy string table of error strings.


Protected Attributes

-ZErrorCode rCode
rCode
 Error ID.

string rDescription
ZE::ZError::ZError ZErrorCode ZErrorCode    code = ZERR_NONE,
+

+ + + + +
+ + + + + + + + + +
ZE::ZError::~ZError   [virtual]
+
+ + + + + +
+   + + +

+Virtual destructor making future inheritance safe.


Member Function Documentation

@@ -162,7 +192,7 @@ Constructs a string table for errors, enabling

+

- + @@ -220,13 +250,13 @@ Set new values in ZError object.
@@ -170,7 +200,7 @@ Properly delete the string table, freeing all memory used by the strings. void ZE::ZError::Create ZErrorCode ZErrorCode    code,
-

+

+ +
- + @@ -249,7 +279,7 @@ Access ZErrorCode of the ZError
ZErrorCode ZE::ZError::Code ZErrorCode ZE::ZError::Code  
-

+

+
@@ -279,7 +309,7 @@ Return the string to be written to the logfile. Called by ZE_ZError.h
  • /src/ZE_ZError.cpp -
    Generated on Tue Jan 28 16:31:29 2003 for ZEngine by +
    Generated on Sun Apr 27 14:53:40 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 60cfaff..45ca74d 100644 --- a/doc/html/classZE_1_1ZFont-members.html +++ b/doc/html/classZE_1_1ZFont-members.html @@ -5,7 +5,7 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZE::ZFont Member List

    This is the complete list of members for ZE::ZFont, including all inherited members. @@ -16,13 +16,13 @@ - - + + - + - - + + @@ -30,10 +30,8 @@ - - - -
    DrawShadedText(string text, ZImage &image) constZE::ZFont
    DrawText(string text, ZImage &image) constZE::ZFont
    IsUnderlined() constZE::ZFont
    LineSkip() constZE::ZFont
    Open(string filename, int size)ZE::ZFont
    rBGColorZE::ZFont [protected]
    rColorZE::ZFont [protected]
    rBGColorZE::ZFont [protected]
    rColorZE::ZFont [protected]
    Release()ZE::ZFont
    rEngineZE::ZObject [protected]
    rEngineZE::ZFont [protected]
    Resize(int size)ZE::ZFont
    rFilenameZE::ZFont [protected]
    rFontZE::ZFont [protected]
    rFilenameZE::ZFont [protected]
    rFontZE::ZFont [protected]
    SetBGColor(Uint8 r, Uint8 g, Uint8 b)ZE::ZFont
    SetColor(Uint8 r, Uint8 g, Uint8 b)ZE::ZFont
    SetStyle(bool bold, bool italic, bool underline)ZE::ZFont
    StringWidth(string text) constZE::ZFont
    ZFont()ZE::ZFont
    ZFont(string filename, int size)ZE::ZFont
    ZObject()ZE::ZObject [inline]
    ~ZFont()ZE::ZFont
    ~ZObject()ZE::ZObject [inline, virtual]

    Generated on Tue Jan 28 16:31:29 2003 for ZEngine by +
  • ~ZFont()ZE::ZFont [virtual]


    Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZFont.html b/doc/html/classZE_1_1ZFont.html index dcf773e..e22b5ad 100644 --- a/doc/html/classZE_1_1ZFont.html +++ b/doc/html/classZE_1_1ZFont.html @@ -5,13 +5,11 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZE::ZFont Class Reference

    #include <ZE_ZFont.h>

    -Inherits ZE::ZObject. -

    List of all members.


    Detailed Description

    -ZFont font container class, class wraps common features of SDL_TTF. Inherited from ZObject. +ZFont font container class, class wraps common features of SDL_TTF. Inherited from ZObject.

    @@ -20,7 +18,7 @@ Inherits ZE::ZObject. - + @@ -55,17 +53,20 @@ Inherits ZE::ZObject. - + + + - + - + - +
     Default Constructor.

     ZFont (string filename, int size)
     Constructor that opens a font with a certain size.

     ~ZFont ()
    virtual ~ZFont ()
     Destructor, frees memory.

    void Open (string filename, int size)
     Opens a font with a certain size.

    int StringHeight (string text) const
     Get String Height.


    Protected Attributes

    -TTF_Font * rFont
    +ZEnginerEngine
     Pointer to ZEngine Object.

    +TTF_Font * rFont
     Pointer to font data.

    -string rFilename
    +string rFilename
     Filename, for resizing.

    -SDL_Color rColor
    +SDL_Color rColor
     SDL_Color for current text color.

    -SDL_Color rBGColor
    +SDL_Color rBGColor
     SDL_Color for background color to be used in shaded draws.


    Constructor & Destructor Documentation

    @@ -147,11 +148,11 @@ Constructor simply calls ZFont::Op
    - + - +
    ZE::ZFont::~ZFont virtual ZE::ZFont::~ZFont   [virtual]
    @@ -763,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 Tue Jan 28 16:31:29 2003 for ZEngine by +
    Generated on Sun Apr 27 14:53:40 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 efefa91..18b187a 100644 --- a/doc/html/classZE_1_1ZImage-members.html +++ b/doc/html/classZE_1_1ZImage-members.html @@ -5,45 +5,47 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZE::ZImage Member List

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

    Generated on Tue Jan 28 16:31:29 2003 for ZEngine by +
    ZImage(const ZImage &img, Sint16 x, Sint16 y, Sint16 w, Sint16 h)ZE::ZImage
    ~ZImage()ZE::ZImage [virtual]


    Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZImage.html b/doc/html/classZE_1_1ZImage.html index e12e6c2..db4233e 100644 --- a/doc/html/classZE_1_1ZImage.html +++ b/doc/html/classZE_1_1ZImage.html @@ -5,13 +5,11 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZE::ZImage Class Reference

    #include <ZE_ZImage.h>

    -Inherits ZE::ZObject. -

    List of all members.


    Detailed Description

    -ZImage image drawing class, class wraps common features of SDL_Surface. Inherited from ZObject. +ZImage image drawing class, class wraps common features of SDL_Surface. Inherited from ZObject.

    @@ -26,71 +24,82 @@ Inherits ZE::ZObject. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - + - + - + - + - + - + - + - +
     Constructor to Construct from SDL_Surface*.

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

     ~ZImage ()
     Destructor, frees memory.

    void Open (string filename)
     Opens a file.

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

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

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

    void Release ()
     Releases image.

    void SetAlpha (Uint8 alpha)
     Set alpha value (translucency) of image.

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

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

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

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

    void Bind () const
     OpenGL related bind call.

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

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

    bool IsLoaded () const
     Check if file is loaded.

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

    int Width () const
     Get Width.

    int Height () const
     Get Height.

    Uint8 Alpha () const
     Get Alpha component.

     ZImage (const ZImage &img, Sint16 x, Sint16 y, Sint16 w, Sint16 h)
     Constructor to Construct from part of another ZImage.

    virtual ~ZImage ()
     Destructor, frees memory.

    void Open (string filename)
     Opens a file.

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

    void OpenFromImage (const ZImage &img, Sint16 x, Sint16 y, Sint16 w, Sint16 h)
     Cuts part of an existing ZImage to create a new image.

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

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

    void Release ()
     Releases image.

    void SetAlpha (Uint8 alpha)
     Set alpha value (translucency) of image.

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

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

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

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

    void Bind () const
     OpenGL related bind call.

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

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

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

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

    bool IsLoaded () const
     Check if file is loaded.

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

    int Width () const
     Get Width.

    int Height () const
     Get Height.

    Uint8 Alpha () const
     Get Alpha component.


    Protected Attributes

    -GLfloat rTexMinX
    +ZEnginerEngine
     Pointer to ZEngine Object.

    +GLfloat rTexMinX
     Texture lower X, used internally for flip.

    -GLfloat rTexMinY
    +GLfloat rTexMinY
     Texture lower Y, used internally for flip.

    -GLfloat rTexMaxX
    +GLfloat rTexMaxX
     Texture X width ratio, used internally by OpenGL.

    -GLfloat rTexMaxY
    +GLfloat rTexMaxY
     Texture Y width ratio, used internally by OpenGL.

    -SDL_Surface * rImage
    +SDL_Surface * rImage
     Stored texture for future use.

    -unsigned int rTexID
    +unsigned int rTexID
     Texture ID for OpenGL.

    -unsigned int rWidth
    +unsigned int rWidth
     Current draw width of Texture.

    -unsigned int rHeight
    +unsigned int rHeight
     Current draw height of Texture.

    -Uint8 rAlpha
    +Uint8 rAlpha
     Stored alpha value for drawing texture.


    Constructor & Destructor Documentation

    @@ -182,7 +191,7 @@ Creates one ZImage using another

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

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

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

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

    -Constructor is same as calling ZImage::OpenFromImage. +Constructor is same as calling ZImage::OpenFromImage with an SDL_Surface*.

    Parameters:
    @@ -291,17 +300,45 @@ Constructor is same as calling ZI
    -

    +

    +Constructor is same as calling ZImage::OpenFromImage with a ZImage. +

    +

    Parameters:
    +
    - + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ZE::ZImage::~ZImage ZE::ZImage::ZImage   const ZImage &   img,
    Sint16   x,
    Sint16   y,
    Sint16   w,
    Sint16   h
    @@ -316,11 +353,50 @@ Constructor is same as calling ZI

    -Destructor calls ZImage::Release().

    + + + + + +
    img Image to take new image from.
    x X Coordinate in source of top left corner.
    y Y Coordinate in source of top left corner.
    w Width of new image.
    h Height of new image.
    +

    +
    +

    + + + + +
    + + + + + + + + + +
    ZE::ZImage::~ZImage   [virtual]
    +
    + + + +
    +   + + +

    +Destructor calls ZImage::Release().


    Member Function Documentation

    -

    +

    @@ -354,7 +430,7 @@ Open a file using ZEngine. Load
    -

    +

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

    Parameters:
    - + @@ -421,7 +497,74 @@ Cut part of an SDL_Surface to create a new Image.
    img Image to take new image from.
    img SDL_Surface* to take new image from.
    x X Coordinate in source of top left corner.
    y Y Coordinate in source of top left corner.
    w Width of new image.
    -

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void ZE::ZImage::OpenFromImage const ZImage &   img,
    Sint16   x,
    Sint16   y,
    Sint16   w,
    Sint16   h
    +
    + + + + + +
    +   + + +

    +Cut part of another ZImage to create a new Image. +

    +

    Parameters:
    + + + + + + +
    img ZImage to take new image from.
    x X Coordinate in source of top left corner.
    y Y Coordinate in source of top left corner.
    w Width of new image.
    h Height of new image.
    +
    +
    +

    @@ -455,7 +598,7 @@ Attach a pointer to instance of ZIma
    -

    +

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

    +

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

    +

    @@ -546,7 +689,7 @@ Set translucency value 0-255 (0 is transparent, 255 = opaque).
    <
    -

    +

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

    +

    @@ -641,7 +784,7 @@ Flip image vertical and/or horizontal.
    Parameters:
    -

    +

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

    +

    @@ -729,7 +872,7 @@ Stretch image to new width and height.
    Parameters:
    -

    +

    @@ -757,7 +900,51 @@ Stretch image to new width and height.
    Parameters:
    -

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    void ZE::ZImage::Draw int   x,
    int   y
    const
    +
    + + + + + +
    +   + + +

    +Draw Image to screen at specified location.

    Parameters:
    + + + +
    x X coord to draw Image to.
    y Y coord to draw Image to.
    +
    +
    +

    @@ -792,7 +979,8 @@ OpenGL related bind call, only available in case you want to bind image in 3D. D

    -Draw Image to screen at specified location.

    Parameters:
    +Draw Image to screen at specified location.
    Since:
    0.8.3
    +
    Parameters:
    @@ -801,7 +989,7 @@ Draw Image to screen at specified location.
    Parameters:
    x X coord to draw Image to.
    y Y coord to draw Image to.
    -

    +

    @@ -852,7 +1040,59 @@ Image is rotated about it's own center by specified angle, then drawn to screen.
    -

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void ZE::ZImage::DrawRotated float   x,
    float   y,
    float   angle
    const
    +
    + + + + + +
    +   + + +

    +Image is rotated about it's own center by specified angle, then drawn to screen.

    Since:
    0.8.3
    +
    Parameters:
    + + + + +
    x X coord to draw Image to.
    y Y coord to draw Image to.
    angle Angle in degrees to rotate image.
    +
    +
    +

    @@ -881,7 +1121,7 @@ Check if surface is a valid GL texture. (does not detect surface loss)
    -

    +

    @@ -910,7 +1150,7 @@ Check if surface is a valid GL texture. (does not detect surface loss)
    -

    +

    @@ -939,7 +1179,7 @@ Get Current Width of Image.
    Returns:
    Image Width.
    -

    +

    @@ -968,7 +1208,7 @@ Get Current Height of Image.
    Returns:
    Image Heigh
    -

    +

    +
    @@ -1000,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 Tue Jan 28 16:31:29 2003 for ZEngine by +
    Generated on Sun Apr 27 14:53:40 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 b3ab12b..52e4ce8 100644 --- a/doc/html/classZE_1_1ZMusic-members.html +++ b/doc/html/classZE_1_1ZMusic-members.html @@ -5,7 +5,7 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZE::ZMusic Member List

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

    Generated on Tue Jan 28 16:31:29 2003 for ZEngine by +
    ~ZMusic()ZE::ZMusic [virtual]


    Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZMusic.html b/doc/html/classZE_1_1ZMusic.html index 4d228ad..eac214e 100644 --- a/doc/html/classZE_1_1ZMusic.html +++ b/doc/html/classZE_1_1ZMusic.html @@ -5,13 +5,11 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZE::ZMusic Class Reference

    #include <ZE_ZMusic.h>

    -Inherits ZE::ZObject. -

    List of all members.


    Detailed Description

    -ZMusic music class, class wraps common features for SDL_Mixer's Mix_Music. Inherited from ZObject. +ZMusic music class, class wraps common features for SDL_Mixer's Mix_Music. Inherited from ZObject.

    @@ -20,7 +18,7 @@ Inherits ZE::ZObject. - + @@ -51,8 +49,11 @@ Inherits ZE::ZObject. const int  - + + +
     Default Constructor.

     ZMusic (string filename)
     Constructor that opens a music file.

     ~ZMusic ()
    virtual ~ZMusic ()
     Destructor, frees memory.

    void Open (string filename)
     Opens a music file.

    LoopInfinite
     Static Variable For Infinite loop of sound. (Defined as -1).


    Protected Attributes

    -Mix_Music * rMusic
    +ZEnginerEngine
     Pointer to ZEngine Object.

    +Mix_Music * rMusic
     Pointer to music data.


    Constructor & Destructor Documentation

    @@ -124,11 +125,11 @@ Constructor simply calls ZMusic::
    - + - +
    ZE::ZMusic::~ZMusic virtual ZE::ZMusic::~ZMusic   [virtual]
    @@ -523,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 Tue Jan 28 16:31:29 2003 for ZEngine by +
    Generated on Sun Apr 27 14:53:40 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 a6d0358..7b9a049 100644 --- a/doc/html/classZE_1_1ZRect-members.html +++ b/doc/html/classZE_1_1ZRect-members.html @@ -5,36 +5,38 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZE::ZRect Member List

    This is the complete list of members for ZE::ZRect, including all inherited members. - - - - - - - - - - - - - - + + + + + + + + + + + + + + - + - - - - - + + + + + - -
    Bottom() constZE::ZRect
    Contains(float x, float y) constZE::ZRect
    Contains(const ZRect &rect) constZE::ZRect
    Draw(Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha=255) constZE::ZRect
    Height() constZE::ZRect
    Intersection(const ZRect &rect) constZE::ZRect
    Intersects(const ZRect &rect) constZE::ZRect
    Left() constZE::ZRect
    Move(float x, float y)ZE::ZRect
    MoveRel(float xMove, float yMove)ZE::ZRect
    operator<(const ZRect &rhs) constZE::ZRect
    operator=(const ZRect &rhs)ZE::ZRect
    Resize(float width, float height)ZE::ZRect
    ResizeRel(float widthChange, float heightChange)ZE::ZRect
    Bottom() constZE::ZRect
    Contains(float x, float y) constZE::ZRect
    Contains(const ZRect &rect) constZE::ZRect
    Draw(Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha=255) constZE::ZRect
    Height() constZE::ZRect
    Intersection(const ZRect &rect) constZE::ZRect
    Intersects(const ZRect &rect) constZE::ZRect
    Left() constZE::ZRect
    Move(float x, float y)ZE::ZRect
    MoveRel(float xMove, float yMove)ZE::ZRect
    operator<(const ZRect &rhs) constZE::ZRect
    operator=(const ZRect &rhs)ZE::ZRect
    Resize(float width, float height)ZE::ZRect
    ResizeRel(float widthChange, float heightChange)ZE::ZRect
    rHeightZE::ZRect [protected]
    Right() constZE::ZRect
    Right() constZE::ZRect
    rWidthZE::ZRect [protected]
    rXZE::ZRect [protected]
    rYZE::ZRect [protected]
    SDLrect() constZE::ZRect
    Top() constZE::ZRect
    Width() constZE::ZRect
    X() constZE::ZRect
    Y() constZE::ZRect
    SDLrect() constZE::ZRect
    Top() constZE::ZRect
    Width() constZE::ZRect
    X() constZE::ZRect
    Y() constZE::ZRect
    ZRect()ZE::ZRect
    ZRect(float x, float y, float width, float height)ZE::ZRect
    ZRect(const ZRect &rhs)ZE::ZRect

    Generated on Tue Jan 28 16:31:29 2003 for ZEngine by +
    ZRect(const SDL_Rect &rect)ZE::ZRect
    ZRect(const ZRect &rhs)ZE::ZRect
    ~ZRect()ZE::ZRect [virtual]


    Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZRect.html b/doc/html/classZE_1_1ZRect.html index dd7a707..60dda12 100644 --- a/doc/html/classZE_1_1ZRect.html +++ b/doc/html/classZE_1_1ZRect.html @@ -5,7 +5,7 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZE::ZRect Class Reference

    #include <ZE_ZRect.h>

    List of all members.


    Detailed Description

    @@ -18,48 +18,52 @@
     Default constructor for ZRect.

     ZRect (float x, float y, float width, float height)
     Constructor for ZRect that takes inital values.

     ZRect (const ZRect &rhs)
     Copy constructor for ZRect.

    const ZRect & operator= (const ZRect &rhs)
     Overload for = operator with ZRect.

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

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

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

    void MoveRel (float xMove, float yMove)
     Changes the location of the rectangle based upon the current location.

    void Resize (float width, float height)
     Resize rectangle.

    void ResizeRel (float widthChange, float heightChange)
     Grows or shrinks current rectangle.

    bool Intersects (const ZRect &rect) const
     Check if one ZRect intersects another.

    bool Contains (float x, float y) const
     Check if a rectangle contains a given point.

    bool Contains (const ZRect &rect) const
     Check if a rectangle contains a given point.

    ZRect Intersection (const ZRect &rect) const
     Finds intersection of two rectangles.

    SDL_Rect SDLrect () const
     Returns an SDL_Rect representing the rectangle.

    float X () const
     Returns X Location.

    float Y () const
     Returns Y Location.

    float Left () const
     Return position of left side.

    float Right () const
     Return position of right side.

    float Top () const
     Return position of top side.

    float Bottom () const
     Return position of bottom side.

    float Width () const
     Returns Width.

    float Height () const
     Returns Height.

     ZRect (const SDL_Rect &rect)
     Constructor for ZRect that uses an SDL_Rect.

     ZRect (const ZRect &rhs)
     Copy constructor for ZRect.

    const ZRect & operator= (const ZRect &rhs)
     Overload for = operator with ZRect.

    virtual ~ZRect ()
     Virtual Destructor.

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

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

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

    void MoveRel (float xMove, float yMove)
     Changes the location of the rectangle based upon the current location.

    void Resize (float width, float height)
     Resize rectangle.

    void ResizeRel (float widthChange, float heightChange)
     Grows or shrinks current rectangle.

    bool Intersects (const ZRect &rect) const
     Check if one ZRect intersects another.

    bool Contains (float x, float y) const
     Check if a rectangle contains a given point.

    bool Contains (const ZRect &rect) const
     Check if a rectangle contains a given point.

    ZRect Intersection (const ZRect &rect) const
     Finds intersection of two rectangles.

    SDL_Rect SDLrect () const
     Returns an SDL_Rect representing the rectangle.

    float X () const
     Returns X Location.

    float Y () const
     Returns Y Location.

    float Left () const
     Return position of left side.

    float Right () const
     Return position of right side.

    float Top () const
     Return position of top side.

    float Bottom () const
     Return position of bottom side.

    float Width () const
     Returns Width.

    float Height () const
     Returns Height.


    Protected Attributes

    float rX

    + + + + +
    + + + + + + + + + + +
    ZE::ZRect::ZRect const SDL_Rect &   rect
    +
    + + + + + +
    +   + + +

    +Constructor for ZRect that initializes from an SDL_Rect.

    Parameters:
    + + +
    rect SDL_Rect to intialize from.
    +
    +
    +

    @@ -195,8 +233,36 @@ Takes a ZRect and constructs a ne
    +

    + + + + +
    + + + + + + + + + +
    ZE::ZRect::~ZRect   [virtual]
    +
    + + + + + +
    +   + + +

    +Virtual destructor making future inheritance safe.


    Member Function Documentation

    -

    +

    @@ -231,7 +297,7 @@ Copies all values from one ZRect
    -

    +

    @@ -266,7 +332,7 @@ Rectangles are sorted by y value, followed by x value, if they start at the same
    -

    +

    @@ -324,7 +390,7 @@ Draw the ZRect, this function is
    -

    +

    @@ -368,7 +434,7 @@ Changes the current x,y position of the rectangle.
    Parameters
    -

    +

    @@ -412,7 +478,7 @@ Changes the current x,y position of the rectangle relative to the current locati
    -

    +

    @@ -456,7 +522,7 @@ Changes the current width and height of the rectangle.
    Parame
    -

    +

    @@ -500,7 +566,7 @@ Changes the current width and height of the rectangle based upon current values.
    -

    +

    @@ -535,7 +601,7 @@ Checks for overlap and returns boolean value based on if overlap exists.
    -

    +

    @@ -580,7 +646,7 @@ Checks point against boundaries of rectangle and returns result.
    -

    +

    @@ -615,7 +681,7 @@ Checks point against boundaries of rectangle and returns result.
    -

    +

    @@ -650,7 +716,7 @@ Checks for intersection, and returns rectangle where the two rectangles intersec
    -

    +

    @@ -679,7 +745,7 @@ Makes a SDL_Rect representing the rectangle, for use where functions require an
    -

    +

    @@ -708,7 +774,7 @@ Access private X location member.
    Returns:
    Value
    -

    +

    @@ -737,7 +803,7 @@ Access private Y location member.
    Returns:
    Value
    -

    +

    @@ -766,7 +832,7 @@ Find X position of left side of rectangle.
    Returns:
    <
    -

    +

    @@ -795,7 +861,7 @@ Find X position of right side of rectangle.
    Returns:
    -

    +

    @@ -824,7 +890,7 @@ Find Y position of top side of rectangle.
    Returns:
    -

    +

    @@ -853,7 +919,7 @@ Find Y position of left side of rectangle.
    Returns:
    <
    -

    +

    @@ -882,7 +948,7 @@ Access private width member.
    Returns:
    Value of mW
    -

    +

    @@ -913,7 +979,7 @@ Access private height member.
    Returns:
    Value of m


    The documentation for this class was generated from the following files: -
    Generated on Tue Jan 28 16:31:29 2003 for ZEngine by +
    Generated on Sun Apr 27 14:53:40 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 79e9179..e047969 100644 --- a/doc/html/classZE_1_1ZSound-members.html +++ b/doc/html/classZE_1_1ZSound-members.html @@ -5,7 +5,7 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZE::ZSound Member List

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

    Generated on Tue Jan 28 16:31:29 2003 for ZEngine by + ~ZSound()ZE::ZSound [virtual] +
    Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZSound.html b/doc/html/classZE_1_1ZSound.html index 5c75bd8..c93398e 100644 --- a/doc/html/classZE_1_1ZSound.html +++ b/doc/html/classZE_1_1ZSound.html @@ -5,13 +5,11 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZE::ZSound Class Reference

    #include <ZE_ZSound.h>

    -Inherits ZE::ZObject. -

    List of all members.


    Detailed Description

    -ZSound music class, class wraps common features for SDL_Mixer's Mix_Chunk. Inherited from ZObject. +ZSound music class, class wraps common features for SDL_Mixer's Mix_Chunk. Inherited from ZObject.

    @@ -20,7 +18,7 @@ Inherits ZE::ZObject. - + @@ -49,11 +47,14 @@ Inherits ZE::ZObject. const int  - + + + - +
     Default Constructor.

     ZSound (string filename)
     Constructor that opens a sound effect file.

     ~ZSound ()
    virtual ~ZSound ()
     Destructor, frees memory.

    void Open (string filename)
     Opens a sound effect file.

    LoopInfinite
     Static Variable For Infinite loop of sound. (Defined as -1).


    Protected Attributes

    -Mix_Chunk * rSound
    +ZEnginerEngine
     Pointer to ZEngine Object.

    +Mix_Chunk * rSound
     Pointer to music data.

    -int rChannelID
    +int rChannelID
     Channel ID Number from SDL_Mixer.


    Constructor & Destructor Documentation

    @@ -125,11 +126,11 @@ Constructor simply calls ZSound:: - + - +
    ZE::ZSound::~ZSound virtual ZE::ZSound::~ZSound   [virtual]
    @@ -496,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 Tue Jan 28 16:31:29 2003 for ZEngine by +
    Generated on Sun Apr 27 14:53:40 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 c2dcc0b..6866c7c 100644 --- a/doc/html/classZE_1_1ZTimer-members.html +++ b/doc/html/classZE_1_1ZTimer-members.html @@ -5,23 +5,22 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZE::ZTimer Member List

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

    Generated on Tue Jan 28 16:31:29 2003 for ZEngine by + ~ZTimer()ZE::ZTimer [virtual] +
    Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/classZE_1_1ZTimer.html b/doc/html/classZE_1_1ZTimer.html index 5e7ff39..3fc9b6b 100644 --- a/doc/html/classZE_1_1ZTimer.html +++ b/doc/html/classZE_1_1ZTimer.html @@ -5,44 +5,47 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZE::ZTimer Class Reference

    #include <ZE_ZTimer.h>

    -Inherits ZE::ZObject. -

    List of all members.


    Detailed Description

    -ZTimer timing class, class wraps common features of SDL timer. Inherited from ZObject and tied to ZEngine main timer. +ZTimer timing class, class wraps common features of SDL timer. Inherited from ZObject and tied to ZEngine main timer.

    - - - - - - - - - - + + + + + + + + + + + + - + + + - + - + - +

    Public Methods

     ZTimer (bool useZEngine=true)
     Constructs a new Timer.

    void Reset ()
     Reset Timer.

    void Pause ()
     Pause Timer.

    void Unpause ()
     Unpause Timer.

    Uint32 GetTime () const
     Get Time of Timer.

    bool IsPaused () const
     Get paused state.

    virtual ~ZTimer ()
     Virtual Destructor.

    void Reset ()
     Reset Timer.

    void Pause ()
     Pause Timer.

    void Unpause ()
     Unpause Timer.

    Uint32 GetTime () const
     Get Time of Timer.

    bool IsPaused () const
     Get paused state.


    Protected Methods

    Uint32 GetParentTime () const
     Get time from parent timer.


    Protected Attributes

    -bool rPaused
    +ZEnginerEngine
     Pointer to ZEngine Object.

    +bool rPaused
     Paused / Unpaused state of Timer.

    -bool rUseZEngine
    +bool rUseZEngine
     Using ZEngine timer or SDL global timer.

    -Uint32 rPausedTime
    +Uint32 rPausedTime
     Total time this timer has been paused.

    -Uint32 rLastPause
    +Uint32 rLastPause
     Time this Timer was paused.


    Constructor & Destructor Documentation

    @@ -80,6 +83,34 @@ Sets TimePaused to current ZEngine< +

    + + + + +
    + + + + + + + + + +
    ZE::ZTimer::~ZTimer   [virtual]
    +
    + + + + + +
    +   + + +

    +Virtual destructor making future inheritance safe.


    Member Function Documentation

    @@ -110,7 +141,7 @@ Protected method to get time from whichever timer is parent.
    -

    +

    @@ -138,7 +169,7 @@ Protected method to get time from whichever timer is parent.
    Set Timer back to Zero, will also unpause timer if it was paused.
    -

    +

    Pause the timer if it is unpaused.
    @@ -166,7 +197,7 @@ Set Timer back to Zero, will also unpause timer if it was paused.
    -

    +

    Unpause the timer if it is paused.
    @@ -194,7 +225,7 @@ Pause the timer if it is unpaused.
    -

    +

    @@ -223,7 +254,7 @@ Get current time accounting for time paused.
    Returns:
    -

    +

    @@ -254,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 Tue Jan 28 16:31:29 2003 for ZEngine by +
    Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/files.html b/doc/html/files.html index 04a4761..527faee 100644 --- a/doc/html/files.html +++ b/doc/html/files.html @@ -5,25 +5,27 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZEngine File List

    Here is a list of all documented files with brief descriptions: + - + + @@ -31,10 +33,11 @@ +
    /include/ZE_Defines.h [code]Define file for ZEngine
    /include/ZE_Includes.h [code]Include file for SDL and C++ Includes that many ZEngine files need
    /include/ZE_Utility.h [code]Definition file for ZEngine Utilities
    /include/ZE_ZClient.h [code]Definition file for ZClient
    /include/ZE_ZConfigFile.h [code]Definition file for ZConfigFile
    /include/ZE_ZEngine.h [code]Definition file for core ZEngine class
    /include/ZE_ZError.h [code]Definition file for ZError
    /include/ZE_ZFont.h [code]Definition file for ZFont
    /include/ZE_ZImage.h [code]Definition file for ZImage
    /include/ZE_ZMusic.h [code]Definition file for ZMusic
    /include/ZE_ZObject.h [code]Definition file for ZObject Base Class
    /include/ZE_ZRect.h [code]Definition file for ZRect
    /include/ZE_ZServer.h [code]Definition file for ZServer
    /include/ZE_ZSound.h [code]Definition file for ZSound
    /include/ZE_ZTimer.h [code]Definition file for ZTimer
    /include/ZEngine.h [code]Header file for ZEngine
    /include/external/physfsrwops.h [code]
    /include/external/SDLGL_Util.h [code]
    /src/ZE_Utility.cppSource file for ZEngine utility functions
    /src/ZE_ZClient.cppSource file for ZClient
    /src/ZE_ZConfigFile.cppSource file for ZConfigFile
    /src/ZE_ZEngine.cppCentral source file for ZEngine
    /src/ZE_ZError.cppSource file for ZError
    /src/ZE_ZImage.cppSource file for ZImage
    /src/ZE_ZMusic.cppSource file for ZMusic
    /src/ZE_ZRect.cppSource file for ZRect
    /src/ZE_ZServer.cppSource file for ZServer
    /src/ZE_ZSound.cppSource file for ZSound
    /src/ZE_ZTimer.cppSource file for ZTimer
    -
    Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
    Generated on Sun Apr 27 14:53:39 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/functions.html b/doc/html/functions.html index b70254a..cfc4baa 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -5,7 +5,7 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZEngine Compound Members

    a | b | c | d | e | f | g | h | i | k | l | m | o | p | q | r | s | t | u | v | w | x | y | z | ~
    @@ -13,25 +13,25 @@ Here is a list of all documented class members with links to the class documentation for each member:

    - a -

    +: ZE::ZImage
  • Attach() +: ZE::ZImage

    - b -

    - c -

    - d - @@ -40,53 +40,54 @@ Here is a list of all documented class members with links to the class documenta : ZE::ZEngine
  • DestroyStringTable() : ZE::ZError
  • Display() : ZE::ZEngine
  • Draw() -: ZE::ZRect, ZE::ZImage
  • DrawRotated() -: ZE::ZImage
  • DrawShadedText() +: ZE::ZRect, ZE::ZImage
  • DrawRotated() +: ZE::ZImage
  • DrawShadedText() : ZE::ZFont
  • DrawText() : ZE::ZFont

    - e -

    +: ZE::ZConfigFile

    - f -

    - g -

    - h -

    - i -

    - k - @@ -98,64 +99,62 @@ Here is a list of all documented class members with links to the class documenta

    - m -

    - o -

    +: ZE::ZSound, ZE::ZMusic, ZE::ZImage, ZE::ZFont
  • OpenFromImage() +: ZE::ZImage
  • operator<() +: ZE::ZRect
  • operator=() +: ZE::ZRect

    - p -

    @@ -166,83 +165,85 @@ Here is a list of all documented class members with links to the class documenta

    - r -

    - s -

    +: ZE::ZImage

    - t -

    +: ZE::ZRect

    - u -

    - v - @@ -255,16 +256,16 @@ Here is a list of all documented class members with links to the class documenta

    - w -

    - x -

    +: ZE::ZRect

    - y -

    +: ZE::ZRect

    - z -

    - ~ -

    -
    Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +: ZE::ZImage
  • ~ZMusic() +: ZE::ZMusic
  • ~ZRect() +: ZE::ZRect
  • ~ZSound() +: ZE::ZSound
  • ~ZTimer() +: ZE::ZTimer +
    Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/globals.html b/doc/html/globals.html index 46f36e6..1597ce8 100644 --- a/doc/html/globals.html +++ b/doc/html/globals.html @@ -5,9 +5,9 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZEngine File Members

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

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

    - f - @@ -17,17 +17,25 @@ Here is a list of all documented file members with links to the documentation:ZE_Utility.h
  • FreeMusic : ZE_Utility.h
  • FreeSound : ZE_Utility.h +

    - m - +

    - u -

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

    - v -

    -
    Generated on Tue Jan 28 16:31:29 2003 for ZEngine by +: ZE_Defines.h +

    - z - +

    +
    Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/index.html b/doc/html/index.html index 1715e24..7d20909 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -5,12 +5,12 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZEngine Documentation

    -

    0.8.2

    Author:
    James Turk
    -
    Version:
    0.8.2
    -
    Date:
    January 28, 2003
    +

    0.8.3

    Author:
    James Turk
    +
    Version:
    0.8.3
    +
    Date:
    April 27, 2003

    About ZEngine


    @@ -36,7 +36,7 @@ Contributing Authors
  • James Turk james@conceptofzero.net - Core Engine, Design, Docs, and Classes
    Gamer Tazar tazar@conceptofzero.net - OpenGL assistance
    Sean sean@conceptofzero.net - MSVC++6 Project Files
    -
    Generated on Tue Jan 28 16:31:28 2003 for ZEngine by + Kevin Watters kwatters@adelphia.net - Fix to ZImage::SetColorKey<br>
    Generated on Sun Apr 27 14:53:39 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/namespaceZE.html b/doc/html/namespaceZE.html index 49fd3a5..8d367a4 100644 --- a/doc/html/namespaceZE.html +++ b/doc/html/namespaceZE.html @@ -5,7 +5,7 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZE Namespace Reference


    Detailed Description

    Namespace for ZEngine classes and utility functions.

    @@ -32,8 +32,6 @@ Namespace for ZEngine classes a  ZImage class for basic Image use. More...

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

    -class  ZObjectZObject base class for other ZEngine objects. More...

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

    class  ZSound @@ -41,34 +39,39 @@ Namespace for ZEngine classes a 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_VIDMODE, -ZERR_LOAD_IMAGE, -ZERR_LOAD_SOUND, +  ZERR_TTF_INIT, +ZERR_NET_INIT, +ZERR_VIDMODE, +ZERR_LOAD_IMAGE,
    -  ZERR_LOAD_MUSIC, -ZERR_LOAD_FONT, -ZERR_NOIMAGE, -ZERR_NOSOUND, +  ZERR_LOAD_SOUND, +ZERR_LOAD_MUSIC, +ZERR_LOAD_FONT, +ZERR_NOIMAGE,
    -  ZERR_NOMUSIC, -ZERR_NOFONT, -ZERR_LAST +  ZERR_NOSOUND, +ZERR_NOMUSIC, +ZERR_NOFONT, +ZERR_NOSOCKET, +
    +  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.

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


    Enumeration Type Documentation

    -

    +

    @@ -89,35 +92,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_VIDMODE  +
    ZERR_NET_INIT  +Error Initializing SDL_net.
    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_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.
    @@ -125,7 +136,7 @@ Value used as range index, not a valid error code.


    Function Documentation

    -

    +

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


    Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
    Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/namespacemembers.html b/doc/html/namespacemembers.html index 004d718..43a7483 100644 --- a/doc/html/namespacemembers.html +++ b/doc/html/namespacemembers.html @@ -5,7 +5,7 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZEngine Namespace Members

    f | z
    @@ -13,27 +13,31 @@ Here is a list of all documented namespace members with links to the namespaces they belong to:

    - f -

    • FormatStr() -: ZE
    +: ZE

    - z -

    • ZERR_LAST -: ZE
    • ZERR_LOAD_FONT -: ZE
    • ZERR_LOAD_IMAGE -: ZE
    • ZERR_LOAD_MUSIC -: ZE
    • ZERR_LOAD_SOUND -: ZE
    • ZERR_MIX_INIT -: ZE
    • ZERR_NOFONT -: ZE
    • ZERR_NOIMAGE -: ZE
    • ZERR_NOMUSIC -: ZE
    • ZERR_NONE -: ZE
    • ZERR_NOSOUND -: ZE
    • ZERR_SDL_INIT -: ZE
    • ZERR_SDL_INTERNAL -: ZE
    • ZERR_TTF_INIT -: ZE
    • ZERR_VIDMODE -: ZE
    • ZErrorCode -: ZE
    -
    Generated on Tue Jan 28 16:31:29 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 14:53:40 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/namespaces.html b/doc/html/namespaces.html index 4a3a481..1ff9600 100644 --- a/doc/html/namespaces.html +++ b/doc/html/namespaces.html @@ -5,11 +5,11 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    ZEngine Namespace List

    Here is a list of all documented namespaces with brief descriptions:
    ZEZEngine Namespace
    -
    Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
    Generated on Sun Apr 27 14:53:40 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/doc/html/physfsrwops_8h-source.html b/doc/html/physfsrwops_8h-source.html index e620e6b..feeaf3b 100644 --- a/doc/html/physfsrwops_8h-source.html +++ b/doc/html/physfsrwops_8h-source.html @@ -5,7 +5,7 @@
    -Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  
    +Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

    /include/external/physfsrwops.h

    00001 /*
     00002  * This code provides a glue layer between PhysicsFS and Simple Directmedia
     00003  *  Layer's (SDL) RWops i/o abstraction.
    @@ -46,7 +46,7 @@
     00078 
     00079 /* end of physfsrwops.h ... */
     00080 
    -

    Generated on Tue Jan 28 16:31:28 2003 for ZEngine by +
    Generated on Sun Apr 27 14:53:39 2003 for ZEngine by doxygen1.3-rc2
    diff --git a/include/ZE_Defines.h b/include/ZE_Defines.h index 8c708c8..9a045e5 100644 --- a/include/ZE_Defines.h +++ b/include/ZE_Defines.h @@ -13,7 +13,7 @@ File: ZE_Defines.h
    Description: Defines header file for ZEngine class, where all #define statements to control compilation options are placed.
    Author(s): James Turk
    -$Id: ZE_Defines.h,v 1.11 2003/04/08 03:33:10 cozman Exp $
    +$Id: ZE_Defines.h,v 1.12 2003/04/27 18:55:00 cozman Exp $
    \file ZE_Defines.h \brief Define file for ZEngine. @@ -27,7 +27,7 @@ $Id: ZE_Defines.h,v 1.11 2003/04/08 03:33:10 cozman Exp $
    //Defines- undefine any of these if you dont have the indicated SDL extension// //! Version number. -#define VERSION "0.8.3-pre" +#define VERSION "0.8.3" //! Define to include font support. #define USE_SDL_TTF @@ -36,7 +36,7 @@ $Id: ZE_Defines.h,v 1.11 2003/04/08 03:33:10 cozman Exp $
    //! Define to include sound support. #define USE_SDL_MIXER //! Define to include net support. -#define USE_SDL_NET +//#define USE_SDL_NET //! Define to use the Physfs file system. //#define USE_PHYSFS diff --git a/include/ZEngine.h b/include/ZEngine.h index a10866a..cd26a1c 100644 --- a/include/ZEngine.h +++ b/include/ZEngine.h @@ -3,7 +3,7 @@ File: ZEngine.h
    Description: Public Header File for ZEngine.
    Author(s): James Turk
    -$Id: ZEngine.h,v 1.23 2003/03/15 03:34:08 cozman Exp $
    +$Id: ZEngine.h,v 1.24 2003/04/27 18:55:00 cozman Exp $
    \file ZEngine.h \brief Header file for ZEngine. @@ -16,8 +16,8 @@ $Id: ZEngine.h,v 1.23 2003/03/15 03:34:08 cozman Exp $
    \mainpage ZEngine Documentation \author James Turk - \version 0.8.2 - \date January 28, 2003 + \version 0.8.3 + \date April 27, 2003 \section ZEngine About ZEngine
    @@ -48,6 +48,7 @@ $Id: ZEngine.h,v 1.23 2003/03/15 03:34:08 cozman Exp $
    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
    **/ #ifndef __zengine_h__ diff --git a/test/ZImageTest.cpp b/test/ZImageTest.cpp index a8fef92..baee29c 100644 --- a/test/ZImageTest.cpp +++ b/test/ZImageTest.cpp @@ -8,7 +8,7 @@ and the home of this Library is http://www.zengine.sourceforge.net *******************************************************************************/ -/*$Id: ZImageTest.cpp,v 1.16 2003/01/25 20:36:13 cozman Exp $*/ +/*$Id: ZImageTest.cpp,v 1.17 2003/04/27 18:55:00 cozman Exp $*/ #include #include @@ -90,7 +90,6 @@ void Test() image1.SetAlpha(alpha); image1.Draw(0,0); - image2.DrawRotated(100,0,angle); if(++angle > 360) angle = 0.0f; diff --git a/vc7/ZEngine.sln b/vc7/ZEngine.sln index 33d7e22..bdf908a 100644 --- a/vc7/ZEngine.sln +++ b/vc7/ZEngine.sln @@ -17,8 +17,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ZRectTest", "ZRectTest.vcpr EndProject Global GlobalSection(SolutionConfiguration) = preSolution - ConfigName.0 = Debug - ConfigName.1 = Release + ConfigName.0 = Release EndGlobalSection GlobalSection(ProjectDependencies) = postSolution {7DA4211A-D6BD-4F3E-8FC6-AA47DC8EBC66}.0 = {65AA7404-28C1-4B15-979E-4D3A14092CC1} @@ -30,36 +29,20 @@ Global {37D500C5-E6C4-4E56-BFAA-33F1303B147C}.0 = {65AA7404-28C1-4B15-979E-4D3A14092CC1} EndGlobalSection GlobalSection(ProjectConfiguration) = postSolution - {65AA7404-28C1-4B15-979E-4D3A14092CC1}.Debug.ActiveCfg = Debug|Win32 - {65AA7404-28C1-4B15-979E-4D3A14092CC1}.Debug.Build.0 = Debug|Win32 {65AA7404-28C1-4B15-979E-4D3A14092CC1}.Release.ActiveCfg = Release|Win32 {65AA7404-28C1-4B15-979E-4D3A14092CC1}.Release.Build.0 = Release|Win32 - {7DA4211A-D6BD-4F3E-8FC6-AA47DC8EBC66}.Debug.ActiveCfg = Debug|Win32 - {7DA4211A-D6BD-4F3E-8FC6-AA47DC8EBC66}.Debug.Build.0 = Debug|Win32 {7DA4211A-D6BD-4F3E-8FC6-AA47DC8EBC66}.Release.ActiveCfg = Release|Win32 {7DA4211A-D6BD-4F3E-8FC6-AA47DC8EBC66}.Release.Build.0 = Release|Win32 - {999F6F58-3518-4F66-AEDD-FAD808DA2878}.Debug.ActiveCfg = Debug|Win32 - {999F6F58-3518-4F66-AEDD-FAD808DA2878}.Debug.Build.0 = Debug|Win32 {999F6F58-3518-4F66-AEDD-FAD808DA2878}.Release.ActiveCfg = Release|Win32 {999F6F58-3518-4F66-AEDD-FAD808DA2878}.Release.Build.0 = Release|Win32 - {18BBFFEC-92F0-40C7-BDF9-2C2D5CA62673}.Debug.ActiveCfg = Debug|Win32 - {18BBFFEC-92F0-40C7-BDF9-2C2D5CA62673}.Debug.Build.0 = Debug|Win32 {18BBFFEC-92F0-40C7-BDF9-2C2D5CA62673}.Release.ActiveCfg = Release|Win32 {18BBFFEC-92F0-40C7-BDF9-2C2D5CA62673}.Release.Build.0 = Release|Win32 - {C658B38D-B4E7-434D-8431-88BAD8CF0781}.Debug.ActiveCfg = Debug|Win32 - {C658B38D-B4E7-434D-8431-88BAD8CF0781}.Debug.Build.0 = Debug|Win32 {C658B38D-B4E7-434D-8431-88BAD8CF0781}.Release.ActiveCfg = Release|Win32 {C658B38D-B4E7-434D-8431-88BAD8CF0781}.Release.Build.0 = Release|Win32 - {1CE76EE8-27D4-41AE-9229-5B09922EBFE9}.Debug.ActiveCfg = Debug|Win32 - {1CE76EE8-27D4-41AE-9229-5B09922EBFE9}.Debug.Build.0 = Debug|Win32 {1CE76EE8-27D4-41AE-9229-5B09922EBFE9}.Release.ActiveCfg = Release|Win32 {1CE76EE8-27D4-41AE-9229-5B09922EBFE9}.Release.Build.0 = Release|Win32 - {68E3AB20-1BC1-4852-9A91-33DADFCED7CA}.Debug.ActiveCfg = Debug|Win32 - {68E3AB20-1BC1-4852-9A91-33DADFCED7CA}.Debug.Build.0 = Debug|Win32 {68E3AB20-1BC1-4852-9A91-33DADFCED7CA}.Release.ActiveCfg = Release|Win32 {68E3AB20-1BC1-4852-9A91-33DADFCED7CA}.Release.Build.0 = Release|Win32 - {37D500C5-E6C4-4E56-BFAA-33F1303B147C}.Debug.ActiveCfg = Debug|Win32 - {37D500C5-E6C4-4E56-BFAA-33F1303B147C}.Debug.Build.0 = Debug|Win32 {37D500C5-E6C4-4E56-BFAA-33F1303B147C}.Release.ActiveCfg = Release|Win32 {37D500C5-E6C4-4E56-BFAA-33F1303B147C}.Release.Build.0 = Release|Win32 EndGlobalSection diff --git a/vc7/ZEngine.vcproj b/vc7/ZEngine.vcproj index 70a362b..50c615e 100644 --- a/vc7/ZEngine.vcproj +++ b/vc7/ZEngine.vcproj @@ -10,43 +10,6 @@ Name="Win32"/> - - - - - - - - - - - + + @@ -116,12 +83,6 @@ - - - + + @@ -154,6 +118,9 @@ + + @@ -173,10 +140,10 @@ RelativePath="..\include\ZE_ZMusic.h"> + RelativePath="..\include\ZE_ZRect.h"> + RelativePath="..\include\ZE_ZServer.h"> diff --git a/vc7/ZFontTest.vcproj b/vc7/ZFontTest.vcproj index 53a55eb..88147ec 100644 --- a/vc7/ZFontTest.vcproj +++ b/vc7/ZFontTest.vcproj @@ -10,56 +10,6 @@ Name="Win32"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -