Major 0.7.7 Update. All OpenGL Work was done offline.

This commit is contained in:
James Turk 2002-12-01 07:56:17 +00:00
parent 8da954fd7d
commit 106c8aab48
108 changed files with 4506 additions and 4570 deletions

View File

@ -1 +1 @@
James Turk james@conceptofzero.net - Core Engine and Classes for Data Types James Turk james@conceptofzero.net - Core Engine and Classes for Data Types

View File

@ -1,102 +1,122 @@
ZEngine Version Log for Version 0.7.5 ZEngine Version Log for Version 0.7.7
$Id: changelog.txt,v 1.2 2002/11/28 23:15:52 cozman Exp $ $Id: changelog.txt,v 1.3 2002/12/01 07:56:17 cozman Exp $
0.7.5
-Converted all tabs to spaces. 0.7.7
-Added CVS lines to files for date tracking. -Changed behavior of core ZEngine class methods to reflect new OpenGL behavior.
-Fixed file layout for CVS and reuploaded files to CVS. -Eliminated certain SDL specific functions, no longer needed with OpenGL render target.
-Major API changes (removed "Get" before accessors and changed some functions in ZEngine) -Completely removed old SDL_Image.h and replaced with what had been SDL_ImageGL.h.
-Added Beginnings of OpenGL Render targets -Documented new ZImage class as well as ZConfigFile's ZCF_Variable and ZCF_Section.
-Fixed memory leak and general failure in new ZImage::OpenFromImage.
0.7.4 -Simplified SDL_GL Initialization.
-Modified behavior of ZImage::Attach and changed ZImageTest to use it. -Shortened most lines to reasonable screen width.
-Added makefile for Linux build support. -Added notice to licensing explaining license choice.
-Renamed old makefile to makefile.mingw32
-Fixed problem in ZImage::SetAlpha when failure occured. 0.7.6
-Added warnings in ZImage for when the display format fails. -Added ZImageGL, still in testing phase.
-Completely rewrote ZConfigFile to avoid problems with STL map. -Followed up major API changes from 0.7.5 with whole new series of changes:
-Fixed problem in ZImage with transparency. (API from 0.7.x at least 25% rewritten)
-Added doxygen script for linux, and renamed old doxygen script. -Added new /external files for SDL_GL* extensions
-Added Macros in ZE_Macros.h
0.7.3 -Removed ZE_DataPtr.h
-Globally evised source variable naming standards. -Rewrote warnings in Sound,Music,Font and Image classes.
-Fixed Error Logging in ZImage.
-Added SDL_DisplaySurface and SDL_DisplaySurfaceAlpha calls to speed up blitting in ZImage. 0.7.5
-Fixed bug in ZConfigFile that caused a NULL file to be closed. -Converted all tabs to spaces.
-Several Documentation errors corrected. -Added CVS lines to files for date tracking.
-Added ZRect class, and ZRectTest. -Fixed file layout for CVS and reuploaded files to CVS.
-Major API changes (removed "Get" before accessors and changed some functions in ZEngine)
0.7.2 -Added Beginnings of OpenGL Render target
-Fixed small source problem in PhysFS handling of non-supported types.
-Added makefile for Cygwin and Mingw32 0.7.4
-Removed AFL license, and switched to BSD-style license. -Modified behavior of ZImage::Attach and changed ZImageTest to use it.
-Added makefile for Linux build support.
0.7.1 -Renamed old makefile to makefile.mingw32
-Changed directory layout. -Fixed problem in ZImage::SetAlpha when failure occured.
-Changed source files to compile without PhysicsFS. -Added warnings in ZImage for when the display format fails.
-Added newline to end of all source files. -Completely rewrote ZConfigFile to avoid problems with STL map.
-Fixed problem in ZImage with transparency.
0.7.0 -Added doxygen script for linux, and renamed old doxygen script.
-Changed slash direction in example programs (fixed non-windows problems).
-Added support for PhysicsFS. 0.7.3
-Added ZConfigFile. -Globally evised source variable naming standards.
-Updated all examples to be cleaner style and use more features. -Fixed Error Logging in ZImage.
-Addes ZConfigFile for test programs. -Added SDL_DisplaySurface and SDL_DisplaySurfaceAlpha calls to speed up blitting in ZImage.
-Fixed bug in ZConfigFile that caused a NULL file to be closed.
0.6.3 -Several Documentation errors corrected.
-Fixed directory issues in distribution. -Added ZRect class, and ZRectTest.
-Updated to specify SDL 1.2.5 compatibility.
-Added IsLoaded method to ZSound,ZMusic,ZImage and ZFont 0.7.2
-Added music.ogg warning to ZMusicTest. -Fixed small source problem in PhysFS handling of non-supported types.
-Minor fixes in Doxygen settings. -Added makefile for Cygwin and Mingw32
-Fixed issues compiling the ZObject Inherited Wrapper types caused by changes in documentation. -Removed AFL license, and switched to BSD-style license.
-Added file-level documentation for doxygen in src directory.
0.7.1
0.6.2 -Changed directory layout.
-Updated License to APL 1.1 and all files with it. -Changed source files to compile without PhysicsFS.
-Added newline to end of all source files.
0.6.1
-Added Mouse Example 0.7.0
-Changed Email Address to james@conceptofzero.net -Changed slash direction in example programs (fixed non-windows problems).
-Added more test data and information on where data came from -Added support for PhysicsFS.
-Removed Ogg file from distribution. -Added ZConfigFile.
-Changed names of the libraries. -Updated all examples to be cleaner style and use more features.
-Addes ZConfigFile for test programs.
0.6.0
-Updated all documentation (including doxygen docs). 0.6.3
-Rewrote Licensing.txt -Fixed directory issues in distribution.
-Added Authors.txt and Credits.txt -Updated to specify SDL 1.2.5 compatibility.
-Added VC7 Non-Debug Projects. -Added IsLoaded method to ZSound,ZMusic,ZImage and ZFont
-Removed LGPL.txt (legacy) and Added APL.txt -Added music.ogg warning to ZMusicTest.
-Fixed a bug occuring in ZSound and ZFont test programs. -Minor fixes in Doxygen settings.
-Proofread and fixed some documentation errors. -Fixed issues compiling the ZObject Inherited Wrapper types caused by changes in documentation.
-Added file-level documentation for doxygen in src directory.
0.5.0
-Added APL Notice to source files. 0.6.2
-Updated source guidelines file for APL licensing. -Updated License to APL 1.1 and all files with it.
-Added ZSound and test program.
-Updated examples to have similar coding guidelines. 0.6.1
-Added Mouse Example
0.4.0 -Changed Email Address to james@conceptofzero.net
-Added Source Guidelines file. -Added more test data and information on where data came from
-Added ZMusic and test program. -Removed Ogg file from distribution.
-Fixed a small keypress checking error in fullscreen mode. -Changed names of the libraries.
-Redesigned entire data storage system (aka ZDataPtr classes)
-Fixed USE_SDL_MIXER and USE_SDL_TTF bugs in ZEngine. 0.6.0
-Removed LGPL licensing messages from source. -Updated all documentation (including doxygen docs).
-Rewrote buggy ZImage::Attach code that was affecting the test program. -Rewrote Licensing.txt
-Added Authors.txt and Credits.txt
0.3.0 -Added VC7 Non-Debug Projects.
-Added ZTimer and ZFont classes and test programs. -Removed LGPL.txt (legacy) and Added APL.txt
-Fixed major hardware setting bugs in ZImage and ZEngine. -Fixed a bug occuring in ZSound and ZFont test programs.
-Added alpha blending to tests. -Proofread and fixed some documentation errors.
-Reorganized Directory Structure and VC7 Project Files
0.5.0
0.2.0 -Added APL Notice to source files.
-Doxygen Documentation and LGPL license addition -Updated source guidelines file for APL licensing.
-Added ZImage, and test program. -Added ZSound and test program.
-Fixed bugs throughout core of ZEngine and changed methods used to keep static vectors of data. -Updated examples to have similar coding guidelines.
-Designed ZObject class with virtual destructor.
0.4.0
0.1.0 -Added Source Guidelines file.
-Initial ZEngine Proof of Concept, core ZEngine class. -Added ZMusic and test program.
-Fixed a small keypress checking error in fullscreen mode.
-Redesigned entire data storage system (aka ZDataPtr classes)
-Fixed USE_SDL_MIXER and USE_SDL_TTF bugs in ZEngine.
-Removed LGPL licensing messages from source.
-Rewrote buggy ZImage::Attach code that was affecting the test program.
0.3.0
-Added ZTimer and ZFont classes and test programs.
-Fixed major hardware setting bugs in ZImage and ZEngine.
-Added alpha blending to tests.
-Reorganized Directory Structure and VC7 Project Files
0.2.0
-Doxygen Documentation and LGPL license addition
-Added ZImage, and test program.
-Fixed bugs throughout core of ZEngine and changed methods used to keep static vectors of data.
-Designed ZObject class with virtual destructor.
0.1.0
-Initial ZEngine Proof of Concept, core ZEngine class.

View File

@ -4,7 +4,7 @@
# General configuration options # General configuration options
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
PROJECT_NAME = ZEngine PROJECT_NAME = ZEngine
PROJECT_NUMBER = 0.7.5 PROJECT_NUMBER = 0.7.7
OUTPUT_DIRECTORY = /home/James/ZEngine-dev/doc OUTPUT_DIRECTORY = /home/James/ZEngine-dev/doc
OUTPUT_LANGUAGE = English OUTPUT_LANGUAGE = English
EXTRACT_ALL = NO EXTRACT_ALL = NO

View File

@ -1,10 +0,0 @@
/home/James/ZEngine-dev/include/ZE_ZConfigFile.h:49: Warning: Compound ZE::ZConfigFile::ZCF_Section is not documented.
/home/James/ZEngine-dev/include/ZE_ZConfigFile.h:43: Warning: Compound ZE::ZConfigFile::ZCF_Variable is not documented.
/home/James/ZEngine-dev/include/ZEngine.h:35: Error: end of paragraph without end of style command </preformatted>
/home/James/ZEngine-dev/include/ZEngine.h:37: Error: Found unknown command `\conceptofzero'
/home/James/ZEngine-dev/include/ZEngine.h:39: Error: found </preformatted> tag without matching <preformatted> in the same paragraph
/home/James/ZEngine-dev/include/ZE_Error.h:58: Error: Unsupported html tag <cstdarg> found
/home/James/ZEngine-dev/include/ZE_ZConfigFile.h:70: Warning: Member Exists of class ZE::ZConfigFile is not documented.
/home/James/ZEngine-dev/include/ZE_ZConfigFile.h:71: Warning: Member Exists of class ZE::ZConfigFile is not documented.
/home/James/ZEngine-dev/include/ZE_ZConfigFile.h:72: Warning: Member SetVariable of class ZE::ZConfigFile is not documented.
/home/James/ZEngine-dev/include/ZE_ZConfigFile.h:73: Warning: Member GetVariable of class ZE::ZConfigFile is not documented.

View File

@ -4,7 +4,7 @@
# General configuration options # General configuration options
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
PROJECT_NAME = ZEngine PROJECT_NAME = ZEngine
PROJECT_NUMBER = 0.7.5 PROJECT_NUMBER = 0.7.7
OUTPUT_DIRECTORY = F:\libs\ZEngine-dev\doc\ OUTPUT_DIRECTORY = F:\libs\ZEngine-dev\doc\
OUTPUT_LANGUAGE = English OUTPUT_LANGUAGE = English
EXTRACT_ALL = NO EXTRACT_ALL = NO

View File

@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>/home/James/ZEngine-dev/include/ZE_Defines.h Source File</title> <title>/include/ZE_Defines.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_Defines.h</h1><a href="ZE__Defines_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span> <hr><h1>/include/ZE_Defines.h</h1><a href="ZE__Defines_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span> 00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span>
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span> 00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
00004 <span class="comment"></span> 00004 <span class="comment"></span>
@ -25,12 +25,12 @@
<a name="l00033"></a><a class="code" href="ZE__Defines_8h.html#a2">00033</a> <span class="comment">#define USE_SDL_MIXER</span> <a name="l00033"></a><a class="code" href="ZE__Defines_8h.html#a2">00033</a> <span class="comment">#define USE_SDL_MIXER</span>
00035 <span class="comment">//#define USE_PHYSFS</span> 00035 <span class="comment">//#define USE_PHYSFS</span>
<a name="l00037"></a><a class="code" href="ZE__Defines_8h.html#a3">00037</a> <span class="comment">#define DEBUG_STREAM</span> <a name="l00037"></a><a class="code" href="ZE__Defines_8h.html#a3">00037</a> <span class="comment">#define DEBUG_STREAM</span>
<a name="l00039"></a><a class="code" href="ZE__Defines_8h.html#a4">00039</a> <span class="comment">#define VERSION "0.7.3"</span> <a name="l00039"></a><a class="code" href="ZE__Defines_8h.html#a4">00039</a> <span class="comment">#define VERSION "0.7.6"</span>
00040 00040
00041 <span class="preprocessor">#endif //__ze_defines_h__</span> 00041 <span class="preprocessor">#endif //__ze_defines_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by </pre></div><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,18 +3,19 @@
<title>ZE_Defines.h File Reference</title> <title>ZE_Defines.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_Defines.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/include/ZE_Defines.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header:</b></dt><dd>File: ZE_Defines.h <br> <dl compact><dt><b>File Header:</b></dt><dd>
Description: Defines header file for ZEngine class, where all #define statements to control compilation options are placed. <br> File: <a class="el" href="ZE__Defines_8h.html">ZE_Defines.h</a> <br>
Description: Defines header file for ZEngine class, where all define statements to control compilation options are placed. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/07/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_Defines.h,v 1.2 2002/11/28 23:18:54 cozman Exp </dl><br>
<p> <p>
Definition file, holds #define statements describing optional features of ZEngine. Definition file, holds define statements describing optional features of ZEngine.
<p> <p>
<p> <p>
@ -34,12 +35,12 @@ Definition file, holds #define statements describing optional features of ZEngin
#define&nbsp;</td><td valign=bottom><a class="el" href="ZE__Defines_8h.html#a3">DEBUG_STREAM</a></td></tr> #define&nbsp;</td><td valign=bottom><a class="el" href="ZE__Defines_8h.html#a3">DEBUG_STREAM</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Undefine to disable debug streams for Error Handler.</em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Undefine to disable debug streams for Error Handler.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a4" doxytag="ZE_Defines.h::VERSION"></a> <tr><td nowrap align=right valign=top><a name="a4" doxytag="ZE_Defines.h::VERSION"></a>
#define&nbsp;</td><td valign=bottom><a class="el" href="ZE__Defines_8h.html#a4">VERSION</a>&nbsp;&nbsp;&nbsp;"0.7.3"</td></tr> #define&nbsp;</td><td valign=bottom><a class="el" href="ZE__Defines_8h.html#a4">VERSION</a>&nbsp;&nbsp;&nbsp;"0.7.6"</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Version number.</em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Version number.</em></font><br><br></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,16 @@
<title>ZE_Error.cpp File Reference</title> <title>ZE_Error.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/src/ZE_Error.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/src/ZE_Error.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Util/ZE_Error.cpp <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__Error_8cpp.html">ZE_Error.cpp</a> <br>
Description: Implementation source file for ZEngine error logging utility functions. <br> Description: Implementation source file for ZEngine error logging utility functions. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 10/8/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_Error.cpp,v 1.1.1.1 2002/11/21 05:41:12 cozman Exp </dl><br>
<p> <p>
Error logging utilities for ZEngine and programs making use of ZEngine. Error logging utilities for ZEngine and programs making use of ZEngine.
@ -22,9 +23,9 @@ Error logging utilities for ZEngine and programs making use of ZEngine.
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> <tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr> <tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>/home/James/ZEngine-dev/include/ZE_Error.h Source File</title> <title>/include/ZE_Error.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_Error.h</h1><a href="ZE__Error_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span> <hr><h1>/include/ZE_Error.h</h1><a href="ZE__Error_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span> 00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span>
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span> 00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
00004 <span class="comment"></span> 00004 <span class="comment"></span>
@ -33,16 +33,16 @@
00057 00057
00067 string <a class="code" href="namespaceZE.html#a2">FormatStr</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *fmtstr, ...); 00067 string <a class="code" href="namespaceZE.html#a2">FormatStr</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *fmtstr, ...);
00068 00068
00072 <span class="preprocessor">#define GetError(str) _GetError(__LINE__,__FILE__,str)</span> <a name="l00072"></a><a class="code" href="ZE__Error_8h.html#a0">00072</a> <span class="preprocessor">#define GetError(str) _GetError(__LINE__,__FILE__,str)</span>
00073 <span class="preprocessor"></span> 00073 <span class="preprocessor"></span>
00077 <span class="preprocessor">#define LogError(str) _LogError(__LINE__,__FILE__,str)</span> <a name="l00077"></a><a class="code" href="ZE__Error_8h.html#a1">00077</a> <span class="preprocessor">#define LogError(str) _LogError(__LINE__,__FILE__,str)</span>
00078 <span class="preprocessor"></span> 00078 <span class="preprocessor"></span>
00079 } 00079 }
00080 00080
00081 <span class="preprocessor">#endif //__ze_error_h__</span> 00081 <span class="preprocessor">#endif //__ze_error_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by </pre></div><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,16 @@
<title>ZE_Error.h File Reference</title> <title>ZE_Error.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_Error.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/include/ZE_Error.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Util/ZE_Error.h <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__Error_8h.html">ZE_Error.h</a> <br>
Description: Header file for ZEngine Error Handling Functions. <br> Description: Header file for ZEngine Error Handling Functions. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 9/8/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_Error.h,v 1.1.1.1 2002/11/21 05:41:10 cozman Exp </dl><br>
<p> <p>
Definition file for ZEngine Error Logging + Formatting functions which are used for internal and external errors. Definition file for ZEngine Error Logging + Formatting functions which are used for internal and external errors.
@ -82,9 +83,9 @@ Creates a string about an error, telling what file it occured in and where, and
Logs a string about an error, telling what file it occured in and where, and gives a user defined string as well. </td> Logs a string about an error, telling what file it occured in and where, and gives a user defined string as well. </td>
</tr> </tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>/home/James/ZEngine-dev/include/ZE_Includes.h Source File</title> <title>/include/ZE_Includes.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_Includes.h</h1><a href="ZE__Includes_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span> <hr><h1>/include/ZE_Includes.h</h1><a href="ZE__Includes_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span> 00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span>
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span> 00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
00004 <span class="comment"></span> 00004 <span class="comment"></span>
@ -22,34 +22,36 @@
00028 <span class="preprocessor">#include "<a class="code" href="ZE__Defines_8h.html">ZE_Defines.h</a>"</span> 00028 <span class="preprocessor">#include "<a class="code" href="ZE__Defines_8h.html">ZE_Defines.h</a>"</span>
00029 00029
00030 <span class="preprocessor">#include "SDL.h"</span> 00030 <span class="preprocessor">#include "SDL.h"</span>
00031 <span class="preprocessor">#ifdef USE_SDL_IMAGE</span> 00031 <span class="preprocessor">#include "SDL_opengl.h"</span>
00032 <span class="preprocessor"></span><span class="preprocessor">#include "SDL_image.h"</span> 00032 <span class="preprocessor">#include "external/SDLGL_Util.h"</span>
00033 <span class="preprocessor">#endif</span> 00033 <span class="preprocessor">#ifdef USE_SDL_IMAGE</span>
00034 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_SDL_TTF</span> 00034 <span class="preprocessor"></span><span class="preprocessor">#include "SDL_image.h"</span>
00035 <span class="preprocessor"></span><span class="preprocessor">#include "SDL_ttf.h"</span> 00035 <span class="preprocessor">#endif</span>
00036 <span class="preprocessor">#endif</span> 00036 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_SDL_TTF</span>
00037 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_SDL_MIXER</span> 00037 <span class="preprocessor"></span><span class="preprocessor">#include "SDL_ttf.h"</span>
00038 <span class="preprocessor"></span><span class="preprocessor">#include "SDL_mixer.h"</span> 00038 <span class="preprocessor">#endif</span>
00039 <span class="preprocessor">#endif</span> 00039 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_SDL_MIXER</span>
00040 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_PHYSFS</span> 00040 <span class="preprocessor"></span><span class="preprocessor">#include "SDL_mixer.h"</span>
00041 <span class="preprocessor"></span><span class="preprocessor">#include "physfs.h"</span> 00041 <span class="preprocessor">#endif</span>
00042 <span class="preprocessor">#include "external/physfsrwops.h"</span> 00042 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_PHYSFS</span>
00043 <span class="preprocessor">#endif</span> 00043 <span class="preprocessor"></span><span class="preprocessor">#include "physfs.h"</span>
00044 <span class="preprocessor"></span> 00044 <span class="preprocessor">#include "external/physfsrwops.h"</span>
00045 <span class="preprocessor">#include &lt;string&gt;</span> 00045 <span class="preprocessor">#endif</span>
00046 <span class="preprocessor">#include &lt;vector&gt;</span> 00046 <span class="preprocessor"></span>
00047 <span class="preprocessor">#include &lt;fstream&gt;</span> 00047 <span class="preprocessor">#include &lt;string&gt;</span>
00048 <span class="preprocessor">#include &lt;list&gt;</span> 00048 <span class="preprocessor">#include &lt;vector&gt;</span>
00049 <span class="preprocessor">#include &lt;cstdio&gt;</span> 00049 <span class="preprocessor">#include &lt;fstream&gt;</span>
00050 <span class="preprocessor">#include &lt;cstdlib&gt;</span> 00050 <span class="preprocessor">#include &lt;list&gt;</span>
00051 <span class="preprocessor">#include &lt;cstdarg&gt;</span> 00051 <span class="preprocessor">#include &lt;cstdio&gt;</span>
00052 <span class="preprocessor">#include &lt;cctype&gt;</span> 00052 <span class="preprocessor">#include &lt;cstdlib&gt;</span>
00053 <span class="keyword">using</span> <span class="keyword">namespace </span>std; 00053 <span class="preprocessor">#include &lt;cstdarg&gt;</span>
00054 00054 <span class="preprocessor">#include &lt;cctype&gt;</span>
00055 <span class="preprocessor">#endif //__ze_includes_h__</span> 00055 <span class="keyword">using</span> <span class="keyword">namespace </span>std;
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by 00056
00057 <span class="preprocessor">#endif //__ze_includes_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,21 +3,24 @@
<title>ZE_Includes.h File Reference</title> <title>ZE_Includes.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_Includes.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/include/ZE_Includes.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: ZE_Includes.h <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__Includes_8h.html">ZE_Includes.h</a> <br>
Description: Header file for ZEngine universal includes. <br> Description: Header file for ZEngine universal includes. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/01/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_Includes.h,v 1.2 2002/11/28 23:18:54 cozman Exp </dl><br>
<p> <p>
ZE_*.h files should only include this file and any other ZE_*.h files that they need, External Library or C/C++ Standard Library files should be included from within this file. ZE_*.h files should only include this file and any other ZE_*.h files that they need, External Library or C/C++ Standard Library files should be included from within this file.
<p> <p>
<code>#include "<a class="el" href="ZE__Defines_8h-source.html">ZE_Defines.h</a>"</code><br> <code>#include "<a class="el" href="ZE__Defines_8h-source.html">ZE_Defines.h</a>"</code><br>
<code>#include "SDL.h"</code><br> <code>#include "SDL.h"</code><br>
<code>#include "SDL_opengl.h"</code><br>
<code>#include "external/SDLGL_Util.h"</code><br>
<code>#include "SDL_image.h"</code><br> <code>#include "SDL_image.h"</code><br>
<code>#include "SDL_ttf.h"</code><br> <code>#include "SDL_ttf.h"</code><br>
<code>#include "SDL_mixer.h"</code><br> <code>#include "SDL_mixer.h"</code><br>
@ -36,9 +39,9 @@ ZE_*.h files should only include this file and any other ZE_*.h files that they
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> <tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><b>std</b></td></tr> <tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><b>std</b></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,16 @@
<title>ZE_ZConfigFile.cpp File Reference</title> <title>ZE_ZConfigFile.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/src/ZE_ZConfigFile.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/src/ZE_ZConfigFile.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZConfigFile.cpp <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__ZConfigFile_8cpp.html">ZE_ZConfigFile.cpp</a> <br>
Description: Implementation source file for ZConfigFile, the ZEngine INI-Style Config File. <br> Description: Implementation source file for ZConfigFile, the ZEngine INI-Style Config File. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/07/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_ZConfigFile.cpp,v 1.1.1.1 2002/11/21 05:41:12 cozman Exp </dl><br>
<p> <p>
Implementation of ZConfigFile, the ZEngine INI-Style Config File. Implementation of ZConfigFile, the ZEngine INI-Style Config File.
@ -22,9 +23,9 @@ Implementation of ZConfigFile, the ZEngine INI-Style Config File.
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> <tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr> <tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>/home/James/ZEngine-dev/include/ZE_ZConfigFile.h Source File</title> <title>/include/ZE_ZConfigFile.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZConfigFile.h</h1><a href="ZE__ZConfigFile_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span> <hr><h1>/include/ZE_ZConfigFile.h</h1><a href="ZE__ZConfigFile_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span> 00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span>
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span> 00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
00004 <span class="comment"></span> 00004 <span class="comment"></span>
@ -19,73 +19,76 @@
00025 <span class="preprocessor">#ifndef __ze_zconfigfile_h__</span> 00025 <span class="preprocessor">#ifndef __ze_zconfigfile_h__</span>
00026 <span class="preprocessor"></span><span class="preprocessor">#define __ze_zconfigfile_h__</span> 00026 <span class="preprocessor"></span><span class="preprocessor">#define __ze_zconfigfile_h__</span>
00027 <span class="preprocessor"></span> 00027 <span class="preprocessor"></span>
00028 <span class="preprocessor">#include "<a class="code" href="ZE__ZObject_8h.html">ZE_ZObject.h</a>"</span> <span class="comment">//included even though ZCF isn't derived (to obtain all other needed headers)</span> 00028 <span class="preprocessor">#include "<a class="code" href="ZE__ZObject_8h.html">ZE_ZObject.h</a>"</span> <span class="comment">//included even though ZCF isn't derived (to obtain all other needed headers)</span>
00029 00029
00030 <span class="keyword">namespace </span>ZE 00030 <span class="keyword">namespace </span>ZE
00031 { 00031 {
00032 00032
00038 <span class="keyword">class </span>ZConfigFile : <span class="keyword">public</span> ZObject <a name="l00038"></a><a class="code" href="classZE_1_1ZConfigFile.html">00038</a> <span class="keyword">class </span><a class="code" href="classZE_1_1ZConfigFile.html">ZConfigFile</a> : <span class="keyword">public</span> <a class="code" href="classZE_1_1ZObject.html">ZObject</a>
00039 { 00039 {
00040 <span class="keyword">private</span>: 00040 <span class="keyword">private</span>:
00041 00041
00042 <span class="comment">/*Private Types*/</span> 00042 <span class="comment">//Private Types//</span>
00043 <span class="keyword">class </span>ZCF_Variable 00043
00044 { 00044
00045 <span class="keyword">public</span>: <a name="l00051"></a><a class="code" href="classZE_1_1ZConfigFile_1_1ZCF__Variable.html">00051</a> <span class="keyword">class </span><a class="code" href="classZE_1_1ZConfigFile_1_1ZCF__Variable.html">ZCF_Variable</a>
00046 string var; 00052 {
00047 string val; 00053 <span class="keyword">public</span>:
00048 }; <a name="l00055"></a><a class="code" href="classZE_1_1ZConfigFile_1_1ZCF__Variable.html#m0">00055</a> string <a class="code" href="classZE_1_1ZConfigFile_1_1ZCF__Variable.html#m0">var</a>;
00049 <span class="keyword">class </span>ZCF_Section <a name="l00057"></a><a class="code" href="classZE_1_1ZConfigFile_1_1ZCF__Variable.html#m1">00057</a> string <a class="code" href="classZE_1_1ZConfigFile_1_1ZCF__Variable.html#m1">val</a>;
00050 { 00058 };
00051 <span class="keyword">public</span>: 00059
00052 string section; <a name="l00065"></a><a class="code" href="classZE_1_1ZConfigFile_1_1ZCF__Section.html">00065</a> <span class="keyword">class </span><a class="code" href="classZE_1_1ZConfigFile_1_1ZCF__Section.html">ZCF_Section</a>
00053 list&lt;ZCF_Variable&gt; varList; 00066 {
00054 }; 00067 <span class="keyword">public</span>:
00055 <a name="l00069"></a><a class="code" href="classZE_1_1ZConfigFile_1_1ZCF__Section.html#m0">00069</a> string <a class="code" href="classZE_1_1ZConfigFile_1_1ZCF__Section.html#m0">section</a>;
00057 list&lt;ZCF_Section&gt; <a class="code" href="classZE_1_1ZConfigFile.html#o0">mFileLayout</a>; <a name="l00071"></a><a class="code" href="classZE_1_1ZConfigFile_1_1ZCF__Section.html#m1">00071</a> list&lt;ZCF_Variable&gt; <a class="code" href="classZE_1_1ZConfigFile_1_1ZCF__Section.html#m1">varList</a>;
00058 00072 };
00060 string <a class="code" href="classZE_1_1ZConfigFile.html#o1">mFilename</a>; 00073
00061 <a name="l00075"></a><a class="code" href="classZE_1_1ZConfigFile.html#o0">00075</a> list&lt;ZCF_Section&gt; <a class="code" href="classZE_1_1ZConfigFile.html#o0">mFileLayout</a>;
00069 string <a class="code" href="classZE_1_1ZConfigFile.html#c0">CleanString</a>(string str); 00076
00070 <a name="l00078"></a><a class="code" href="classZE_1_1ZConfigFile.html#o1">00078</a> string <a class="code" href="classZE_1_1ZConfigFile.html#o1">mFilename</a>;
00071 <span class="keywordtype">bool</span> Exists(string sec); 00079
00072 <span class="keywordtype">bool</span> Exists(string sec, string var); 00087 string <a class="code" href="classZE_1_1ZConfigFile.html#c0">CleanString</a>(string str);
00073 <span class="keywordtype">void</span> SetVariable(string sec, string var, string val); 00088
00074 string GetVariable(string sec, string var, string defVal); 00089 <span class="keywordtype">bool</span> Exists(string sec);
00075 00090 <span class="keywordtype">bool</span> Exists(string sec, string var);
00076 <span class="keyword">public</span>: 00091 <span class="keywordtype">void</span> SetVariable(string sec, string var, string val);
00077 00092 string GetVariable(string sec, string var, string defVal);
00083 <a class="code" href="classZE_1_1ZConfigFile.html#a0">ZConfigFile</a>(); 00093
00084 00094 <span class="keyword">public</span>:
00091 <a class="code" href="classZE_1_1ZConfigFile.html#a0">ZConfigFile</a>(string filename); 00095
00092 00101 <a class="code" href="classZE_1_1ZConfigFile.html#a0">ZConfigFile</a>();
00098 <a class="code" href="classZE_1_1ZConfigFile.html#a2">~ZConfigFile</a>(); 00102
00099 00109 <a class="code" href="classZE_1_1ZConfigFile.html#a0">ZConfigFile</a>(string filename);
00106 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a3">Process</a>(string filename); 00110
00107 00116 <a class="code" href="classZE_1_1ZConfigFile.html#a2">~ZConfigFile</a>();
00117 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZConfigFile.html#a4">GetInt</a>(string section, string var, <span class="keywordtype">int</span> defVal); 00117
00118 00124 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a3">Process</a>(string filename);
00129 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZConfigFile.html#a5">GetBool</a>(string section, string var, <span class="keywordtype">bool</span> defVal); 00125
00130 00135 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZConfigFile.html#a4">GetInt</a>(string section, string var, <span class="keywordtype">int</span> defVal);
00140 string <a class="code" href="classZE_1_1ZConfigFile.html#a6">GetString</a>(string section, string var, string defVal); 00136
00141 00147 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZConfigFile.html#a5">GetBool</a>(string section, string var, <span class="keywordtype">bool</span> defVal);
00151 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a7">SetInt</a>(string section, string var, <span class="keywordtype">int</span> val); 00148
00152 00158 string <a class="code" href="classZE_1_1ZConfigFile.html#a6">GetString</a>(string section, string var, string defVal);
00162 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a8">SetBool</a>(string section, string var, <span class="keywordtype">bool</span> val); 00159
00163 00169 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a7">SetInt</a>(string section, string var, <span class="keywordtype">int</span> val);
00173 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a9">SetString</a>(string section, string var, string val); 00170
00174 00180 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a8">SetBool</a>(string section, string var, <span class="keywordtype">bool</span> val);
00180 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a10">Flush</a>();
00181 00181
00187 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a11">Close</a>(); 00191 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a9">SetString</a>(string section, string var, string val);
00188 }; 00192
00189 00198 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a10">Flush</a>();
00190 } 00199
00191 00205 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a11">Close</a>();
00192 <span class="preprocessor">#endif //__ze_zconfigfile_h__</span> 00206 };
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by 00207
00208 }
00209
00210 <span class="preprocessor">#endif //__ze_zconfigfile_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,16 @@
<title>ZE_ZConfigFile.h File Reference</title> <title>ZE_ZConfigFile.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZConfigFile.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/include/ZE_ZConfigFile.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZConfigFile.h <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: Types/ZE_ZConfigFile.h <br>
Description: Header file for ZEngine INI-Style Config Files.<br> Description: Header file for ZEngine INI-Style Config Files.<br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/07/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_ZConfigFile.h,v 1.1.1.1 2002/11/21 05:41:10 cozman Exp </dl><br>
<p> <p>
Definition file for ZConfigFile, an INI-style Config format. Definition file for ZConfigFile, an INI-style Config format.
@ -24,9 +25,9 @@ Definition file for ZConfigFile, an INI-style Config format.
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> <tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr> <tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,16 @@
<title>ZE_ZEngine.cpp File Reference</title> <title>ZE_ZEngine.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/src/ZE_ZEngine.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/src/ZE_ZEngine.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: ZE_ZEngine.cpp <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__ZEngine_8cpp.html">ZE_ZEngine.cpp</a> <br>
Description: Implementation source file for ZEngine library main singleton class. <br> Description: Implementation source file for ZEngine library main singleton class. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/07/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_ZEngine.cpp,v 1.2 2002/11/28 23:19:55 cozman Exp </dl><br>
<p> <p>
Actual implementation of ZEngine singleton class at heart of ZEngine. Actual implementation of ZEngine singleton class at heart of ZEngine.
@ -22,9 +23,9 @@ Actual implementation of ZEngine singleton class at heart of ZEngine.
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> <tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr> <tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>/home/James/ZEngine-dev/include/ZE_ZEngine.h Source File</title> <title>/include/ZE_ZEngine.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZEngine.h</h1><a href="ZE__ZEngine_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span> <hr><h1>/include/ZE_ZEngine.h</h1><a href="ZE__ZEngine_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span> 00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span>
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span> 00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
00004 <span class="comment"></span> 00004 <span class="comment"></span>
@ -19,185 +19,180 @@
00024 <span class="preprocessor">#ifndef __ze_zengine_h__</span> 00024 <span class="preprocessor">#ifndef __ze_zengine_h__</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define __ze_zengine_h__</span> 00025 <span class="preprocessor"></span><span class="preprocessor">#define __ze_zengine_h__</span>
00026 <span class="preprocessor"></span> 00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#include "<a class="code" href="ZE__DataPtr_8h.html">ZE_DataPtr.h</a>"</span> 00027 <span class="preprocessor">#include "<a class="code" href="ZE__Error_8h.html">ZE_Error.h</a>"</span>
00028 <span class="preprocessor">#include "<a class="code" href="ZE__Error_8h.html">ZE_Error.h</a>"</span> 00028 <span class="preprocessor">#include "<a class="code" href="ZE__Defines_8h.html">ZE_Defines.h</a>"</span>
00029 <span class="preprocessor">#include "<a class="code" href="ZE__Defines_8h.html">ZE_Defines.h</a>"</span> 00029 <span class="preprocessor">#include "<a class="code" href="ZE__Macros_8h.html">ZE_Macros.h</a>"</span>
00030 <span class="preprocessor">#include "<a class="code" href="ZE__Includes_8h.html">ZE_Includes.h</a>"</span> 00030 <span class="preprocessor">#include "<a class="code" href="ZE__Includes_8h.html">ZE_Includes.h</a>"</span>
00031 00031
00037 <span class="keyword">namespace </span>ZE 00037 <span class="keyword">namespace </span>ZE
00038 { 00038 {
00039 00039
00046 <span class="keyword">class </span>ZEngine <a name="l00046"></a><a class="code" href="classZE_1_1ZEngine.html">00046</a> <span class="keyword">class </span><a class="code" href="classZE_1_1ZEngine.html">ZEngine</a>
00047 { 00047 {
00049 <span class="comment">//Singleton + Memory Management//</span> 00049 <span class="comment">//Singleton + Memory Management//</span>
00051 <span class="comment"></span> 00051 <span class="comment"></span>
00052 <span class="keyword">private</span>: 00052 <span class="keyword">private</span>:
00054 <span class="keyword">static</span> <a class="code" href="classZE_1_1ZEngine.html#c0">ZEngine</a> *<a class="code" href="classZE_1_1ZEngine.html#r0">sInstance</a>; 00054 <span class="keyword">static</span> <a class="code" href="classZE_1_1ZEngine.html">ZEngine</a> *<a class="code" href="classZE_1_1ZEngine.html#r0">sInstance</a>;
00055 00055
00061 <a class="code" href="classZE_1_1ZEngine.html#c0">ZEngine</a>(); 00061 <a class="code" href="classZE_1_1ZEngine.html#c0">ZEngine</a>();
00062 00062
00063 <span class="keyword">public</span>: 00063 <span class="keyword">public</span>:
00064 00064
00071 <span class="keyword">static</span> <a class="code" href="classZE_1_1ZEngine.html#c0">ZEngine</a>* <a class="code" href="classZE_1_1ZEngine.html#d0">GetInstance</a>(); 00071 <span class="keyword">static</span> <a class="code" href="classZE_1_1ZEngine.html">ZEngine</a>* <a class="code" href="classZE_1_1ZEngine.html#d0">GetInstance</a>();
00072 00072
00078 <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#d1">ReleaseInstance</a>(); 00078 <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#d1">ReleaseInstance</a>();
00079 00079
00086 <span class="keyword">static</span> string <a class="code" href="classZE_1_1ZEngine.html#d2">GetVersion</a>(); 00086 <span class="keyword">static</span> string <a class="code" href="classZE_1_1ZEngine.html#d2">GetVersion</a>();
00087 00087
00089 <span class="comment">//Initialization//</span> 00089 <span class="comment">//Initialization//</span>
00091 <span class="comment"></span> 00091 <span class="comment"></span>
00092 <span class="keyword">private</span>: 00092 <span class="keyword">private</span>:
00094 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#o0">mWidth</a>; <a name="l00094"></a><a class="code" href="classZE_1_1ZEngine.html#o0">00094</a> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#o0">mWidth</a>;
00096 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#o1">mHeight</a>; <a name="l00096"></a><a class="code" href="classZE_1_1ZEngine.html#o1">00096</a> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#o1">mHeight</a>;
00098 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#o2">mBPP</a>; <a name="l00098"></a><a class="code" href="classZE_1_1ZEngine.html#o2">00098</a> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#o2">mBPP</a>;
00100 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#o3">mFullscreen</a>; <a name="l00100"></a><a class="code" href="classZE_1_1ZEngine.html#o3">00100</a> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#o3">mFullscreen</a>;
00101 00101
00102 <span class="preprocessor">#ifdef USE_SDL_MIXER </span> 00102 <span class="preprocessor">#ifdef USE_SDL_MIXER </span>
<a name="l00103"></a><a class="code" href="classZE_1_1ZEngine.html#o4">00103</a> <span class="preprocessor"></span> 00103 <span class="preprocessor"></span>
00104 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#o4">mRate</a>; <a name="l00104"></a><a class="code" href="classZE_1_1ZEngine.html#o4">00104</a> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#o4">mRate</a>;
00106 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#o5">mStereo</a>; <a name="l00106"></a><a class="code" href="classZE_1_1ZEngine.html#o5">00106</a> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#o5">mStereo</a>;
00107 <span class="preprocessor">#endif </span> 00107 <span class="preprocessor">#endif </span>
00108 <span class="preprocessor"></span> 00108 <span class="preprocessor"></span>
00109 00109
00110 <span class="keyword">public</span>: 00110 <span class="keyword">public</span>:
00111 <span class="comment">//add initialization</span> 00111 <span class="comment">//add initialization</span>
00112 00112
00123 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a0">SetupDisplay</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> bpp, <span class="keywordtype">bool</span> fullscreen); 00123 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a0">SetupDisplay</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> bpp, <span class="keywordtype">bool</span> fullscreen);
00124 00124
00125 <span class="preprocessor">#ifdef USE_SDL_MIXER</span> 00125 <span class="preprocessor">#ifdef USE_SDL_MIXER</span>
00126 <span class="preprocessor"></span> 00126 <span class="preprocessor"></span>
00134 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a1">SetupSound</a>(<span class="keywordtype">int</span> rate, <span class="keywordtype">bool</span> stereo); 00134 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a1">SetupSound</a>(<span class="keywordtype">int</span> rate, <span class="keywordtype">bool</span> stereo);
00135 <span class="preprocessor">#endif </span> 00135 <span class="preprocessor">#endif </span>
00136 <span class="preprocessor"></span> 00136 <span class="preprocessor"></span>
00146 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a2">CreateWindow</a>(string title, string icon=<span class="stringliteral">""</span>); 00146 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a2">CreateDisplay</a>(string title, string icon=<span class="stringliteral">""</span>);
00147 00147
00153 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a3">CloseWindow</a>(); 00153 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a3">CloseDisplay</a>();
00154 00154
00156 <span class="comment">//Screen Access//</span> 00156 <span class="comment">//Screen Access//</span>
00158 <span class="comment"></span> 00158 <span class="comment"></span>
00159 <span class="keyword">private</span>: 00159 <span class="keyword">private</span>:
00161 SDL_Surface *<a class="code" href="classZE_1_1ZEngine.html#o6">mScreen</a>; <a name="l00161"></a><a class="code" href="classZE_1_1ZEngine.html#o6">00161</a> SDL_Surface *<a class="code" href="classZE_1_1ZEngine.html#o6">mScreen</a>;
00162 00162
00163 <span class="keyword">public</span>: 00163 <span class="keyword">public</span>:
00170 SDL_Surface *<a class="code" href="classZE_1_1ZEngine.html#a4">GetDisplay</a>(); 00170 SDL_Surface *<a class="code" href="classZE_1_1ZEngine.html#a4">Display</a>();
00171 00171
00177 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a5">UpdateScreen</a>(); 00177 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a5">UpdateScreen</a>();
00178 00178
00190 Uint32 <a class="code" href="classZE_1_1ZEngine.html#a6">MapColor</a>(Uint8 r, Uint8 g, Uint8 b, Uint8 a=255); 00188 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a6">Clear</a>(<span class="keywordtype">float</span> red=0.0f, <span class="keywordtype">float</span> green=0.0f, <span class="keywordtype">float</span> blue=0.0f, <span class="keywordtype">float</span> alpha=1.0f);
00191 00189
00199 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a7">Clear</a>(Uint32 color=0, SDL_Rect *rect=NULL); 00191 <span class="comment">//OpenGL Specific Functions//</span>
00200 00193 <span class="comment"> public:</span>
00202 <span class="comment">//Timer and Framerate Independent Movement//</span> 00194
00204 <span class="comment"> </span> 00201 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a7">SetGL2D</a>();
00205 <span class="keyword">private</span>: 00202
00207 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#o7">mPaused</a>; 00204 <span class="comment">//Timer and Framerate Independent Movement//</span>
00209 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#o8">mUnpauseOnActive</a>; 00206 <span class="comment"> </span>
00211 Uint32 <a class="code" href="classZE_1_1ZEngine.html#o9">mLastPause</a>; 00207 <span class="keyword">private</span>:
00213 Uint32 <a class="code" href="classZE_1_1ZEngine.html#o10">mPausedTime</a>; <a name="l00209"></a><a class="code" href="classZE_1_1ZEngine.html#o7">00209</a> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#o7">mPaused</a>;
00215 Uint32 <a class="code" href="classZE_1_1ZEngine.html#o11">mLastTime</a>; <a name="l00211"></a><a class="code" href="classZE_1_1ZEngine.html#o8">00211</a> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#o8">mUnpauseOnActive</a>;
00217 <span class="keywordtype">double</span> <a class="code" href="classZE_1_1ZEngine.html#o12">mSecPerFrame</a>; <a name="l00213"></a><a class="code" href="classZE_1_1ZEngine.html#o9">00213</a> Uint32 <a class="code" href="classZE_1_1ZEngine.html#o9">mLastPause</a>;
00218 <a name="l00215"></a><a class="code" href="classZE_1_1ZEngine.html#o10">00215</a> Uint32 <a class="code" href="classZE_1_1ZEngine.html#o10">mPausedTime</a>;
00219 <span class="keyword">public</span>: <a name="l00217"></a><a class="code" href="classZE_1_1ZEngine.html#o11">00217</a> Uint32 <a class="code" href="classZE_1_1ZEngine.html#o11">mLastTime</a>;
00226 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a8">Sleep</a>(Uint32 milliseconds); <a name="l00219"></a><a class="code" href="classZE_1_1ZEngine.html#o12">00219</a> <span class="keywordtype">double</span> <a class="code" href="classZE_1_1ZEngine.html#o12">mSecPerFrame</a>;
00227 00220
00234 Uint32 <a class="code" href="classZE_1_1ZEngine.html#a9">GetTime</a>(); 00221 <span class="keyword">public</span>:
00235 00228 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a8">Delay</a>(Uint32 milliseconds);
00241 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a10">PauseTimer</a>(); 00229
00242 00236 Uint32 <a class="code" href="classZE_1_1ZEngine.html#a9">GetTime</a>();
00248 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a11">UnpauseTimer</a>(); 00237
00249 00243 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a10">PauseTimer</a>();
00256 <span class="keywordtype">double</span> <a class="code" href="classZE_1_1ZEngine.html#a12">GetFrameTime</a>(); 00244
00257 00250 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a11">UnpauseTimer</a>();
00264 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a13">IsPaused</a>(); 00251
00265 00258 <span class="keywordtype">double</span> <a class="code" href="classZE_1_1ZEngine.html#a12">GetFrameTime</a>();
00267 <span class="comment">//Event and Input Handling//</span> 00259
00269 <span class="comment"></span> 00266 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a13">IsPaused</a>();
00270 <span class="keyword">private</span>: 00267
00272 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#o13">mActive</a>; 00269 <span class="comment">//Event and Input Handling//</span>
00274 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#o14">mQuit</a>; 00271 <span class="comment"></span>
00276 Uint8 *<a class="code" href="classZE_1_1ZEngine.html#o15">mKeyPressed</a>; 00272 <span class="keyword">private</span>:
00278 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#o16">mMouseX</a>; <a name="l00274"></a><a class="code" href="classZE_1_1ZEngine.html#o13">00274</a> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#o13">mActive</a>;
00280 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#o17">mMouseY</a>; <a name="l00276"></a><a class="code" href="classZE_1_1ZEngine.html#o14">00276</a> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#o14">mQuit</a>;
00282 Uint8 <a class="code" href="classZE_1_1ZEngine.html#o18">mMouseB</a>; <a name="l00278"></a><a class="code" href="classZE_1_1ZEngine.html#o15">00278</a> Uint8 *<a class="code" href="classZE_1_1ZEngine.html#o15">mKeyPressed</a>;
00283 <a name="l00280"></a><a class="code" href="classZE_1_1ZEngine.html#o16">00280</a> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#o16">mMouseX</a>;
00284 <span class="keyword">public</span>: <a name="l00282"></a><a class="code" href="classZE_1_1ZEngine.html#o17">00282</a> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#o17">mMouseY</a>;
00291 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a14">IsActive</a>(); <a name="l00284"></a><a class="code" href="classZE_1_1ZEngine.html#o18">00284</a> Uint8 <a class="code" href="classZE_1_1ZEngine.html#o18">mMouseB</a>;
00292 00285
00299 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a15">RequestQuit</a>(); 00286 <span class="keyword">public</span>:
00300 00293 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a14">IsActive</a>();
00308 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a16">QuitRequested</a>(); 00294
00309 00301 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a15">RequestQuit</a>();
00317 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a17">KeyIsPressed</a>(SDLKey key); 00302
00318 00310 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a16">QuitRequested</a>();
00324 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a18">HideCursor</a>(); 00311
00325 00319 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a17">KeyIsPressed</a>(SDLKey key);
00331 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a19">ShowCursor</a>(); 00320
00332 00326 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a18">HideCursor</a>();
00339 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a20">GetMouseX</a>(); 00327
00340 00333 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a19">ShowCursor</a>();
00347 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a21">GetMouseY</a>(); 00334
00348 00341 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a20">MouseX</a>();
00355 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a22">LButtonPressed</a>(); 00342
00356 00349 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a21">MouseY</a>();
00363 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a23">RButtonPressed</a>(); 00350
00364 00357 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a22">LButtonPressed</a>();
00372 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a24">MouseInRect</a>(SDL_Rect *rect); 00358
00373 00365 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a23">RButtonPressed</a>();
00379 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a25">CheckEvents</a>(); 00366
00380 00374 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a24">MouseInRect</a>(SDL_Rect *rect);
00381 <span class="preprocessor">#ifdef USE_PHYSFS</span> 00375
00382 <span class="preprocessor"></span> 00381 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a25">CheckEvents</a>();
00383 <span class="comment">//Physfs Utilities//</span> 00382
00385 <span class="comment"> public:</span> 00383 <span class="preprocessor">#ifdef USE_PHYSFS</span>
00392 <span class="comment"></span> <span class="keywordtype">void</span> InitPhysFS(string argv); 00384 <span class="preprocessor"></span>
00393 00385 <span class="comment">//Physfs Utilities//</span>
00400 <span class="keywordtype">void</span> AddPhysFSDir(string dir); 00387 <span class="comment"> public:</span>
00401 00394 <span class="comment"></span> <span class="keywordtype">void</span> InitPhysFS(string argv);
00402 <span class="preprocessor">#endif //USE_PHYSFS</span> 00395
00403 <span class="preprocessor"></span> 00402 <span class="keywordtype">void</span> AddPhysFSDir(string dir);
00404 00403
00406 <span class="comment">//Data Loading + Unloading//</span> 00404 <span class="preprocessor">#endif //USE_PHYSFS</span>
00408 <span class="comment"> public:</span> 00405 <span class="preprocessor"></span>
00416 <span class="comment"></span> <a class="code" href="classZE_1_1ImageData.html">ImageData</a> <a class="code" href="classZE_1_1ZEngine.html#a26">LoadImage</a>(string filename); 00406
00417 00408 <span class="comment">//Data Loading + Unloading//</span>
00424 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a27">FreeImage</a>(<a class="code" href="classZE_1_1ImageData.html">ImageData</a> &amp;image); 00410 <span class="comment"> public:</span>
00425 00418 <span class="comment"></span> SDL_Surface* <a class="code" href="classZE_1_1ZEngine.html#a26">LoadImage</a>(string filename);
00426 <span class="preprocessor">#ifdef USE_SDL_MIXER</span> 00419
00427 <span class="preprocessor"></span> 00420 <span class="preprocessor">#ifdef USE_SDL_MIXER</span>
00434 <a class="code" href="classZE_1_1SoundData.html">SoundData</a> <a class="code" href="classZE_1_1ZEngine.html#a28">LoadSound</a>(string filename); 00421 <span class="preprocessor"></span>
00435 00428 Mix_Chunk* <a class="code" href="classZE_1_1ZEngine.html#a27">LoadSound</a>(string filename);
00442 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a29">FreeSound</a>(<a class="code" href="classZE_1_1SoundData.html">SoundData</a> &amp;sound); 00429
00443 00437 Mix_Music* <a class="code" href="classZE_1_1ZEngine.html#a28">LoadMusic</a>(string filename);
00451 <a class="code" href="classZE_1_1MusicData.html">MusicData</a> <a class="code" href="classZE_1_1ZEngine.html#a30">LoadMusic</a>(string filename); 00438 <span class="preprocessor">#endif</span>
00452 00439 <span class="preprocessor"></span>
00459 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a31">FreeMusic</a>(<a class="code" href="classZE_1_1MusicData.html">MusicData</a> &amp;music); 00440 <span class="preprocessor">#ifdef USE_SDL_TTF</span>
00460 <span class="preprocessor">#endif</span> 00441 <span class="preprocessor"></span>
00461 <span class="preprocessor"></span> 00449 TTF_Font* <a class="code" href="classZE_1_1ZEngine.html#a29">LoadFont</a>(string filename, <span class="keywordtype">int</span> size);
00462 <span class="preprocessor">#ifdef USE_SDL_TTF</span> 00450 <span class="preprocessor">#endif </span>
00463 <span class="preprocessor"></span> 00451 <span class="preprocessor"></span>
00471 <a class="code" href="classZE_1_1FontData.html">FontData</a> <a class="code" href="classZE_1_1ZEngine.html#a32">LoadFont</a>(string filename, <span class="keywordtype">int</span> size); 00453 <span class="comment">//Accessors//</span>
00455 <span class="comment"></span>
00456 <span class="keyword">public</span>:
00463 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a30">Width</a>();
00464
00471 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a31">Height</a>();
00472 00472
00479 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a33">FreeFont</a>(<a class="code" href="classZE_1_1FontData.html">FontData</a> &amp;font); 00479 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a32">BPP</a>();
00480 <span class="preprocessor">#endif </span> 00480
00481 <span class="preprocessor"></span> 00487 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a33">IsFullscreen</a>();
00483 <span class="comment">//Accessors//</span> 00488 };
00485 <span class="comment"> </span> 00489
00486 <span class="keyword">public</span>: 00490 }
00493 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a34">GetWidth</a>(); 00491
00494 00492 <span class="preprocessor">#endif //__ze_zengine_h__</span>
00501 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a35">GetHeight</a>(); </pre></div><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
00502
00509 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a36">GetBPP</a>();
00510
00517 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a37">IsFullscreen</a>();
00518 };
00519
00520 }
00521
00522 <span class="preprocessor">#endif //__ze_zengine_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,22 +3,23 @@
<title>ZE_ZEngine.h File Reference</title> <title>ZE_ZEngine.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZEngine.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/include/ZE_ZEngine.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header:</b></dt><dd>File: ZE_ZEngine.h <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__ZEngine_8h.html">ZE_ZEngine.h</a> <br>
Description: Header file for ZEngine class, the core of the ZEngine. <br> Description: Header file for ZEngine class, the core of the ZEngine. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/07/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_ZEngine.h,v 1.2 2002/11/28 23:18:54 cozman Exp </dl><br>
<p> <p>
ZEngine Game Engine core Engine definition. ZEngine Game Engine core Engine definition.
<p> <p>
<code>#include "<a class="el" href="ZE__DataPtr_8h-source.html">ZE_DataPtr.h</a>"</code><br>
<code>#include "<a class="el" href="ZE__Error_8h-source.html">ZE_Error.h</a>"</code><br> <code>#include "<a class="el" href="ZE__Error_8h-source.html">ZE_Error.h</a>"</code><br>
<code>#include "<a class="el" href="ZE__Defines_8h-source.html">ZE_Defines.h</a>"</code><br> <code>#include "<a class="el" href="ZE__Defines_8h-source.html">ZE_Defines.h</a>"</code><br>
<code>#include "<a class="el" href="ZE__Macros_8h-source.html">ZE_Macros.h</a>"</code><br>
<code>#include "<a class="el" href="ZE__Includes_8h-source.html">ZE_Includes.h</a>"</code><br> <code>#include "<a class="el" href="ZE__Includes_8h-source.html">ZE_Includes.h</a>"</code><br>
<p> <p>
@ -27,9 +28,9 @@ ZEngine Game Engine core Engine definition.
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> <tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr> <tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,16 @@
<title>ZE_ZFont.cpp File Reference</title> <title>ZE_ZFont.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/src/ZE_ZFont.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/src/ZE_ZFont.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZFont.cpp <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__ZFont_8cpp.html">ZE_ZFont.cpp</a> <br>
Description: Implementation source file for core ZEngine Font Object. <br> Description: Implementation source file for core ZEngine Font Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/07/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_ZFont.cpp,v 1.1.1.1 2002/11/21 05:41:13 cozman Exp </dl><br>
<p> <p>
Implementation of ZFont, the basic Font class for ZEngine. Implementation of ZFont, the basic Font class for ZEngine.
@ -20,9 +21,9 @@ Implementation of ZFont, the basic Font class for ZEngine.
<table border=0 cellpadding=0 cellspacing=0> <table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr> <tr><td></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>/home/James/ZEngine-dev/include/ZE_ZFont.h Source File</title> <title>/include/ZE_ZFont.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZFont.h</h1><a href="ZE__ZFont_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span> <hr><h1>/include/ZE_ZFont.h</h1><a href="ZE__ZFont_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span> 00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span>
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span> 00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
00004 <span class="comment"></span> 00004 <span class="comment"></span>
@ -27,68 +27,69 @@
00032 <span class="keyword">namespace </span>ZE 00032 <span class="keyword">namespace </span>ZE
00033 { 00033 {
00034 00034
00040 <span class="keyword">class </span>ZFont : <span class="keyword">public</span> ZObject <a name="l00040"></a><a class="code" href="classZE_1_1ZFont.html">00040</a> <span class="keyword">class </span><a class="code" href="classZE_1_1ZFont.html">ZFont</a> : <span class="keyword">public</span> <a class="code" href="classZE_1_1ZObject.html">ZObject</a>
00041 { 00041 {
00042 <span class="keyword">protected</span>: 00042 <span class="keyword">protected</span>:
00044 FontData <a class="code" href="classZE_1_1ZFont.html#n0">rFont</a>; <a name="l00044"></a><a class="code" href="classZE_1_1ZFont.html#n0">00044</a> TTF_Font *<a class="code" href="classZE_1_1ZFont.html#n0">rFont</a>;
00046 SDL_Color <a class="code" href="classZE_1_1ZFont.html#n1">rColor</a>; <a name="l00046"></a><a class="code" href="classZE_1_1ZFont.html#n1">00046</a> string <a class="code" href="classZE_1_1ZFont.html#n1">rFilename</a>;
00048 SDL_Color <a class="code" href="classZE_1_1ZFont.html#n2">rBGColor</a>; <a name="l00048"></a><a class="code" href="classZE_1_1ZFont.html#n2">00048</a> SDL_Color <a class="code" href="classZE_1_1ZFont.html#n2">rColor</a>;
00049 <a name="l00050"></a><a class="code" href="classZE_1_1ZFont.html#n3">00050</a> SDL_Color <a class="code" href="classZE_1_1ZFont.html#n3">rBGColor</a>;
00050 <span class="keyword">public</span>:
00051 00051
00053 <span class="comment">//Opening and Closing//</span> 00052 <span class="keyword">public</span>:
00055 <span class="comment"></span> 00053
00061 <span class="comment"></span> <a class="code" href="classZE_1_1ZFont.html#a0">ZFont</a>(); 00055 <span class="comment">//Opening and Closing//</span>
00062 00057 <span class="comment"></span>
00070 <a class="code" href="classZE_1_1ZFont.html#a0">ZFont</a>(string filename, <span class="keywordtype">int</span> size); 00063 <span class="comment"></span> <a class="code" href="classZE_1_1ZFont.html#a0">ZFont</a>();
00071 00064
00077 <a class="code" href="classZE_1_1ZFont.html#a2">~ZFont</a>(); 00072 <a class="code" href="classZE_1_1ZFont.html#a0">ZFont</a>(string filename, <span class="keywordtype">int</span> size);
00078 00073
00086 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a3">Open</a>(string filename, <span class="keywordtype">int</span> size); 00079 <a class="code" href="classZE_1_1ZFont.html#a2">~ZFont</a>();
00087 00080
00093 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a4">Release</a>(); 00088 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a3">Open</a>(string filename, <span class="keywordtype">int</span> size);
00094 00089
00096 <span class="comment">//Settings and Drawing//</span> 00095 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a4">Release</a>();
00098 <span class="comment"></span> 00096
00106 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a5">DrawText</a>(string text, ZImage &amp;image); 00098 <span class="comment">//Settings and Drawing//</span>
00107 00100 <span class="comment"></span>
00115 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a6">DrawShadedText</a>(string text, ZImage &amp;image); 00108 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a5">DrawText</a>(string text, <a class="code" href="classZE_1_1ZImage.html">ZImage</a> &amp;image);
00116 00109
00125 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a7">SetColor</a>(Uint8 r, Uint8 g, Uint8 b); 00117 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a6">DrawShadedText</a>(string text, <a class="code" href="classZE_1_1ZImage.html">ZImage</a> &amp;image);
00126 00118
00135 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a8">SetBGColor</a>(Uint8 r, Uint8 g, Uint8 b); 00127 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a7">SetColor</a>(Uint8 r, Uint8 g, Uint8 b);
00136 00128
00145 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a9">SetStyle</a>(<span class="keywordtype">bool</span> bold, <span class="keywordtype">bool</span> italic, <span class="keywordtype">bool</span> underline); 00137 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a8">SetBGColor</a>(Uint8 r, Uint8 g, Uint8 b);
00146 00138
00153 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a10">Resize</a>(<span class="keywordtype">int</span> size); 00147 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a9">SetStyle</a>(<span class="keywordtype">bool</span> bold, <span class="keywordtype">bool</span> italic, <span class="keywordtype">bool</span> underline);
00154 00148
00156 <span class="comment">//Accessors//</span> 00155 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a10">Resize</a>(<span class="keywordtype">int</span> size);
00158 <span class="comment"></span> 00156
00165 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZFont.html#a11">IsLoaded</a>(); 00158 <span class="comment">//Accessors//</span>
00166 00160 <span class="comment"></span>
00173 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZFont.html#a12">IsBold</a>(); 00167 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZFont.html#a11">IsLoaded</a>();
00174 00168
00181 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZFont.html#a13">IsItalic</a>(); 00175 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZFont.html#a12">IsBold</a>();
00182 00176
00189 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZFont.html#a14">IsUnderlined</a>(); 00183 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZFont.html#a13">IsItalic</a>();
00190 00184
00197 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZFont.html#a15">GetHeight</a>(); 00191 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZFont.html#a14">IsUnderlined</a>();
00198 00192
00205 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZFont.html#a16">GetLineSkip</a>(); 00199 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZFont.html#a15">Height</a>();
00206 00200
00214 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZFont.html#a17">GetStringWidth</a>(string text); 00207 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZFont.html#a16">LineSkip</a>();
00215 00208
00223 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZFont.html#a18">GetStringHeight</a>(string text); 00216 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZFont.html#a17">StringWidth</a>(string text);
00224 }; 00217
00225 00225 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZFont.html#a18">StringHeight</a>(string text);
00226 } 00226 };
00227 00227
00228 <span class="preprocessor">#endif //USE_SDL_TTF</span> 00228 }
00229 <span class="preprocessor"></span> 00229
00230 <span class="preprocessor">#endif //__ze_zfont_h__</span> 00230 <span class="preprocessor">#endif //USE_SDL_TTF</span>
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by 00231 <span class="preprocessor"></span>
00232 <span class="preprocessor">#endif //__ze_zfont_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,16 @@
<title>ZE_ZFont.h File Reference</title> <title>ZE_ZFont.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZFont.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/include/ZE_ZFont.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZFont.h <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__ZFont_8h.html">ZE_ZFont.h</a> <br>
Description: Header file for core ZEngine Font Object. <br> Description: Header file for core ZEngine Font Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/07/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_ZFont.h,v 1.1.1.1 2002/11/21 05:41:10 cozman Exp </dl><br>
<p> <p>
Definition file for ZFont, the basic Font class for ZEngine. Definition file for ZFont, the basic Font class for ZEngine.
@ -25,9 +26,9 @@ Definition file for ZFont, the basic Font class for ZEngine.
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> <tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr> <tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,18 +3,16 @@
<title>ZE_ZImage.cpp File Reference</title> <title>ZE_ZImage.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/src/ZE_ZImage.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/src/ZE_ZImage.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZImage.cpp <br> <dl compact><dt><b>File Header:</b></dt><dd>
Description: Implementation source file for core ZEngine Image Object. <br> File: <a class="el" href="ZE__ZImage_8cpp.html">ZE_ZImage.cpp</a> <br>
Author(s): James Turk <br> Description: Implementation source file for core ZEngine Image or Texture Object. <br>
Last Updated: 11/07/02 <br> Author(s): James Turk, Gamer Tazar <br>
</dd></dl> $Id: ZE__ZImage_8cpp.html,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
</dl>Implementation of ZImage, the Image class for ZEngine.
<p>
Implementation of ZImage, the basic Image class for ZEngine.
<p> <p>
<code>#include "<a class="el" href="ZE__ZImage_8h-source.html">ZE_ZImage.h</a>"</code><br> <code>#include "<a class="el" href="ZE__ZImage_8h-source.html">ZE_ZImage.h</a>"</code><br>
<table border=0 cellpadding=0 cellspacing=0> <table border=0 cellpadding=0 cellspacing=0>
@ -22,9 +20,9 @@ Implementation of ZImage, the basic Image class for ZEngine.
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> <tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr> <tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>/home/James/ZEngine-dev/include/ZE_ZImage.h Source File</title> <title>/include/ZE_ZImage.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZImage.h</h1><a href="ZE__ZImage_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span> <hr><h1>/include/ZE_ZImage.h</h1><a href="ZE__ZImage_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span> 00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span>
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span> 00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
00004 <span class="comment"></span> 00004 <span class="comment"></span>
@ -24,58 +24,63 @@
00029 <span class="keyword">namespace </span>ZE 00029 <span class="keyword">namespace </span>ZE
00030 { 00030 {
00031 00031
00037 <span class="keyword">class </span>ZImage : <span class="keyword">public</span> ZObject <a name="l00037"></a><a class="code" href="classZE_1_1ZImage.html">00037</a> <span class="keyword">class </span><a class="code" href="classZE_1_1ZImage.html">ZImage</a> : <span class="keyword">public</span> <a class="code" href="classZE_1_1ZObject.html">ZObject</a>
00038 { 00038 {
00039 <span class="keyword">protected</span>: 00039 <span class="keyword">protected</span>:
00041 ImageData <a class="code" href="classZE_1_1ZImage.html#n0">rImage</a>; <a name="l00041"></a><a class="code" href="classZE_1_1ZImage.html#n0">00041</a> GLfloat <a class="code" href="classZE_1_1ZImage.html#n0">rTexMaxX</a>;
00042 <span class="keyword">public</span>: <a name="l00043"></a><a class="code" href="classZE_1_1ZImage.html#n1">00043</a> GLfloat <a class="code" href="classZE_1_1ZImage.html#n1">rTexMaxY</a>;
00043 <a name="l00045"></a><a class="code" href="classZE_1_1ZImage.html#n2">00045</a> SDL_Surface *<a class="code" href="classZE_1_1ZImage.html#n2">rImage</a>;
00049 <a class="code" href="classZE_1_1ZImage.html#a0">ZImage</a>(); <a name="l00047"></a><a class="code" href="classZE_1_1ZImage.html#n3">00047</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZImage.html#n3">rTexID</a>;
00050 <a name="l00049"></a><a class="code" href="classZE_1_1ZImage.html#n4">00049</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZImage.html#n4">rWidth</a>;
00057 <a class="code" href="classZE_1_1ZImage.html#a0">ZImage</a>(string filename); <a name="l00051"></a><a class="code" href="classZE_1_1ZImage.html#n5">00051</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZImage.html#n5">rHeight</a>;
00058 00052
00065 <a class="code" href="classZE_1_1ZImage.html#a0">ZImage</a>(SDL_Surface *surface); 00053 <span class="keyword">public</span>:
00066 00054
00078 <a class="code" href="classZE_1_1ZImage.html#a0">ZImage</a>(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h); 00060 <a class="code" href="classZE_1_1ZImage.html#a0">ZImage</a>();
00079 00061
00085 <a class="code" href="classZE_1_1ZImage.html#a4">~ZImage</a>(); 00068 <a class="code" href="classZE_1_1ZImage.html#a0">ZImage</a>(string filename);
00086 00069
00088 <span class="comment">//Opening and Closing//</span> 00076 <a class="code" href="classZE_1_1ZImage.html#a0">ZImage</a>(SDL_Surface *surface);
00090 <span class="comment"></span> 00077
00097 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a5">Open</a>(string filename); 00089 <a class="code" href="classZE_1_1ZImage.html#a0">ZImage</a>(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h);
00098 00090
00110 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a6">OpenFromImage</a>(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h); 00096 <a class="code" href="classZE_1_1ZImage.html#a4">~ZImage</a>();
00111 00097
00118 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a7">Attach</a>(SDL_Surface *surface); 00099 <span class="comment">//Opening and Closing//</span>
00119 00101 <span class="comment"></span>
00125 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a8">Release</a>(); 00108 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a5">Open</a>(string filename);
00126 00109
00128 <span class="comment">//Graphics//</span> 00121 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a6">OpenFromImage</a>(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h);
00130 <span class="comment"></span> 00122
00137 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a9">SetAlpha</a>(Uint8 alpha); 00129 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a7">Attach</a>(SDL_Surface *surface);
00138 00130
00145 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a10">SetColorKey</a>(Uint32 color); 00136 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a8">Release</a>();
00146 00137
00154 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a11">Draw</a>(Sint16 x, Sint16 y); 00139 <span class="comment">//Graphics//</span>
00155 00141 <span class="comment"></span>
00157 <span class="comment">//Accessors//</span> 00150 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a9">SetColorKey</a>(Uint8 red, Uint8 green, Uint8 blue);
00159 <span class="comment"></span> 00151
00166 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZImage.html#a12">IsLoaded</a>(); 00158 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a10">Bind</a>();
00167 00159
00173 SDL_Surface *<a class="code" href="classZE_1_1ZImage.html#a13">GetImage</a>(); 00167 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a11">Draw</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);
00174 00168
00181 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZImage.html#a14">GetWidth</a>(); 00170 <span class="comment">//Accessors//</span>
00182 00172 <span class="comment"></span>
00189 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZImage.html#a15">GetHeight</a>(); 00179 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZImage.html#a12">IsLoaded</a>();
00190 00180
00197 string <a class="code" href="classZE_1_1ZImage.html#a16">GetFilename</a>(); 00186 SDL_Surface *<a class="code" href="classZE_1_1ZImage.html#a13">Surface</a>();
00198 }; 00187
00199 } 00194 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZImage.html#a14">Width</a>();
00200 00195
00201 <span class="preprocessor">#endif //__ze_zimage_h__</span> 00202 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZImage.html#a15">Height</a>();
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by 00203 };
00204
00205 }
00206
00207 <span class="preprocessor">#endif</span>
</pre></div><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,18 +3,16 @@
<title>ZE_ZImage.h File Reference</title> <title>ZE_ZImage.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZImage.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/include/ZE_ZImage.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZImage.h <br> <dl compact><dt><b>File Header:</b></dt><dd>
Description: Header file for core ZEngine Image Object. <br> File: <a class="el" href="ZE__ZImage_8h.html">ZE_ZImage.h</a> <br>
Author(s): James Turk <br> Description: Header file for core ZEngine Image and Texture Object. <br>
Last Updated: 11/08/02 <br> Author(s): James Turk, Gamer Tazar <br>
</dd></dl> $Id: ZE__ZImage_8h.html,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
</dl>Definition file for ZImage, the OpenGL version of the ZImage class for ZEngine.
<p>
Definition file for ZImage, the basic Image class for ZEngine.
<p> <p>
<code>#include "<a class="el" href="ZE__ZObject_8h-source.html">ZE_ZObject.h</a>"</code><br> <code>#include "<a class="el" href="ZE__ZObject_8h-source.html">ZE_ZObject.h</a>"</code><br>
@ -24,9 +22,9 @@ Definition file for ZImage, the basic Image class for ZEngine.
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> <tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr> <tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,16 @@
<title>ZE_ZMusic.cpp File Reference</title> <title>ZE_ZMusic.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/src/ZE_ZMusic.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/src/ZE_ZMusic.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZMusic.cpp <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__ZMusic_8cpp.html">ZE_ZMusic.cpp</a> <br>
Description: Implementation source file for core ZEngine Music Object. <br> Description: Implementation source file for core ZEngine Music Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/07/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_ZMusic.cpp,v 1.1.1.1 2002/11/21 05:41:13 cozman Exp </dl><br>
<p> <p>
Implementation of ZMusic, the basic Music class for ZEngine. Implementation of ZMusic, the basic Music class for ZEngine.
@ -20,9 +21,9 @@ Implementation of ZMusic, the basic Music class for ZEngine.
<table border=0 cellpadding=0 cellspacing=0> <table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr> <tr><td></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>/home/James/ZEngine-dev/include/ZE_ZMusic.h Source File</title> <title>/include/ZE_ZMusic.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZMusic.h</h1><a href="ZE__ZMusic_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span> <hr><h1>/include/ZE_ZMusic.h</h1><a href="ZE__ZMusic_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span> 00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span>
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span> 00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
00004 <span class="comment"></span> 00004 <span class="comment"></span>
@ -26,49 +26,49 @@
00031 <span class="keyword">namespace </span>ZE 00031 <span class="keyword">namespace </span>ZE
00032 { 00032 {
00033 00033
00039 <span class="keyword">class </span>ZMusic : <span class="keyword">public</span> ZObject <a name="l00039"></a><a class="code" href="classZE_1_1ZMusic.html">00039</a> <span class="keyword">class </span><a class="code" href="classZE_1_1ZMusic.html">ZMusic</a> : <span class="keyword">public</span> <a class="code" href="classZE_1_1ZObject.html">ZObject</a>
00040 { 00040 {
00041 <span class="keyword">protected</span>: 00041 <span class="keyword">protected</span>:
00043 MusicData <a class="code" href="classZE_1_1ZMusic.html#n0">rMusic</a>; <a name="l00043"></a><a class="code" href="classZE_1_1ZMusic.html#n0">00043</a> Mix_Music *<a class="code" href="classZE_1_1ZMusic.html#n0">rMusic</a>;
00044 00044
00045 <span class="keyword">public</span>: 00045 <span class="keyword">public</span>:
00047 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZMusic.html#p0">LoopInfinite</a>; <a name="l00047"></a><a class="code" href="classZE_1_1ZMusic.html#p0">00047</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZMusic.html#p0">LoopInfinite</a>;
00048 00048
00050 <span class="comment">//Opening and Closing//</span> 00050 <span class="comment">//Opening and Closing//</span>
00052 <span class="comment"></span> 00052 <span class="comment"></span>
00058 <span class="comment"></span> <a class="code" href="classZE_1_1ZMusic.html#a0">ZMusic</a>(); 00058 <span class="comment"></span> <a class="code" href="classZE_1_1ZMusic.html#a0">ZMusic</a>();
00059 00059
00066 <a class="code" href="classZE_1_1ZMusic.html#a0">ZMusic</a>(string filename); 00066 <a class="code" href="classZE_1_1ZMusic.html#a0">ZMusic</a>(string filename);
00067 00067
00073 <a class="code" href="classZE_1_1ZMusic.html#a2">~ZMusic</a>(); 00073 <a class="code" href="classZE_1_1ZMusic.html#a2">~ZMusic</a>();
00074 00074
00081 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a3">Open</a>(string filename); 00081 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a3">Open</a>(string filename);
00082 00082
00088 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a4">Release</a>(); 00088 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a4">Release</a>();
00089 00089
00091 <span class="comment">//Play Controls//</span> 00091 <span class="comment">//Play Controls//</span>
00093 <span class="comment"></span> 00093 <span class="comment"></span>
00102 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a5">Play</a>(<span class="keywordtype">int</span> loopNum=0, <span class="keywordtype">int</span> fadeTime=0); 00102 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a5">Play</a>(<span class="keywordtype">int</span> loopNum=0, <span class="keywordtype">int</span> fadeTime=0);
00103 00103
00109 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a6">Pause</a>(); 00109 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a6">Pause</a>();
00110 00110
00116 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a7">Unpause</a>(); 00116 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a7">Unpause</a>();
00117 00117
00123 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a8">Rewind</a>(); 00123 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a8">Rewind</a>();
00124 00124
00131 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a9">Stop</a>(<span class="keywordtype">int</span> fadeTime=0); 00131 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a9">Stop</a>(<span class="keywordtype">int</span> fadeTime=0);
00132 00132
00139 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a10">SetVolume</a>(<span class="keywordtype">int</span> volume); 00139 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a10">SetVolume</a>(<span class="keywordtype">int</span> volume);
00140 00140
00142 <span class="comment">//Accessors//</span> 00142 <span class="comment">//Accessors//</span>
00144 <span class="comment"></span> 00144 <span class="comment"></span>
00151 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZMusic.html#a11">IsLoaded</a>(); 00151 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZMusic.html#a11">IsLoaded</a>();
00152 00152
00159 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZMusic.html#a12">IsPlaying</a>(); 00159 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZMusic.html#a12">IsPlaying</a>();
00160 00160
00167 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZMusic.html#a13">IsPaused</a>(); 00167 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZMusic.html#a13">IsPaused</a>();
00168 00168
00175 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZMusic.html#a14">GetVolume</a>(); 00175 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZMusic.html#a14">Volume</a>();
00176 }; 00176 };
00177 00177
00178 00178
@ -77,9 +77,9 @@
00181 <span class="preprocessor">#endif //USE_SDL_MIXER</span> 00181 <span class="preprocessor">#endif //USE_SDL_MIXER</span>
00182 <span class="preprocessor"></span> 00182 <span class="preprocessor"></span>
00183 <span class="preprocessor">#endif //__ze_zmusic_h__</span> 00183 <span class="preprocessor">#endif //__ze_zmusic_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by </pre></div><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,16 @@
<title>ZE_ZMusic.h File Reference</title> <title>ZE_ZMusic.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZMusic.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/include/ZE_ZMusic.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZMusic.h <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__ZMusic_8h.html">ZE_ZMusic.h</a> <br>
Description: Header file for core ZEngine Music Wrapper Object. <br> Description: Header file for core ZEngine Music Wrapper Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/07/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_ZMusic.h,v 1.1.1.1 2002/11/21 05:41:11 cozman Exp </dl><br>
<p> <p>
Definition file for ZMusic, the Music file wrapper for ZEngine. Definition file for ZMusic, the Music file wrapper for ZEngine.
@ -24,9 +25,9 @@ Definition file for ZMusic, the Music file wrapper for ZEngine.
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> <tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr> <tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>/home/James/ZEngine-dev/include/ZE_ZObject.h Source File</title> <title>/include/ZE_ZObject.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZObject.h</h1><a href="ZE__ZObject_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span> <hr><h1>/include/ZE_ZObject.h</h1><a href="ZE__ZObject_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span> 00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span>
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span> 00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
00004 <span class="comment"></span> 00004 <span class="comment"></span>
@ -23,21 +23,21 @@
00028 00028
00029 <span class="keyword">namespace </span>ZE 00029 <span class="keyword">namespace </span>ZE
00030 { 00030 {
00036 <span class="keyword">class </span>ZObject <a name="l00036"></a><a class="code" href="classZE_1_1ZObject.html">00036</a> <span class="keyword">class </span><a class="code" href="classZE_1_1ZObject.html">ZObject</a>
00037 { 00037 {
00038 <span class="keyword">protected</span>: 00038 <span class="keyword">protected</span>:
00040 ZEngine* <a class="code" href="classZE_1_1ZObject.html#n0">rEngine</a>; <a name="l00040"></a><a class="code" href="classZE_1_1ZObject.html#n0">00040</a> <a class="code" href="classZE_1_1ZEngine.html">ZEngine</a>* <a class="code" href="classZE_1_1ZObject.html#n0">rEngine</a>;
00041 <span class="keyword">public</span>: 00041 <span class="keyword">public</span>:
00047 <a class="code" href="classZE_1_1ZObject.html#a0">ZObject</a>() { <a class="code" href="classZE_1_1ZObject.html#n0">rEngine</a> = ZEngine::GetInstance(); }; <a name="l00047"></a><a class="code" href="classZE_1_1ZObject.html#a0">00047</a> <a class="code" href="classZE_1_1ZObject.html#a0">ZObject</a>() { rEngine = ZEngine::GetInstance(); };
00048 00048
00054 <span class="keyword">virtual</span> <a class="code" href="classZE_1_1ZObject.html#a1">~ZObject</a>() {}; <a name="l00054"></a><a class="code" href="classZE_1_1ZObject.html#a1">00054</a> <span class="keyword">virtual</span> <a class="code" href="classZE_1_1ZObject.html#a1">~ZObject</a>() {};
00055 }; 00055 };
00056 } 00056 }
00057 00057
00058 <span class="preprocessor">#endif //__ze_zobject_h__</span> 00058 <span class="preprocessor">#endif //__ze_zobject_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by </pre></div><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,16 @@
<title>ZE_ZObject.h File Reference</title> <title>ZE_ZObject.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZObject.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/include/ZE_ZObject.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZObject.h <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__ZObject_8h.html">ZE_ZObject.h</a> <br>
Description: Header file for ZEngine core Object ZObject, base of most ZEngine objects. <br> Description: Header file for ZEngine core Object ZObject, base of most ZEngine objects. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/07/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_ZObject.h,v 1.1.1.1 2002/11/21 05:41:11 cozman Exp </dl><br>
<p> <p>
Definition file for ZObject the Virtual Base Class for majority of the ZEngine Objects. Definition file for ZObject the Virtual Base Class for majority of the ZEngine Objects.
@ -24,9 +25,9 @@ Definition file for ZObject the Virtual Base Class for majority of the ZEngine O
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> <tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr> <tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,16 @@
<title>ZE_ZRect.cpp File Reference</title> <title>ZE_ZRect.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/src/ZE_ZRect.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/src/ZE_ZRect.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: ZE_ZRect.cpp <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__ZRect_8cpp.html">ZE_ZRect.cpp</a> <br>
Description: Implementation source file for core ZEngine Rectangle Object. <br> Description: Implementation source file for core ZEngine Rectangle Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/08/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_ZRect.cpp,v 1.1.1.1 2002/11/21 05:41:13 cozman Exp </dl><br>
<p> <p>
Implementation of ZRect, the Rectangle class for ZEngine. Implementation of ZRect, the Rectangle class for ZEngine.
@ -22,9 +23,9 @@ Implementation of ZRect, the Rectangle class for ZEngine.
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> <tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr> <tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>/home/James/ZEngine-dev/include/ZE_ZRect.h Source File</title> <title>/include/ZE_ZRect.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZRect.h</h1><a href="ZE__ZRect_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span> <hr><h1>/include/ZE_ZRect.h</h1><a href="ZE__ZRect_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span> 00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span>
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span> 00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
00004 <span class="comment"></span> 00004 <span class="comment"></span>
@ -19,72 +19,72 @@
00024 <span class="preprocessor">#ifndef __ze_zrect_h__</span> 00024 <span class="preprocessor">#ifndef __ze_zrect_h__</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define __ze_zrect_h__</span> 00025 <span class="preprocessor"></span><span class="preprocessor">#define __ze_zrect_h__</span>
00026 <span class="preprocessor"></span> 00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#include "<a class="code" href="ZE__ZObject_8h.html">ZE_ZObject.h</a>"</span> <span class="comment">//included even though ZRect isn't derived (to obtain all other needed headers)</span> 00027 <span class="preprocessor">#include "<a class="code" href="ZE__ZObject_8h.html">ZE_ZObject.h</a>"</span> <span class="comment">//included even though ZRect isn't derived (to obtain all other needed headers)</span>
00028 00028
00029 <span class="keyword">namespace </span>ZE 00029 <span class="keyword">namespace </span>ZE
00030 { 00030 {
00031 00031
00037 <span class="keyword">class </span>ZRect <a name="l00037"></a><a class="code" href="classZE_1_1ZRect.html">00037</a> <span class="keyword">class </span><a class="code" href="classZE_1_1ZRect.html">ZRect</a>
00038 { 00038 {
00039 <span class="keyword">private</span>: 00039 <span class="keyword">private</span>:
00041 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#o0">mX</a>; <a name="l00041"></a><a class="code" href="classZE_1_1ZRect.html#o0">00041</a> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#o0">mX</a>;
00043 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#o1">mY</a>; <a name="l00043"></a><a class="code" href="classZE_1_1ZRect.html#o1">00043</a> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#o1">mY</a>;
00045 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#o2">mWidth</a>; <a name="l00045"></a><a class="code" href="classZE_1_1ZRect.html#o2">00045</a> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#o2">mWidth</a>;
00047 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#o3">mHeight</a>; <a name="l00047"></a><a class="code" href="classZE_1_1ZRect.html#o3">00047</a> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#o3">mHeight</a>;
00048 00048
00049 <span class="keyword">public</span>: 00049 <span class="keyword">public</span>:
00050 00050
00056 <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a>(); 00056 <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a>();
00057 00057
00067 <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height); 00067 <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);
00068 00068
00075 <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a>(<span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a> &amp;rhs); 00075 <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a>(<span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html">ZRect</a> &amp;rhs);
00076 00076
00084 <span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a>&amp; <a class="code" href="classZE_1_1ZRect.html#a3">operator=</a>(<span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a> &amp;rhs); 00084 <span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html">ZRect</a>&amp; <a class="code" href="classZE_1_1ZRect.html#a3">operator=</a>(<span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html">ZRect</a> &amp;rhs);
00085 00085
00094 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZRect.html#a4">operator&lt;</a>(<span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a> &amp;rhs) <span class="keyword">const</span>; 00094 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZRect.html#a4">operator&lt;</a>(<span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html">ZRect</a> &amp;rhs) <span class="keyword">const</span>;
00095 00095
00103 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZRect.html#a5">Move</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y); 00103 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZRect.html#a5">Move</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);
00104 00104
00112 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZRect.html#a6">MoveRel</a>(<span class="keywordtype">int</span> xMove, <span class="keywordtype">int</span> yMove); 00112 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZRect.html#a6">MoveRel</a>(<span class="keywordtype">int</span> xMove, <span class="keywordtype">int</span> yMove);
00113 00113
00121 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZRect.html#a7">Resize</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height); 00121 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZRect.html#a7">Resize</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);
00122 00122
00130 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZRect.html#a8">ResizeRel</a>(<span class="keywordtype">int</span> widthChange, <span class="keywordtype">int</span> heightChange); 00130 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZRect.html#a8">ResizeRel</a>(<span class="keywordtype">int</span> widthChange, <span class="keywordtype">int</span> heightChange);
00131 00131
00139 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZRect.html#a9">Intersects</a>(<span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a> &amp;rect) <span class="keyword">const</span>; 00139 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZRect.html#a9">Intersects</a>(<span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html">ZRect</a> &amp;rect) <span class="keyword">const</span>;
00140 00140
00149 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZRect.html#a10">Contains</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">const</span>; 00149 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZRect.html#a10">Contains</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">const</span>;
00150 00150
00158 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZRect.html#a10">Contains</a>(<span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a> &amp;rect) <span class="keyword">const</span>; 00158 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZRect.html#a10">Contains</a>(<span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html">ZRect</a> &amp;rect) <span class="keyword">const</span>;
00159 00159
00167 <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a> <a class="code" href="classZE_1_1ZRect.html#a12">Intersection</a>(<span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a> &amp;rect) <span class="keyword">const</span>; 00167 <a class="code" href="classZE_1_1ZRect.html">ZRect</a> <a class="code" href="classZE_1_1ZRect.html#a12">Intersection</a>(<span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html">ZRect</a> &amp;rect) <span class="keyword">const</span>;
00168 00168
00175 SDL_Rect <a class="code" href="classZE_1_1ZRect.html#a13">SDLrect</a>() <span class="keyword">const</span>; 00175 SDL_Rect <a class="code" href="classZE_1_1ZRect.html#a13">SDLrect</a>() <span class="keyword">const</span>;
00176 00176
00183 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a14">X</a>() <span class="keyword">const</span>; 00183 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a14">X</a>() <span class="keyword">const</span>;
00184 00184
00191 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a15">Y</a>() <span class="keyword">const</span>; 00191 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a15">Y</a>() <span class="keyword">const</span>;
00192 00192
00199 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a16">Left</a>() <span class="keyword">const</span>; 00199 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a16">Left</a>() <span class="keyword">const</span>;
00200 00200
00207 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a17">Right</a>() <span class="keyword">const</span>; 00207 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a17">Right</a>() <span class="keyword">const</span>;
00208 00208
00215 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a18">Top</a>() <span class="keyword">const</span>; 00215 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a18">Top</a>() <span class="keyword">const</span>;
00216 00216
00223 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a19">Bottom</a>() <span class="keyword">const</span>; 00223 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a19">Bottom</a>() <span class="keyword">const</span>;
00224 00224
00231 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a20">Width</a>() <span class="keyword">const</span>; 00231 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a20">Width</a>() <span class="keyword">const</span>;
00232 00232
00239 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a21">Height</a>() <span class="keyword">const</span>; 00239 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a21">Height</a>() <span class="keyword">const</span>;
00240 }; 00240 };
00241 00241
00242 } <span class="comment">//namspace ZE</span> 00242 } <span class="comment">//namspace ZE</span>
00243 00243
00244 <span class="preprocessor">#endif //__ze_zrect_h__</span> 00244 <span class="preprocessor">#endif //__ze_zrect_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by </pre></div><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,16 @@
<title>ZE_ZRect.h File Reference</title> <title>ZE_ZRect.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZRect.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/include/ZE_ZRect.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: ZE_ZRect.h <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__ZRect_8h.html">ZE_ZRect.h</a> <br>
Description: Header file for core ZEngine Rectangle Object. <br> Description: Header file for core ZEngine Rectangle Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/08/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_ZRect.h,v 1.1.1.1 2002/11/21 05:41:11 cozman Exp </dl><br>
<p> <p>
Definition file for ZRect, the Rectangle class for ZEngine. Definition file for ZRect, the Rectangle class for ZEngine.
@ -24,9 +25,9 @@ Definition file for ZRect, the Rectangle class for ZEngine.
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> <tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr> <tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,16 @@
<title>ZE_ZSound.cpp File Reference</title> <title>ZE_ZSound.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/src/ZE_ZSound.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/src/ZE_ZSound.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZSound.cpp <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__ZSound_8cpp.html">ZE_ZSound.cpp</a> <br>
Description: Implementation source file for core ZEngine Sound Object. <br> Description: Implementation source file for core ZEngine Sound Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/07/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_ZSound.cpp,v 1.1.1.1 2002/11/21 05:41:13 cozman Exp </dl><br>
<p> <p>
Implementation of ZSound, the basic Sound class for ZEngine. Implementation of ZSound, the basic Sound class for ZEngine.
@ -20,9 +21,9 @@ Implementation of ZSound, the basic Sound class for ZEngine.
<table border=0 cellpadding=0 cellspacing=0> <table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr> <tr><td></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>/home/James/ZEngine-dev/include/ZE_ZSound.h Source File</title> <title>/include/ZE_ZSound.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZSound.h</h1><a href="ZE__ZSound_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span> <hr><h1>/include/ZE_ZSound.h</h1><a href="ZE__ZSound_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span> 00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span>
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span> 00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
00004 <span class="comment"></span> 00004 <span class="comment"></span>
@ -26,48 +26,48 @@
00031 <span class="keyword">namespace </span>ZE 00031 <span class="keyword">namespace </span>ZE
00032 { 00032 {
00033 00033
00039 <span class="keyword">class </span>ZSound : <span class="keyword">public</span> ZObject <a name="l00039"></a><a class="code" href="classZE_1_1ZSound.html">00039</a> <span class="keyword">class </span><a class="code" href="classZE_1_1ZSound.html">ZSound</a> : <span class="keyword">public</span> <a class="code" href="classZE_1_1ZObject.html">ZObject</a>
00040 { 00040 {
00041 <span class="keyword">protected</span>: 00041 <span class="keyword">protected</span>:
00043 SoundData <a class="code" href="classZE_1_1ZSound.html#n0">rSound</a>; <a name="l00043"></a><a class="code" href="classZE_1_1ZSound.html#n0">00043</a> Mix_Chunk* <a class="code" href="classZE_1_1ZSound.html#n0">rSound</a>;
00045 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZSound.html#n1">rChannelID</a>; <a name="l00045"></a><a class="code" href="classZE_1_1ZSound.html#n1">00045</a> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZSound.html#n1">rChannelID</a>;
00046 00046
00047 <span class="keyword">public</span>: 00047 <span class="keyword">public</span>:
00049 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZSound.html#p0">LoopInfinite</a>; <a name="l00049"></a><a class="code" href="classZE_1_1ZSound.html#p0">00049</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZSound.html#p0">LoopInfinite</a>;
00050 00050
00052 <span class="comment">//Opening and Closing//</span> 00052 <span class="comment">//Opening and Closing//</span>
00054 <span class="comment"></span> 00054 <span class="comment"></span>
00060 <span class="comment"></span> <a class="code" href="classZE_1_1ZSound.html#a0">ZSound</a>(); 00060 <span class="comment"></span> <a class="code" href="classZE_1_1ZSound.html#a0">ZSound</a>();
00061 00061
00068 <a class="code" href="classZE_1_1ZSound.html#a0">ZSound</a>(string filename); 00068 <a class="code" href="classZE_1_1ZSound.html#a0">ZSound</a>(string filename);
00069 00069
00075 <a class="code" href="classZE_1_1ZSound.html#a2">~ZSound</a>(); 00075 <a class="code" href="classZE_1_1ZSound.html#a2">~ZSound</a>();
00076 00076
00083 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a3">Open</a>(string filename); 00083 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a3">Open</a>(string filename);
00084 00084
00090 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a4">Release</a>(); 00090 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a4">Release</a>();
00091 00091
00093 <span class="comment">//Play Controls//</span> 00093 <span class="comment">//Play Controls//</span>
00095 <span class="comment"></span> 00095 <span class="comment"></span>
00104 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a5">Play</a>(<span class="keywordtype">int</span> loopNum=0, <span class="keywordtype">int</span> fadeTime=0); 00104 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a5">Play</a>(<span class="keywordtype">int</span> loopNum=0, <span class="keywordtype">int</span> fadeTime=0);
00105 00105
00111 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a6">Pause</a>(); 00111 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a6">Pause</a>();
00112 00112
00118 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a7">Unpause</a>(); 00118 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a7">Unpause</a>();
00119 00119
00126 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a8">Stop</a>(<span class="keywordtype">int</span> fadeTime=0); 00126 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a8">Stop</a>(<span class="keywordtype">int</span> fadeTime=0);
00127 00127
00134 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a9">SetVolume</a>(<span class="keywordtype">int</span> volume); 00134 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a9">SetVolume</a>(<span class="keywordtype">int</span> volume);
00135 00135
00137 <span class="comment">//Accessors//</span> 00137 <span class="comment">//Accessors//</span>
00139 <span class="comment"></span> 00139 <span class="comment"></span>
00146 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZSound.html#a10">IsLoaded</a>(); 00146 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZSound.html#a10">IsLoaded</a>();
00147 00147
00154 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZSound.html#a11">IsPlaying</a>(); 00154 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZSound.html#a11">IsPlaying</a>();
00155 00155
00162 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZSound.html#a12">IsPaused</a>(); 00162 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZSound.html#a12">IsPaused</a>();
00163 00163
00170 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZSound.html#a13">GetVolume</a>(); 00170 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZSound.html#a13">Volume</a>();
00171 }; 00171 };
00172 00172
00173 00173
@ -76,9 +76,9 @@
00176 <span class="preprocessor">#endif //USE_SDL_MIXER</span> 00176 <span class="preprocessor">#endif //USE_SDL_MIXER</span>
00177 <span class="preprocessor"></span> 00177 <span class="preprocessor"></span>
00178 <span class="preprocessor">#endif //__ze_zsound_h__</span> 00178 <span class="preprocessor">#endif //__ze_zsound_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by </pre></div><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,16 @@
<title>ZE_ZSound.h File Reference</title> <title>ZE_ZSound.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZSound.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/include/ZE_ZSound.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZSound.h <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__ZSound_8h.html">ZE_ZSound.h</a> <br>
Description: Header file for core ZEngine Sound Wrapper Object. <br> Description: Header file for core ZEngine Sound Wrapper Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/07/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_ZSound.h,v 1.1.1.1 2002/11/21 05:41:12 cozman Exp </dl><br>
<p> <p>
Definition file for ZSound, the Sound Effect wrapper for ZEngine. Definition file for ZSound, the Sound Effect wrapper for ZEngine.
@ -24,9 +25,9 @@ Definition file for ZSound, the Sound Effect wrapper for ZEngine.
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> <tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr> <tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,16 @@
<title>ZE_ZTimer.cpp File Reference</title> <title>ZE_ZTimer.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/src/ZE_ZTimer.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/src/ZE_ZTimer.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: ZE_ZTimer.cpp <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__ZTimer_8cpp.html">ZE_ZTimer.cpp</a> <br>
Description: Implementation source file for core ZEngine Timer Object. <br> Description: Implementation source file for core ZEngine Timer Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/08/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_ZTimer.cpp,v 1.1.1.1 2002/11/21 05:41:13 cozman Exp </dl><br>
<p> <p>
Implementation of ZTimer, the basic Timer class for ZEngine. Implementation of ZTimer, the basic Timer class for ZEngine.
@ -22,9 +23,9 @@ Implementation of ZTimer, the basic Timer class for ZEngine.
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> <tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr> <tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>/home/James/ZEngine-dev/include/ZE_ZTimer.h Source File</title> <title>/include/ZE_ZTimer.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZTimer.h</h1><a href="ZE__ZTimer_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span> <hr><h1>/include/ZE_ZTimer.h</h1><a href="ZE__ZTimer_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span> 00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span>
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span> 00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
00004 <span class="comment"></span> 00004 <span class="comment"></span>
@ -24,37 +24,37 @@
00029 <span class="keyword">namespace </span>ZE 00029 <span class="keyword">namespace </span>ZE
00030 { 00030 {
00031 00031
00037 <span class="keyword">class </span>ZTimer : <span class="keyword">public</span> ZObject <a name="l00037"></a><a class="code" href="classZE_1_1ZTimer.html">00037</a> <span class="keyword">class </span><a class="code" href="classZE_1_1ZTimer.html">ZTimer</a> : <span class="keyword">public</span> <a class="code" href="classZE_1_1ZObject.html">ZObject</a>
00038 { 00038 {
00039 <span class="keyword">protected</span>: 00039 <span class="keyword">protected</span>:
00041 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZTimer.html#n0">rPaused</a>; <a name="l00041"></a><a class="code" href="classZE_1_1ZTimer.html#n0">00041</a> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZTimer.html#n0">rPaused</a>;
00043 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZTimer.html#n1">rUseZEngine</a>; <a name="l00043"></a><a class="code" href="classZE_1_1ZTimer.html#n1">00043</a> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZTimer.html#n1">rUseZEngine</a>;
00045 Uint32 <a class="code" href="classZE_1_1ZTimer.html#n2">rPausedTime</a>; <a name="l00045"></a><a class="code" href="classZE_1_1ZTimer.html#n2">00045</a> Uint32 <a class="code" href="classZE_1_1ZTimer.html#n2">rPausedTime</a>;
00047 Uint32 <a class="code" href="classZE_1_1ZTimer.html#n3">rLastPause</a>; <a name="l00047"></a><a class="code" href="classZE_1_1ZTimer.html#n3">00047</a> Uint32 <a class="code" href="classZE_1_1ZTimer.html#n3">rLastPause</a>;
00048 00048
00055 Uint32 <a class="code" href="classZE_1_1ZTimer.html#b0">GetParentTime</a>(); 00055 Uint32 <a class="code" href="classZE_1_1ZTimer.html#b0">GetParentTime</a>();
00056 00056
00057 <span class="keyword">public</span>: 00057 <span class="keyword">public</span>:
00058 00058
00065 <a class="code" href="classZE_1_1ZTimer.html#a0">ZTimer</a>(<span class="keywordtype">bool</span> useZEngine=<span class="keyword">true</span>); 00065 <a class="code" href="classZE_1_1ZTimer.html#a0">ZTimer</a>(<span class="keywordtype">bool</span> useZEngine=<span class="keyword">true</span>);
00066 00066
00072 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZTimer.html#a1">Reset</a>(); 00072 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZTimer.html#a1">Reset</a>();
00073 00073
00079 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZTimer.html#a2">Pause</a>(); 00079 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZTimer.html#a2">Pause</a>();
00080 00080
00086 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZTimer.html#a3">Unpause</a>(); 00086 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZTimer.html#a3">Unpause</a>();
00087 00087
00094 Uint32 <a class="code" href="classZE_1_1ZTimer.html#a4">GetTime</a>(); 00094 Uint32 <a class="code" href="classZE_1_1ZTimer.html#a4">GetTime</a>();
00095 00095
00102 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZTimer.html#a5">IsPaused</a>(); 00102 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZTimer.html#a5">IsPaused</a>();
00103 }; 00103 };
00104 00104
00105 } 00105 }
00106 00106
00107 <span class="preprocessor">#endif //__ze_ztimer_h__</span> 00107 <span class="preprocessor">#endif //__ze_ztimer_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by </pre></div><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,16 @@
<title>ZE_ZTimer.h File Reference</title> <title>ZE_ZTimer.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZTimer.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/include/ZE_ZTimer.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZTimer.h <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZE__ZTimer_8h.html">ZE_ZTimer.h</a> <br>
Description: Header file for core ZEngine Timer Object. <br> Description: Header file for core ZEngine Timer Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/07/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZE_ZTimer.h,v 1.1.1.1 2002/11/21 05:41:12 cozman Exp </dl><br>
<p> <p>
Definition file for ZTimer, the Timer class for ZEngine. Definition file for ZTimer, the Timer class for ZEngine.
@ -24,9 +25,9 @@ Definition file for ZTimer, the Timer class for ZEngine.
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> <tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr> <tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -1,27 +1,28 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>/home/James/ZEngine-dev/include/ZEngine.h Source File</title> <title>/include/ZEngine.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZEngine.h</h1><a href="ZEngine_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <hr><h1>/include/ZEngine.h</h1><a href="ZEngine_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
00043 <span class="preprocessor">#include "<a class="code" href="ZE__ZEngine_8h.html">ZE_ZEngine.h</a>"</span> 00044 <span class="preprocessor">#include "<a class="code" href="ZE__ZEngine_8h.html">ZE_ZEngine.h</a>"</span>
00044 <span class="preprocessor">#include "<a class="code" href="ZE__ZImage_8h.html">ZE_ZImage.h</a>"</span> 00045 <span class="preprocessor">#include "<a class="code" href="ZE__Macros_8h.html">ZE_Macros.h</a>"</span>
00045 <span class="preprocessor">#include "<a class="code" href="ZE__ZTimer_8h.html">ZE_ZTimer.h</a>"</span> 00046 <span class="preprocessor">#include "<a class="code" href="ZE__ZImage_8h.html">ZE_ZImage.h</a>"</span>
00046 <span class="preprocessor">#include "<a class="code" href="ZE__ZConfigFile_8h.html">ZE_ZConfigFile.h</a>"</span> 00047 <span class="preprocessor">#include "<a class="code" href="ZE__ZTimer_8h.html">ZE_ZTimer.h</a>"</span>
00047 <span class="preprocessor">#include "<a class="code" href="ZE__ZRect_8h.html">ZE_ZRect.h</a>"</span> 00048 <span class="preprocessor">#include "<a class="code" href="ZE__ZConfigFile_8h.html">ZE_ZConfigFile.h</a>"</span>
00048 <span class="preprocessor">#ifdef USE_SDL_TTF</span> 00049 <span class="preprocessor">#include "<a class="code" href="ZE__ZRect_8h.html">ZE_ZRect.h</a>"</span>
00049 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="ZE__ZFont_8h.html">ZE_ZFont.h</a>"</span> 00050 <span class="preprocessor">#ifdef USE_SDL_TTF</span>
00050 <span class="preprocessor">#endif</span> 00051 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="ZE__ZFont_8h.html">ZE_ZFont.h</a>"</span>
00051 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_SDL_MIXER</span> 00052 <span class="preprocessor">#endif</span>
00052 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="ZE__ZSound_8h.html">ZE_ZSound.h</a>"</span> 00053 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_SDL_MIXER</span>
00053 <span class="preprocessor">#include "<a class="code" href="ZE__ZMusic_8h.html">ZE_ZMusic.h</a>"</span> 00054 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="ZE__ZSound_8h.html">ZE_ZSound.h</a>"</span>
00054 <span class="preprocessor">#endif</span> 00055 <span class="preprocessor">#include "<a class="code" href="ZE__ZMusic_8h.html">ZE_ZMusic.h</a>"</span>
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by 00056 <span class="preprocessor">#endif</span>
</pre></div><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,20 +3,22 @@
<title>ZEngine.h File Reference</title> <title>ZEngine.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZEngine.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>/include/ZEngine.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header:</b></dt><dd>File: ZEngine.h <br> <dl compact><dt><b>File Header:</b></dt><dd>
File: <a class="el" href="ZEngine_8h.html">ZEngine.h</a> <br>
Description: Public Header File for ZEngine. <br> Description: Public Header File for ZEngine. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
Last Updated: 11/07/02 <br> </dl><dl compact><dt><b>Id: </b></dt><dd>
</dd></dl> ZEngine.h,v 1.2 2002/11/28 23:18:54 cozman Exp </dl><br>
<p> <p>
Header file for ZEngine Game Engine from Concept of Zero, this is the file that programs that wish to utilize ZEngine should include. Header file for ZEngine Game Engine from Concept of Zero, this is the file that programs that wish to utilize ZEngine should include.
<p> <p>
<code>#include "<a class="el" href="ZE__ZEngine_8h-source.html">ZE_ZEngine.h</a>"</code><br> <code>#include "<a class="el" href="ZE__ZEngine_8h-source.html">ZE_ZEngine.h</a>"</code><br>
<code>#include "<a class="el" href="ZE__Macros_8h-source.html">ZE_Macros.h</a>"</code><br>
<code>#include "<a class="el" href="ZE__ZImage_8h-source.html">ZE_ZImage.h</a>"</code><br> <code>#include "<a class="el" href="ZE__ZImage_8h-source.html">ZE_ZImage.h</a>"</code><br>
<code>#include "<a class="el" href="ZE__ZTimer_8h-source.html">ZE_ZTimer.h</a>"</code><br> <code>#include "<a class="el" href="ZE__ZTimer_8h-source.html">ZE_ZTimer.h</a>"</code><br>
<code>#include "<a class="el" href="ZE__ZConfigFile_8h-source.html">ZE_ZConfigFile.h</a>"</code><br> <code>#include "<a class="el" href="ZE__ZConfigFile_8h-source.html">ZE_ZConfigFile.h</a>"</code><br>
@ -29,9 +31,9 @@ Header file for ZEngine Game Engine from Concept of Zero, this is the file that
<a href="ZEngine_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> <a href="ZEngine_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr> <tr><td></td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,13 @@
<title>Annotated Index</title> <title>Annotated Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZEngine Compound List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table> <hr><h1>ZEngine Compound List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table>
<tr><td class="indexkey"><a class="el" href="classZE_1_1FontData.html">ZE::FontData</a></td><td class="indexvalue">Class to wrap TTF_Font pointers</td></tr>
<tr><td class="indexkey"><a class="el" href="classZE_1_1ImageData.html">ZE::ImageData</a></td><td class="indexvalue">Class to wrap SDL_Surface pointers</td></tr>
<tr><td class="indexkey"><a class="el" href="classZE_1_1MusicData.html">ZE::MusicData</a></td><td class="indexvalue">Class to wrap Mix_Music pointers</td></tr>
<tr><td class="indexkey"><a class="el" href="classZE_1_1SoundData.html">ZE::SoundData</a></td><td class="indexvalue">Class to wrap Mix_Chunk pointers</td></tr>
<tr><td class="indexkey"><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a> Class for use in <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a></td></tr> <tr><td class="indexkey"><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a> Class for use in <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a></td></tr>
<tr><td class="indexkey"><a class="el" href="classZE_1_1ZConfigFile_1_1ZCF__Section.html">ZE::ZConfigFile::ZCF_Section</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a> Section class</td></tr>
<tr><td class="indexkey"><a class="el" href="classZE_1_1ZConfigFile_1_1ZCF__Variable.html">ZE::ZConfigFile::ZCF_Variable</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a> Variable class</td></tr>
<tr><td class="indexkey"><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td class="indexvalue">Main <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> Singleton Class</td></tr> <tr><td class="indexkey"><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td class="indexvalue">Main <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> Singleton Class</td></tr>
<tr><td class="indexkey"><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZFont.html">ZFont</a> class for basic Font use</td></tr> <tr><td class="indexkey"><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZFont.html">ZFont</a> class for basic Font use</td></tr>
<tr><td class="indexkey"><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZImage.html">ZImage</a> class for basic Image use</td></tr> <tr><td class="indexkey"><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZImage.html">ZImage</a> class for basic Image use</td></tr>
@ -21,9 +19,9 @@
<tr><td class="indexkey"><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZSound.html">ZSound</a> class for playing sound effects. (WAV)</td></tr> <tr><td class="indexkey"><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZSound.html">ZSound</a> class for playing sound effects. (WAV)</td></tr>
<tr><td class="indexkey"><a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZTimer.html">ZTimer</a> class for Timer use</td></tr> <tr><td class="indexkey"><a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZTimer.html">ZTimer</a> class for Timer use</td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
<title>Member List</title> <title>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZConfigFile Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a>, including all inherited members.<table> <hr><h1>ZE::ZConfigFile Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a>, including all inherited members.<table>
@ -29,9 +29,9 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a0">ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a0">ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZConfigFile.html#a2">~ZConfigFile</a>()</td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZConfigFile.html#a2">~ZConfigFile</a>()</td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a1">~ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline, virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a1">~ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline, virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by </table><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
<title>ZE::ZConfigFile class Reference</title> <title>ZE::ZConfigFile class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZConfigFile Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZConfigFile_8h-source.html">ZE_ZConfigFile.h</a>&gt;</code> <hr><h1>ZE::ZConfigFile Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZConfigFile_8h-source.html">ZE_ZConfigFile.h</a>&gt;</code>
@ -43,17 +43,9 @@ Inherits <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>.
<tr><td colspan=2><br><h2>Private Methods</h2></td></tr> <tr><td colspan=2><br><h2>Private Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>string&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#c0">CleanString</a> (string str)</td></tr> <tr><td nowrap align=right valign=top>string&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#c0">CleanString</a> (string str)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Reformat a string in a form more suitable to parsing.</em> <a href="#c0"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Reformat a string in a form more suitable to parsing.</em> <a href="#c0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="c1" doxytag="ZE::ZConfigFile::Exists"></a>
bool&nbsp;</td><td valign=bottom><b>Exists</b> (string sec)</td></tr>
<tr><td nowrap align=right valign=top><a name="c2" doxytag="ZE::ZConfigFile::Exists"></a>
bool&nbsp;</td><td valign=bottom><b>Exists</b> (string sec, string var)</td></tr>
<tr><td nowrap align=right valign=top><a name="c3" doxytag="ZE::ZConfigFile::SetVariable"></a>
void&nbsp;</td><td valign=bottom><b>SetVariable</b> (string sec, string var, string val)</td></tr>
<tr><td nowrap align=right valign=top><a name="c4" doxytag="ZE::ZConfigFile::GetVariable"></a>
string&nbsp;</td><td valign=bottom><b>GetVariable</b> (string sec, string var, string defVal)</td></tr>
<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> <tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="o0" doxytag="ZE::ZConfigFile::mFileLayout"></a> <tr><td nowrap align=right valign=top><a name="o0" doxytag="ZE::ZConfigFile::mFileLayout"></a>
list&lt; ZCF_Section &gt;&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#o0">mFileLayout</a></td></tr> list&lt; <a class="el" href="classZE_1_1ZConfigFile_1_1ZCF__Section.html">ZCF_Section</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#o0">mFileLayout</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>List of sections of internal type.</em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>List of sections of internal type.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="o1" doxytag="ZE::ZConfigFile::mFilename"></a> <tr><td nowrap align=right valign=top><a name="o1" doxytag="ZE::ZConfigFile::mFilename"></a>
string&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#o1">mFilename</a></td></tr> string&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#o1">mFilename</a></td></tr>
@ -114,12 +106,12 @@ A no-op default constructor. </td>
<td> <td>
<p> <p>
Constructor takes filename, and calls process on it. <dl compact><dt><b>Parameters:</b></dt><dd> Constructor takes filename, and calls process on it. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>filename</em>&nbsp;</td><td>File to load as <a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a>. </td></tr> <tr><td valign=top><em>filename</em>&nbsp;</td><td>
</table> File to load as <a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a>. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<a name="a2" doxytag="ZE::ZConfigFile::~ZConfigFile"></a><p> <a name="a2" doxytag="ZE::ZConfigFile::~ZConfigFile"></a><p>
@ -177,13 +169,13 @@ Flushes the file, ensures a flush if the file is left open. </td>
<td> <td>
<p> <p>
Removes whitespace from a string and makes all characters lowercase. <dl compact><dt><b>Parameters:</b></dt><dd> Removes whitespace from a string and makes all characters lowercase. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>str</em>&nbsp;</td><td>The string to get a clean version of. </td></tr> <tr><td valign=top><em>str</em>&nbsp;</td><td>
</table> The string to get a clean version of. </td></tr>
</dl> </table>
<dl compact><dt><b>Returns:</b></dt><dd>Cleaned string. </dd></dl> </dl><dl compact><dt><b>Returns: </b></dt><dd>
</td> Cleaned string. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a3" doxytag="ZE::ZConfigFile::Process"></a><p> <a name="a3" doxytag="ZE::ZConfigFile::Process"></a><p>
@ -212,12 +204,12 @@ Removes whitespace from a string and makes all characters lowercase. <dl compact
<td> <td>
<p> <p>
Parses the file, reading the contents into the fileLayout map. <dl compact><dt><b>Parameters:</b></dt><dd> Parses the file, reading the contents into the fileLayout map. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>filename</em>&nbsp;</td><td>File to parse and attach this ZDataFile to. </td></tr> <tr><td valign=top><em>filename</em>&nbsp;</td><td>
</table> File to parse and attach this ZDataFile to. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<a name="a4" doxytag="ZE::ZConfigFile::GetInt"></a><p> <a name="a4" doxytag="ZE::ZConfigFile::GetInt"></a><p>
@ -261,15 +253,17 @@ Parses the file, reading the contents into the fileLayout map. <dl compact><dt><
<td> <td>
<p> <p>
Get the current value of a variable in the file, or defVal if not found in file. <dl compact><dt><b>Parameters:</b></dt><dd> Get the current value of a variable in the file, or defVal if not found in file. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>section</em>&nbsp;</td><td>Name of section to seek variable under. </td></tr> <tr><td valign=top><em>section</em>&nbsp;</td><td>
<tr><td valign=top><em>var</em>&nbsp;</td><td>Name of variable to seek value for. </td></tr> Name of section to seek variable under. </td></tr>
<tr><td valign=top><em>defVal</em>&nbsp;</td><td>Value to return if var does not exist within section. </td></tr> <tr><td valign=top><em>var</em>&nbsp;</td><td>
</table> Name of variable to seek value for. </td></tr>
</dl> <tr><td valign=top><em>defVal</em>&nbsp;</td><td>
<dl compact><dt><b>Returns:</b></dt><dd>Contents of the variable in integer format. </dd></dl> Value to return if var does not exist within section. </td></tr>
</td> </table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
Contents of the variable in integer format. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a5" doxytag="ZE::ZConfigFile::GetBool"></a><p> <a name="a5" doxytag="ZE::ZConfigFile::GetBool"></a><p>
@ -313,15 +307,17 @@ Get the current value of a variable in the file, or defVal if not found in file.
<td> <td>
<p> <p>
Get the current value of a variable in the file, or defVal if not found in file. (Valid values are "0","1","true" and "false") <dl compact><dt><b>Parameters:</b></dt><dd> Get the current value of a variable in the file, or defVal if not found in file. (Valid values are "0","1","true" and "false") <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>section</em>&nbsp;</td><td>Name of section to seek variable under. </td></tr> <tr><td valign=top><em>section</em>&nbsp;</td><td>
<tr><td valign=top><em>var</em>&nbsp;</td><td>Name of variable to seek value for. </td></tr> Name of section to seek variable under. </td></tr>
<tr><td valign=top><em>defVal</em>&nbsp;</td><td>Value to return if var does not exist within section. </td></tr> <tr><td valign=top><em>var</em>&nbsp;</td><td>
</table> Name of variable to seek value for. </td></tr>
</dl> <tr><td valign=top><em>defVal</em>&nbsp;</td><td>
<dl compact><dt><b>Returns:</b></dt><dd>Contents of the variable in boolean format. </dd></dl> Value to return if var does not exist within section. </td></tr>
</td> </table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
Contents of the variable in boolean format. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a6" doxytag="ZE::ZConfigFile::GetString"></a><p> <a name="a6" doxytag="ZE::ZConfigFile::GetString"></a><p>
@ -365,15 +361,17 @@ Get the current value of a variable in the file, or defVal if not found in file.
<td> <td>
<p> <p>
Get the current value of a variable in the file, or defVal if not found in file. <dl compact><dt><b>Parameters:</b></dt><dd> Get the current value of a variable in the file, or defVal if not found in file. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>section</em>&nbsp;</td><td>Name of section to seek variable under. </td></tr> <tr><td valign=top><em>section</em>&nbsp;</td><td>
<tr><td valign=top><em>var</em>&nbsp;</td><td>Name of variable to seek value for. </td></tr> Name of section to seek variable under. </td></tr>
<tr><td valign=top><em>defVal</em>&nbsp;</td><td>Value to return if var does not exist within section. </td></tr> <tr><td valign=top><em>var</em>&nbsp;</td><td>
</table> Name of variable to seek value for. </td></tr>
</dl> <tr><td valign=top><em>defVal</em>&nbsp;</td><td>
<dl compact><dt><b>Returns:</b></dt><dd>Contents of the variable in string format. </dd></dl> Value to return if var does not exist within section. </td></tr>
</td> </table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
Contents of the variable in string format. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a7" doxytag="ZE::ZConfigFile::SetInt"></a><p> <a name="a7" doxytag="ZE::ZConfigFile::SetInt"></a><p>
@ -417,14 +415,16 @@ Get the current value of a variable in the file, or defVal if not found in file.
<td> <td>
<p> <p>
Set the new value of a variable in the file to val, creating the section and variable if not already found in file. <dl compact><dt><b>Parameters:</b></dt><dd> Set the new value of a variable in the file to val, creating the section and variable if not already found in file. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>section</em>&nbsp;</td><td>Name of section to edit variable under. </td></tr> <tr><td valign=top><em>section</em>&nbsp;</td><td>
<tr><td valign=top><em>var</em>&nbsp;</td><td>Name of variable to set value for. </td></tr> Name of section to edit variable under. </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>Integer value to set variable to in file. </td></tr> <tr><td valign=top><em>var</em>&nbsp;</td><td>
</table> Name of variable to set value for. </td></tr>
</dl> <tr><td valign=top><em>val</em>&nbsp;</td><td>
</td> Integer value to set variable to in file. </td></tr>
</table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a8" doxytag="ZE::ZConfigFile::SetBool"></a><p> <a name="a8" doxytag="ZE::ZConfigFile::SetBool"></a><p>
@ -468,14 +468,16 @@ Set the new value of a variable in the file to val, creating the section and var
<td> <td>
<p> <p>
Set the new value of a variable in the file to val, creating the section and variable if not already found in file. <dl compact><dt><b>Parameters:</b></dt><dd> Set the new value of a variable in the file to val, creating the section and variable if not already found in file. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>section</em>&nbsp;</td><td>Name of section to edit variable under. </td></tr> <tr><td valign=top><em>section</em>&nbsp;</td><td>
<tr><td valign=top><em>var</em>&nbsp;</td><td>Name of variable to set value for. </td></tr> Name of section to edit variable under. </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>Boolean value to set variable to in file. </td></tr> <tr><td valign=top><em>var</em>&nbsp;</td><td>
</table> Name of variable to set value for. </td></tr>
</dl> <tr><td valign=top><em>val</em>&nbsp;</td><td>
</td> Boolean value to set variable to in file. </td></tr>
</table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a9" doxytag="ZE::ZConfigFile::SetString"></a><p> <a name="a9" doxytag="ZE::ZConfigFile::SetString"></a><p>
@ -519,14 +521,16 @@ Set the new value of a variable in the file to val, creating the section and var
<td> <td>
<p> <p>
Set the new value of a variable in the file to val, creating the section and variable if not already found in file. <dl compact><dt><b>Parameters:</b></dt><dd> Set the new value of a variable in the file to val, creating the section and variable if not already found in file. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>section</em>&nbsp;</td><td>Name of section to edit variable under. </td></tr> <tr><td valign=top><em>section</em>&nbsp;</td><td>
<tr><td valign=top><em>var</em>&nbsp;</td><td>Name of variable to set value for. </td></tr> Name of section to edit variable under. </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>String value to set variable to in file. </td></tr> <tr><td valign=top><em>var</em>&nbsp;</td><td>
</table> Name of variable to set value for. </td></tr>
</dl> <tr><td valign=top><em>val</em>&nbsp;</td><td>
</td> String value to set variable to in file. </td></tr>
</table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a10" doxytag="ZE::ZConfigFile::Flush"></a><p> <a name="a10" doxytag="ZE::ZConfigFile::Flush"></a><p>
@ -586,10 +590,10 @@ Flush the file and clear the filename. </td>
</tr> </tr>
</table> </table>
<hr>The documentation for this class was generated from the following files:<ul> <hr>The documentation for this class was generated from the following files:<ul>
<li>/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZConfigFile_8h-source.html">ZE_ZConfigFile.h</a><li>/home/James/ZEngine-dev/src/<a class="el" href="ZE__ZConfigFile_8cpp.html">ZE_ZConfigFile.cpp</a></ul> <li>/include/<a class="el" href="ZE__ZConfigFile_8h-source.html">ZE_ZConfigFile.h</a><li>/src/<a class="el" href="ZE__ZConfigFile_8cpp.html">ZE_ZConfigFile.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,40 +3,33 @@
<title>Member List</title> <title>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZEngine Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a>, including all inherited members.<table> <hr><h1>ZE::ZEngine Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a32">BPP</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a25">CheckEvents</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a25">CheckEvents</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a7">Clear</a>(Uint32 color=0, SDL_Rect *rect=NULL)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a6">Clear</a>(float red=0.0f, float green=0.0f, float blue=0.0f, float alpha=1.0f)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a3">CloseWindow</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a3">CloseDisplay</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a2">CreateWindow</a>(string title, string icon="")</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a2">CreateDisplay</a>(string title, string icon="")</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a33">FreeFont</a>(FontData &amp;font)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a8">Delay</a>(Uint32 milliseconds)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a27">FreeImage</a>(ImageData &amp;image)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a4">Display</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a31">FreeMusic</a>(MusicData &amp;music)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a29">FreeSound</a>(SoundData &amp;sound)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a36">GetBPP</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a4">GetDisplay</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a12">GetFrameTime</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a12">GetFrameTime</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a35">GetHeight</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#d0">GetInstance</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [static]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#d0">GetInstance</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a20">GetMouseX</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a21">GetMouseY</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a9">GetTime</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a9">GetTime</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#d2">GetVersion</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [static]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#d2">GetVersion</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a34">GetWidth</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a31">Height</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a18">HideCursor</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a18">HideCursor</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a14">IsActive</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a14">IsActive</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a37">IsFullscreen</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a33">IsFullscreen</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a13">IsPaused</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a13">IsPaused</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a17">KeyIsPressed</a>(SDLKey key)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a17">KeyIsPressed</a>(SDLKey key)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a22">LButtonPressed</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a22">LButtonPressed</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a32">LoadFont</a>(string filename, int size)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a29">LoadFont</a>(string filename, int size)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a26">LoadImage</a>(string filename)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a26">LoadImage</a>(string filename)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a30">LoadMusic</a>(string filename)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a28">LoadMusic</a>(string filename)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a28">LoadSound</a>(string filename)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a27">LoadSound</a>(string filename)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o13">mActive</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o13">mActive</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a6">MapColor</a>(Uint8 r, Uint8 g, Uint8 b, Uint8 a=255)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o2">mBPP</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o2">mBPP</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o3">mFullscreen</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o3">mFullscreen</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o1">mHeight</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o1">mHeight</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr>
@ -47,6 +40,8 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o16">mMouseX</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o16">mMouseX</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o17">mMouseY</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o17">mMouseY</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a24">MouseInRect</a>(SDL_Rect *rect)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a24">MouseInRect</a>(SDL_Rect *rect)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a20">MouseX</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a21">MouseY</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o7">mPaused</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o7">mPaused</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o10">mPausedTime</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o10">mPausedTime</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o14">mQuit</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o14">mQuit</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr>
@ -61,17 +56,18 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a23">RButtonPressed</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a23">RButtonPressed</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#d1">ReleaseInstance</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [static]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#d1">ReleaseInstance</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a15">RequestQuit</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a15">RequestQuit</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a7">SetGL2D</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a0">SetupDisplay</a>(int width, int height, int bpp, bool fullscreen)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a0">SetupDisplay</a>(int width, int height, int bpp, bool fullscreen)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a1">SetupSound</a>(int rate, bool stereo)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a1">SetupSound</a>(int rate, bool stereo)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a19">ShowCursor</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a19">ShowCursor</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#r0">sInstance</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private, static]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#r0">sInstance</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private, static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a8">Sleep</a>(Uint32 milliseconds)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a11">UnpauseTimer</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a11">UnpauseTimer</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a5">UpdateScreen</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a5">UpdateScreen</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a30">Width</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#c0">ZEngine</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#c0">ZEngine</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by </table><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,13 +3,13 @@
<title>ZE::ZEngine class Reference</title> <title>ZE::ZEngine class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZEngine Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZEngine_8h-source.html">ZE_ZEngine.h</a>&gt;</code> <hr><h1>ZE::ZEngine Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZEngine_8h-source.html">ZE_ZEngine.h</a>&gt;</code>
<p> <p>
<a href="classZE_1_1ZEngine-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> <a href="classZE_1_1ZEngine-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> Singleton Class, accessible from anywhere in a ZEngine-based program by nature. Controls core elements of program and does majority of SDL wrapping. Also keeps track of loaded data and helps programs avoid memory leaks and dangling pointers. <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> Singleton Class, accessible from anywhere in a <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a>-based program by nature. Controls core elements of program and does majority of SDL wrapping. Also keeps track of loaded data and helps programs avoid memory leaks and dangling pointers.
<p> <p>
<table border=0 cellpadding=0 cellspacing=0> <table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr> <tr><td></td></tr>
@ -18,19 +18,19 @@
<tr><td>&nbsp;</td><td><font size=-1><em>Setup Display for SDL.</em> <a href="#a0"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Setup Display for SDL.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a1">SetupSound</a> (int rate, bool stereo)</td></tr> <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a1">SetupSound</a> (int rate, bool stereo)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Initialize Sound for SDL.</em> <a href="#a1"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Initialize Sound for SDL.</em> <a href="#a1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a2">CreateWindow</a> (string title, string icon="")</td></tr> <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a2">CreateDisplay</a> (string title, string icon="")</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Create Window with predefined settings.</em> <a href="#a2"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Create Display with predefined settings.</em> <a href="#a2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a3">CloseWindow</a> ()</td></tr> <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a3">CloseDisplay</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Quit SDL and any Subsystems.</em> <a href="#a3"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Quit SDL and any Subsystems.</em> <a href="#a3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>SDL_Surface *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a4">GetDisplay</a> ()</td></tr> <tr><td nowrap align=right valign=top>SDL_Surface *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a4">Display</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Allow access to Screen Surface.</em> <a href="#a4"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Allow access to Screen Surface.</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a5">UpdateScreen</a> ()</td></tr> <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a5">UpdateScreen</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Update screen contents.</em> <a href="#a5"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Update screen contents.</em> <a href="#a5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>Uint32&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a6">MapColor</a> (Uint8 r, Uint8 g, Uint8 b, Uint8 a=255)</td></tr> <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a6">Clear</a> (float red=0.0f, float green=0.0f, float blue=0.0f, float alpha=1.0f)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Create Color in SDL Uint32 Format.</em> <a href="#a6"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Clear screen to a certain color (Black by default).</em> <a href="#a6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a7">Clear</a> (Uint32 color=0, SDL_Rect *rect=NULL)</td></tr> <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a7">SetGL2D</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Clear screen or portion of screen to a color.</em> <a href="#a7"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Setup OpenGL ortho mode.</em> <a href="#a7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a8">Sleep</a> (Uint32 milliseconds)</td></tr> <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a8">Delay</a> (Uint32 milliseconds)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sleep for a certain amount of time.</em> <a href="#a8"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Sleep for a certain amount of time.</em> <a href="#a8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>Uint32&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a9">GetTime</a> ()</td></tr> <tr><td nowrap align=right valign=top>Uint32&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a9">GetTime</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Global <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> time.</em> <a href="#a9"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get Global <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> time.</em> <a href="#a9"></a><em></em></font><br><br></td></tr>
@ -54,9 +54,9 @@
<tr><td>&nbsp;</td><td><font size=-1><em>Hide mouse cursor.</em> <a href="#a18"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Hide mouse cursor.</em> <a href="#a18"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a19">ShowCursor</a> ()</td></tr> <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a19">ShowCursor</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Show mouse cursor.</em> <a href="#a19"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Show mouse cursor.</em> <a href="#a19"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a20">GetMouseX</a> ()</td></tr> <tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a20">MouseX</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get X Position of Mouse.</em> <a href="#a20"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get X Position of Mouse.</em> <a href="#a20"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a21">GetMouseY</a> ()</td></tr> <tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a21">MouseY</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Y Position of Mouse.</em> <a href="#a21"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get Y Position of Mouse.</em> <a href="#a21"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a22">LButtonPressed</a> ()</td></tr> <tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a22">LButtonPressed</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Status of Left Button.</em> <a href="#a22"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get Status of Left Button.</em> <a href="#a22"></a><em></em></font><br><br></td></tr>
@ -66,30 +66,22 @@
<tr><td>&nbsp;</td><td><font size=-1><em>Check if mouse is in given rectangle.</em> <a href="#a24"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Check if mouse is in given rectangle.</em> <a href="#a24"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a25">CheckEvents</a> ()</td></tr> <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a25">CheckEvents</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check for Activation, Window Manager, and Quit Events.</em> <a href="#a25"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Check for Activation, Window Manager, and Quit Events.</em> <a href="#a25"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classZE_1_1ImageData.html">ImageData</a>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a26">LoadImage</a> (string filename)</td></tr> <tr><td nowrap align=right valign=top>SDL_Surface *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a26">LoadImage</a> (string filename)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Load an Image.</em> <a href="#a26"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Load an Image.</em> <a href="#a26"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a27">FreeImage</a> (<a class="el" href="classZE_1_1ImageData.html">ImageData</a> &amp;image)</td></tr> <tr><td nowrap align=right valign=top>Mix_Chunk *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a27">LoadSound</a> (string filename)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Free an Image.</em> <a href="#a27"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Load a Sound.</em> <a href="#a27"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classZE_1_1SoundData.html">SoundData</a>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a28">LoadSound</a> (string filename)</td></tr> <tr><td nowrap align=right valign=top>Mix_Music *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a28">LoadMusic</a> (string filename)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Load a Sound.</em> <a href="#a28"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Load a Music File.</em> <a href="#a28"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a29">FreeSound</a> (<a class="el" href="classZE_1_1SoundData.html">SoundData</a> &amp;sound)</td></tr> <tr><td nowrap align=right valign=top>TTF_Font *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a29">LoadFont</a> (string filename, int size)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Free a Sound.</em> <a href="#a29"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Load a Font.</em> <a href="#a29"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classZE_1_1MusicData.html">MusicData</a>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a30">LoadMusic</a> (string filename)</td></tr> <tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a30">Width</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Load a Music File.</em> <a href="#a30"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get Current Display Width.</em> <a href="#a30"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a31">FreeMusic</a> (<a class="el" href="classZE_1_1MusicData.html">MusicData</a> &amp;music)</td></tr> <tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a31">Height</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Free a Music Sample.</em> <a href="#a31"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get Current Display Height.</em> <a href="#a31"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classZE_1_1FontData.html">FontData</a>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a32">LoadFont</a> (string filename, int size)</td></tr> <tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a32">BPP</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Load a Font.</em> <a href="#a32"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get Current Display BPP.</em> <a href="#a32"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a33">FreeFont</a> (<a class="el" href="classZE_1_1FontData.html">FontData</a> &amp;font)</td></tr> <tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a33">IsFullscreen</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Free a Font.</em> <a href="#a33"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get Fullscreen setting.</em> <a href="#a33"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a34">GetWidth</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Current Display Width.</em> <a href="#a34"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a35">GetHeight</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Current Display Height.</em> <a href="#a35"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a36">GetBPP</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Current Display BPP.</em> <a href="#a36"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a37">IsFullscreen</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Fullscreen setting.</em> <a href="#a37"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> <tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>ZEngine *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#d0">GetInstance</a> ()</td></tr> <tr><td nowrap align=right valign=top>ZEngine *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#d0">GetInstance</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Instance.</em> <a href="#d0"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get Instance.</em> <a href="#d0"></a><em></em></font><br><br></td></tr>
@ -218,8 +210,8 @@ Initialize <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> values to de
<td> <td>
<p> <p>
Static function, returns pointer to instance of <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a>, creating an instance if none exist. <dl compact><dt><b>Returns:</b></dt><dd>Instance to the <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a>. </dd></dl> Static function, returns pointer to instance of <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a>, creating an instance if none exist. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Instance to the <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a>. </dl> </td>
</tr> </tr>
</table> </table>
<a name="d1" doxytag="ZE::ZEngine::ReleaseInstance"></a><p> <a name="d1" doxytag="ZE::ZEngine::ReleaseInstance"></a><p>
@ -275,8 +267,8 @@ Release memory held by instance of engine and closes window. </td>
<td> <td>
<p> <p>
Get Version Number of <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a>. (Major.Minor.Extension#) <dl compact><dt><b>Returns:</b></dt><dd>string containing version number </dd></dl> Get Version Number of <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a>. (Major.Minor.Extension#) <dl compact><dt><b>Returns: </b></dt><dd>
</td> string containing version number </dl> </td>
</tr> </tr>
</table> </table>
<a name="a0" doxytag="ZE::ZEngine::SetupDisplay"></a><p> <a name="a0" doxytag="ZE::ZEngine::SetupDisplay"></a><p>
@ -326,17 +318,18 @@ Get Version Number of <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a>.
<td> <td>
<p> <p>
Sets display parameters to specified parameters. (called before CreateDisplay) Sets display parameters to specified parameters. (called before CreateDisplay)<dl compact><dt><b>Parameters: </b></dt><dd>
<p> <table border=0 cellspacing=2 cellpadding=0>
<dl compact><dt><b>Parameters:</b></dt><dd> <tr><td valign=top><em>width</em>&nbsp;</td><td>
<table border="0" cellspacing="2" cellpadding="0"> Desired width of screen or window. </td></tr>
<tr><td valign=top><em>width</em>&nbsp;</td><td>Desired width of screen or window. </td></tr> <tr><td valign=top><em>height</em>&nbsp;</td><td>
<tr><td valign=top><em>height</em>&nbsp;</td><td>Desired height of screen or window. </td></tr> Desired height of screen or window. </td></tr>
<tr><td valign=top><em>bpp</em>&nbsp;</td><td>Desired BPP for screen (only works in fullscreen). </td></tr> <tr><td valign=top><em>bpp</em>&nbsp;</td><td>
<tr><td valign=top><em>fullscreen</em>&nbsp;</td><td>A bool for fullscreen setting. </td></tr> Desired BPP for screen (only works in fullscreen). </td></tr>
</table> <tr><td valign=top><em>fullscreen</em>&nbsp;</td><td>
</dl> A bool for fullscreen setting. </td></tr>
</td> </table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a1" doxytag="ZE::ZEngine::SetupSound"></a><p> <a name="a1" doxytag="ZE::ZEngine::SetupSound"></a><p>
@ -374,24 +367,23 @@ Sets display parameters to specified parameters. (called before CreateDisplay)
<td> <td>
<p> <p>
Set sound settings to specified parameters. (called before CreateDisplay) Set sound settings to specified parameters. (called before CreateDisplay)<dl compact><dt><b>Parameters: </b></dt><dd>
<p> <table border=0 cellspacing=2 cellpadding=0>
<dl compact><dt><b>Parameters:</b></dt><dd> <tr><td valign=top><em>rate</em>&nbsp;</td><td>
<table border="0" cellspacing="2" cellpadding="0"> Desired sound bitrate. </td></tr>
<tr><td valign=top><em>rate</em>&nbsp;</td><td>Desired sound bitrate. </td></tr> <tr><td valign=top><em>stereo</em>&nbsp;</td><td>
<tr><td valign=top><em>stereo</em>&nbsp;</td><td>A bool for stereo setting. </td></tr> A bool for stereo setting. </td></tr>
</table> </table>
</dl> </dl> </td>
</td>
</tr> </tr>
</table> </table>
<a name="a2" doxytag="ZE::ZEngine::CreateWindow"></a><p> <a name="a2" doxytag="ZE::ZEngine::CreateDisplay"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> void ZE::ZEngine::CreateWindow </td> <td class="md" nowrap valign="top"> void ZE::ZEngine::CreateDisplay </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td> <td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>title</em>, </td> <td class="mdname" nowrap>&nbsp; <em>title</em>, </td>
@ -420,24 +412,23 @@ Set sound settings to specified parameters. (called before CreateDisplay)
<td> <td>
<p> <p>
SetupDisplay and SetupSound should be called prior to this to change settings, settings from those do not go into effect until this function is called. Specify no icon file to use default OS icon. SetupDisplay and SetupSound should be called prior to this to change settings, settings from those do not go into effect until this function is called. Specify no icon file to use default OS icon.<dl compact><dt><b>Parameters: </b></dt><dd>
<p> <table border=0 cellspacing=2 cellpadding=0>
<dl compact><dt><b>Parameters:</b></dt><dd> <tr><td valign=top><em>title</em>&nbsp;</td><td>
<table border="0" cellspacing="2" cellpadding="0"> Window Title. </td></tr>
<tr><td valign=top><em>title</em>&nbsp;</td><td>Window Title. </td></tr> <tr><td valign=top><em>icon</em>&nbsp;</td><td>
<tr><td valign=top><em>icon</em>&nbsp;</td><td>Path to Icon File. </td></tr> Path to Icon File. </td></tr>
</table> </table>
</dl> </dl> </td>
</td>
</tr> </tr>
</table> </table>
<a name="a3" doxytag="ZE::ZEngine::CloseWindow"></a><p> <a name="a3" doxytag="ZE::ZEngine::CloseDisplay"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> void ZE::ZEngine::CloseWindow </td> <td class="md" nowrap valign="top"> void ZE::ZEngine::CloseDisplay </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
@ -459,13 +450,13 @@ SetupDisplay and SetupSound should be called prior to this to change settings, s
Shut down SDL (and SDL_ttf,SDL_mixer if necessary). </td> Shut down SDL (and SDL_ttf,SDL_mixer if necessary). </td>
</tr> </tr>
</table> </table>
<a name="a4" doxytag="ZE::ZEngine::GetDisplay"></a><p> <a name="a4" doxytag="ZE::ZEngine::Display"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> SDL_Surface * ZE::ZEngine::GetDisplay </td> <td class="md" nowrap valign="top"> SDL_Surface * ZE::ZEngine::Display </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
@ -484,8 +475,8 @@ Shut down SDL (and SDL_ttf,SDL_mixer if necessary). </td>
<td> <td>
<p> <p>
Get pointer to screen SDL_Surface, allowing direct screen manipulation using SDL. <dl compact><dt><b>Returns:</b></dt><dd>Pointer to Display Surface. </dd></dl> Get pointer to screen SDL_Surface, allowing direct screen manipulation using SDL. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Pointer to Display Surface. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a5" doxytag="ZE::ZEngine::UpdateScreen"></a><p> <a name="a5" doxytag="ZE::ZEngine::UpdateScreen"></a><p>
@ -516,68 +507,7 @@ Get pointer to screen SDL_Surface, allowing direct screen manipulation using SDL
Flip double buffer in SDL if double buffered, otherwise tell video to refresh entire screen. </td> Flip double buffer in SDL if double buffered, otherwise tell video to refresh entire screen. </td>
</tr> </tr>
</table> </table>
<a name="a6" doxytag="ZE::ZEngine::MapColor"></a><p> <a name="a6" doxytag="ZE::ZEngine::Clear"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Uint32 ZE::ZEngine::MapColor </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">Uint8&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>r</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint8&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>g</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint8&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>b</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint8&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>a</em> = 255</td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Turn RGBA values into SDL Uint32 color. (Alpha value will be ignored if not in use)
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>r</em>&nbsp;</td><td>Red component of color (0-255). </td></tr>
<tr><td valign=top><em>g</em>&nbsp;</td><td>Green component of color (0-255). </td></tr>
<tr><td valign=top><em>b</em>&nbsp;</td><td>Blue component of color (0-255). </td></tr>
<tr><td valign=top><em>a</em>&nbsp;</td><td>Alpha (translucency) component of color (0-255). [Default 255] </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Uint32 of color requested. </dd></dl>
</td>
</tr>
</table>
<a name="a7" doxytag="ZE::ZEngine::Clear"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
@ -585,14 +515,26 @@ Turn RGBA values into SDL Uint32 color. (Alpha value will be ignored if not in u
<tr> <tr>
<td class="md" nowrap valign="top"> void ZE::ZEngine::Clear </td> <td class="md" nowrap valign="top"> void ZE::ZEngine::Clear </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">Uint32&nbsp;</td> <td class="md" nowrap valign="top">float&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>color</em> = 0, </td> <td class="mdname" nowrap>&nbsp; <em>red</em> = 0.0f, </td>
</tr> </tr>
<tr> <tr>
<td></td> <td></td>
<td></td> <td></td>
<td class="md" nowrap>SDL_Rect *&nbsp;</td> <td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>rect</em> = NULL</td> <td class="mdname" nowrap>&nbsp; <em>green</em> = 0.0f, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>blue</em> = 0.0f, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>alpha</em> = 1.0f</td>
</tr> </tr>
<tr> <tr>
<td></td> <td></td>
@ -612,22 +554,55 @@ Turn RGBA values into SDL Uint32 color. (Alpha value will be ignored if not in u
<td> <td>
<p> <p>
Clears a rectangle on screen to a color. <dl compact><dt><b>Parameters:</b></dt><dd> Clears a rectangle on screen to a color, defaults to solid black. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>color</em>&nbsp;</td><td>Color to clear surface to, defaults to black. </td></tr> <tr><td valign=top><em>red</em>&nbsp;</td><td>
<tr><td valign=top><em>rect</em>&nbsp;</td><td>Rectangle of screen to clear or NULL for entire surface. </td></tr> Red component (0.0-1.0) of new color. </td></tr>
</table> <tr><td valign=top><em>green</em>&nbsp;</td><td>
</dl> Green component (0.0-1.0) of new color. </td></tr>
</td> <tr><td valign=top><em>blue</em>&nbsp;</td><td>
Blue component (0.0-1.0) of new color. </td></tr>
<tr><td valign=top><em>alpha</em>&nbsp;</td><td>
Alpha component (0.0-1.0) of new color. </td></tr>
</table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a8" doxytag="ZE::ZEngine::Sleep"></a><p> <a name="a7" doxytag="ZE::ZEngine::SetGL2D"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> void ZE::ZEngine::Sleep </td> <td class="md" nowrap valign="top"> void ZE::ZEngine::SetGL2D </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets the OpenGL scaled orthographic mode, called once at beginning, no need to call unless you change the OpenGL mode manually. </td>
</tr>
</table>
<a name="a8" doxytag="ZE::ZEngine::Delay"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void ZE::ZEngine::Delay </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">Uint32&nbsp;</td> <td class="md" nowrap valign="top">Uint32&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>milliseconds</em> </td> <td class="mdname1" valign="top" nowrap>&nbsp; <em>milliseconds</em> </td>
@ -647,12 +622,12 @@ Clears a rectangle on screen to a color. <dl compact><dt><b>Parameters:</b></dt>
<td> <td>
<p> <p>
Freeze everything for given number of milliseconds. <dl compact><dt><b>Parameters:</b></dt><dd> Freeze everything for given number of milliseconds. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>milliseconds</em>&nbsp;</td><td>Number of milliseconds to freeze. </td></tr> <tr><td valign=top><em>milliseconds</em>&nbsp;</td><td>
</table> Number of milliseconds to freeze. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<a name="a9" doxytag="ZE::ZEngine::GetTime"></a><p> <a name="a9" doxytag="ZE::ZEngine::GetTime"></a><p>
@ -680,8 +655,8 @@ Freeze everything for given number of milliseconds. <dl compact><dt><b>Parameter
<td> <td>
<p> <p>
Get active time since <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> initialization in milliseconds, paused time doesn't count. <dl compact><dt><b>Returns:</b></dt><dd>Number of active milliseconds since initialization. </dd></dl> Get active time since <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> initialization in milliseconds, paused time doesn't count. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Number of active milliseconds since initialization. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a10" doxytag="ZE::ZEngine::PauseTimer"></a><p> <a name="a10" doxytag="ZE::ZEngine::PauseTimer"></a><p>
@ -765,8 +740,8 @@ Unpause <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> timer and all <
<td> <td>
<p> <p>
Get double that describes the time passed between screen updates. (used for Framerate Independant Movement) <dl compact><dt><b>Returns:</b></dt><dd>Time between screen updates. </dd></dl> Get double that describes the time passed between screen updates. (used for Framerate Independant Movement) <dl compact><dt><b>Returns: </b></dt><dd>
</td> Time between screen updates. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a13" doxytag="ZE::ZEngine::IsPaused"></a><p> <a name="a13" doxytag="ZE::ZEngine::IsPaused"></a><p>
@ -794,8 +769,8 @@ Get double that describes the time passed between screen updates. (used for Fram
<td> <td>
<p> <p>
Find out if engine timer is paused. <dl compact><dt><b>Returns:</b></dt><dd>Paused State of engine. </dd></dl> Find out if engine timer is paused. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Paused State of engine. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a14" doxytag="ZE::ZEngine::IsActive"></a><p> <a name="a14" doxytag="ZE::ZEngine::IsActive"></a><p>
@ -823,8 +798,8 @@ Find out if engine timer is paused. <dl compact><dt><b>Returns:</b></dt><dd>Paus
<td> <td>
<p> <p>
Function to find out if application currently has focus. <dl compact><dt><b>Returns:</b></dt><dd>bool telling active/inactive state of application. </dd></dl> Function to find out if application currently has focus. <dl compact><dt><b>Returns: </b></dt><dd>
</td> bool telling active/inactive state of application. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a15" doxytag="ZE::ZEngine::RequestQuit"></a><p> <a name="a15" doxytag="ZE::ZEngine::RequestQuit"></a><p>
@ -852,7 +827,7 @@ Function to find out if application currently has focus. <dl compact><dt><b>Retu
<td> <td>
<p> <p>
Tell the engine that it should behave as if a Quit was requested, does not call any shutdown functions. </td> Tell the engine that it should behave as if a Quit was requested, does not call any shutdown functions. </td>
</tr> </tr>
</table> </table>
<a name="a16" doxytag="ZE::ZEngine::QuitRequested"></a><p> <a name="a16" doxytag="ZE::ZEngine::QuitRequested"></a><p>
@ -880,8 +855,8 @@ Tell the engine that it should behave as if a Quit was requested, does not call
<td> <td>
<p> <p>
Function to find out if user or operating system has requested program cease execution, can be set by Alt-F4, SDL_Quit event or <a class="el" href="classZE_1_1ZEngine.html#a15">ZEngine::RequestQuit()</a>. <dl compact><dt><b>Returns:</b></dt><dd>bool telling if quit has been requested. </dd></dl> Function to find out if user or operating system has requested program cease execution, can be set by Alt-F4, SDL_Quit event or <a class="el" href="classZE_1_1ZEngine.html#a15">ZEngine::RequestQuit()</a>. <dl compact><dt><b>Returns: </b></dt><dd>
</td> bool telling if quit has been requested. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a17" doxytag="ZE::ZEngine::KeyIsPressed"></a><p> <a name="a17" doxytag="ZE::ZEngine::KeyIsPressed"></a><p>
@ -910,13 +885,13 @@ Function to find out if user or operating system has requested program cease exe
<td> <td>
<p> <p>
Function returns true/false based on if key is pressed or not. <dl compact><dt><b>Parameters:</b></dt><dd> Function returns true/false based on if key is &lt;u&gt;currently&lt;/u&gt; pressed or not. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>key</em>&nbsp;</td><td>code of key to find status of. </td></tr> <tr><td valign=top><em>key</em>&nbsp;</td><td>
</table> code of key to find status of. </td></tr>
</dl> </table>
<dl compact><dt><b>Returns:</b></dt><dd>bool state of requested key. </dd></dl> </dl><dl compact><dt><b>Returns: </b></dt><dd>
</td> bool state of requested key. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a18" doxytag="ZE::ZEngine::HideCursor"></a><p> <a name="a18" doxytag="ZE::ZEngine::HideCursor"></a><p>
@ -975,13 +950,13 @@ Hide the system mouse cursor. </td>
Show the system mouse cursor. </td> Show the system mouse cursor. </td>
</tr> </tr>
</table> </table>
<a name="a20" doxytag="ZE::ZEngine::GetMouseX"></a><p> <a name="a20" doxytag="ZE::ZEngine::MouseX"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> int ZE::ZEngine::GetMouseX </td> <td class="md" nowrap valign="top"> int ZE::ZEngine::MouseX </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
@ -1000,17 +975,17 @@ Show the system mouse cursor. </td>
<td> <td>
<p> <p>
Find X Position of Mouse on screen. <dl compact><dt><b>Returns:</b></dt><dd>X Position of Mouse. </dd></dl> Find X Position of Mouse on screen. <dl compact><dt><b>Returns: </b></dt><dd>
</td> X Position of Mouse. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a21" doxytag="ZE::ZEngine::GetMouseY"></a><p> <a name="a21" doxytag="ZE::ZEngine::MouseY"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> int ZE::ZEngine::GetMouseY </td> <td class="md" nowrap valign="top"> int ZE::ZEngine::MouseY </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
@ -1029,8 +1004,8 @@ Find X Position of Mouse on screen. <dl compact><dt><b>Returns:</b></dt><dd>X Po
<td> <td>
<p> <p>
Find Y Position of Mouse on screen. <dl compact><dt><b>Returns:</b></dt><dd>Y Position of Mouse. </dd></dl> Find Y Position of Mouse on screen. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Y Position of Mouse. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a22" doxytag="ZE::ZEngine::LButtonPressed"></a><p> <a name="a22" doxytag="ZE::ZEngine::LButtonPressed"></a><p>
@ -1058,8 +1033,8 @@ Find Y Position of Mouse on screen. <dl compact><dt><b>Returns:</b></dt><dd>Y Po
<td> <td>
<p> <p>
Get pressed status of left button of mouse. <dl compact><dt><b>Returns:</b></dt><dd>true if left button is pressed, false otherwise. </dd></dl> Get pressed status of left button of mouse. <dl compact><dt><b>Returns: </b></dt><dd>
</td> true if left button is pressed, false otherwise. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a23" doxytag="ZE::ZEngine::RButtonPressed"></a><p> <a name="a23" doxytag="ZE::ZEngine::RButtonPressed"></a><p>
@ -1087,8 +1062,8 @@ Get pressed status of left button of mouse. <dl compact><dt><b>Returns:</b></dt>
<td> <td>
<p> <p>
Get pressed status of right button of mouse. <dl compact><dt><b>Returns:</b></dt><dd>true if right button is pressed, false otherwise. </dd></dl> Get pressed status of right button of mouse. <dl compact><dt><b>Returns: </b></dt><dd>
</td> true if right button is pressed, false otherwise. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a24" doxytag="ZE::ZEngine::MouseInRect"></a><p> <a name="a24" doxytag="ZE::ZEngine::MouseInRect"></a><p>
@ -1117,13 +1092,13 @@ Get pressed status of right button of mouse. <dl compact><dt><b>Returns:</b></dt
<td> <td>
<p> <p>
Return status of mouse in current rectangle (used for buttons) <dl compact><dt><b>Parameters:</b></dt><dd> Return status of mouse in current rectangle (used for buttons) <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>rect</em>&nbsp;</td><td>Rectangle to check if mouse is in. </td></tr> <tr><td valign=top><em>rect</em>&nbsp;</td><td>
</table> Rectangle to check if mouse is in. </td></tr>
</dl> </table>
<dl compact><dt><b>Returns:</b></dt><dd>true if mouse is in rectangle, false otherwise </dd></dl> </dl><dl compact><dt><b>Returns: </b></dt><dd>
</td> true if mouse is in rectangle, false otherwise </dl> </td>
</tr> </tr>
</table> </table>
<a name="a25" doxytag="ZE::ZEngine::CheckEvents"></a><p> <a name="a25" doxytag="ZE::ZEngine::CheckEvents"></a><p>
@ -1160,7 +1135,7 @@ Cycle through event queue, processing events, updating all Event Related variabl
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> <a class="el" href="classZE_1_1ImageData.html">ImageData</a> ZE::ZEngine::LoadImage </td> <td class="md" nowrap valign="top"> SDL_Surface * ZE::ZEngine::LoadImage </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td> <td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>filename</em> </td> <td class="mdname1" valign="top" nowrap>&nbsp; <em>filename</em> </td>
@ -1180,56 +1155,22 @@ Cycle through event queue, processing events, updating all Event Related variabl
<td> <td>
<p> <p>
Loads an Image to an <a class="el" href="classZE_1_1ImageData.html">ImageData</a> class which keeps vital information on the Image. <dl compact><dt><b>Parameters:</b></dt><dd> Loads an Image to an ImageData class which keeps vital information on the Image. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>filename</em>&nbsp;</td><td>path to file to load. </td></tr> <tr><td valign=top><em>filename</em>&nbsp;</td><td>
</table> path to file to load. </td></tr>
</dl> </table>
<dl compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classZE_1_1ImageData.html">ImageData</a> class containing filename and pointer to data. </dd></dl> </dl><dl compact><dt><b>Returns: </b></dt><dd>
</td> A SDL_Surface pointer to data. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a27" doxytag="ZE::ZEngine::FreeImage"></a><p> <a name="a27" doxytag="ZE::ZEngine::LoadSound"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> void ZE::ZEngine::FreeImage </td> <td class="md" nowrap valign="top"> Mix_Chunk* ZE::ZEngine::LoadSound </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classZE_1_1ImageData.html">ImageData</a> &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>image</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Free memory of an Image in an <a class="el" href="classZE_1_1ImageData.html">ImageData</a> class. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>image</em>&nbsp;</td><td><a class="el" href="classZE_1_1ImageData.html">ImageData</a> structure of image to free. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a28" doxytag="ZE::ZEngine::LoadSound"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classZE_1_1SoundData.html">SoundData</a> ZE::ZEngine::LoadSound </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td> <td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>filename</em> </td> <td class="mdname1" valign="top" nowrap>&nbsp; <em>filename</em> </td>
@ -1249,56 +1190,22 @@ Free memory of an Image in an <a class="el" href="classZE_1_1ImageData.html">Ima
<td> <td>
<p> <p>
Loads a Sound to a <a class="el" href="classZE_1_1SoundData.html">SoundData</a> class which keeps vital information on the Sound <dl compact><dt><b>Parameters:</b></dt><dd> Loads a Sound to a SoundData class which keeps vital information on the Sound <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>filename</em>&nbsp;</td><td>path to file to load. </td></tr> <tr><td valign=top><em>filename</em>&nbsp;</td><td>
</table> path to file to load. </td></tr>
</dl> </table>
<dl compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classZE_1_1SoundData.html">SoundData</a> class containing filename and pointer to data. </dd></dl> </dl><dl compact><dt><b>Returns: </b></dt><dd>
</td> A Mix_Chunk pointer to data. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a29" doxytag="ZE::ZEngine::FreeSound"></a><p> <a name="a28" doxytag="ZE::ZEngine::LoadMusic"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> void ZE::ZEngine::FreeSound </td> <td class="md" nowrap valign="top"> Mix_Music* ZE::ZEngine::LoadMusic </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classZE_1_1SoundData.html">SoundData</a> &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>sound</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Free memory of a Sound in a <a class="el" href="classZE_1_1SoundData.html">SoundData</a> class. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>sound</em>&nbsp;</td><td><a class="el" href="classZE_1_1SoundData.html">SoundData</a> structure of sound to free. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a30" doxytag="ZE::ZEngine::LoadMusic"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classZE_1_1MusicData.html">MusicData</a> ZE::ZEngine::LoadMusic </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td> <td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>filename</em> </td> <td class="mdname1" valign="top" nowrap>&nbsp; <em>filename</em> </td>
@ -1318,56 +1225,22 @@ Free memory of a Sound in a <a class="el" href="classZE_1_1SoundData.html">Sound
<td> <td>
<p> <p>
Loads a Music Clip to a <a class="el" href="classZE_1_1MusicData.html">MusicData</a> class which keeps vital information on the Music Data <dl compact><dt><b>Parameters:</b></dt><dd> Loads a Music Clip to a MusicData class which keeps vital information on the Music Data <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>filename</em>&nbsp;</td><td>path to file to load. </td></tr> <tr><td valign=top><em>filename</em>&nbsp;</td><td>
</table> path to file to load. </td></tr>
</dl> </table>
<dl compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classZE_1_1MusicData.html">MusicData</a> class containing filename and pointer to data. </dd></dl> </dl><dl compact><dt><b>Returns: </b></dt><dd>
</td> A Mix_Music pointer to data. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a31" doxytag="ZE::ZEngine::FreeMusic"></a><p> <a name="a29" doxytag="ZE::ZEngine::LoadFont"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> void ZE::ZEngine::FreeMusic </td> <td class="md" nowrap valign="top"> TTF_Font* ZE::ZEngine::LoadFont </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classZE_1_1MusicData.html">MusicData</a> &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>music</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Free memory of Music in a <a class="el" href="classZE_1_1MusicData.html">MusicData</a> class. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>music</em>&nbsp;</td><td><a class="el" href="classZE_1_1MusicData.html">MusicData</a> structure of music to free. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a32" doxytag="ZE::ZEngine::LoadFont"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classZE_1_1FontData.html">FontData</a> ZE::ZEngine::LoadFont </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td> <td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>filename</em>, </td> <td class="mdname" nowrap>&nbsp; <em>filename</em>, </td>
@ -1396,57 +1269,24 @@ Free memory of Music in a <a class="el" href="classZE_1_1MusicData.html">MusicDa
<td> <td>
<p> <p>
Loads a Font to a <a class="el" href="classZE_1_1FontData.html">FontData</a> class which keeps vital information on the Font <dl compact><dt><b>Parameters:</b></dt><dd> Loads a Font to a FontData class which keeps vital information on the Font <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>filename</em>&nbsp;</td><td>path to file to load. </td></tr> <tr><td valign=top><em>filename</em>&nbsp;</td><td>
<tr><td valign=top><em>size</em>&nbsp;</td><td>point size of font </td></tr> path to file to load. </td></tr>
</table> <tr><td valign=top><em>size</em>&nbsp;</td><td>
</dl> point size of font </td></tr>
<dl compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classZE_1_1FontData.html">FontData</a> class containing filename and pointer to data. </dd></dl> </table>
</td> </dl><dl compact><dt><b>Returns: </b></dt><dd>
A TTF_Font pointer to data. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a33" doxytag="ZE::ZEngine::FreeFont"></a><p> <a name="a30" doxytag="ZE::ZEngine::Width"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> void ZE::ZEngine::FreeFont </td> <td class="md" nowrap valign="top"> int ZE::ZEngine::Width </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classZE_1_1FontData.html">FontData</a> &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>font</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Free memory of a Font in a <a class="el" href="classZE_1_1FontData.html">FontData</a> class. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>font</em>&nbsp;</td><td><a class="el" href="classZE_1_1FontData.html">FontData</a> structure of font to free. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a34" doxytag="ZE::ZEngine::GetWidth"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> int ZE::ZEngine::GetWidth </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
@ -1465,17 +1305,17 @@ Free memory of a Font in a <a class="el" href="classZE_1_1FontData.html">FontDat
<td> <td>
<p> <p>
Get Width of Window or Fullscreen mode. <dl compact><dt><b>Returns:</b></dt><dd>Width of Display. </dd></dl> Get Width of Window or Fullscreen mode. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Width of Display. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a35" doxytag="ZE::ZEngine::GetHeight"></a><p> <a name="a31" doxytag="ZE::ZEngine::Height"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> int ZE::ZEngine::GetHeight </td> <td class="md" nowrap valign="top"> int ZE::ZEngine::Height </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
@ -1494,17 +1334,17 @@ Get Width of Window or Fullscreen mode. <dl compact><dt><b>Returns:</b></dt><dd>
<td> <td>
<p> <p>
Get Height of Window or Fullscreen mode. <dl compact><dt><b>Returns:</b></dt><dd>Height of Display. </dd></dl> Get Height of Window or Fullscreen mode. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Height of Display. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a36" doxytag="ZE::ZEngine::GetBPP"></a><p> <a name="a32" doxytag="ZE::ZEngine::BPP"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> int ZE::ZEngine::GetBPP </td> <td class="md" nowrap valign="top"> int ZE::ZEngine::BPP </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
@ -1523,11 +1363,11 @@ Get Height of Window or Fullscreen mode. <dl compact><dt><b>Returns:</b></dt><dd
<td> <td>
<p> <p>
Get BPP of Window or Fullscreen mode. <dl compact><dt><b>Returns:</b></dt><dd>BPP of Display. </dd></dl> Get BPP of Window or Fullscreen mode. <dl compact><dt><b>Returns: </b></dt><dd>
</td> BPP of Display. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a37" doxytag="ZE::ZEngine::IsFullscreen"></a><p> <a name="a33" doxytag="ZE::ZEngine::IsFullscreen"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
@ -1552,15 +1392,15 @@ Get BPP of Window or Fullscreen mode. <dl compact><dt><b>Returns:</b></dt><dd>BP
<td> <td>
<p> <p>
Get Fullscreen setting of Display. <dl compact><dt><b>Returns:</b></dt><dd>True if Fullscreen, False if Windowed </dd></dl> Get Fullscreen setting of Display. <dl compact><dt><b>Returns: </b></dt><dd>
</td> True if Fullscreen, False if Windowed </dl> </td>
</tr> </tr>
</table> </table>
<hr>The documentation for this class was generated from the following files:<ul> <hr>The documentation for this class was generated from the following files:<ul>
<li>/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZEngine_8h-source.html">ZE_ZEngine.h</a><li>/home/James/ZEngine-dev/src/<a class="el" href="ZE__ZEngine_8cpp.html">ZE_ZEngine.cpp</a></ul> <li>/include/<a class="el" href="ZE__ZEngine_8h-source.html">ZE_ZEngine.h</a><li>/src/<a class="el" href="ZE__ZEngine_8cpp.html">ZE_ZEngine.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,38 +3,39 @@
<title>Member List</title> <title>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZFont Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a>, including all inherited members.<table> <hr><h1>ZE::ZFont Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a6">DrawShadedText</a>(string text, ZImage &amp;image)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a6">DrawShadedText</a>(string text, ZImage &amp;image)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a5">DrawText</a>(string text, ZImage &amp;image)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a5">DrawText</a>(string text, ZImage &amp;image)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a15">GetHeight</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a15">Height</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a16">GetLineSkip</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a18">GetStringHeight</a>(string text)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a17">GetStringWidth</a>(string text)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a12">IsBold</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a12">IsBold</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a13">IsItalic</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a13">IsItalic</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a11">IsLoaded</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a11">IsLoaded</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a14">IsUnderlined</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a14">IsUnderlined</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a16">LineSkip</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a3">Open</a>(string filename, int size)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a3">Open</a>(string filename, int size)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#n2">rBGColor</a></td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td><code> [protected]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#n3">rBGColor</a></td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#n1">rColor</a></td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td><code> [protected]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#n2">rColor</a></td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a4">Release</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a4">Release</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#n0">rEngine</a></td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [protected]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#n0">rEngine</a></td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a10">Resize</a>(int size)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a10">Resize</a>(int size)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#n1">rFilename</a></td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#n0">rFont</a></td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td><code> [protected]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#n0">rFont</a></td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a8">SetBGColor</a>(Uint8 r, Uint8 g, Uint8 b)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a8">SetBGColor</a>(Uint8 r, Uint8 g, Uint8 b)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a7">SetColor</a>(Uint8 r, Uint8 g, Uint8 b)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a7">SetColor</a>(Uint8 r, Uint8 g, Uint8 b)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a9">SetStyle</a>(bool bold, bool italic, bool underline)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a9">SetStyle</a>(bool bold, bool italic, bool underline)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a18">StringHeight</a>(string text)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a17">StringWidth</a>(string text)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a0">ZFont</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a0">ZFont</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a1">ZFont</a>(string filename, int size)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a1">ZFont</a>(string filename, int size)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a0">ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a0">ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a2">~ZFont</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a2">~ZFont</a>()</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a1">~ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline, virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a1">~ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline, virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by </table><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
<title>ZE::ZFont class Reference</title> <title>ZE::ZFont class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZFont Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZFont_8h-source.html">ZE_ZFont.h</a>&gt;</code> <hr><h1>ZE::ZFont Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZFont_8h-source.html">ZE_ZFont.h</a>&gt;</code>
@ -46,23 +46,26 @@ Inherits <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>.
<tr><td>&nbsp;</td><td><font size=-1><em>Get Italic Setting.</em> <a href="#a13"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get Italic Setting.</em> <a href="#a13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a14">IsUnderlined</a> ()</td></tr> <tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a14">IsUnderlined</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Underlined Setting.</em> <a href="#a14"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get Underlined Setting.</em> <a href="#a14"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a15">GetHeight</a> ()</td></tr> <tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a15">Height</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Height of Font.</em> <a href="#a15"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get Height of Font.</em> <a href="#a15"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a16">GetLineSkip</a> ()</td></tr> <tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a16">LineSkip</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Line Skip for Font.</em> <a href="#a16"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get Line Skip for Font.</em> <a href="#a16"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a17">GetStringWidth</a> (string text)</td></tr> <tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a17">StringWidth</a> (string text)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get String Width.</em> <a href="#a17"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get String Width.</em> <a href="#a17"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a18">GetStringHeight</a> (string text)</td></tr> <tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a18">StringHeight</a> (string text)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get String Height.</em> <a href="#a18"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get String Height.</em> <a href="#a18"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="ZE::ZFont::rFont"></a> <tr><td nowrap align=right valign=top><a name="n0" doxytag="ZE::ZFont::rFont"></a>
<a class="el" href="classZE_1_1FontData.html">FontData</a>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n0">rFont</a></td></tr> TTF_Font *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n0">rFont</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Class containing font and filename.</em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Pointer to font data.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="ZE::ZFont::rColor"></a> <tr><td nowrap align=right valign=top><a name="n1" doxytag="ZE::ZFont::rFilename"></a>
SDL_Color&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n1">rColor</a></td></tr> string&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n1">rFilename</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Filename, for resizing.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="ZE::ZFont::rColor"></a>
SDL_Color&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n2">rColor</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>SDL_Color for current text color.</em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>SDL_Color for current text color.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="ZE::ZFont::rBGColor"></a> <tr><td nowrap align=right valign=top><a name="n3" doxytag="ZE::ZFont::rBGColor"></a>
SDL_Color&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n2">rBGColor</a></td></tr> SDL_Color&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n3">rBGColor</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>SDL_Color for background color to be used in shaded draws.</em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>SDL_Color for background color to be used in shaded draws.</em></font><br><br></td></tr>
</table> </table>
<hr><h2>Constructor &amp; Destructor Documentation</h2> <hr><h2>Constructor &amp; Destructor Documentation</h2>
@ -129,13 +132,14 @@ Default Constructor, does nothing. </td>
<td> <td>
<p> <p>
Constructor simply calls <a class="el" href="classZE_1_1ZFont.html#a3">ZFont::Open()</a> with same parameters. <dl compact><dt><b>Parameters:</b></dt><dd> Constructor simply calls <a class="el" href="classZE_1_1ZFont.html#a3">ZFont::Open()</a> with same parameters. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>filename</em>&nbsp;</td><td>Font to open. </td></tr> <tr><td valign=top><em>filename</em>&nbsp;</td><td>
<tr><td valign=top><em>size</em>&nbsp;</td><td>Size to use for font. </td></tr> Font to open. </td></tr>
</table> <tr><td valign=top><em>size</em>&nbsp;</td><td>
</dl> Size to use for font. </td></tr>
</td> </table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a2" doxytag="ZE::ZFont::~ZFont"></a><p> <a name="a2" doxytag="ZE::ZFont::~ZFont"></a><p>
@ -202,13 +206,14 @@ Destructor calls <a class="el" href="classZE_1_1ZFont.html#a4">ZFont::Release()<
<td> <td>
<p> <p>
Opens a font given a filename and a point size. <dl compact><dt><b>Parameters:</b></dt><dd> Opens a font given a filename and a point size. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>filename</em>&nbsp;</td><td>Font to open. </td></tr> <tr><td valign=top><em>filename</em>&nbsp;</td><td>
<tr><td valign=top><em>size</em>&nbsp;</td><td>Size to use for font. </td></tr> Font to open. </td></tr>
</table> <tr><td valign=top><em>size</em>&nbsp;</td><td>
</dl> Size to use for font. </td></tr>
</td> </table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a4" doxytag="ZE::ZFont::Release"></a><p> <a name="a4" doxytag="ZE::ZFont::Release"></a><p>
@ -274,13 +279,14 @@ Release memory held by font. </td>
<td> <td>
<p> <p>
Draw to a surface in specified color and associate that surface with a <a class="el" href="classZE_1_1ZImage.html">ZImage</a>. <dl compact><dt><b>Parameters:</b></dt><dd> Draw to a surface in specified color and associate that surface with a <a class="el" href="classZE_1_1ZImage.html">ZImage</a>. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>text</em>&nbsp;</td><td>String to write. </td></tr> <tr><td valign=top><em>text</em>&nbsp;</td><td>
<tr><td valign=top><em>image</em>&nbsp;</td><td><a class="el" href="classZE_1_1ZImage.html">ZImage</a> to draw to. </td></tr> String to write. </td></tr>
</table> <tr><td valign=top><em>image</em>&nbsp;</td><td>
</dl> <a class="el" href="classZE_1_1ZImage.html">ZImage</a> to draw to. </td></tr>
</td> </table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a6" doxytag="ZE::ZFont::DrawShadedText"></a><p> <a name="a6" doxytag="ZE::ZFont::DrawShadedText"></a><p>
@ -318,13 +324,14 @@ Draw to a surface in specified color and associate that surface with a <a class=
<td> <td>
<p> <p>
Draw to a surface a string with a background of rBGColor and lettering in the normal color and associate that surface with a <a class="el" href="classZE_1_1ZImage.html">ZImage</a>. <dl compact><dt><b>Parameters:</b></dt><dd> Draw to a surface a string with a background of rBGColor and lettering in the normal color and associate that surface with a <a class="el" href="classZE_1_1ZImage.html">ZImage</a>. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>text</em>&nbsp;</td><td>String to write. </td></tr> <tr><td valign=top><em>text</em>&nbsp;</td><td>
<tr><td valign=top><em>image</em>&nbsp;</td><td><a class="el" href="classZE_1_1ZImage.html">ZImage</a> to draw to. </td></tr> String to write. </td></tr>
</table> <tr><td valign=top><em>image</em>&nbsp;</td><td>
</dl> <a class="el" href="classZE_1_1ZImage.html">ZImage</a> to draw to. </td></tr>
</td> </table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a7" doxytag="ZE::ZFont::SetColor"></a><p> <a name="a7" doxytag="ZE::ZFont::SetColor"></a><p>
@ -368,14 +375,16 @@ Draw to a surface a string with a background of rBGColor and lettering in the no
<td> <td>
<p> <p>
Set rColor of Text Output. <dl compact><dt><b>Parameters:</b></dt><dd> Set rColor of Text Output. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>r</em>&nbsp;</td><td>Red component of color (0-255). </td></tr> <tr><td valign=top><em>r</em>&nbsp;</td><td>
<tr><td valign=top><em>g</em>&nbsp;</td><td>Green component of color (0-255). </td></tr> Red component of color (0-255). </td></tr>
<tr><td valign=top><em>b</em>&nbsp;</td><td>Blue component of color (0-255). </td></tr> <tr><td valign=top><em>g</em>&nbsp;</td><td>
</table> Green component of color (0-255). </td></tr>
</dl> <tr><td valign=top><em>b</em>&nbsp;</td><td>
</td> Blue component of color (0-255). </td></tr>
</table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a8" doxytag="ZE::ZFont::SetBGColor"></a><p> <a name="a8" doxytag="ZE::ZFont::SetBGColor"></a><p>
@ -419,14 +428,16 @@ Set rColor of Text Output. <dl compact><dt><b>Parameters:</b></dt><dd>
<td> <td>
<p> <p>
Set rColor of Background for Shaded Draw. <dl compact><dt><b>Parameters:</b></dt><dd> Set rColor of Background for Shaded Draw. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>r</em>&nbsp;</td><td>Red component of color (0-255). </td></tr> <tr><td valign=top><em>r</em>&nbsp;</td><td>
<tr><td valign=top><em>g</em>&nbsp;</td><td>Green component of color (0-255). </td></tr> Red component of color (0-255). </td></tr>
<tr><td valign=top><em>b</em>&nbsp;</td><td>Blue component of color (0-255). </td></tr> <tr><td valign=top><em>g</em>&nbsp;</td><td>
</table> Green component of color (0-255). </td></tr>
</dl> <tr><td valign=top><em>b</em>&nbsp;</td><td>
</td> Blue component of color (0-255). </td></tr>
</table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a9" doxytag="ZE::ZFont::SetStyle"></a><p> <a name="a9" doxytag="ZE::ZFont::SetStyle"></a><p>
@ -470,14 +481,16 @@ Set rColor of Background for Shaded Draw. <dl compact><dt><b>Parameters:</b></dt
<td> <td>
<p> <p>
Set display format (bold, italic, underline). <dl compact><dt><b>Parameters:</b></dt><dd> Set display format (bold, italic, underline). <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>bold</em>&nbsp;</td><td>Decides bold setting of font. </td></tr> <tr><td valign=top><em>bold</em>&nbsp;</td><td>
<tr><td valign=top><em>italic</em>&nbsp;</td><td>Decides italic setting of font. </td></tr> Decides bold setting of font. </td></tr>
<tr><td valign=top><em>underline</em>&nbsp;</td><td>Decides underline setting of font. </td></tr> <tr><td valign=top><em>italic</em>&nbsp;</td><td>
</table> Decides italic setting of font. </td></tr>
</dl> <tr><td valign=top><em>underline</em>&nbsp;</td><td>
</td> Decides underline setting of font. </td></tr>
</table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a10" doxytag="ZE::ZFont::Resize"></a><p> <a name="a10" doxytag="ZE::ZFont::Resize"></a><p>
@ -506,12 +519,12 @@ Set display format (bold, italic, underline). <dl compact><dt><b>Parameters:</b>
<td> <td>
<p> <p>
Release and Reopen font in new size. <dl compact><dt><b>Parameters:</b></dt><dd> Release and Reopen font in new size. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>size</em>&nbsp;</td><td>New size for font. </td></tr> <tr><td valign=top><em>size</em>&nbsp;</td><td>
</table> New size for font. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<a name="a11" doxytag="ZE::ZFont::IsLoaded"></a><p> <a name="a11" doxytag="ZE::ZFont::IsLoaded"></a><p>
@ -539,8 +552,8 @@ Release and Reopen font in new size. <dl compact><dt><b>Parameters:</b></dt><dd>
<td> <td>
<p> <p>
Check if file is loaded and pointer to data is non-NULL. <dl compact><dt><b>Returns:</b></dt><dd>Loaded or Unloaded state of data. </dd></dl> Check if file is loaded and pointer to data is non-NULL. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Loaded or Unloaded state of data. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a12" doxytag="ZE::ZFont::IsBold"></a><p> <a name="a12" doxytag="ZE::ZFont::IsBold"></a><p>
@ -568,8 +581,8 @@ Check if file is loaded and pointer to data is non-NULL. <dl compact><dt><b>Retu
<td> <td>
<p> <p>
Check if font output is currently bold. <dl compact><dt><b>Returns:</b></dt><dd>True or False state of bold. </dd></dl> Check if font output is currently bold. <dl compact><dt><b>Returns: </b></dt><dd>
</td> True or False state of bold. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a13" doxytag="ZE::ZFont::IsItalic"></a><p> <a name="a13" doxytag="ZE::ZFont::IsItalic"></a><p>
@ -597,8 +610,8 @@ Check if font output is currently bold. <dl compact><dt><b>Returns:</b></dt><dd>
<td> <td>
<p> <p>
Check if font output is currently italic. <dl compact><dt><b>Returns:</b></dt><dd>True or False state of italic. </dd></dl> Check if font output is currently italic. <dl compact><dt><b>Returns: </b></dt><dd>
</td> True or False state of italic. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a14" doxytag="ZE::ZFont::IsUnderlined"></a><p> <a name="a14" doxytag="ZE::ZFont::IsUnderlined"></a><p>
@ -626,17 +639,17 @@ Check if font output is currently italic. <dl compact><dt><b>Returns:</b></dt><d
<td> <td>
<p> <p>
Check if font output is currently underline. <dl compact><dt><b>Returns:</b></dt><dd>True or False state of underline. </dd></dl> Check if font output is currently underline. <dl compact><dt><b>Returns: </b></dt><dd>
</td> True or False state of underline. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a15" doxytag="ZE::ZFont::GetHeight"></a><p> <a name="a15" doxytag="ZE::ZFont::Height"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> int ZE::ZFont::GetHeight </td> <td class="md" nowrap valign="top"> int ZE::ZFont::Height </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
@ -655,17 +668,17 @@ Check if font output is currently underline. <dl compact><dt><b>Returns:</b></dt
<td> <td>
<p> <p>
Check font height as reported by SDL_ttf. <dl compact><dt><b>Returns:</b></dt><dd>Height of font. </dd></dl> Check font height as reported by SDL_ttf. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Height of font. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a16" doxytag="ZE::ZFont::GetLineSkip"></a><p> <a name="a16" doxytag="ZE::ZFont::LineSkip"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> int ZE::ZFont::GetLineSkip </td> <td class="md" nowrap valign="top"> int ZE::ZFont::LineSkip </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
@ -684,17 +697,17 @@ Check font height as reported by SDL_ttf. <dl compact><dt><b>Returns:</b></dt><d
<td> <td>
<p> <p>
Check font line skip as reported by SDL_ttf. <dl compact><dt><b>Returns:</b></dt><dd>Recommended Line Skip of font. </dd></dl> Check font line skip as reported by SDL_ttf. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Recommended Line Skip of font. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a17" doxytag="ZE::ZFont::GetStringWidth"></a><p> <a name="a17" doxytag="ZE::ZFont::StringWidth"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> int ZE::ZFont::GetStringWidth </td> <td class="md" nowrap valign="top"> int ZE::ZFont::StringWidth </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td> <td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>text</em> </td> <td class="mdname1" valign="top" nowrap>&nbsp; <em>text</em> </td>
@ -714,22 +727,22 @@ Check font line skip as reported by SDL_ttf. <dl compact><dt><b>Returns:</b></dt
<td> <td>
<p> <p>
Get Width of String in Current Font in Pixels. <dl compact><dt><b>Parameters:</b></dt><dd> Get Width of String in Current Font in Pixels. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>text</em>&nbsp;</td><td>String to get width of. </td></tr> <tr><td valign=top><em>text</em>&nbsp;</td><td>
</table> String to get width of. </td></tr>
</dl> </table>
<dl compact><dt><b>Returns:</b></dt><dd>Width of String in Current font. </dd></dl> </dl><dl compact><dt><b>Returns: </b></dt><dd>
</td> Width of String in Current font. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a18" doxytag="ZE::ZFont::GetStringHeight"></a><p> <a name="a18" doxytag="ZE::ZFont::StringHeight"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> int ZE::ZFont::GetStringHeight </td> <td class="md" nowrap valign="top"> int ZE::ZFont::StringHeight </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td> <td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>text</em> </td> <td class="mdname1" valign="top" nowrap>&nbsp; <em>text</em> </td>
@ -749,20 +762,20 @@ Get Width of String in Current Font in Pixels. <dl compact><dt><b>Parameters:</b
<td> <td>
<p> <p>
Get Height of String in Current Font in Pixels. <dl compact><dt><b>Parameters:</b></dt><dd> Get Height of String in Current Font in Pixels. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>text</em>&nbsp;</td><td>String to get height of. </td></tr> <tr><td valign=top><em>text</em>&nbsp;</td><td>
</table> String to get height of. </td></tr>
</dl> </table>
<dl compact><dt><b>Returns:</b></dt><dd>Height of String in Current font. </dd></dl> </dl><dl compact><dt><b>Returns: </b></dt><dd>
</td> Height of String in Current font. </dl> </td>
</tr> </tr>
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZFont_8h-source.html">ZE_ZFont.h</a></ul> <li>/include/<a class="el" href="ZE__ZFont_8h-source.html">ZE_ZFont.h</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,24 +3,28 @@
<title>Member List</title> <title>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZImage Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a>, including all inherited members.<table> <hr><h1>ZE::ZImage Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a7">Attach</a>(SDL_Surface *surface)</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a7">Attach</a>(SDL_Surface *surface)</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a11">Draw</a>(Sint16 x, Sint16 y)</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a10">Bind</a>()</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a16">GetFilename</a>()</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a11">Draw</a>(int x, int y)</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a15">GetHeight</a>()</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a15">Height</a>()</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a13">GetImage</a>()</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a14">GetWidth</a>()</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a12">IsLoaded</a>()</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a12">IsLoaded</a>()</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a5">Open</a>(string filename)</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a5">Open</a>(string filename)</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a6">OpenFromImage</a>(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h)</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a6">OpenFromImage</a>(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h)</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a8">Release</a>()</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a8">Release</a>()</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#n0">rEngine</a></td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [protected]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#n0">rEngine</a></td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#n0">rImage</a></td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td><code> [protected]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#n5">rHeight</a></td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a9">SetAlpha</a>(Uint8 alpha)</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#n2">rImage</a></td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a10">SetColorKey</a>(Uint32 color)</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#n3">rTexID</a></td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#n0">rTexMaxX</a></td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#n1">rTexMaxY</a></td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#n4">rWidth</a></td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a9">SetColorKey</a>(Uint8 red, Uint8 green, Uint8 blue)</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a13">Surface</a>()</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a14">Width</a>()</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a0">ZImage</a>()</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a0">ZImage</a>()</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a1">ZImage</a>(string filename)</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a1">ZImage</a>(string filename)</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a2">ZImage</a>(SDL_Surface *surface)</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a2">ZImage</a>(SDL_Surface *surface)</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
@ -28,9 +32,9 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a0">ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a0">ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a4">~ZImage</a>()</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a4">~ZImage</a>()</td><td><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a1">~ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline, virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a1">~ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline, virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by </table><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
<title>ZE::ZImage class Reference</title> <title>ZE::ZImage class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZImage Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZImage_8h-source.html">ZE_ZImage.h</a>&gt;</code> <hr><h1>ZE::ZImage Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZImage_8h-source.html">ZE_ZImage.h</a>&gt;</code>
@ -34,26 +34,39 @@ Inherits <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>.
<tr><td>&nbsp;</td><td><font size=-1><em>Attach an existing surface to class.</em> <a href="#a7"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Attach an existing surface to class.</em> <a href="#a7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a8">Release</a> ()</td></tr> <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a8">Release</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Releases image.</em> <a href="#a8"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Releases image.</em> <a href="#a8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a9">SetAlpha</a> (Uint8 alpha)</td></tr> <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a9">SetColorKey</a> (Uint8 red, Uint8 green, Uint8 blue)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets Alpha (transparency) value of Image.</em> <a href="#a9"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Set Color Key (transparent color) of Image.</em> <a href="#a9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a10">SetColorKey</a> (Uint32 color)</td></tr> <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a10">Bind</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set Color Key (transparent color) of Image.</em> <a href="#a10"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>OpenGL related bind call.</em> <a href="#a10"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a11">Draw</a> (Sint16 x, Sint16 y)</td></tr> <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a11">Draw</a> (int x, int y)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Draw Image to Screen.</em> <a href="#a11"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Draw Image to Screen.</em> <a href="#a11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a12">IsLoaded</a> ()</td></tr> <tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a12">IsLoaded</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check if file is loaded.</em> <a href="#a12"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Check if file is loaded.</em> <a href="#a12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>SDL_Surface *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a13">GetImage</a> ()</td></tr> <tr><td nowrap align=right valign=top>SDL_Surface *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a13">Surface</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get SDL_Surface. Get SDL_Surface pointer to actual image data.</em> <a href="#a13"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get SDL_Surface. Get SDL_Surface pointer to actual image data.</em> <a href="#a13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a14">GetWidth</a> ()</td></tr> <tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a14">Width</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Width.</em> <a href="#a14"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get Width.</em> <a href="#a14"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a15">GetHeight</a> ()</td></tr> <tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a15">Height</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Height.</em> <a href="#a15"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Get Height.</em> <a href="#a15"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>string&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a16">GetFilename</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get filename of image.</em> <a href="#a16"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="ZE::ZImage::rImage"></a> <tr><td nowrap align=right valign=top><a name="n0" doxytag="ZE::ZImage::rTexMaxX"></a>
<a class="el" href="classZE_1_1ImageData.html">ImageData</a>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#n0">rImage</a></td></tr> GLfloat&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#n0">rTexMaxX</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Class containing image and filename.</em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Texture X width ratio, used internally by OpenGL.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="ZE::ZImage::rTexMaxY"></a>
GLfloat&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#n1">rTexMaxY</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Texture Y width ratio, used internally by OpenGL.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="ZE::ZImage::rImage"></a>
SDL_Surface *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#n2">rImage</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Stored texture for future use.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n3" doxytag="ZE::ZImage::rTexID"></a>
unsigned int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#n3">rTexID</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Texture ID for OpenGL.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n4" doxytag="ZE::ZImage::rWidth"></a>
unsigned int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#n4">rWidth</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Current draw width of Texture.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n5" doxytag="ZE::ZImage::rHeight"></a>
unsigned int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#n5">rHeight</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Current draw height of Texture.</em></font><br><br></td></tr>
</table> </table>
<hr><h2>Constructor &amp; Destructor Documentation</h2> <hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ZE::ZImage::ZImage"></a><p> <a name="a0" doxytag="ZE::ZImage::ZImage"></a><p>
@ -81,7 +94,7 @@ Inherits <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>.
<td> <td>
<p> <p>
Default Constructor, does nothing. </td> Default Constructor, initializes variables. </td>
</tr> </tr>
</table> </table>
<a name="a1" doxytag="ZE::ZImage::ZImage"></a><p> <a name="a1" doxytag="ZE::ZImage::ZImage"></a><p>
@ -110,12 +123,12 @@ Default Constructor, does nothing. </td>
<td> <td>
<p> <p>
Constructor is same as calling <a class="el" href="classZE_1_1ZImage.html#a5">ZImage::Open()</a> on passed filename. <dl compact><dt><b>Parameters:</b></dt><dd> Constructor is same as calling <a class="el" href="classZE_1_1ZImage.html#a5">ZImage::Open()</a> on passed filename. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>filename</em>&nbsp;</td><td>File to open as rImage. </td></tr> <tr><td valign=top><em>filename</em>&nbsp;</td><td>
</table> File to open as rImage. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<a name="a2" doxytag="ZE::ZImage::ZImage"></a><p> <a name="a2" doxytag="ZE::ZImage::ZImage"></a><p>
@ -144,12 +157,12 @@ Constructor is same as calling <a class="el" href="classZE_1_1ZImage.html#a5">ZI
<td> <td>
<p> <p>
Constructor is same as calling <a class="el" href="classZE_1_1ZImage.html#a7">ZImage::Attach()</a> on passed SDL_Surface*. <dl compact><dt><b>Parameters:</b></dt><dd> Constructor is same as calling <a class="el" href="classZE_1_1ZImage.html#a7">ZImage::Attach()</a> on passed SDL_Surface*. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>surface</em>&nbsp;</td><td>SDL_Surface* to use as rImage. </td></tr> <tr><td valign=top><em>surface</em>&nbsp;</td><td>
</table> SDL_Surface* to use as rImage. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<a name="a3" doxytag="ZE::ZImage::ZImage"></a><p> <a name="a3" doxytag="ZE::ZImage::ZImage"></a><p>
@ -205,18 +218,20 @@ Constructor is same as calling <a class="el" href="classZE_1_1ZImage.html#a7">ZI
<td> <td>
<p> <p>
Constructor is same as calling <a class="el" href="classZE_1_1ZImage.html#a6">ZImage::OpenFromImage</a>. Constructor is same as calling <a class="el" href="classZE_1_1ZImage.html#a6">ZImage::OpenFromImage</a>.<dl compact><dt><b>Parameters: </b></dt><dd>
<p> <table border=0 cellspacing=2 cellpadding=0>
<dl compact><dt><b>Parameters:</b></dt><dd> <tr><td valign=top><em>img</em>&nbsp;</td><td>
<table border="0" cellspacing="2" cellpadding="0"> Image to take new image from. </td></tr>
<tr><td valign=top><em>img</em>&nbsp;</td><td>Image to take new image from. </td></tr> <tr><td valign=top><em>x</em>&nbsp;</td><td>
<tr><td valign=top><em>x</em>&nbsp;</td><td>X Coordinate in source of top left corner. </td></tr> X Coordinate in source of top left corner. </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Y Coordinate in source of top left corner. </td></tr> <tr><td valign=top><em>y</em>&nbsp;</td><td>
<tr><td valign=top><em>w</em>&nbsp;</td><td>Width of new image. </td></tr> Y Coordinate in source of top left corner. </td></tr>
<tr><td valign=top><em>h</em>&nbsp;</td><td>Height of new image. </td></tr> <tr><td valign=top><em>w</em>&nbsp;</td><td>
</table> Width of new image. </td></tr>
</dl> <tr><td valign=top><em>h</em>&nbsp;</td><td>
</td> Height of new image. </td></tr>
</table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a4" doxytag="ZE::ZImage::~ZImage"></a><p> <a name="a4" doxytag="ZE::ZImage::~ZImage"></a><p>
@ -274,12 +289,12 @@ Destructor calls <a class="el" href="classZE_1_1ZImage.html#a8">ZImage::Release(
<td> <td>
<p> <p>
Open a file using <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a>. Loads into rImage member of class. <dl compact><dt><b>Parameters:</b></dt><dd> Open a file using <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a>. Loads into rImage member of class. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>filename</em>&nbsp;</td><td>File to open as rImage. </td></tr> <tr><td valign=top><em>filename</em>&nbsp;</td><td>
</table> File to open as rImage. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<a name="a6" doxytag="ZE::ZImage::OpenFromImage"></a><p> <a name="a6" doxytag="ZE::ZImage::OpenFromImage"></a><p>
@ -335,18 +350,20 @@ Open a file using <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a>. Load
<td> <td>
<p> <p>
Cut part of an SDL_Surface to create a new Image. Cut part of an SDL_Surface to create a new Image.<dl compact><dt><b>Parameters: </b></dt><dd>
<p> <table border=0 cellspacing=2 cellpadding=0>
<dl compact><dt><b>Parameters:</b></dt><dd> <tr><td valign=top><em>img</em>&nbsp;</td><td>
<table border="0" cellspacing="2" cellpadding="0"> Image to take new image from. </td></tr>
<tr><td valign=top><em>img</em>&nbsp;</td><td>Image to take new image from. </td></tr> <tr><td valign=top><em>x</em>&nbsp;</td><td>
<tr><td valign=top><em>x</em>&nbsp;</td><td>X Coordinate in source of top left corner. </td></tr> X Coordinate in source of top left corner. </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Y Coordinate in source of top left corner. </td></tr> <tr><td valign=top><em>y</em>&nbsp;</td><td>
<tr><td valign=top><em>w</em>&nbsp;</td><td>Width of new image. </td></tr> Y Coordinate in source of top left corner. </td></tr>
<tr><td valign=top><em>h</em>&nbsp;</td><td>Height of new image. </td></tr> <tr><td valign=top><em>w</em>&nbsp;</td><td>
</table> Width of new image. </td></tr>
</dl> <tr><td valign=top><em>h</em>&nbsp;</td><td>
</td> Height of new image. </td></tr>
</table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a7" doxytag="ZE::ZImage::Attach"></a><p> <a name="a7" doxytag="ZE::ZImage::Attach"></a><p>
@ -375,12 +392,12 @@ Cut part of an SDL_Surface to create a new Image.
<td> <td>
<p> <p>
Attach a pointer to instance of <a class="el" href="classZE_1_1ZImage.html">ZImage</a>. (NOTE: Should not be used on a surface that is owned elsewhere.) <dl compact><dt><b>Parameters:</b></dt><dd> Attach a pointer to instance of <a class="el" href="classZE_1_1ZImage.html">ZImage</a>. (NOTE: Should not be used on a surface that is owned elsewhere.) <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>surface</em>&nbsp;</td><td>SDL_Surface* to use as rImage. </td></tr> <tr><td valign=top><em>surface</em>&nbsp;</td><td>
</table> SDL_Surface* to use as rImage. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<a name="a8" doxytag="ZE::ZImage::Release"></a><p> <a name="a8" doxytag="ZE::ZImage::Release"></a><p>
@ -411,41 +428,7 @@ Attach a pointer to instance of <a class="el" href="classZE_1_1ZImage.html">ZIma
Frees memory via call to SDL_FreeSurface for the image. </td> Frees memory via call to SDL_FreeSurface for the image. </td>
</tr> </tr>
</table> </table>
<a name="a9" doxytag="ZE::ZImage::SetAlpha"></a><p> <a name="a9" doxytag="ZE::ZImage::SetColorKey"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void ZE::ZImage::SetAlpha </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">Uint8&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>alpha</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set Alpha channel of an Image, only used in 32 bit mode. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>alpha</em>&nbsp;</td><td>Number 0-255 describing translucency of image. (0 = transparent, 255 = opaque) </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a10" doxytag="ZE::ZImage::SetColorKey"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
@ -453,8 +436,60 @@ Set Alpha channel of an Image, only used in 32 bit mode. <dl compact><dt><b>Para
<tr> <tr>
<td class="md" nowrap valign="top"> void ZE::ZImage::SetColorKey </td> <td class="md" nowrap valign="top"> void ZE::ZImage::SetColorKey </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">Uint32&nbsp;</td> <td class="md" nowrap valign="top">Uint8&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>color</em> </td> <td class="mdname" nowrap>&nbsp; <em>red</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint8&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>green</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint8&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>blue</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set color which will not be drawn in image. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>red</em>&nbsp;</td><td>
Red component of colorkey (0-255). </td></tr>
<tr><td valign=top><em>green</em>&nbsp;</td><td>
Green component of colorkey (0-255). </td></tr>
<tr><td valign=top><em>blue</em>&nbsp;</td><td>
Blue component of colorkey (0-255). </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a10" doxytag="ZE::ZImage::Bind"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void ZE::ZImage::Bind </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td> <td class="md" nowrap></td>
</tr> </tr>
@ -471,12 +506,7 @@ Set Alpha channel of an Image, only used in 32 bit mode. <dl compact><dt><b>Para
<td> <td>
<p> <p>
Set color which will not be drawn in image. <dl compact><dt><b>Parameters:</b></dt><dd> OpenGL related bind call, only available in case you want to bind image in 3D. Draw uses this but the average user should never need to call this. </td>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>color</em>&nbsp;</td><td>Uint32 color describing color to use as transparent. </td></tr>
</table>
</dl>
</td>
</tr> </tr>
</table> </table>
<a name="a11" doxytag="ZE::ZImage::Draw"></a><p> <a name="a11" doxytag="ZE::ZImage::Draw"></a><p>
@ -487,13 +517,13 @@ Set color which will not be drawn in image. <dl compact><dt><b>Parameters:</b></
<tr> <tr>
<td class="md" nowrap valign="top"> void ZE::ZImage::Draw </td> <td class="md" nowrap valign="top"> void ZE::ZImage::Draw </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">Sint16&nbsp;</td> <td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>x</em>, </td> <td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
</tr> </tr>
<tr> <tr>
<td></td> <td></td>
<td></td> <td></td>
<td class="md" nowrap>Sint16&nbsp;</td> <td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>y</em></td> <td class="mdname" nowrap>&nbsp; <em>y</em></td>
</tr> </tr>
<tr> <tr>
@ -514,13 +544,14 @@ Set color which will not be drawn in image. <dl compact><dt><b>Parameters:</b></
<td> <td>
<p> <p>
Draw Image to screen at specified location. <dl compact><dt><b>Parameters:</b></dt><dd> Draw Image to screen at specified location. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>x</em>&nbsp;</td><td>X coord to draw Image to. </td></tr> <tr><td valign=top><em>x</em>&nbsp;</td><td>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Y coord to draw Image to. </td></tr> X coord to draw Image to. </td></tr>
</table> <tr><td valign=top><em>y</em>&nbsp;</td><td>
</dl> Y coord to draw Image to. </td></tr>
</td> </table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a12" doxytag="ZE::ZImage::IsLoaded"></a><p> <a name="a12" doxytag="ZE::ZImage::IsLoaded"></a><p>
@ -548,17 +579,17 @@ Draw Image to screen at specified location. <dl compact><dt><b>Parameters:</b></
<td> <td>
<p> <p>
Check if file is loaded and pointer to data is non-NULL. <dl compact><dt><b>Returns:</b></dt><dd>Loaded or Unloaded state of data. </dd></dl> Check if file is loaded and pointer to data is non-NULL. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Loaded or Unloaded state of data. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a13" doxytag="ZE::ZImage::GetImage"></a><p> <a name="a13" doxytag="ZE::ZImage::Surface"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> SDL_Surface * ZE::ZImage::GetImage </td> <td class="md" nowrap valign="top"> SDL_Surface * ZE::ZImage::Surface </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
@ -577,17 +608,17 @@ Check if file is loaded and pointer to data is non-NULL. <dl compact><dt><b>Retu
<td> <td>
<p> <p>
<dl compact><dt><b>Returns:</b></dt><dd>SDL_Surface* of rImage. </dd></dl> <dl compact><dt><b>Returns: </b></dt><dd>
</td> SDL_Surface* of rImage. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a14" doxytag="ZE::ZImage::GetWidth"></a><p> <a name="a14" doxytag="ZE::ZImage::Width"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> int ZE::ZImage::GetWidth </td> <td class="md" nowrap valign="top"> int ZE::ZImage::Width </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
@ -606,17 +637,17 @@ Check if file is loaded and pointer to data is non-NULL. <dl compact><dt><b>Retu
<td> <td>
<p> <p>
Get Width of Image. <dl compact><dt><b>Returns:</b></dt><dd>Image Width. </dd></dl> Get Current Width of Image. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Image Width. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a15" doxytag="ZE::ZImage::GetHeight"></a><p> <a name="a15" doxytag="ZE::ZImage::Height"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> int ZE::ZImage::GetHeight </td> <td class="md" nowrap valign="top"> int ZE::ZImage::Height </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
@ -635,44 +666,15 @@ Get Width of Image. <dl compact><dt><b>Returns:</b></dt><dd>Image Width. </dd></
<td> <td>
<p> <p>
Get Height of Image. <dl compact><dt><b>Returns:</b></dt><dd>Image Height. </dd></dl> Get Current Height of Image. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Image Height. </dl> </td>
</tr>
</table>
<a name="a16" doxytag="ZE::ZImage::GetFilename"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> string ZE::ZImage::GetFilename </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get filename of image or if Image doesn't have a specific filename string describing origin of image. <dl compact><dt><b>Returns:</b></dt><dd>Image Filename. </dd></dl>
</td>
</tr> </tr>
</table> </table>
<hr>The documentation for this class was generated from the following files:<ul> <hr>The documentation for this class was generated from the following files:<ul>
<li>/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZImage_8h-source.html">ZE_ZImage.h</a><li>/home/James/ZEngine-dev/src/<a class="el" href="ZE__ZImage_8cpp.html">ZE_ZImage.cpp</a></ul> <li>/include/<a class="el" href="ZE__ZImage_8h-source.html">ZE_ZImage.h</a><li>/src/<a class="el" href="ZE__ZImage_8cpp.html">ZE_ZImage.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,11 +3,10 @@
<title>Member List</title> <title>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZMusic Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a>, including all inherited members.<table> <hr><h1>ZE::ZMusic Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a14">GetVolume</a>()</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a11">IsLoaded</a>()</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a11">IsLoaded</a>()</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a13">IsPaused</a>()</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a13">IsPaused</a>()</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a12">IsPlaying</a>()</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a12">IsPlaying</a>()</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr>
@ -22,14 +21,15 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a10">SetVolume</a>(int volume)</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a10">SetVolume</a>(int volume)</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a9">Stop</a>(int fadeTime=0)</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a9">Stop</a>(int fadeTime=0)</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a7">Unpause</a>()</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a7">Unpause</a>()</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a14">Volume</a>()</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a0">ZMusic</a>()</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a0">ZMusic</a>()</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a1">ZMusic</a>(string filename)</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a1">ZMusic</a>(string filename)</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a0">ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a0">ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a2">~ZMusic</a>()</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a2">~ZMusic</a>()</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a1">~ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline, virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a1">~ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline, virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by </table><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
<title>ZE::ZMusic class Reference</title> <title>ZE::ZMusic class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZMusic Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZMusic_8h-source.html">ZE_ZMusic.h</a>&gt;</code> <hr><h1>ZE::ZMusic Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZMusic_8h-source.html">ZE_ZMusic.h</a>&gt;</code>
@ -44,7 +44,7 @@ Inherits <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>.
<tr><td>&nbsp;</td><td><font size=-1><em>Check if music is Playing.</em> <a href="#a12"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Check if music is Playing.</em> <a href="#a12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a13">IsPaused</a> ()</td></tr> <tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a13">IsPaused</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check if music is Paused.</em> <a href="#a13"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Check if music is Paused.</em> <a href="#a13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a14">GetVolume</a> ()</td></tr> <tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a14">Volume</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Find Current Volume of Music.</em> <a href="#a14"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Find Current Volume of Music.</em> <a href="#a14"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> <tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="p0" doxytag="ZE::ZMusic::LoopInfinite"></a> <tr><td nowrap align=right valign=top><a name="p0" doxytag="ZE::ZMusic::LoopInfinite"></a>
@ -52,8 +52,8 @@ const int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html
<tr><td>&nbsp;</td><td><font size=-1><em>Static Variable For Infinite loop of sound. (Defined as -1).</em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Static Variable For Infinite loop of sound. (Defined as -1).</em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="ZE::ZMusic::rMusic"></a> <tr><td nowrap align=right valign=top><a name="n0" doxytag="ZE::ZMusic::rMusic"></a>
<a class="el" href="classZE_1_1MusicData.html">MusicData</a>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#n0">rMusic</a></td></tr> Mix_Music *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#n0">rMusic</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Class containing music data and music filename.</em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Pointer to music data.</em></font><br><br></td></tr>
</table> </table>
<hr><h2>Constructor &amp; Destructor Documentation</h2> <hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ZE::ZMusic::ZMusic"></a><p> <a name="a0" doxytag="ZE::ZMusic::ZMusic"></a><p>
@ -110,12 +110,12 @@ Default Constructor, does nothing. </td>
<td> <td>
<p> <p>
Constructor simply calls <a class="el" href="classZE_1_1ZMusic.html#a3">ZMusic::Open()</a> with same filename. (WAV,MOD,MID,OGG) <dl compact><dt><b>Parameters:</b></dt><dd> Constructor simply calls <a class="el" href="classZE_1_1ZMusic.html#a3">ZMusic::Open()</a> with same filename. (WAV,MOD,MID,OGG) <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>filename</em>&nbsp;</td><td>Music to open. </td></tr> <tr><td valign=top><em>filename</em>&nbsp;</td><td>
</table> Music to open. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<a name="a2" doxytag="ZE::ZMusic::~ZMusic"></a><p> <a name="a2" doxytag="ZE::ZMusic::~ZMusic"></a><p>
@ -173,12 +173,12 @@ Destructor calls <a class="el" href="classZE_1_1ZMusic.html#a4">ZMusic::Release(
<td> <td>
<p> <p>
Open a music file to be used. <dl compact><dt><b>Parameters:</b></dt><dd> Open a music file to be used. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>filename</em>&nbsp;</td><td>Music to open. </td></tr> <tr><td valign=top><em>filename</em>&nbsp;</td><td>
</table> Music to open. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<a name="a4" doxytag="ZE::ZMusic::Release"></a><p> <a name="a4" doxytag="ZE::ZMusic::Release"></a><p>
@ -244,13 +244,14 @@ Release memory held by music data. </td>
<td> <td>
<p> <p>
Play music currently loaded in <a class="el" href="classZE_1_1ZMusic.html">ZMusic</a>, looping loopNum times. (use <a class="el" href="classZE_1_1ZMusic.html#p0">ZMusic::LoopInfinite</a> to loop forever.) If fade is not zero (which it defaults to) music will fade in over specified number of milliseconds. <dl compact><dt><b>Parameters:</b></dt><dd> Play music currently loaded in <a class="el" href="classZE_1_1ZMusic.html">ZMusic</a>, looping loopNum times. (use <a class="el" href="classZE_1_1ZMusic.html#p0">ZMusic::LoopInfinite</a> to loop forever.) If fade is not zero (which it defaults to) music will fade in over specified number of milliseconds. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>loopNum</em>&nbsp;</td><td>Number of times to loop song, defaults to zero. </td></tr> <tr><td valign=top><em>loopNum</em>&nbsp;</td><td>
<tr><td valign=top><em>fadeTime</em>&nbsp;</td><td>Milliseconds to fade to full volume, defaults to zero for no fade. </td></tr> Number of times to loop song, defaults to zero. </td></tr>
</table> <tr><td valign=top><em>fadeTime</em>&nbsp;</td><td>
</dl> Milliseconds to fade to full volume, defaults to zero for no fade. </td></tr>
</td> </table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a6" doxytag="ZE::ZMusic::Pause"></a><p> <a name="a6" doxytag="ZE::ZMusic::Pause"></a><p>
@ -363,12 +364,12 @@ Rewind music to beginning. </td>
<td> <td>
<p> <p>
Stop currently playing music, if fadeTime is not zero, fade out over specified time. <dl compact><dt><b>Parameters:</b></dt><dd> Stop currently playing music, if fadeTime is not zero, fade out over specified time. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>fadeTime</em>&nbsp;</td><td>Milliseconds to fade out over, defaults to zero for immediate stop. </td></tr> <tr><td valign=top><em>fadeTime</em>&nbsp;</td><td>
</table> Milliseconds to fade out over, defaults to zero for immediate stop. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<a name="a10" doxytag="ZE::ZMusic::SetVolume"></a><p> <a name="a10" doxytag="ZE::ZMusic::SetVolume"></a><p>
@ -397,12 +398,12 @@ Stop currently playing music, if fadeTime is not zero, fade out over specified t
<td> <td>
<p> <p>
Change volume of currently playing music. <dl compact><dt><b>Parameters:</b></dt><dd> Change volume of currently playing music. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>volume</em>&nbsp;</td><td>Volume to change to, can be in a range from 0 to 128 </td></tr> <tr><td valign=top><em>volume</em>&nbsp;</td><td>
</table> Volume to change to, can be in a range from 0 to 128 </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<a name="a11" doxytag="ZE::ZMusic::IsLoaded"></a><p> <a name="a11" doxytag="ZE::ZMusic::IsLoaded"></a><p>
@ -430,8 +431,8 @@ Change volume of currently playing music. <dl compact><dt><b>Parameters:</b></dt
<td> <td>
<p> <p>
Check if file is loaded and pointer to data is non-NULL. <dl compact><dt><b>Returns:</b></dt><dd>Loaded or Unloaded state of data. </dd></dl> Check if file is loaded and pointer to data is non-NULL. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Loaded or Unloaded state of data. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a12" doxytag="ZE::ZMusic::IsPlaying"></a><p> <a name="a12" doxytag="ZE::ZMusic::IsPlaying"></a><p>
@ -459,8 +460,8 @@ Check if file is loaded and pointer to data is non-NULL. <dl compact><dt><b>Retu
<td> <td>
<p> <p>
Check if music is playing, specifically if it is not stopped. (Paused state should be checked for by IsPaused) <dl compact><dt><b>Returns:</b></dt><dd>Playing / Not Playing State of Music. </dd></dl> Check if music is playing, specifically if it is not stopped. (Paused state should be checked for by IsPaused) <dl compact><dt><b>Returns: </b></dt><dd>
</td> Playing / Not Playing State of Music. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a13" doxytag="ZE::ZMusic::IsPaused"></a><p> <a name="a13" doxytag="ZE::ZMusic::IsPaused"></a><p>
@ -488,17 +489,17 @@ Check if music is playing, specifically if it is not stopped. (Paused state shou
<td> <td>
<p> <p>
Check if music is "playing" but currently paused. <dl compact><dt><b>Returns:</b></dt><dd>Paused / Not Paused State of Music. </dd></dl> Check if music is "playing" but currently paused. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Paused / Not Paused State of Music. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a14" doxytag="ZE::ZMusic::GetVolume"></a><p> <a name="a14" doxytag="ZE::ZMusic::Volume"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> int ZE::ZMusic::GetVolume </td> <td class="md" nowrap valign="top"> int ZE::ZMusic::Volume </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
@ -517,15 +518,15 @@ Check if music is "playing" but currently paused. <dl compact><dt><b>Returns:</b
<td> <td>
<p> <p>
Get current volume of music represented as a value from 0-128. <dl compact><dt><b>Returns:</b></dt><dd>Volume of music, 0-128. </dd></dl> Get current volume of music represented as a value from 0-128. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Volume of music, 0-128. </dl> </td>
</tr> </tr>
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZMusic_8h-source.html">ZE_ZMusic.h</a></ul> <li>/include/<a class="el" href="ZE__ZMusic_8h-source.html">ZE_ZMusic.h</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,16 +3,16 @@
<title>Member List</title> <title>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZObject Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>, including all inherited members.<table> <hr><h1>ZE::ZObject Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#n0">rEngine</a></td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [protected]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#n0">rEngine</a></td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a0">ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a0">ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a1">~ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline, virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a1">~ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline, virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by </table><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
<title>ZE::ZObject class Reference</title> <title>ZE::ZObject class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZObject Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZObject_8h-source.html">ZE_ZObject.h</a>&gt;</code> <hr><h1>ZE::ZObject Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZObject_8h-source.html">ZE_ZObject.h</a>&gt;</code>
@ -83,10 +83,10 @@ This is the base class from which all <a class="el" href="classZE_1_1ZEngine.htm
</tr> </tr>
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZObject_8h-source.html">ZE_ZObject.h</a></ul> <li>/include/<a class="el" href="ZE__ZObject_8h-source.html">ZE_ZObject.h</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
<title>Member List</title> <title>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZRect Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a>, including all inherited members.<table> <hr><h1>ZE::ZRect Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a>, including all inherited members.<table>
@ -33,9 +33,9 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZRect.html#a0">ZRect</a>()</td><td><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZRect.html#a0">ZRect</a>()</td><td><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZRect.html#a1">ZRect</a>(int x, int y, int width, int height)</td><td><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZRect.html#a1">ZRect</a>(int x, int y, int width, int height)</td><td><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZRect.html#a2">ZRect</a>(const ZRect &amp;rhs)</td><td><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZRect.html#a2">ZRect</a>(const ZRect &amp;rhs)</td><td><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a></td><td></td></tr>
</table><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by </table><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
<title>ZE::ZRect class Reference</title> <title>ZE::ZRect class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZRect Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZRect_8h-source.html">ZE_ZRect.h</a>&gt;</code> <hr><h1>ZE::ZRect Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZRect_8h-source.html">ZE_ZRect.h</a>&gt;</code>
@ -148,15 +148,18 @@ Default constructor, initializes all values to zero. </td>
<td> <td>
<p> <p>
Constructor for <a class="el" href="classZE_1_1ZRect.html">ZRect</a> that takes inital values for all four members. <dl compact><dt><b>Parameters:</b></dt><dd> Constructor for <a class="el" href="classZE_1_1ZRect.html">ZRect</a> that takes inital values for all four members. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>x</em>&nbsp;</td><td>Value for x position. </td></tr> <tr><td valign=top><em>x</em>&nbsp;</td><td>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Value for y position. </td></tr> Value for x position. </td></tr>
<tr><td valign=top><em>width</em>&nbsp;</td><td>Value for width. </td></tr> <tr><td valign=top><em>y</em>&nbsp;</td><td>
<tr><td valign=top><em>height</em>&nbsp;</td><td>Value for height. </td></tr> Value for y position. </td></tr>
</table> <tr><td valign=top><em>width</em>&nbsp;</td><td>
</dl> Value for width. </td></tr>
</td> <tr><td valign=top><em>height</em>&nbsp;</td><td>
Value for height. </td></tr>
</table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a2" doxytag="ZE::ZRect::ZRect"></a><p> <a name="a2" doxytag="ZE::ZRect::ZRect"></a><p>
@ -185,12 +188,12 @@ Constructor for <a class="el" href="classZE_1_1ZRect.html">ZRect</a> that takes
<td> <td>
<p> <p>
Takes a <a class="el" href="classZE_1_1ZRect.html">ZRect</a> and constructs a new identical rectangle. <dl compact><dt><b>Parameters:</b></dt><dd> Takes a <a class="el" href="classZE_1_1ZRect.html">ZRect</a> and constructs a new identical rectangle. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>rhs</em>&nbsp;</td><td>Rectangle to construct from. </td></tr> <tr><td valign=top><em>rhs</em>&nbsp;</td><td>
</table> Rectangle to construct from. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<hr><h2>Member Function Documentation</h2> <hr><h2>Member Function Documentation</h2>
@ -220,13 +223,13 @@ Takes a <a class="el" href="classZE_1_1ZRect.html">ZRect</a> and constructs a ne
<td> <td>
<p> <p>
Copies all values from one <a class="el" href="classZE_1_1ZRect.html">ZRect</a> into another. <dl compact><dt><b>Parameters:</b></dt><dd> Copies all values from one <a class="el" href="classZE_1_1ZRect.html">ZRect</a> into another. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>rhs</em>&nbsp;</td><td>Rectangle to copy values from. </td></tr> <tr><td valign=top><em>rhs</em>&nbsp;</td><td>
</table> Rectangle to copy values from. </td></tr>
</dl> </table>
<dl compact><dt><b>Returns:</b></dt><dd>New value of the <a class="el" href="classZE_1_1ZRect.html">ZRect</a>. </dd></dl> </dl><dl compact><dt><b>Returns: </b></dt><dd>
</td> New value of the <a class="el" href="classZE_1_1ZRect.html">ZRect</a>. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a4" doxytag="ZE::ZRect::operator<"></a><p> <a name="a4" doxytag="ZE::ZRect::operator<"></a><p>
@ -255,13 +258,13 @@ Copies all values from one <a class="el" href="classZE_1_1ZRect.html">ZRect</a>
<td> <td>
<p> <p>
Rectangles are sorted by y value, followed by x value, if they start at the same place, the smaller of the two is deemed less than the other. <dl compact><dt><b>Parameters:</b></dt><dd> Rectangles are sorted by y value, followed by x value, if they start at the same place, the smaller of the two is deemed less than the other. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>rhs</em>&nbsp;</td><td>Rectangle to compare. </td></tr> <tr><td valign=top><em>rhs</em>&nbsp;</td><td>
</table> Rectangle to compare. </td></tr>
</dl> </table>
<dl compact><dt><b>Returns:</b></dt><dd>True if this rectangle is smaller than the rhs rectangle, false otherwise. </dd></dl> </dl><dl compact><dt><b>Returns: </b></dt><dd>
</td> True if this rectangle is smaller than the rhs rectangle, false otherwise. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a5" doxytag="ZE::ZRect::Move"></a><p> <a name="a5" doxytag="ZE::ZRect::Move"></a><p>
@ -299,13 +302,14 @@ Rectangles are sorted by y value, followed by x value, if they start at the same
<td> <td>
<p> <p>
Changes the current x,y position of the rectangle. <dl compact><dt><b>Parameters:</b></dt><dd> Changes the current x,y position of the rectangle. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>x</em>&nbsp;</td><td>New x position for rectangle. </td></tr> <tr><td valign=top><em>x</em>&nbsp;</td><td>
<tr><td valign=top><em>y</em>&nbsp;</td><td>New y position for rectangle. </td></tr> New x position for rectangle. </td></tr>
</table> <tr><td valign=top><em>y</em>&nbsp;</td><td>
</dl> New y position for rectangle. </td></tr>
</td> </table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a6" doxytag="ZE::ZRect::MoveRel"></a><p> <a name="a6" doxytag="ZE::ZRect::MoveRel"></a><p>
@ -343,13 +347,14 @@ Changes the current x,y position of the rectangle. <dl compact><dt><b>Parameters
<td> <td>
<p> <p>
Changes the current x,y position of the rectangle relative to the current location. <dl compact><dt><b>Parameters:</b></dt><dd> Changes the current x,y position of the rectangle relative to the current location. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>xMove</em>&nbsp;</td><td>Offset for new x position from current. </td></tr> <tr><td valign=top><em>xMove</em>&nbsp;</td><td>
<tr><td valign=top><em>yMove</em>&nbsp;</td><td>Offset for new y position from current. </td></tr> Offset for new x position from current. </td></tr>
</table> <tr><td valign=top><em>yMove</em>&nbsp;</td><td>
</dl> Offset for new y position from current. </td></tr>
</td> </table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a7" doxytag="ZE::ZRect::Resize"></a><p> <a name="a7" doxytag="ZE::ZRect::Resize"></a><p>
@ -387,13 +392,14 @@ Changes the current x,y position of the rectangle relative to the current locati
<td> <td>
<p> <p>
Changes the current width and height of the rectangle. <dl compact><dt><b>Parameters:</b></dt><dd> Changes the current width and height of the rectangle. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>width</em>&nbsp;</td><td>New width for rectangle. </td></tr> <tr><td valign=top><em>width</em>&nbsp;</td><td>
<tr><td valign=top><em>height</em>&nbsp;</td><td>New height for rectangle. </td></tr> New width for rectangle. </td></tr>
</table> <tr><td valign=top><em>height</em>&nbsp;</td><td>
</dl> New height for rectangle. </td></tr>
</td> </table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a8" doxytag="ZE::ZRect::ResizeRel"></a><p> <a name="a8" doxytag="ZE::ZRect::ResizeRel"></a><p>
@ -431,13 +437,14 @@ Changes the current width and height of the rectangle. <dl compact><dt><b>Parame
<td> <td>
<p> <p>
Changes the current width and height of the rectangle based upon current values. <dl compact><dt><b>Parameters:</b></dt><dd> Changes the current width and height of the rectangle based upon current values. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>widthChange</em>&nbsp;</td><td>Amount to add or subtract from width. </td></tr> <tr><td valign=top><em>widthChange</em>&nbsp;</td><td>
<tr><td valign=top><em>heightChange</em>&nbsp;</td><td>Amount to add or subtract from height. </td></tr> Amount to add or subtract from width. </td></tr>
</table> <tr><td valign=top><em>heightChange</em>&nbsp;</td><td>
</dl> Amount to add or subtract from height. </td></tr>
</td> </table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a9" doxytag="ZE::ZRect::Intersects"></a><p> <a name="a9" doxytag="ZE::ZRect::Intersects"></a><p>
@ -466,13 +473,13 @@ Changes the current width and height of the rectangle based upon current values.
<td> <td>
<p> <p>
Checks for overlap and returns boolean value based on if overlap exists. <dl compact><dt><b>Parameters:</b></dt><dd> Checks for overlap and returns boolean value based on if overlap exists. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>rect</em>&nbsp;</td><td>Rectangle to check for intersection with. </td></tr> <tr><td valign=top><em>rect</em>&nbsp;</td><td>
</table> Rectangle to check for intersection with. </td></tr>
</dl> </table>
<dl compact><dt><b>Returns:</b></dt><dd>True if intersection occured, false otherwise. </dd></dl> </dl><dl compact><dt><b>Returns: </b></dt><dd>
</td> True if intersection occured, false otherwise. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a10" doxytag="ZE::ZRect::Contains"></a><p> <a name="a10" doxytag="ZE::ZRect::Contains"></a><p>
@ -510,14 +517,15 @@ Checks for overlap and returns boolean value based on if overlap exists. <dl com
<td> <td>
<p> <p>
Checks point against boundaries of rectangle and returns result. <dl compact><dt><b>Parameters:</b></dt><dd> Checks point against boundaries of rectangle and returns result. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>x</em>&nbsp;</td><td>X value of point to check. </td></tr> <tr><td valign=top><em>x</em>&nbsp;</td><td>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Y value of poitn to check. </td></tr> X value of point to check. </td></tr>
</table> <tr><td valign=top><em>y</em>&nbsp;</td><td>
</dl> Y value of poitn to check. </td></tr>
<dl compact><dt><b>Returns:</b></dt><dd>Boolean variable, true if point is inside rectangle, false otherwise. </dd></dl> </table>
</td> </dl><dl compact><dt><b>Returns: </b></dt><dd>
Boolean variable, true if point is inside rectangle, false otherwise. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a11" doxytag="ZE::ZRect::Contains"></a><p> <a name="a11" doxytag="ZE::ZRect::Contains"></a><p>
@ -546,13 +554,13 @@ Checks point against boundaries of rectangle and returns result. <dl compact><dt
<td> <td>
<p> <p>
Checks point against boundaries of rectangle and returns result. <dl compact><dt><b>Parameters:</b></dt><dd> Checks point against boundaries of rectangle and returns result. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>rect</em>&nbsp;</td><td>Rectangle to check for point. </td></tr> <tr><td valign=top><em>rect</em>&nbsp;</td><td>
</table> Rectangle to check for point. </td></tr>
</dl> </table>
<dl compact><dt><b>Returns:</b></dt><dd>Boolean variable, true if point is inside rectangle, false otherwise. </dd></dl> </dl><dl compact><dt><b>Returns: </b></dt><dd>
</td> Boolean variable, true if point is inside rectangle, false otherwise. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a12" doxytag="ZE::ZRect::Intersection"></a><p> <a name="a12" doxytag="ZE::ZRect::Intersection"></a><p>
@ -581,13 +589,13 @@ Checks point against boundaries of rectangle and returns result. <dl compact><dt
<td> <td>
<p> <p>
Checks for intersection, and returns rectangle where the two rectangles intersect. <dl compact><dt><b>Parameters:</b></dt><dd> Checks for intersection, and returns rectangle where the two rectangles intersect. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>rect</em>&nbsp;</td><td>Rectangle to check intersection with. </td></tr> <tr><td valign=top><em>rect</em>&nbsp;</td><td>
</table> Rectangle to check intersection with. </td></tr>
</dl> </table>
<dl compact><dt><b>Returns:</b></dt><dd><a class="el" href="classZE_1_1ZRect.html">ZRect</a> describing intersection area. </dd></dl> </dl><dl compact><dt><b>Returns: </b></dt><dd>
</td> <a class="el" href="classZE_1_1ZRect.html">ZRect</a> describing intersection area. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a13" doxytag="ZE::ZRect::SDLrect"></a><p> <a name="a13" doxytag="ZE::ZRect::SDLrect"></a><p>
@ -600,7 +608,7 @@ Checks for intersection, and returns rectangle where the two rectangles intersec
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td> <td class="md" nowrap></td>
</tr> </tr>
</table> </table>
@ -615,8 +623,8 @@ Checks for intersection, and returns rectangle where the two rectangles intersec
<td> <td>
<p> <p>
Makes a SDL_Rect representing the rectangle, for use where functions require an SDL_Rect. <dl compact><dt><b>Returns:</b></dt><dd>SDL_Rect representing the <a class="el" href="classZE_1_1ZRect.html">ZRect</a>. </dd></dl> Makes a SDL_Rect representing the rectangle, for use where functions require an SDL_Rect. <dl compact><dt><b>Returns: </b></dt><dd>
</td> SDL_Rect representing the <a class="el" href="classZE_1_1ZRect.html">ZRect</a>. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a14" doxytag="ZE::ZRect::X"></a><p> <a name="a14" doxytag="ZE::ZRect::X"></a><p>
@ -629,7 +637,7 @@ Makes a SDL_Rect representing the rectangle, for use where functions require an
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td> <td class="md" nowrap></td>
</tr> </tr>
</table> </table>
@ -644,8 +652,8 @@ Makes a SDL_Rect representing the rectangle, for use where functions require an
<td> <td>
<p> <p>
Access private X location member. <dl compact><dt><b>Returns:</b></dt><dd>Value of mX. </dd></dl> Access private X location member. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Value of mX. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a15" doxytag="ZE::ZRect::Y"></a><p> <a name="a15" doxytag="ZE::ZRect::Y"></a><p>
@ -658,7 +666,7 @@ Access private X location member. <dl compact><dt><b>Returns:</b></dt><dd>Value
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td> <td class="md" nowrap></td>
</tr> </tr>
</table> </table>
@ -673,8 +681,8 @@ Access private X location member. <dl compact><dt><b>Returns:</b></dt><dd>Value
<td> <td>
<p> <p>
Access private Y location member. <dl compact><dt><b>Returns:</b></dt><dd>Value of mY. </dd></dl> Access private Y location member. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Value of mY. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a16" doxytag="ZE::ZRect::Left"></a><p> <a name="a16" doxytag="ZE::ZRect::Left"></a><p>
@ -687,7 +695,7 @@ Access private Y location member. <dl compact><dt><b>Returns:</b></dt><dd>Value
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td> <td class="md" nowrap></td>
</tr> </tr>
</table> </table>
@ -702,8 +710,8 @@ Access private Y location member. <dl compact><dt><b>Returns:</b></dt><dd>Value
<td> <td>
<p> <p>
Find X position of left side of rectangle. <dl compact><dt><b>Returns:</b></dt><dd>X position of left side. </dd></dl> Find X position of left side of rectangle. <dl compact><dt><b>Returns: </b></dt><dd>
</td> X position of left side. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a17" doxytag="ZE::ZRect::Right"></a><p> <a name="a17" doxytag="ZE::ZRect::Right"></a><p>
@ -716,7 +724,7 @@ Find X position of left side of rectangle. <dl compact><dt><b>Returns:</b></dt><
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td> <td class="md" nowrap></td>
</tr> </tr>
</table> </table>
@ -731,8 +739,8 @@ Find X position of left side of rectangle. <dl compact><dt><b>Returns:</b></dt><
<td> <td>
<p> <p>
Find X position of right side of rectangle. <dl compact><dt><b>Returns:</b></dt><dd>X position of right side. </dd></dl> Find X position of right side of rectangle. <dl compact><dt><b>Returns: </b></dt><dd>
</td> X position of right side. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a18" doxytag="ZE::ZRect::Top"></a><p> <a name="a18" doxytag="ZE::ZRect::Top"></a><p>
@ -745,7 +753,7 @@ Find X position of right side of rectangle. <dl compact><dt><b>Returns:</b></dt>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td> <td class="md" nowrap></td>
</tr> </tr>
</table> </table>
@ -760,8 +768,8 @@ Find X position of right side of rectangle. <dl compact><dt><b>Returns:</b></dt>
<td> <td>
<p> <p>
Find Y position of top side of rectangle. <dl compact><dt><b>Returns:</b></dt><dd>Y position of top side. </dd></dl> Find Y position of top side of rectangle. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Y position of top side. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a19" doxytag="ZE::ZRect::Bottom"></a><p> <a name="a19" doxytag="ZE::ZRect::Bottom"></a><p>
@ -774,7 +782,7 @@ Find Y position of top side of rectangle. <dl compact><dt><b>Returns:</b></dt><d
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td> <td class="md" nowrap></td>
</tr> </tr>
</table> </table>
@ -789,8 +797,8 @@ Find Y position of top side of rectangle. <dl compact><dt><b>Returns:</b></dt><d
<td> <td>
<p> <p>
Find Y position of left side of rectangle. <dl compact><dt><b>Returns:</b></dt><dd>Y position of bottom side. </dd></dl> Find Y position of left side of rectangle. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Y position of bottom side. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a20" doxytag="ZE::ZRect::Width"></a><p> <a name="a20" doxytag="ZE::ZRect::Width"></a><p>
@ -803,7 +811,7 @@ Find Y position of left side of rectangle. <dl compact><dt><b>Returns:</b></dt><
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td> <td class="md" nowrap></td>
</tr> </tr>
</table> </table>
@ -818,8 +826,8 @@ Find Y position of left side of rectangle. <dl compact><dt><b>Returns:</b></dt><
<td> <td>
<p> <p>
Access private width member. <dl compact><dt><b>Returns:</b></dt><dd>Value of mWidth. </dd></dl> Access private width member. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Value of mWidth. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a21" doxytag="ZE::ZRect::Height"></a><p> <a name="a21" doxytag="ZE::ZRect::Height"></a><p>
@ -832,7 +840,7 @@ Access private width member. <dl compact><dt><b>Returns:</b></dt><dd>Value of mW
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td> <td class="md" nowrap></td>
</tr> </tr>
</table> </table>
@ -847,15 +855,15 @@ Access private width member. <dl compact><dt><b>Returns:</b></dt><dd>Value of mW
<td> <td>
<p> <p>
Access private height member. <dl compact><dt><b>Returns:</b></dt><dd>Value of mHeight. </dd></dl> Access private height member. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Value of mHeight. </dl> </td>
</tr> </tr>
</table> </table>
<hr>The documentation for this class was generated from the following files:<ul> <hr>The documentation for this class was generated from the following files:<ul>
<li>/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZRect_8h-source.html">ZE_ZRect.h</a><li>/home/James/ZEngine-dev/src/<a class="el" href="ZE__ZRect_8cpp.html">ZE_ZRect.cpp</a></ul> <li>/include/<a class="el" href="ZE__ZRect_8h-source.html">ZE_ZRect.h</a><li>/src/<a class="el" href="ZE__ZRect_8cpp.html">ZE_ZRect.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,11 +3,10 @@
<title>Member List</title> <title>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZSound Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a>, including all inherited members.<table> <hr><h1>ZE::ZSound Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a13">GetVolume</a>()</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a10">IsLoaded</a>()</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a10">IsLoaded</a>()</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a12">IsPaused</a>()</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a12">IsPaused</a>()</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a11">IsPlaying</a>()</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a11">IsPlaying</a>()</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr>
@ -22,14 +21,15 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a9">SetVolume</a>(int volume)</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a9">SetVolume</a>(int volume)</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a8">Stop</a>(int fadeTime=0)</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a8">Stop</a>(int fadeTime=0)</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a7">Unpause</a>()</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a7">Unpause</a>()</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a13">Volume</a>()</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a0">ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a0">ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a0">ZSound</a>()</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a0">ZSound</a>()</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a1">ZSound</a>(string filename)</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a1">ZSound</a>(string filename)</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a1">~ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline, virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a1">~ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline, virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a2">~ZSound</a>()</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a2">~ZSound</a>()</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr>
</table><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by </table><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
<title>ZE::ZSound class Reference</title> <title>ZE::ZSound class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZSound Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZSound_8h-source.html">ZE_ZSound.h</a>&gt;</code> <hr><h1>ZE::ZSound Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZSound_8h-source.html">ZE_ZSound.h</a>&gt;</code>
@ -42,7 +42,7 @@ Inherits <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>.
<tr><td>&nbsp;</td><td><font size=-1><em>Check if sound is Playing.</em> <a href="#a11"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Check if sound is Playing.</em> <a href="#a11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a12">IsPaused</a> ()</td></tr> <tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a12">IsPaused</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check if sound is Paused.</em> <a href="#a12"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Check if sound is Paused.</em> <a href="#a12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a13">GetVolume</a> ()</td></tr> <tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a13">Volume</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Find Current Volume of Sound Channel.</em> <a href="#a13"></a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Find Current Volume of Sound Channel.</em> <a href="#a13"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> <tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="p0" doxytag="ZE::ZSound::LoopInfinite"></a> <tr><td nowrap align=right valign=top><a name="p0" doxytag="ZE::ZSound::LoopInfinite"></a>
@ -50,8 +50,8 @@ const int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html
<tr><td>&nbsp;</td><td><font size=-1><em>Static Variable For Infinite loop of sound. (Defined as -1).</em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Static Variable For Infinite loop of sound. (Defined as -1).</em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="ZE::ZSound::rSound"></a> <tr><td nowrap align=right valign=top><a name="n0" doxytag="ZE::ZSound::rSound"></a>
<a class="el" href="classZE_1_1SoundData.html">SoundData</a>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#n0">rSound</a></td></tr> Mix_Chunk *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#n0">rSound</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Class containing music data and music filename.</em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Pointer to music data.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="ZE::ZSound::rChannelID"></a> <tr><td nowrap align=right valign=top><a name="n1" doxytag="ZE::ZSound::rChannelID"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#n1">rChannelID</a></td></tr> int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#n1">rChannelID</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Channel ID Number from SDL_Mixer.</em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Channel ID Number from SDL_Mixer.</em></font><br><br></td></tr>
@ -111,12 +111,12 @@ Default Constructor, does nothing. </td>
<td> <td>
<p> <p>
Constructor simply calls <a class="el" href="classZE_1_1ZSound.html#a3">ZSound::Open()</a> with same filename. (WAV,MOD,MID,OGG) <dl compact><dt><b>Parameters:</b></dt><dd> Constructor simply calls <a class="el" href="classZE_1_1ZSound.html#a3">ZSound::Open()</a> with same filename. (WAV,MOD,MID,OGG) <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>filename</em>&nbsp;</td><td>Sound effect to open. </td></tr> <tr><td valign=top><em>filename</em>&nbsp;</td><td>
</table> Sound effect to open. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<a name="a2" doxytag="ZE::ZSound::~ZSound"></a><p> <a name="a2" doxytag="ZE::ZSound::~ZSound"></a><p>
@ -174,12 +174,12 @@ Destructor calls <a class="el" href="classZE_1_1ZSound.html#a4">ZSound::Release(
<td> <td>
<p> <p>
Open a music file to be used. <dl compact><dt><b>Parameters:</b></dt><dd> Open a music file to be used. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>filename</em>&nbsp;</td><td>Music to open. </td></tr> <tr><td valign=top><em>filename</em>&nbsp;</td><td>
</table> Music to open. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<a name="a4" doxytag="ZE::ZSound::Release"></a><p> <a name="a4" doxytag="ZE::ZSound::Release"></a><p>
@ -245,13 +245,14 @@ Release memory held by sample data. </td>
<td> <td>
<p> <p>
Play sound effect, looping loopNum times. (use <a class="el" href="classZE_1_1ZSound.html#p0">ZSound::LoopInfinite</a> to loop forever.) If fade is not zero (which it defaults to) music will fade in over specified number of milliseconds. <dl compact><dt><b>Parameters:</b></dt><dd> Play sound effect, looping loopNum times. (use <a class="el" href="classZE_1_1ZSound.html#p0">ZSound::LoopInfinite</a> to loop forever.) If fade is not zero (which it defaults to) music will fade in over specified number of milliseconds. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>loopNum</em>&nbsp;</td><td>Number of times to loop song, defaults to zero. </td></tr> <tr><td valign=top><em>loopNum</em>&nbsp;</td><td>
<tr><td valign=top><em>fadeTime</em>&nbsp;</td><td>Milliseconds to fade to full volume, defaults to zero for no fade. </td></tr> Number of times to loop song, defaults to zero. </td></tr>
</table> <tr><td valign=top><em>fadeTime</em>&nbsp;</td><td>
</dl> Milliseconds to fade to full volume, defaults to zero for no fade. </td></tr>
</td> </table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a6" doxytag="ZE::ZSound::Pause"></a><p> <a name="a6" doxytag="ZE::ZSound::Pause"></a><p>
@ -336,12 +337,12 @@ Unpause currently playing sound. </td>
<td> <td>
<p> <p>
Stop currently playing sound, if fadeTime is not zero, fade out over specified time. <dl compact><dt><b>Parameters:</b></dt><dd> Stop currently playing sound, if fadeTime is not zero, fade out over specified time. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>fadeTime</em>&nbsp;</td><td>Milliseconds to fade out over, defaults to zero for immediate stop. </td></tr> <tr><td valign=top><em>fadeTime</em>&nbsp;</td><td>
</table> Milliseconds to fade out over, defaults to zero for immediate stop. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<a name="a9" doxytag="ZE::ZSound::SetVolume"></a><p> <a name="a9" doxytag="ZE::ZSound::SetVolume"></a><p>
@ -370,12 +371,12 @@ Stop currently playing sound, if fadeTime is not zero, fade out over specified t
<td> <td>
<p> <p>
Change volume of currently playing sample. <dl compact><dt><b>Parameters:</b></dt><dd> Change volume of currently playing sample. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>volume</em>&nbsp;</td><td>Volume to change to, can be in a range from 0 to 128. </td></tr> <tr><td valign=top><em>volume</em>&nbsp;</td><td>
</table> Volume to change to, can be in a range from 0 to 128. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<a name="a10" doxytag="ZE::ZSound::IsLoaded"></a><p> <a name="a10" doxytag="ZE::ZSound::IsLoaded"></a><p>
@ -403,8 +404,8 @@ Change volume of currently playing sample. <dl compact><dt><b>Parameters:</b></d
<td> <td>
<p> <p>
Check if file is loaded and pointer to data is non-NULL. <dl compact><dt><b>Returns:</b></dt><dd>Loaded or Unloaded state of data. </dd></dl> Check if file is loaded and pointer to data is non-NULL. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Loaded or Unloaded state of data. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a11" doxytag="ZE::ZSound::IsPlaying"></a><p> <a name="a11" doxytag="ZE::ZSound::IsPlaying"></a><p>
@ -432,8 +433,8 @@ Check if file is loaded and pointer to data is non-NULL. <dl compact><dt><b>Retu
<td> <td>
<p> <p>
Check if sound is playing, specifically if it is not stopped. (Paused state should be checked for by IsPaused) <dl compact><dt><b>Returns:</b></dt><dd>Playing / Not Playing State of sound. </dd></dl> Check if sound is playing, specifically if it is not stopped. (Paused state should be checked for by IsPaused) <dl compact><dt><b>Returns: </b></dt><dd>
</td> Playing / Not Playing State of sound. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a12" doxytag="ZE::ZSound::IsPaused"></a><p> <a name="a12" doxytag="ZE::ZSound::IsPaused"></a><p>
@ -461,17 +462,17 @@ Check if sound is playing, specifically if it is not stopped. (Paused state shou
<td> <td>
<p> <p>
Check if sound is "playing" but currently paused. <dl compact><dt><b>Returns:</b></dt><dd>Paused / Not Paused State of Sound. </dd></dl> Check if sound is "playing" but currently paused. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Paused / Not Paused State of Sound. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a13" doxytag="ZE::ZSound::GetVolume"></a><p> <a name="a13" doxytag="ZE::ZSound::Volume"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0"> <table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr> <tr>
<td class="md"> <td class="md">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td class="md" nowrap valign="top"> int ZE::ZSound::GetVolume </td> <td class="md" nowrap valign="top"> int ZE::ZSound::Volume </td>
<td class="md" valign="top">(&nbsp;</td> <td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td> <td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td> <td class="md" valign="top">)&nbsp;</td>
@ -490,15 +491,15 @@ Check if sound is "playing" but currently paused. <dl compact><dt><b>Returns:</b
<td> <td>
<p> <p>
Get current volume of sound channel represented as a value from 0-128. <dl compact><dt><b>Returns:</b></dt><dd>Volume of sound channel, 0-128. </dd></dl> Get current volume of sound channel represented as a value from 0-128. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Volume of sound channel, 0-128. </dl> </td>
</tr> </tr>
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZSound_8h-source.html">ZE_ZSound.h</a></ul> <li>/include/<a class="el" href="ZE__ZSound_8h-source.html">ZE_ZSound.h</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
<title>Member List</title> <title>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZTimer Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a>, including all inherited members.<table> <hr><h1>ZE::ZTimer Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a>, including all inherited members.<table>
@ -21,9 +21,9 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a0">ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a0">ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZTimer.html#a0">ZTimer</a>(bool useZEngine=true)</td><td><a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZTimer.html#a0">ZTimer</a>(bool useZEngine=true)</td><td><a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a1">~ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline, virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZObject.html#a1">~ZObject</a>()</td><td><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td><code> [inline, virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by </table><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
<title>ZE::ZTimer class Reference</title> <title>ZE::ZTimer class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZTimer Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZTimer_8h-source.html">ZE_ZTimer.h</a>&gt;</code> <hr><h1>ZE::ZTimer Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZTimer_8h-source.html">ZE_ZTimer.h</a>&gt;</code>
@ -72,12 +72,12 @@ Uint32&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZTimer.html#n3
<td> <td>
<p> <p>
Sets TimePaused to current <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> time if useZEngine is true, otherwise uses SDL timer. <dl compact><dt><b>Parameters:</b></dt><dd> Sets TimePaused to current <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> time if useZEngine is true, otherwise uses SDL timer. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>useZEngine</em>&nbsp;</td><td>Tells if timer should use <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> or SDL. </td></tr> <tr><td valign=top><em>useZEngine</em>&nbsp;</td><td>
</table> Tells if timer should use <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> or SDL. </td></tr>
</dl> </table>
</td> </dl> </td>
</tr> </tr>
</table> </table>
<hr><h2>Member Function Documentation</h2> <hr><h2>Member Function Documentation</h2>
@ -106,8 +106,8 @@ Sets TimePaused to current <a class="el" href="classZE_1_1ZEngine.html">ZEngine<
<td> <td>
<p> <p>
Protected method to get time from whichever timer is parent. <dl compact><dt><b>Returns:</b></dt><dd>Time on parent timer. </dd></dl> Protected method to get time from whichever timer is parent. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Time on parent timer. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a1" doxytag="ZE::ZTimer::Reset"></a><p> <a name="a1" doxytag="ZE::ZTimer::Reset"></a><p>
@ -219,8 +219,8 @@ Unpause the timer if it is paused. </td>
<td> <td>
<p> <p>
Get current time accounting for time paused. <dl compact><dt><b>Returns:</b></dt><dd>Current Timer Time. </dd></dl> Get current time accounting for time paused. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Current Timer Time. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a5" doxytag="ZE::ZTimer::IsPaused"></a><p> <a name="a5" doxytag="ZE::ZTimer::IsPaused"></a><p>
@ -248,15 +248,15 @@ Get current time accounting for time paused. <dl compact><dt><b>Returns:</b></dt
<td> <td>
<p> <p>
Find out paused state of timer. <dl compact><dt><b>Returns:</b></dt><dd>Paused state for timer. </dd></dl> Find out paused state of timer. <dl compact><dt><b>Returns: </b></dt><dd>
</td> Paused state for timer. </dl> </td>
</tr> </tr>
</table> </table>
<hr>The documentation for this class was generated from the following files:<ul> <hr>The documentation for this class was generated from the following files:<ul>
<li>/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZTimer_8h-source.html">ZE_ZTimer.h</a><li>/home/James/ZEngine-dev/src/<a class="el" href="ZE__ZTimer_8cpp.html">ZE_ZTimer.cpp</a></ul> <li>/include/<a class="el" href="ZE__ZTimer_8h-source.html">ZE_ZTimer.h</a><li>/src/<a class="el" href="ZE__ZTimer_8cpp.html">ZE_ZTimer.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,38 +3,39 @@
<title>File Index</title> <title>File Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZEngine File List</h1>Here is a list of all documented files with brief descriptions:<table> <hr><h1>ZEngine File List</h1>Here is a list of all documented files with brief descriptions:<table>
<tr><td class="indexkey">/home/James/ZEngine-dev/include/<a class="el" href="ZE__DataPtr_8h.html">ZE_DataPtr.h</a> <a href="ZE__DataPtr_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZEngine Data/Pointer Classes. ([Image,Font,Sound,Music]Data/Ptr)</td></tr> <tr><td class="indexkey">/include/<a class="el" href="ZE__Defines_8h.html">ZE_Defines.h</a> <a href="ZE__Defines_8h-source.html">[code]</a></td><td class="indexvalue">Define file for ZEngine</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/include/<a class="el" href="ZE__Defines_8h.html">ZE_Defines.h</a> <a href="ZE__Defines_8h-source.html">[code]</a></td><td class="indexvalue">Define file for ZEngine</td></tr> <tr><td class="indexkey">/include/<a class="el" href="ZE__Error_8h.html">ZE_Error.h</a> <a href="ZE__Error_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZEngine Error Handling Functions</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/include/<a class="el" href="ZE__Error_8h.html">ZE_Error.h</a> <a href="ZE__Error_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZEngine Error Handling Functions</td></tr> <tr><td class="indexkey">/include/<a class="el" href="ZE__Includes_8h.html">ZE_Includes.h</a> <a href="ZE__Includes_8h-source.html">[code]</a></td><td class="indexvalue">Include file for SDL and C++ Includes that many ZEngine files need</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/include/<a class="el" href="ZE__Includes_8h.html">ZE_Includes.h</a> <a href="ZE__Includes_8h-source.html">[code]</a></td><td class="indexvalue">Include file for SDL and C++ Includes that many ZEngine files need</td></tr> <tr><td class="indexkey">/include/<a class="el" href="ZE__Macros_8h.html">ZE_Macros.h</a> <a href="ZE__Macros_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZEngine Macros</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZConfigFile_8h.html">ZE_ZConfigFile.h</a> <a href="ZE__ZConfigFile_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZConfigFile</td></tr> <tr><td class="indexkey">/include/<a class="el" href="ZE__ZConfigFile_8h.html">ZE_ZConfigFile.h</a> <a href="ZE__ZConfigFile_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZConfigFile</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZEngine_8h.html">ZE_ZEngine.h</a> <a href="ZE__ZEngine_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for core ZEngine class</td></tr> <tr><td class="indexkey">/include/<a class="el" href="ZE__ZEngine_8h.html">ZE_ZEngine.h</a> <a href="ZE__ZEngine_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for core ZEngine class</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZFont_8h.html">ZE_ZFont.h</a> <a href="ZE__ZFont_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZFont</td></tr> <tr><td class="indexkey">/include/<a class="el" href="ZE__ZFont_8h.html">ZE_ZFont.h</a> <a href="ZE__ZFont_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZFont</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZImage_8h.html">ZE_ZImage.h</a> <a href="ZE__ZImage_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZImage</td></tr> <tr><td class="indexkey">/include/<a class="el" href="ZE__ZImage_8h.html">ZE_ZImage.h</a> <a href="ZE__ZImage_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZImage</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZMusic_8h.html">ZE_ZMusic.h</a> <a href="ZE__ZMusic_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZMusic</td></tr> <tr><td class="indexkey">/include/<a class="el" href="ZE__ZMusic_8h.html">ZE_ZMusic.h</a> <a href="ZE__ZMusic_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZMusic</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZObject_8h.html">ZE_ZObject.h</a> <a href="ZE__ZObject_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZObject Base Class</td></tr> <tr><td class="indexkey">/include/<a class="el" href="ZE__ZObject_8h.html">ZE_ZObject.h</a> <a href="ZE__ZObject_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZObject Base Class</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZRect_8h.html">ZE_ZRect.h</a> <a href="ZE__ZRect_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZRect</td></tr> <tr><td class="indexkey">/include/<a class="el" href="ZE__ZRect_8h.html">ZE_ZRect.h</a> <a href="ZE__ZRect_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZRect</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZSound_8h.html">ZE_ZSound.h</a> <a href="ZE__ZSound_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZSound</td></tr> <tr><td class="indexkey">/include/<a class="el" href="ZE__ZSound_8h.html">ZE_ZSound.h</a> <a href="ZE__ZSound_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZSound</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/include/<a class="el" href="ZE__ZTimer_8h.html">ZE_ZTimer.h</a> <a href="ZE__ZTimer_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZTimer</td></tr> <tr><td class="indexkey">/include/<a class="el" href="ZE__ZTimer_8h.html">ZE_ZTimer.h</a> <a href="ZE__ZTimer_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for ZTimer</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/include/<a class="el" href="ZEngine_8h.html">ZEngine.h</a> <a href="ZEngine_8h-source.html">[code]</a></td><td class="indexvalue">Header file for ZEngine</td></tr> <tr><td class="indexkey">/include/<a class="el" href="ZEngine_8h.html">ZEngine.h</a> <a href="ZEngine_8h-source.html">[code]</a></td><td class="indexvalue">Header file for ZEngine</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/include/external/<b>physfsrwops.h</b> <a href="physfsrwops_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey">/include/external/<b>physfsrwops.h</b> <a href="physfsrwops_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/src/<a class="el" href="ZE__Error_8cpp.html">ZE_Error.cpp</a></td><td class="indexvalue">Source file for error logging utilities</td></tr> <tr><td class="indexkey">/include/external/<b>SDLGL_Util.h</b> <a href="SDLGL__Util_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/src/<a class="el" href="ZE__ZConfigFile_8cpp.html">ZE_ZConfigFile.cpp</a></td><td class="indexvalue">Source file for ZConfigFile</td></tr> <tr><td class="indexkey">/src/<a class="el" href="ZE__Error_8cpp.html">ZE_Error.cpp</a></td><td class="indexvalue">Source file for error logging utilities</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/src/<a class="el" href="ZE__ZEngine_8cpp.html">ZE_ZEngine.cpp</a></td><td class="indexvalue">Central source file for ZEngine</td></tr> <tr><td class="indexkey">/src/<a class="el" href="ZE__ZConfigFile_8cpp.html">ZE_ZConfigFile.cpp</a></td><td class="indexvalue">Source file for ZConfigFile</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/src/<a class="el" href="ZE__ZFont_8cpp.html">ZE_ZFont.cpp</a></td><td class="indexvalue">Source file for ZFont</td></tr> <tr><td class="indexkey">/src/<a class="el" href="ZE__ZEngine_8cpp.html">ZE_ZEngine.cpp</a></td><td class="indexvalue">Central source file for ZEngine</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/src/<a class="el" href="ZE__ZImage_8cpp.html">ZE_ZImage.cpp</a></td><td class="indexvalue">Source file for ZImage</td></tr> <tr><td class="indexkey">/src/<a class="el" href="ZE__ZFont_8cpp.html">ZE_ZFont.cpp</a></td><td class="indexvalue">Source file for ZFont</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/src/<a class="el" href="ZE__ZMusic_8cpp.html">ZE_ZMusic.cpp</a></td><td class="indexvalue">Source file for ZMusic</td></tr> <tr><td class="indexkey">/src/<a class="el" href="ZE__ZImage_8cpp.html">ZE_ZImage.cpp</a></td><td class="indexvalue">Source file for ZImage</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/src/<a class="el" href="ZE__ZRect_8cpp.html">ZE_ZRect.cpp</a></td><td class="indexvalue">Source file for ZRect</td></tr> <tr><td class="indexkey">/src/<a class="el" href="ZE__ZMusic_8cpp.html">ZE_ZMusic.cpp</a></td><td class="indexvalue">Source file for ZMusic</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/src/<a class="el" href="ZE__ZSound_8cpp.html">ZE_ZSound.cpp</a></td><td class="indexvalue">Source file for ZSound</td></tr> <tr><td class="indexkey">/src/<a class="el" href="ZE__ZRect_8cpp.html">ZE_ZRect.cpp</a></td><td class="indexvalue">Source file for ZRect</td></tr>
<tr><td class="indexkey">/home/James/ZEngine-dev/src/<a class="el" href="ZE__ZTimer_8cpp.html">ZE_ZTimer.cpp</a></td><td class="indexvalue">Source file for ZTimer</td></tr> <tr><td class="indexkey">/src/<a class="el" href="ZE__ZSound_8cpp.html">ZE_ZSound.cpp</a></td><td class="indexvalue">Source file for ZSound</td></tr>
<tr><td class="indexkey">/src/<a class="el" href="ZE__ZTimer_8cpp.html">ZE_ZTimer.cpp</a></td><td class="indexvalue">Source file for ZTimer</td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,86 +3,69 @@
<title>Compound Member Index</title> <title>Compound Member Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZEngine Compound Members</h1><center> <hr><h1>ZEngine Compound Members</h1><center>
<a href="#index_a">a</a>&nbsp;|&nbsp;<a href="#index_b">b</a>&nbsp;|&nbsp;<a href="#index_c">c</a>&nbsp;|&nbsp;<a href="#index_d">d</a>&nbsp;|&nbsp;<a href="#index_f">f</a>&nbsp;|&nbsp;<a href="#index_g">g</a>&nbsp;|&nbsp;<a href="#index_h">h</a>&nbsp;|&nbsp;<a href="#index_i">i</a>&nbsp;|&nbsp;<a href="#index_k">k</a>&nbsp;|&nbsp;<a href="#index_l">l</a>&nbsp;|&nbsp;<a href="#index_m">m</a>&nbsp;|&nbsp;<a href="#index_o">o</a>&nbsp;|&nbsp;<a href="#index_p">p</a>&nbsp;|&nbsp;<a href="#index_q">q</a>&nbsp;|&nbsp;<a href="#index_r">r</a>&nbsp;|&nbsp;<a href="#index_s">s</a>&nbsp;|&nbsp;<a href="#index_t">t</a>&nbsp;|&nbsp;<a href="#index_u">u</a>&nbsp;|&nbsp;<a href="#index_w">w</a>&nbsp;|&nbsp;<a href="#index_x">x</a>&nbsp;|&nbsp;<a href="#index_y">y</a>&nbsp;|&nbsp;<a href="#index_z">z</a>&nbsp;|&nbsp;<a href="#index_~">~</a></center> <a href="#index_a">a</a>&nbsp;|&nbsp;<a href="#index_b">b</a>&nbsp;|&nbsp;<a href="#index_c">c</a>&nbsp;|&nbsp;<a href="#index_d">d</a>&nbsp;|&nbsp;<a href="#index_f">f</a>&nbsp;|&nbsp;<a href="#index_g">g</a>&nbsp;|&nbsp;<a href="#index_h">h</a>&nbsp;|&nbsp;<a href="#index_i">i</a>&nbsp;|&nbsp;<a href="#index_k">k</a>&nbsp;|&nbsp;<a href="#index_l">l</a>&nbsp;|&nbsp;<a href="#index_m">m</a>&nbsp;|&nbsp;<a href="#index_o">o</a>&nbsp;|&nbsp;<a href="#index_p">p</a>&nbsp;|&nbsp;<a href="#index_q">q</a>&nbsp;|&nbsp;<a href="#index_r">r</a>&nbsp;|&nbsp;<a href="#index_s">s</a>&nbsp;|&nbsp;<a href="#index_t">t</a>&nbsp;|&nbsp;<a href="#index_u">u</a>&nbsp;|&nbsp;<a href="#index_v">v</a>&nbsp;|&nbsp;<a href="#index_w">w</a>&nbsp;|&nbsp;<a href="#index_x">x</a>&nbsp;|&nbsp;<a href="#index_y">y</a>&nbsp;|&nbsp;<a href="#index_z">z</a>&nbsp;|&nbsp;<a href="#index_~">~</a></center>
<p> <p>
Here is a list of all documented class members with links to the class documentation for each member:<h3><a name="index_a">- a -</a> Here is a list of all documented class members with links to the classes they belong to:<h3><a name="index_a">- a -</a>
</h3><ul> </h3><ul>
<li>Attach() <li>Attach()
: <a class="el" href="classZE_1_1ZImage.html#a7">ZE::ZImage</a></ul> : <a class="el" href="classZE_1_1ZImage.html#a7">ZE::ZImage</a></ul>
<h3><a name="index_b">- b -</a> <h3><a name="index_b">- b -</a>
</h3><ul> </h3><ul>
<li>Bottom() <li>Bind()
: <a class="el" href="classZE_1_1ZRect.html#a19">ZE::ZRect</a></ul> : <a class="el" href="classZE_1_1ZImage.html#a10">ZE::ZImage</a><li>Bottom()
: <a class="el" href="classZE_1_1ZRect.html#a19">ZE::ZRect</a><li>BPP()
: <a class="el" href="classZE_1_1ZEngine.html#a32">ZE::ZEngine</a></ul>
<h3><a name="index_c">- c -</a> <h3><a name="index_c">- c -</a>
</h3><ul> </h3><ul>
<li>CheckEvents() <li>CheckEvents()
: <a class="el" href="classZE_1_1ZEngine.html#a25">ZE::ZEngine</a><li>CleanString() : <a class="el" href="classZE_1_1ZEngine.html#a25">ZE::ZEngine</a><li>CleanString()
: <a class="el" href="classZE_1_1ZConfigFile.html#c0">ZE::ZConfigFile</a><li>Clear() : <a class="el" href="classZE_1_1ZConfigFile.html#c0">ZE::ZConfigFile</a><li>Clear()
: <a class="el" href="classZE_1_1ZEngine.html#a7">ZE::ZEngine</a><li>Close() : <a class="el" href="classZE_1_1ZEngine.html#a6">ZE::ZEngine</a><li>Close()
: <a class="el" href="classZE_1_1ZConfigFile.html#a11">ZE::ZConfigFile</a><li>CloseWindow() : <a class="el" href="classZE_1_1ZConfigFile.html#a11">ZE::ZConfigFile</a><li>CloseDisplay()
: <a class="el" href="classZE_1_1ZEngine.html#a3">ZE::ZEngine</a><li>Contains() : <a class="el" href="classZE_1_1ZEngine.html#a3">ZE::ZEngine</a><li>Contains()
: <a class="el" href="classZE_1_1ZRect.html#a11">ZE::ZRect</a><li>CreateWindow() : <a class="el" href="classZE_1_1ZRect.html#a11">ZE::ZRect</a><li>CreateDisplay()
: <a class="el" href="classZE_1_1ZEngine.html#a2">ZE::ZEngine</a></ul> : <a class="el" href="classZE_1_1ZEngine.html#a2">ZE::ZEngine</a></ul>
<h3><a name="index_d">- d -</a> <h3><a name="index_d">- d -</a>
</h3><ul> </h3><ul>
<li>Draw() <li>Delay()
: <a class="el" href="classZE_1_1ZEngine.html#a8">ZE::ZEngine</a><li>Display()
: <a class="el" href="classZE_1_1ZEngine.html#a4">ZE::ZEngine</a><li>Draw()
: <a class="el" href="classZE_1_1ZImage.html#a11">ZE::ZImage</a><li>DrawShadedText() : <a class="el" href="classZE_1_1ZImage.html#a11">ZE::ZImage</a><li>DrawShadedText()
: <a class="el" href="classZE_1_1ZFont.html#a6">ZE::ZFont</a><li>DrawText() : <a class="el" href="classZE_1_1ZFont.html#a6">ZE::ZFont</a><li>DrawText()
: <a class="el" href="classZE_1_1ZFont.html#a5">ZE::ZFont</a></ul> : <a class="el" href="classZE_1_1ZFont.html#a5">ZE::ZFont</a></ul>
<h3><a name="index_f">- f -</a> <h3><a name="index_f">- f -</a>
</h3><ul> </h3><ul>
<li>filename <li>Flush()
: <a class="el" href="classZE_1_1MusicData.html#m1">ZE::MusicData</a>, <a class="el" href="classZE_1_1SoundData.html#m1">ZE::SoundData</a>, <a class="el" href="classZE_1_1FontData.html#m1">ZE::FontData</a>, <a class="el" href="classZE_1_1ImageData.html#m1">ZE::ImageData</a><li>Flush() : <a class="el" href="classZE_1_1ZConfigFile.html#a10">ZE::ZConfigFile</a></ul>
: <a class="el" href="classZE_1_1ZConfigFile.html#a10">ZE::ZConfigFile</a><li>font
: <a class="el" href="classZE_1_1FontData.html#m0">ZE::FontData</a><li>FontData()
: <a class="el" href="classZE_1_1FontData.html#a0">ZE::FontData</a><li>FreeFont()
: <a class="el" href="classZE_1_1ZEngine.html#a33">ZE::ZEngine</a><li>FreeImage()
: <a class="el" href="classZE_1_1ZEngine.html#a27">ZE::ZEngine</a><li>FreeMusic()
: <a class="el" href="classZE_1_1ZEngine.html#a31">ZE::ZEngine</a><li>FreeSound()
: <a class="el" href="classZE_1_1ZEngine.html#a29">ZE::ZEngine</a></ul>
<h3><a name="index_g">- g -</a> <h3><a name="index_g">- g -</a>
</h3><ul> </h3><ul>
<li>GetBool() <li>GetBool()
: <a class="el" href="classZE_1_1ZConfigFile.html#a5">ZE::ZConfigFile</a><li>GetBPP() : <a class="el" href="classZE_1_1ZConfigFile.html#a5">ZE::ZConfigFile</a><li>GetFrameTime()
: <a class="el" href="classZE_1_1ZEngine.html#a36">ZE::ZEngine</a><li>GetDisplay() : <a class="el" href="classZE_1_1ZEngine.html#a12">ZE::ZEngine</a><li>GetInstance()
: <a class="el" href="classZE_1_1ZEngine.html#a4">ZE::ZEngine</a><li>GetFilename()
: <a class="el" href="classZE_1_1ZImage.html#a16">ZE::ZImage</a><li>GetFrameTime()
: <a class="el" href="classZE_1_1ZEngine.html#a12">ZE::ZEngine</a><li>GetHeight()
: <a class="el" href="classZE_1_1ZImage.html#a15">ZE::ZImage</a>, <a class="el" href="classZE_1_1ZFont.html#a15">ZE::ZFont</a>, <a class="el" href="classZE_1_1ZEngine.html#a35">ZE::ZEngine</a><li>GetImage()
: <a class="el" href="classZE_1_1ZImage.html#a13">ZE::ZImage</a><li>GetInstance()
: <a class="el" href="classZE_1_1ZEngine.html#d0">ZE::ZEngine</a><li>GetInt() : <a class="el" href="classZE_1_1ZEngine.html#d0">ZE::ZEngine</a><li>GetInt()
: <a class="el" href="classZE_1_1ZConfigFile.html#a4">ZE::ZConfigFile</a><li>GetLineSkip() : <a class="el" href="classZE_1_1ZConfigFile.html#a4">ZE::ZConfigFile</a><li>GetParentTime()
: <a class="el" href="classZE_1_1ZFont.html#a16">ZE::ZFont</a><li>GetMouseX()
: <a class="el" href="classZE_1_1ZEngine.html#a20">ZE::ZEngine</a><li>GetMouseY()
: <a class="el" href="classZE_1_1ZEngine.html#a21">ZE::ZEngine</a><li>GetParentTime()
: <a class="el" href="classZE_1_1ZTimer.html#b0">ZE::ZTimer</a><li>GetString() : <a class="el" href="classZE_1_1ZTimer.html#b0">ZE::ZTimer</a><li>GetString()
: <a class="el" href="classZE_1_1ZConfigFile.html#a6">ZE::ZConfigFile</a><li>GetStringHeight() : <a class="el" href="classZE_1_1ZConfigFile.html#a6">ZE::ZConfigFile</a><li>GetTime()
: <a class="el" href="classZE_1_1ZFont.html#a18">ZE::ZFont</a><li>GetStringWidth()
: <a class="el" href="classZE_1_1ZFont.html#a17">ZE::ZFont</a><li>GetTime()
: <a class="el" href="classZE_1_1ZTimer.html#a4">ZE::ZTimer</a>, <a class="el" href="classZE_1_1ZEngine.html#a9">ZE::ZEngine</a><li>GetVersion() : <a class="el" href="classZE_1_1ZTimer.html#a4">ZE::ZTimer</a>, <a class="el" href="classZE_1_1ZEngine.html#a9">ZE::ZEngine</a><li>GetVersion()
: <a class="el" href="classZE_1_1ZEngine.html#d2">ZE::ZEngine</a><li>GetVolume() : <a class="el" href="classZE_1_1ZEngine.html#d2">ZE::ZEngine</a></ul>
: <a class="el" href="classZE_1_1ZSound.html#a13">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a14">ZE::ZMusic</a><li>GetWidth()
: <a class="el" href="classZE_1_1ZImage.html#a14">ZE::ZImage</a>, <a class="el" href="classZE_1_1ZEngine.html#a34">ZE::ZEngine</a></ul>
<h3><a name="index_h">- h -</a> <h3><a name="index_h">- h -</a>
</h3><ul> </h3><ul>
<li>Height() <li>Height()
: <a class="el" href="classZE_1_1ZRect.html#a21">ZE::ZRect</a><li>HideCursor() : <a class="el" href="classZE_1_1ZRect.html#a21">ZE::ZRect</a>, <a class="el" href="classZE_1_1ZImage.html#a15">ZE::ZImage</a>, <a class="el" href="classZE_1_1ZFont.html#a15">ZE::ZFont</a>, <a class="el" href="classZE_1_1ZEngine.html#a31">ZE::ZEngine</a><li>HideCursor()
: <a class="el" href="classZE_1_1ZEngine.html#a18">ZE::ZEngine</a></ul> : <a class="el" href="classZE_1_1ZEngine.html#a18">ZE::ZEngine</a></ul>
<h3><a name="index_i">- i -</a> <h3><a name="index_i">- i -</a>
</h3><ul> </h3><ul>
<li>image <li>Intersection()
: <a class="el" href="classZE_1_1ImageData.html#m0">ZE::ImageData</a><li>ImageData()
: <a class="el" href="classZE_1_1ImageData.html#a0">ZE::ImageData</a><li>Intersection()
: <a class="el" href="classZE_1_1ZRect.html#a12">ZE::ZRect</a><li>Intersects() : <a class="el" href="classZE_1_1ZRect.html#a12">ZE::ZRect</a><li>Intersects()
: <a class="el" href="classZE_1_1ZRect.html#a9">ZE::ZRect</a><li>IsActive() : <a class="el" href="classZE_1_1ZRect.html#a9">ZE::ZRect</a><li>IsActive()
: <a class="el" href="classZE_1_1ZEngine.html#a14">ZE::ZEngine</a><li>IsBold() : <a class="el" href="classZE_1_1ZEngine.html#a14">ZE::ZEngine</a><li>IsBold()
: <a class="el" href="classZE_1_1ZFont.html#a12">ZE::ZFont</a><li>IsFullscreen() : <a class="el" href="classZE_1_1ZFont.html#a12">ZE::ZFont</a><li>IsFullscreen()
: <a class="el" href="classZE_1_1ZEngine.html#a37">ZE::ZEngine</a><li>IsItalic() : <a class="el" href="classZE_1_1ZEngine.html#a33">ZE::ZEngine</a><li>IsItalic()
: <a class="el" href="classZE_1_1ZFont.html#a13">ZE::ZFont</a><li>IsLoaded() : <a class="el" href="classZE_1_1ZFont.html#a13">ZE::ZFont</a><li>IsLoaded()
: <a class="el" href="classZE_1_1ZSound.html#a10">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a11">ZE::ZMusic</a>, <a class="el" href="classZE_1_1ZImage.html#a12">ZE::ZImage</a>, <a class="el" href="classZE_1_1ZFont.html#a11">ZE::ZFont</a><li>IsPaused() : <a class="el" href="classZE_1_1ZSound.html#a10">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a11">ZE::ZMusic</a>, <a class="el" href="classZE_1_1ZImage.html#a12">ZE::ZImage</a>, <a class="el" href="classZE_1_1ZFont.html#a11">ZE::ZFont</a><li>IsPaused()
: <a class="el" href="classZE_1_1ZTimer.html#a5">ZE::ZTimer</a>, <a class="el" href="classZE_1_1ZSound.html#a12">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a13">ZE::ZMusic</a>, <a class="el" href="classZE_1_1ZEngine.html#a13">ZE::ZEngine</a><li>IsPlaying() : <a class="el" href="classZE_1_1ZTimer.html#a5">ZE::ZTimer</a>, <a class="el" href="classZE_1_1ZSound.html#a12">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a13">ZE::ZMusic</a>, <a class="el" href="classZE_1_1ZEngine.html#a13">ZE::ZEngine</a><li>IsPlaying()
@ -96,17 +79,17 @@ Here is a list of all documented class members with links to the class documenta
</h3><ul> </h3><ul>
<li>LButtonPressed() <li>LButtonPressed()
: <a class="el" href="classZE_1_1ZEngine.html#a22">ZE::ZEngine</a><li>Left() : <a class="el" href="classZE_1_1ZEngine.html#a22">ZE::ZEngine</a><li>Left()
: <a class="el" href="classZE_1_1ZRect.html#a16">ZE::ZRect</a><li>LoadFont() : <a class="el" href="classZE_1_1ZRect.html#a16">ZE::ZRect</a><li>LineSkip()
: <a class="el" href="classZE_1_1ZEngine.html#a32">ZE::ZEngine</a><li>LoadImage() : <a class="el" href="classZE_1_1ZFont.html#a16">ZE::ZFont</a><li>LoadFont()
: <a class="el" href="classZE_1_1ZEngine.html#a29">ZE::ZEngine</a><li>LoadImage()
: <a class="el" href="classZE_1_1ZEngine.html#a26">ZE::ZEngine</a><li>LoadMusic() : <a class="el" href="classZE_1_1ZEngine.html#a26">ZE::ZEngine</a><li>LoadMusic()
: <a class="el" href="classZE_1_1ZEngine.html#a30">ZE::ZEngine</a><li>LoadSound() : <a class="el" href="classZE_1_1ZEngine.html#a28">ZE::ZEngine</a><li>LoadSound()
: <a class="el" href="classZE_1_1ZEngine.html#a28">ZE::ZEngine</a><li>LoopInfinite : <a class="el" href="classZE_1_1ZEngine.html#a27">ZE::ZEngine</a><li>LoopInfinite
: <a class="el" href="classZE_1_1ZSound.html#p0">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#p0">ZE::ZMusic</a></ul> : <a class="el" href="classZE_1_1ZSound.html#p0">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#p0">ZE::ZMusic</a></ul>
<h3><a name="index_m">- m -</a> <h3><a name="index_m">- m -</a>
</h3><ul> </h3><ul>
<li>mActive <li>mActive
: <a class="el" href="classZE_1_1ZEngine.html#o13">ZE::ZEngine</a><li>MapColor() : <a class="el" href="classZE_1_1ZEngine.html#o13">ZE::ZEngine</a><li>mBPP
: <a class="el" href="classZE_1_1ZEngine.html#a6">ZE::ZEngine</a><li>mBPP
: <a class="el" href="classZE_1_1ZEngine.html#o2">ZE::ZEngine</a><li>mFileLayout : <a class="el" href="classZE_1_1ZEngine.html#o2">ZE::ZEngine</a><li>mFileLayout
: <a class="el" href="classZE_1_1ZConfigFile.html#o0">ZE::ZConfigFile</a><li>mFilename : <a class="el" href="classZE_1_1ZConfigFile.html#o0">ZE::ZConfigFile</a><li>mFilename
: <a class="el" href="classZE_1_1ZConfigFile.html#o1">ZE::ZConfigFile</a><li>mFullscreen : <a class="el" href="classZE_1_1ZConfigFile.html#o1">ZE::ZConfigFile</a><li>mFullscreen
@ -118,7 +101,9 @@ Here is a list of all documented class members with links to the class documenta
: <a class="el" href="classZE_1_1ZEngine.html#o18">ZE::ZEngine</a><li>mMouseX : <a class="el" href="classZE_1_1ZEngine.html#o18">ZE::ZEngine</a><li>mMouseX
: <a class="el" href="classZE_1_1ZEngine.html#o16">ZE::ZEngine</a><li>mMouseY : <a class="el" href="classZE_1_1ZEngine.html#o16">ZE::ZEngine</a><li>mMouseY
: <a class="el" href="classZE_1_1ZEngine.html#o17">ZE::ZEngine</a><li>MouseInRect() : <a class="el" href="classZE_1_1ZEngine.html#o17">ZE::ZEngine</a><li>MouseInRect()
: <a class="el" href="classZE_1_1ZEngine.html#a24">ZE::ZEngine</a><li>Move() : <a class="el" href="classZE_1_1ZEngine.html#a24">ZE::ZEngine</a><li>MouseX()
: <a class="el" href="classZE_1_1ZEngine.html#a20">ZE::ZEngine</a><li>MouseY()
: <a class="el" href="classZE_1_1ZEngine.html#a21">ZE::ZEngine</a><li>Move()
: <a class="el" href="classZE_1_1ZRect.html#a5">ZE::ZRect</a><li>MoveRel() : <a class="el" href="classZE_1_1ZRect.html#a5">ZE::ZRect</a><li>MoveRel()
: <a class="el" href="classZE_1_1ZRect.html#a6">ZE::ZRect</a><li>mPaused : <a class="el" href="classZE_1_1ZRect.html#a6">ZE::ZRect</a><li>mPaused
: <a class="el" href="classZE_1_1ZEngine.html#o7">ZE::ZEngine</a><li>mPausedTime : <a class="el" href="classZE_1_1ZEngine.html#o7">ZE::ZEngine</a><li>mPausedTime
@ -128,9 +113,7 @@ Here is a list of all documented class members with links to the class documenta
: <a class="el" href="classZE_1_1ZEngine.html#o6">ZE::ZEngine</a><li>mSecPerFrame : <a class="el" href="classZE_1_1ZEngine.html#o6">ZE::ZEngine</a><li>mSecPerFrame
: <a class="el" href="classZE_1_1ZEngine.html#o12">ZE::ZEngine</a><li>mStereo : <a class="el" href="classZE_1_1ZEngine.html#o12">ZE::ZEngine</a><li>mStereo
: <a class="el" href="classZE_1_1ZEngine.html#o5">ZE::ZEngine</a><li>mUnpauseOnActive : <a class="el" href="classZE_1_1ZEngine.html#o5">ZE::ZEngine</a><li>mUnpauseOnActive
: <a class="el" href="classZE_1_1ZEngine.html#o8">ZE::ZEngine</a><li>music : <a class="el" href="classZE_1_1ZEngine.html#o8">ZE::ZEngine</a><li>mWidth
: <a class="el" href="classZE_1_1MusicData.html#m0">ZE::MusicData</a><li>MusicData()
: <a class="el" href="classZE_1_1MusicData.html#a0">ZE::MusicData</a><li>mWidth
: <a class="el" href="classZE_1_1ZRect.html#o2">ZE::ZRect</a>, <a class="el" href="classZE_1_1ZEngine.html#o0">ZE::ZEngine</a><li>mX : <a class="el" href="classZE_1_1ZRect.html#o2">ZE::ZRect</a>, <a class="el" href="classZE_1_1ZEngine.html#o0">ZE::ZEngine</a><li>mX
: <a class="el" href="classZE_1_1ZRect.html#o0">ZE::ZRect</a><li>mY : <a class="el" href="classZE_1_1ZRect.html#o0">ZE::ZRect</a><li>mY
: <a class="el" href="classZE_1_1ZRect.html#o1">ZE::ZRect</a></ul> : <a class="el" href="classZE_1_1ZRect.html#o1">ZE::ZRect</a></ul>
@ -155,10 +138,10 @@ Here is a list of all documented class members with links to the class documenta
<h3><a name="index_r">- r -</a> <h3><a name="index_r">- r -</a>
</h3><ul> </h3><ul>
<li>rBGColor <li>rBGColor
: <a class="el" href="classZE_1_1ZFont.html#n2">ZE::ZFont</a><li>RButtonPressed() : <a class="el" href="classZE_1_1ZFont.html#n3">ZE::ZFont</a><li>RButtonPressed()
: <a class="el" href="classZE_1_1ZEngine.html#a23">ZE::ZEngine</a><li>rChannelID : <a class="el" href="classZE_1_1ZEngine.html#a23">ZE::ZEngine</a><li>rChannelID
: <a class="el" href="classZE_1_1ZSound.html#n1">ZE::ZSound</a><li>rColor : <a class="el" href="classZE_1_1ZSound.html#n1">ZE::ZSound</a><li>rColor
: <a class="el" href="classZE_1_1ZFont.html#n1">ZE::ZFont</a><li>Release() : <a class="el" href="classZE_1_1ZFont.html#n2">ZE::ZFont</a><li>Release()
: <a class="el" href="classZE_1_1ZSound.html#a4">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a4">ZE::ZMusic</a>, <a class="el" href="classZE_1_1ZImage.html#a8">ZE::ZImage</a>, <a class="el" href="classZE_1_1ZFont.html#a4">ZE::ZFont</a><li>ReleaseInstance() : <a class="el" href="classZE_1_1ZSound.html#a4">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a4">ZE::ZMusic</a>, <a class="el" href="classZE_1_1ZImage.html#a8">ZE::ZImage</a>, <a class="el" href="classZE_1_1ZFont.html#a4">ZE::ZFont</a><li>ReleaseInstance()
: <a class="el" href="classZE_1_1ZEngine.html#d1">ZE::ZEngine</a><li>rEngine : <a class="el" href="classZE_1_1ZEngine.html#d1">ZE::ZEngine</a><li>rEngine
: <a class="el" href="classZE_1_1ZObject.html#n0">ZE::ZObject</a><li>RequestQuit() : <a class="el" href="classZE_1_1ZObject.html#n0">ZE::ZObject</a><li>RequestQuit()
@ -166,25 +149,32 @@ Here is a list of all documented class members with links to the class documenta
: <a class="el" href="classZE_1_1ZTimer.html#a1">ZE::ZTimer</a><li>Resize() : <a class="el" href="classZE_1_1ZTimer.html#a1">ZE::ZTimer</a><li>Resize()
: <a class="el" href="classZE_1_1ZRect.html#a7">ZE::ZRect</a>, <a class="el" href="classZE_1_1ZFont.html#a10">ZE::ZFont</a><li>ResizeRel() : <a class="el" href="classZE_1_1ZRect.html#a7">ZE::ZRect</a>, <a class="el" href="classZE_1_1ZFont.html#a10">ZE::ZFont</a><li>ResizeRel()
: <a class="el" href="classZE_1_1ZRect.html#a8">ZE::ZRect</a><li>Rewind() : <a class="el" href="classZE_1_1ZRect.html#a8">ZE::ZRect</a><li>Rewind()
: <a class="el" href="classZE_1_1ZMusic.html#a8">ZE::ZMusic</a><li>rFont : <a class="el" href="classZE_1_1ZMusic.html#a8">ZE::ZMusic</a><li>rFilename
: <a class="el" href="classZE_1_1ZFont.html#n0">ZE::ZFont</a><li>Right() : <a class="el" href="classZE_1_1ZFont.html#n1">ZE::ZFont</a><li>rFont
: <a class="el" href="classZE_1_1ZFont.html#n0">ZE::ZFont</a><li>rHeight
: <a class="el" href="classZE_1_1ZImage.html#n5">ZE::ZImage</a><li>Right()
: <a class="el" href="classZE_1_1ZRect.html#a17">ZE::ZRect</a><li>rImage : <a class="el" href="classZE_1_1ZRect.html#a17">ZE::ZRect</a><li>rImage
: <a class="el" href="classZE_1_1ZImage.html#n0">ZE::ZImage</a><li>rLastPause : <a class="el" href="classZE_1_1ZImage.html#n2">ZE::ZImage</a><li>rLastPause
: <a class="el" href="classZE_1_1ZTimer.html#n3">ZE::ZTimer</a><li>rMusic : <a class="el" href="classZE_1_1ZTimer.html#n3">ZE::ZTimer</a><li>rMusic
: <a class="el" href="classZE_1_1ZMusic.html#n0">ZE::ZMusic</a><li>rPaused : <a class="el" href="classZE_1_1ZMusic.html#n0">ZE::ZMusic</a><li>rPaused
: <a class="el" href="classZE_1_1ZTimer.html#n0">ZE::ZTimer</a><li>rPausedTime : <a class="el" href="classZE_1_1ZTimer.html#n0">ZE::ZTimer</a><li>rPausedTime
: <a class="el" href="classZE_1_1ZTimer.html#n2">ZE::ZTimer</a><li>rSound : <a class="el" href="classZE_1_1ZTimer.html#n2">ZE::ZTimer</a><li>rSound
: <a class="el" href="classZE_1_1ZSound.html#n0">ZE::ZSound</a><li>rUseZEngine : <a class="el" href="classZE_1_1ZSound.html#n0">ZE::ZSound</a><li>rTexID
: <a class="el" href="classZE_1_1ZTimer.html#n1">ZE::ZTimer</a></ul> : <a class="el" href="classZE_1_1ZImage.html#n3">ZE::ZImage</a><li>rTexMaxX
: <a class="el" href="classZE_1_1ZImage.html#n0">ZE::ZImage</a><li>rTexMaxY
: <a class="el" href="classZE_1_1ZImage.html#n1">ZE::ZImage</a><li>rUseZEngine
: <a class="el" href="classZE_1_1ZTimer.html#n1">ZE::ZTimer</a><li>rWidth
: <a class="el" href="classZE_1_1ZImage.html#n4">ZE::ZImage</a></ul>
<h3><a name="index_s">- s -</a> <h3><a name="index_s">- s -</a>
</h3><ul> </h3><ul>
<li>SDLrect() <li>SDLrect()
: <a class="el" href="classZE_1_1ZRect.html#a13">ZE::ZRect</a><li>SetAlpha() : <a class="el" href="classZE_1_1ZRect.html#a13">ZE::ZRect</a><li>section
: <a class="el" href="classZE_1_1ZImage.html#a9">ZE::ZImage</a><li>SetBGColor() : <a class="el" href="classZE_1_1ZConfigFile_1_1ZCF__Section.html#m0">ZE::ZConfigFile::ZCF_Section</a><li>SetBGColor()
: <a class="el" href="classZE_1_1ZFont.html#a8">ZE::ZFont</a><li>SetBool() : <a class="el" href="classZE_1_1ZFont.html#a8">ZE::ZFont</a><li>SetBool()
: <a class="el" href="classZE_1_1ZConfigFile.html#a8">ZE::ZConfigFile</a><li>SetColor() : <a class="el" href="classZE_1_1ZConfigFile.html#a8">ZE::ZConfigFile</a><li>SetColor()
: <a class="el" href="classZE_1_1ZFont.html#a7">ZE::ZFont</a><li>SetColorKey() : <a class="el" href="classZE_1_1ZFont.html#a7">ZE::ZFont</a><li>SetColorKey()
: <a class="el" href="classZE_1_1ZImage.html#a10">ZE::ZImage</a><li>SetInt() : <a class="el" href="classZE_1_1ZImage.html#a9">ZE::ZImage</a><li>SetGL2D()
: <a class="el" href="classZE_1_1ZEngine.html#a7">ZE::ZEngine</a><li>SetInt()
: <a class="el" href="classZE_1_1ZConfigFile.html#a7">ZE::ZConfigFile</a><li>SetString() : <a class="el" href="classZE_1_1ZConfigFile.html#a7">ZE::ZConfigFile</a><li>SetString()
: <a class="el" href="classZE_1_1ZConfigFile.html#a9">ZE::ZConfigFile</a><li>SetStyle() : <a class="el" href="classZE_1_1ZConfigFile.html#a9">ZE::ZConfigFile</a><li>SetStyle()
: <a class="el" href="classZE_1_1ZFont.html#a9">ZE::ZFont</a><li>SetupDisplay() : <a class="el" href="classZE_1_1ZFont.html#a9">ZE::ZFont</a><li>SetupDisplay()
@ -192,11 +182,11 @@ Here is a list of all documented class members with links to the class documenta
: <a class="el" href="classZE_1_1ZEngine.html#a1">ZE::ZEngine</a><li>SetVolume() : <a class="el" href="classZE_1_1ZEngine.html#a1">ZE::ZEngine</a><li>SetVolume()
: <a class="el" href="classZE_1_1ZSound.html#a9">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a10">ZE::ZMusic</a><li>ShowCursor() : <a class="el" href="classZE_1_1ZSound.html#a9">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a10">ZE::ZMusic</a><li>ShowCursor()
: <a class="el" href="classZE_1_1ZEngine.html#a19">ZE::ZEngine</a><li>sInstance : <a class="el" href="classZE_1_1ZEngine.html#a19">ZE::ZEngine</a><li>sInstance
: <a class="el" href="classZE_1_1ZEngine.html#r0">ZE::ZEngine</a><li>Sleep() : <a class="el" href="classZE_1_1ZEngine.html#r0">ZE::ZEngine</a><li>Stop()
: <a class="el" href="classZE_1_1ZEngine.html#a8">ZE::ZEngine</a><li>sound : <a class="el" href="classZE_1_1ZSound.html#a8">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a9">ZE::ZMusic</a><li>StringHeight()
: <a class="el" href="classZE_1_1SoundData.html#m0">ZE::SoundData</a><li>SoundData() : <a class="el" href="classZE_1_1ZFont.html#a18">ZE::ZFont</a><li>StringWidth()
: <a class="el" href="classZE_1_1SoundData.html#a0">ZE::SoundData</a><li>Stop() : <a class="el" href="classZE_1_1ZFont.html#a17">ZE::ZFont</a><li>Surface()
: <a class="el" href="classZE_1_1ZSound.html#a8">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a9">ZE::ZMusic</a></ul> : <a class="el" href="classZE_1_1ZImage.html#a13">ZE::ZImage</a></ul>
<h3><a name="index_t">- t -</a> <h3><a name="index_t">- t -</a>
</h3><ul> </h3><ul>
<li>Top() <li>Top()
@ -207,10 +197,17 @@ Here is a list of all documented class members with links to the class documenta
: <a class="el" href="classZE_1_1ZTimer.html#a3">ZE::ZTimer</a>, <a class="el" href="classZE_1_1ZSound.html#a7">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a7">ZE::ZMusic</a><li>UnpauseTimer() : <a class="el" href="classZE_1_1ZTimer.html#a3">ZE::ZTimer</a>, <a class="el" href="classZE_1_1ZSound.html#a7">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a7">ZE::ZMusic</a><li>UnpauseTimer()
: <a class="el" href="classZE_1_1ZEngine.html#a11">ZE::ZEngine</a><li>UpdateScreen() : <a class="el" href="classZE_1_1ZEngine.html#a11">ZE::ZEngine</a><li>UpdateScreen()
: <a class="el" href="classZE_1_1ZEngine.html#a5">ZE::ZEngine</a></ul> : <a class="el" href="classZE_1_1ZEngine.html#a5">ZE::ZEngine</a></ul>
<h3><a name="index_v">- v -</a>
</h3><ul>
<li>val
: <a class="el" href="classZE_1_1ZConfigFile_1_1ZCF__Variable.html#m1">ZE::ZConfigFile::ZCF_Variable</a><li>var
: <a class="el" href="classZE_1_1ZConfigFile_1_1ZCF__Variable.html#m0">ZE::ZConfigFile::ZCF_Variable</a><li>varList
: <a class="el" href="classZE_1_1ZConfigFile_1_1ZCF__Section.html#m1">ZE::ZConfigFile::ZCF_Section</a><li>Volume()
: <a class="el" href="classZE_1_1ZSound.html#a13">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a14">ZE::ZMusic</a></ul>
<h3><a name="index_w">- w -</a> <h3><a name="index_w">- w -</a>
</h3><ul> </h3><ul>
<li>Width() <li>Width()
: <a class="el" href="classZE_1_1ZRect.html#a20">ZE::ZRect</a></ul> : <a class="el" href="classZE_1_1ZRect.html#a20">ZE::ZRect</a>, <a class="el" href="classZE_1_1ZImage.html#a14">ZE::ZImage</a>, <a class="el" href="classZE_1_1ZEngine.html#a30">ZE::ZEngine</a></ul>
<h3><a name="index_x">- x -</a> <h3><a name="index_x">- x -</a>
</h3><ul> </h3><ul>
<li>X() <li>X()
@ -240,9 +237,9 @@ Here is a list of all documented class members with links to the class documenta
: <a class="el" href="classZE_1_1ZMusic.html#a2">ZE::ZMusic</a><li>~ZObject() : <a class="el" href="classZE_1_1ZMusic.html#a2">ZE::ZMusic</a><li>~ZObject()
: <a class="el" href="classZE_1_1ZObject.html#a1">ZE::ZObject</a><li>~ZSound() : <a class="el" href="classZE_1_1ZObject.html#a1">ZE::ZObject</a><li>~ZSound()
: <a class="el" href="classZE_1_1ZSound.html#a2">ZE::ZSound</a></ul> : <a class="el" href="classZE_1_1ZSound.html#a2">ZE::ZSound</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
<title>File Member Index</title> <title>File Member Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZEngine File Members</h1><center> <hr><h1>ZEngine File Members</h1><center>
@ -32,9 +32,9 @@ Here is a list of all documented file members with links to the documentation:<h
</h3><ul> </h3><ul>
<li>VERSION <li>VERSION
: <a class="el" href="ZE__Defines_8h.html#a4">ZE_Defines.h</a></ul> : <a class="el" href="ZE__Defines_8h.html#a4">ZE_Defines.h</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,13 @@
<title>Hierarchical Index</title> <title>Hierarchical Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZEngine Class Hierarchy</h1>This inheritance list is sorted roughly, but not completely, alphabetically:<ul> <hr><h1>ZEngine Class Hierarchy</h1>This inheritance list is sorted roughly, but not completely, alphabetically:<ul>
<li><a class="el" href="classZE_1_1FontData.html">ZE::FontData</a> <li><a class="el" href="classZE_1_1ZConfigFile_1_1ZCF__Section.html">ZE::ZConfigFile::ZCF_Section</a>
<li><a class="el" href="classZE_1_1ImageData.html">ZE::ImageData</a> <li><a class="el" href="classZE_1_1ZConfigFile_1_1ZCF__Variable.html">ZE::ZConfigFile::ZCF_Variable</a>
<li><a class="el" href="classZE_1_1MusicData.html">ZE::MusicData</a> <li><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a>
<li><a class="el" href="classZE_1_1SoundData.html">ZE::SoundData</a>
<li><b>ZE::ZConfigFile::ZCF_Section</b><li><b>ZE::ZConfigFile::ZCF_Variable</b><li><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a>
<li><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a> <li><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>
<ul> <ul>
<li><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a> <li><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a>
@ -23,9 +21,9 @@
</ul> </ul>
<li><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a> <li><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a>
</ul> </ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,33 +3,36 @@
<title>ZEngine Documentation</title> <title>ZEngine Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZEngine Documentation</h1> <hr><h1>ZEngine Documentation</h1>
<p> <p>
<h3 align="center">0.7.0</h3><dl compact><dt><b>Author:</b></dt><dd>James Turk </dd></dl> <h3 align="center">0.7.7</h3>
<dl compact><dt><b>Version:</b></dt><dd>0.7.3 </dd></dl> <p>
<dl compact><dt><b>Date:</b></dt><dd>07 November, 2002</dd></dl> <dl compact><dt><b>Author: </b></dt><dd>
<h2><a name="ZEngine"></a> James Turk </dl><dl compact><dt><b>Version: </b></dt><dd>
About ZEngine</h2> 0.7.7 </dl><dl compact><dt><b>Date: </b></dt><dd>
<br> 1 December, 2002</dl><h2><a name="ZEngine">About ZEngine</a>
ZEngine is designed to wrap common interfaces of the SDL API in an Object Oriented manner. It is licensed under the Academic Free License, and anyone is free to suggest or implement changes to be added to the Engine. In addition ZEngine hopes to provide a core engine which can be used to develop a game without having to rewrite large amounts of code.<h2><a name="Licensing"></a> </h2> <br>
Licensing</h2> ZEngine is designed to wrap common interfaces of the SDL API in an Object Oriented manner. It is licensed under a very liberal BSD-style license, and anyone is free to suggest or implement changes to be added to the Engine. In addition ZEngine hopes to provide a core engine which can be used to develop a game without having to rewrite large amounts of code. As of version 0.7.7 ZEngine uses OpenGL rather than SDL to do 2D drawing, thus increasing the use of the engine and making the engine much faster in most test cases.
<br> <p>
<h2><a name="Licensing">Licensing</a>
</h2> <br>
<pre> <pre>
This file is Part of the ZEngine Library for SDL Game Development. This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net</pre> Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (<a href="mailto:james@conceptofzero.net">james@conceptofzero.net</a>)
and the home of this Library is <a href="http://www.conceptofzero.net/">http://www.conceptofzero.net/</a>
</pre> <h2><a name="Authors">Contributing Authors</a>
</h2> James Turk <a href="james@conceptofzero.net"><a href="mailto:james@conceptofzero.net">james@conceptofzero.net</a></a> - Core Engine and Classes for Data Types
<p> <p>
Licensed under the BSD License, see licensing.txt. <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<p>
The maintainer of this library is James Turk (james.net) and the home of this Library is <a href="http://www.conceptofzero.net/">http://www.conceptofzero.net/</a> <h2><a name="Authors"></a>
Contributing Authors</h2>
James Turk <a href="james@conceptofzero.net"><a href="james@conceptofzero.net">james@conceptofzero.net</a></a> - Core Engine and Classes for Data Types<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,31 +3,23 @@
<title>ZE Namespace Reference</title> <title>ZE Namespace Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE Namespace Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h1>ZE Namespace Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Namespace for <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> classes and utility functions. Namespace for <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> classes and utility functions.
<p> <p>
<p>
<p> <p>
<table border=0 cellpadding=0 cellspacing=0> <table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr> <tr><td></td></tr>
<tr><td colspan=2><br><h2>Compounds</h2></td></tr> <tr><td colspan=2><br><h2>Compounds</h2></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ImageData.html">ImageData</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Class to wrap SDL_Surface pointers.</em> <a href="classZE_1_1ImageData.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1FontData.html">FontData</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Class to wrap TTF_Font pointers.</em> <a href="classZE_1_1FontData.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1SoundData.html">SoundData</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Class to wrap Mix_Chunk pointers.</em> <a href="classZE_1_1SoundData.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1MusicData.html">MusicData</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Class to wrap Mix_Music pointers.</em> <a href="classZE_1_1MusicData.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a></td></tr> <tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a> Class for use in <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a>.</em> <a href="classZE_1_1ZConfigFile.html#_details">More...</a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a> Class for use in <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a>.</em> <a href="classZE_1_1ZConfigFile.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><b>ZCF_Variable</b></td></tr> <tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile_1_1ZCF__Variable.html">ZCF_Variable</a></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><b>ZCF_Section</b></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a> Variable class.</em> <a href="classZE_1_1ZConfigFile_1_1ZCF__Variable.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile_1_1ZCF__Section.html">ZCF_Section</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a> Section class.</em> <a href="classZE_1_1ZConfigFile_1_1ZCF__Section.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html">ZEngine</a></td></tr> <tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html">ZEngine</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Main <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> Singleton Class.</em> <a href="classZE_1_1ZEngine.html#_details">More...</a><em></em></font><br><br></td></tr> <tr><td>&nbsp;</td><td><font size=-1><em>Main <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> Singleton Class.</em> <a href="classZE_1_1ZEngine.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html">ZFont</a></td></tr> <tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html">ZFont</a></td></tr>
@ -94,15 +86,17 @@ Namespace for <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> classes a
<td> <td>
<p> <p>
Get string describing error given appropriate details. <dl compact><dt><b>Parameters:</b></dt><dd> Get string describing error given appropriate details. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>line</em>&nbsp;</td><td>Line error occured on. </td></tr> <tr><td valign=top><em>line</em>&nbsp;</td><td>
<tr><td valign=top><em>file</em>&nbsp;</td><td>Name of file error occured in. </td></tr> Line error occured on. </td></tr>
<tr><td valign=top><em>str</em>&nbsp;</td><td>More detail on error. </td></tr> <tr><td valign=top><em>file</em>&nbsp;</td><td>
</table> Name of file error occured in. </td></tr>
</dl> <tr><td valign=top><em>str</em>&nbsp;</td><td>
<dl compact><dt><b>Returns:</b></dt><dd>String describing error. </dd></dl> More detail on error. </td></tr>
</td> </table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
String describing error. </dl> </td>
</tr> </tr>
</table> </table>
<a name="a1" doxytag="ZE::_LogError"></a><p> <a name="a1" doxytag="ZE::_LogError"></a><p>
@ -146,14 +140,16 @@ Get string describing error given appropriate details. <dl compact><dt><b>Parame
<td> <td>
<p> <p>
Log error to stderr, describing error given appropriate details. <dl compact><dt><b>Parameters:</b></dt><dd> Log error to stderr, describing error given appropriate details. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>line</em>&nbsp;</td><td>Line error occured on. </td></tr> <tr><td valign=top><em>line</em>&nbsp;</td><td>
<tr><td valign=top><em>file</em>&nbsp;</td><td>Name of file error occured in. </td></tr> Line error occured on. </td></tr>
<tr><td valign=top><em>str</em>&nbsp;</td><td>More detail on error. </td></tr> <tr><td valign=top><em>file</em>&nbsp;</td><td>
</table> Name of file error occured in. </td></tr>
</dl> <tr><td valign=top><em>str</em>&nbsp;</td><td>
</td> More detail on error. </td></tr>
</table>
</dl> </td>
</tr> </tr>
</table> </table>
<a name="a2" doxytag="ZE::FormatStr"></a><p> <a name="a2" doxytag="ZE::FormatStr"></a><p>
@ -191,19 +187,20 @@ Log error to stderr, describing error given appropriate details. <dl compact><dt
<td> <td>
<p> <p>
Takes identifiers out of fmtstr and parses them, replacing them with cooresponding values in the variable arguments list. For more detail view documentation. <dl compact><dt><b>Parameters:</b></dt><dd> Takes % identifiers out of fmtstr and parses them, replacing them with cooresponding values in the variable arguments list. For more detail view &lt;cstdarg&gt; documentation. <dl compact><dt><b>Parameters: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0"> <table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>fmtstr</em>&nbsp;</td><td>defines format of resulting string </td></tr> <tr><td valign=top><em>fmtstr</em>&nbsp;</td><td>
<tr><td valign=top><em>...</em>&nbsp;</td><td>variable number of arguments after fmtstr </td></tr> defines format of resulting string </td></tr>
</table> <tr><td valign=top><em>...</em>&nbsp;</td><td>
</dl> variable number of arguments after fmtstr </td></tr>
<dl compact><dt><b>Returns:</b></dt><dd>string of parsed and combined string </dd></dl> </table>
</td> </dl><dl compact><dt><b>Returns: </b></dt><dd>
string of parsed and combined string </dl> </td>
</tr> </tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
<title>Namespace Member Index</title> <title>Namespace Member Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZEngine Namespace Members</h1><center> <hr><h1>ZEngine Namespace Members</h1><center>
@ -19,9 +19,9 @@ Here is a list of all documented namespace members with links to the namespaces
</h3><ul> </h3><ul>
<li>FormatStr() <li>FormatStr()
: <a class="el" href="namespaceZE.html#a2">ZE</a></ul> : <a class="el" href="namespaceZE.html#a2">ZE</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -3,15 +3,15 @@
<title>Namespace Index</title> <title>Namespace Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZEngine Namespace List</h1>Here is a list of all documented namespaces with brief descriptions:<table> <hr><h1>ZEngine Namespace List</h1>Here is a list of all documented namespaces with brief descriptions:<table>
<tr><td class="indexkey"><a class="el" href="namespaceZE.html">ZE</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> Namespace</td></tr> <tr><td class="indexkey"><a class="el" href="namespaceZE.html">ZE</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> Namespace</td></tr>
</table> </table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by <hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>/home/James/ZEngine-dev/include/external/physfsrwops.h Source File</title> <title>/include/external/physfsrwops.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body> </head><body>
<!-- Generated by Doxygen 1.3-rc1 --> <!-- Generated by Doxygen 1.2.18 -->
<center> <center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center> <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/external/physfsrwops.h</h1><div class="fragment"><pre>00001 <span class="comment">/*</span> <hr><h1>/include/external/physfsrwops.h</h1><div class="fragment"><pre>00001 <span class="comment">/*</span>
00002 <span class="comment"> * This code provides a glue layer between PhysicsFS and Simple Directmedia</span> 00002 <span class="comment"> * This code provides a glue layer between PhysicsFS and Simple Directmedia</span>
00003 <span class="comment"> * Layer's (SDL) RWops i/o abstraction.</span> 00003 <span class="comment"> * Layer's (SDL) RWops i/o abstraction.</span>
00004 <span class="comment"> *</span> 00004 <span class="comment"> *</span>
@ -46,9 +46,9 @@
00078 00078
00079 <span class="comment">/* end of physfsrwops.h ... */</span> 00079 <span class="comment">/* end of physfsrwops.h ... */</span>
00080 00080
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by </pre></div><hr><address style="align: right;"><small>Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 <img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address> width=110 height=53></a>1.2.18 </small></address>
</body> </body>
</html> </html>

View File

@ -13,7 +13,7 @@
File: ZE_Defines.h <br> File: ZE_Defines.h <br>
Description: Defines header file for ZEngine class, where all #define statements to control compilation options are placed. <br> Description: Defines header file for ZEngine class, where all #define statements to control compilation options are placed. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_Defines.h,v 1.2 2002/11/28 23:18:54 cozman Exp $<br> $Id: ZE_Defines.h,v 1.3 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_Defines.h \file ZE_Defines.h
\brief Define file for ZEngine. \brief Define file for ZEngine.
@ -33,11 +33,9 @@ $Id: ZE_Defines.h,v 1.2 2002/11/28 23:18:54 cozman Exp $<br>
#define USE_SDL_MIXER #define USE_SDL_MIXER
//! Define to use the Physfs file system. //! Define to use the Physfs file system.
//#define USE_PHYSFS //#define USE_PHYSFS
//! Define to use OpenGL for 2D blits.
#define USE_OPENGL_2D
//! Undefine to disable debug streams for Error Handler. //! Undefine to disable debug streams for Error Handler.
#define DEBUG_STREAM #define DEBUG_STREAM
//! Version number. //! Version number.
#define VERSION "0.7.3" #define VERSION "0.7.6"
#endif //__ze_defines_h__ #endif //__ze_defines_h__

View File

@ -1,81 +1,81 @@
/******************************************************************************* /*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development. This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt. Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (jturk@conceptofzero.net) The maintainer of this library is James Turk (jturk@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/ and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/ *******************************************************************************/
/*! /*!
\par File Header: \par File Header:
File: ZE_Error.h <br> File: ZE_Error.h <br>
Description: Header file for ZEngine Error Handling Functions. <br> Description: Header file for ZEngine Error Handling Functions. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_Error.h,v 1.1 2002/11/21 05:41:10 cozman Exp $<br> $Id: ZE_Error.h,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_Error.h \file ZE_Error.h
\brief Definition file for ZEngine Error Handling Functions. \brief Definition file for ZEngine Error Handling Functions.
Definition file for ZEngine Error Logging + Formatting functions which are used for internal and external errors. Definition file for ZEngine Error Logging + Formatting functions which are used for internal and external errors.
**/ **/
#ifndef __ze_error_h__ #ifndef __ze_error_h__
#define __ze_error_h__ #define __ze_error_h__
#include "ZE_Includes.h" #include "ZE_Includes.h"
namespace ZE namespace ZE
{ {
////////////////////////////// //////////////////////////////
//Error Logging + Formatting// //Error Logging + Formatting//
////////////////////////////// //////////////////////////////
/*! /*!
\brief Error handling Utiltity function. \brief Error handling Utiltity function.
Get string describing error given appropriate details. Get string describing error given appropriate details.
\param line Line error occured on. \param line Line error occured on.
\param file Name of file error occured in. \param file Name of file error occured in.
\param str More detail on error. \param str More detail on error.
\return String describing error. \return String describing error.
**/ **/
string _GetError(int line, string file, string str); string _GetError(int line, string file, string str);
/*! /*!
\brief Error handling Utiltity function. \brief Error handling Utiltity function.
Log error to stderr, describing error given appropriate details. Log error to stderr, describing error given appropriate details.
\param line Line error occured on. \param line Line error occured on.
\param file Name of file error occured in. \param file Name of file error occured in.
\param str More detail on error. \param str More detail on error.
**/ **/
void _LogError(int line, string file, string str); void _LogError(int line, string file, string str);
/*! /*!
\brief Parses a string and interprets variable arguments, similar to sprintf. \brief Parses a string and interprets variable arguments, similar to sprintf.
Takes % identifiers out of fmtstr and parses them, replacing them with cooresponding values Takes % identifiers out of fmtstr and parses them, replacing them with cooresponding values
in the variable arguments list. For more detail view <cstdarg> documentation. in the variable arguments list. For more detail view <cstdarg> documentation.
\param fmtstr defines format of resulting string \param fmtstr defines format of resulting string
\param ... variable number of arguments after fmtstr \param ... variable number of arguments after fmtstr
\return string of parsed and combined string \return string of parsed and combined string
**/ **/
string FormatStr(const char *fmtstr, ...); string FormatStr(const char *fmtstr, ...);
/*! /*!
Creates a string about an error, telling what file it occured in and where, and gives a user defined string as well. Creates a string about an error, telling what file it occured in and where, and gives a user defined string as well.
**/ **/
#define GetError(str) _GetError(__LINE__,__FILE__,str) #define GetError(str) _GetError(__LINE__,__FILE__,str)
/*! /*!
Logs a string about an error, telling what file it occured in and where, and gives a user defined string as well. Logs a string about an error, telling what file it occured in and where, and gives a user defined string as well.
**/ **/
#define LogError(str) _LogError(__LINE__,__FILE__,str) #define LogError(str) _LogError(__LINE__,__FILE__,str)
} }
#endif //__ze_error_h__ #endif //__ze_error_h__

View File

@ -13,7 +13,7 @@
File: ZE_Includes.h <br> File: ZE_Includes.h <br>
Description: Header file for ZEngine universal includes. <br> Description: Header file for ZEngine universal includes. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_Includes.h,v 1.2 2002/11/28 23:18:54 cozman Exp $<br> $Id: ZE_Includes.h,v 1.3 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_Includes.h \file ZE_Includes.h
\brief Include file for SDL and C++ Includes that many ZEngine files need. \brief Include file for SDL and C++ Includes that many ZEngine files need.
@ -28,9 +28,8 @@ $Id: ZE_Includes.h,v 1.2 2002/11/28 23:18:54 cozman Exp $<br>
#include "ZE_Defines.h" #include "ZE_Defines.h"
#include "SDL.h" #include "SDL.h"
#ifdef USE_OPENGL_2D
#include "SDL_opengl.h" #include "SDL_opengl.h"
#endif #include "external/SDLGL_Util.h"
#ifdef USE_SDL_IMAGE #ifdef USE_SDL_IMAGE
#include "SDL_image.h" #include "SDL_image.h"
#endif #endif

View File

@ -13,7 +13,7 @@
File: Types/ZE_ZConfigFile.h <br> File: Types/ZE_ZConfigFile.h <br>
Description: Header file for ZEngine INI-Style Config Files.<br> Description: Header file for ZEngine INI-Style Config Files.<br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_ZConfigFile.h,v 1.1 2002/11/21 05:41:10 cozman Exp $<br> $Id: ZE_ZConfigFile.h,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_ZConfigFile.h \file ZE_ZConfigFile.h
\brief Definition file for ZConfigFile. \brief Definition file for ZConfigFile.
@ -39,17 +39,35 @@ class ZConfigFile : public ZObject
{ {
private: private:
/*Private Types*/ //Private Types//
/*!
\brief ZConfigFile Variable class.
ZConfigFile class for mapping a variable name to it's value, stored in string form (later converted to
bool or int if needed).
**/
class ZCF_Variable class ZCF_Variable
{ {
public: public:
//! Variable name.
string var; string var;
//! Value associated with variable.
string val; string val;
}; };
/*!
\brief ZConfigFile Section class.
ZConfigFile class for mapping a section name to a list of variables in that section.
**/
class ZCF_Section class ZCF_Section
{ {
public: public:
//! Section name.
string section; string section;
//! STL list of variables.
list<ZCF_Variable> varList; list<ZCF_Variable> varList;
}; };

View File

@ -13,7 +13,7 @@
File: ZE_ZEngine.h <br> File: ZE_ZEngine.h <br>
Description: Header file for ZEngine class, the core of the ZEngine. <br> Description: Header file for ZEngine class, the core of the ZEngine. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_ZEngine.h,v 1.2 2002/11/28 23:18:54 cozman Exp $<br> $Id: ZE_ZEngine.h,v 1.3 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_ZEngine.h \file ZE_ZEngine.h
\brief Definition file for core ZEngine class. \brief Definition file for core ZEngine class.
@ -24,9 +24,9 @@ $Id: ZE_ZEngine.h,v 1.2 2002/11/28 23:18:54 cozman Exp $<br>
#ifndef __ze_zengine_h__ #ifndef __ze_zengine_h__
#define __ze_zengine_h__ #define __ze_zengine_h__
#include "ZE_DataPtr.h"
#include "ZE_Error.h" #include "ZE_Error.h"
#include "ZE_Defines.h" #include "ZE_Defines.h"
#include "ZE_Macros.h"
#include "ZE_Includes.h" #include "ZE_Includes.h"
/*! /*!
@ -177,26 +177,28 @@ class ZEngine
void UpdateScreen(); void UpdateScreen();
/*! /*!
\brief Create Color in SDL Uint32 Format \brief Clear screen to a certain color (Black by default).
Turn RGBA values into SDL Uint32 color. (Alpha value will be ignored if not in use) Clears a rectangle on screen to a color, defaults to solid black.
\param red Red component (0.0-1.0) of new color.
\param r Red component of color (0-255). \param green Green component (0.0-1.0) of new color.
\param g Green component of color (0-255). \param blue Blue component (0.0-1.0) of new color.
\param b Blue component of color (0-255). \param alpha Alpha component (0.0-1.0) of new color.
\param a Alpha (translucency) component of color (0-255). [Default 255]
\return Uint32 of color requested.
**/ **/
Uint32 MapColor(Uint8 r, Uint8 g, Uint8 b, Uint8 a=255); void Clear(float red=0.0f, float green=0.0f, float blue=0.0f, float alpha=1.0f);
/////////////////////////////
//OpenGL Specific Functions//
/////////////////////////////
public:
/*! /*!
\brief Clear screen or portion of screen to a color. \brief Setup OpenGL ortho mode.
Clears a rectangle on screen to a color. Sets the OpenGL scaled orthographic mode, called once at beginning, no need to call
\param color Color to clear surface to, defaults to black. unless you change the OpenGL mode manually.
\param rect Rectangle of screen to clear or NULL for entire surface.
**/ **/
void Clear(Uint32 color=0, SDL_Rect *rect=NULL); void SetGL2D();
//////////////////////////////////////////// ////////////////////////////////////////////
//Timer and Framerate Independent Movement// //Timer and Framerate Independent Movement//
@ -411,17 +413,9 @@ class ZEngine
Loads an Image to an ImageData class which keeps vital information on the Image. Loads an Image to an ImageData class which keeps vital information on the Image.
\param filename path to file to load. \param filename path to file to load.
\return A ImageData class containing filename and pointer to data. \return A SDL_Surface pointer to data.
**/ **/
ImageData LoadImage(string filename); SDL_Surface* LoadImage(string filename);
/*!
\brief Free an Image.
Free memory of an Image in an ImageData class.
\param image ImageData structure of image to free.
**/
void FreeImage(ImageData &image);
#ifdef USE_SDL_MIXER #ifdef USE_SDL_MIXER
/*! /*!
@ -429,34 +423,18 @@ class ZEngine
Loads a Sound to a SoundData class which keeps vital information on the Sound Loads a Sound to a SoundData class which keeps vital information on the Sound
\param filename path to file to load. \param filename path to file to load.
\return A SoundData class containing filename and pointer to data. \return A Mix_Chunk pointer to data.
**/ **/
SoundData LoadSound(string filename); Mix_Chunk* LoadSound(string filename);
/*!
\brief Free a Sound.
Free memory of a Sound in a SoundData class.
\param sound SoundData structure of sound to free.
**/
void FreeSound(SoundData &sound);
/*! /*!
\brief Load a Music File \brief Load a Music File
Loads a Music Clip to a MusicData class which keeps vital information on the Music Data Loads a Music Clip to a MusicData class which keeps vital information on the Music Data
\param filename path to file to load. \param filename path to file to load.
\return A MusicData class containing filename and pointer to data. \return A Mix_Music pointer to data.
**/ **/
MusicData LoadMusic(string filename); Mix_Music* LoadMusic(string filename);
/*!
\brief Free a Music Sample.
Free memory of Music in a MusicData class.
\param music MusicData structure of music to free.
**/
void FreeMusic(MusicData &music);
#endif #endif
#ifdef USE_SDL_TTF #ifdef USE_SDL_TTF
@ -466,23 +444,15 @@ class ZEngine
Loads a Font to a FontData class which keeps vital information on the Font Loads a Font to a FontData class which keeps vital information on the Font
\param filename path to file to load. \param filename path to file to load.
\param size point size of font \param size point size of font
\return A FontData class containing filename and pointer to data. \return A TTF_Font pointer to data.
**/ **/
FontData LoadFont(string filename, int size); TTF_Font* LoadFont(string filename, int size);
/*!
\brief Free a Font.
Free memory of a Font in a FontData class.
\param font FontData structure of font to free.
**/
void FreeFont(FontData &font);
#endif #endif
///////////// /////////////
//Accessors// //Accessors//
///////////// /////////////
public: public:
/*! /*!
\brief Get Current Display Width. \brief Get Current Display Width.

View File

@ -1,230 +1,232 @@
/******************************************************************************* /*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development. This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt. Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (jturk@conceptofzero.net) The maintainer of this library is James Turk (jturk@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/ and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/ *******************************************************************************/
/*! /*!
\par File Header: \par File Header:
File: ZE_ZFont.h <br> File: ZE_ZFont.h <br>
Description: Header file for core ZEngine Font Object. <br> Description: Header file for core ZEngine Font Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_ZFont.h,v 1.1 2002/11/21 05:41:10 cozman Exp $<br> $Id: ZE_ZFont.h,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_ZFont.h \file ZE_ZFont.h
\brief Definition file for ZFont. \brief Definition file for ZFont.
Definition file for ZFont, the basic Font class for ZEngine. Definition file for ZFont, the basic Font class for ZEngine.
**/ **/
#ifndef __ze_zfont_h__ #ifndef __ze_zfont_h__
#define __ze_zfont_h__ #define __ze_zfont_h__
#include "ZE_ZObject.h" #include "ZE_ZObject.h"
#include "ZE_ZImage.h" #include "ZE_ZImage.h"
#ifdef USE_SDL_TTF #ifdef USE_SDL_TTF
namespace ZE namespace ZE
{ {
/*! /*!
\brief ZFont class for basic Font use. \brief ZFont class for basic Font use.
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.
**/ **/
class ZFont : public ZObject class ZFont : public ZObject
{ {
protected: protected:
//! Class containing font and filename. //! Pointer to font data.
FontData rFont; TTF_Font *rFont;
//! SDL_Color for current text color. //! Filename, for resizing.
SDL_Color rColor; string rFilename;
//! SDL_Color for background color to be used in shaded draws. //! SDL_Color for current text color.
SDL_Color rBGColor; SDL_Color rColor;
//! SDL_Color for background color to be used in shaded draws.
public: SDL_Color rBGColor;
/////////////////////// public:
//Opening and Closing//
/////////////////////// ///////////////////////
//Opening and Closing//
/*! ///////////////////////
\brief Default Constructor.
/*!
Default Constructor, does nothing. \brief Default Constructor.
**/
ZFont(); Default Constructor, does nothing.
**/
/*! ZFont();
\brief Constructor that opens a font with a certain size.
/*!
Constructor simply calls ZFont::Open() with same parameters. \brief Constructor that opens a font with a certain size.
\param filename Font to open.
\param size Size to use for font. Constructor simply calls ZFont::Open() with same parameters.
**/ \param filename Font to open.
ZFont(string filename, int size); \param size Size to use for font.
**/
/*! ZFont(string filename, int size);
\brief Destructor, frees memory.
/*!
Destructor calls ZFont::Release(). \brief Destructor, frees memory.
**/
~ZFont(); Destructor calls ZFont::Release().
**/
/*! ~ZFont();
\brief Opens a font with a certain size.
/*!
Opens a font given a filename and a point size. \brief Opens a font with a certain size.
\param filename Font to open.
\param size Size to use for font. Opens a font given a filename and a point size.
**/ \param filename Font to open.
void Open(string filename, int size); \param size Size to use for font.
**/
/*! void Open(string filename, int size);
\brief Release font.
/*!
Release memory held by font. \brief Release font.
**/
void Release(); Release memory held by font.
**/
//////////////////////// void Release();
//Settings and Drawing//
//////////////////////// ////////////////////////
//Settings and Drawing//
/*! ////////////////////////
\brief Draws a string in a color to a ZImage.
/*!
Draw to a surface in specified color and associate that surface with a ZImage. \brief Draws a string in a color to a ZImage.
\param text String to write.
\param image ZImage to draw to. Draw to a surface in specified color and associate that surface with a ZImage.
**/ \param text String to write.
void DrawText(string text, ZImage &image); \param image ZImage to draw to.
**/
/*! void DrawText(string text, ZImage &image);
\brief Draws a string with a colored background to a ZImage.
/*!
Draw to a surface a string with a background of rBGColor and lettering in the normal color and associate that surface with a ZImage. \brief Draws a string with a colored background to a ZImage.
\param text String to write.
\param image ZImage to draw to. Draw to a surface a string with a background of rBGColor and lettering in the normal color and associate that surface with a ZImage.
**/ \param text String to write.
void DrawShadedText(string text, ZImage &image); \param image ZImage to draw to.
**/
/*! void DrawShadedText(string text, ZImage &image);
\brief Set Text rColor.
/*!
Set rColor of Text Output. \brief Set Text rColor.
\param r Red component of color (0-255).
\param g Green component of color (0-255). Set rColor of Text Output.
\param b Blue component of color (0-255). \param r Red component of color (0-255).
**/ \param g Green component of color (0-255).
void SetColor(Uint8 r, Uint8 g, Uint8 b); \param b Blue component of color (0-255).
**/
/*! void SetColor(Uint8 r, Uint8 g, Uint8 b);
\brief Set Background rColor.
/*!
Set rColor of Background for Shaded Draw. \brief Set Background rColor.
\param r Red component of color (0-255).
\param g Green component of color (0-255). Set rColor of Background for Shaded Draw.
\param b Blue component of color (0-255). \param r Red component of color (0-255).
**/ \param g Green component of color (0-255).
void SetBGColor(Uint8 r, Uint8 g, Uint8 b); \param b Blue component of color (0-255).
**/
/*! void SetBGColor(Uint8 r, Uint8 g, Uint8 b);
\brief Set display format.
/*!
Set display format (bold, italic, underline). \brief Set display format.
\param bold Decides bold setting of font.
\param italic Decides italic setting of font. Set display format (bold, italic, underline).
\param underline Decides underline setting of font. \param bold Decides bold setting of font.
**/ \param italic Decides italic setting of font.
void SetStyle(bool bold, bool italic, bool underline); \param underline Decides underline setting of font.
**/
/*! void SetStyle(bool bold, bool italic, bool underline);
\brief Resize Font.
/*!
Release and Reopen font in new size. \brief Resize Font.
\param size New size for font.
**/ Release and Reopen font in new size.
void Resize(int size); \param size New size for font.
**/
///////////// void Resize(int size);
//Accessors//
///////////// /////////////
//Accessors//
/*! /////////////
\brief Check if file is loaded.
/*!
Check if file is loaded and pointer to data is non-NULL. \brief Check if file is loaded.
\return Loaded or Unloaded state of data.
**/ Check if file is loaded and pointer to data is non-NULL.
bool IsLoaded(); \return Loaded or Unloaded state of data.
**/
/*! bool IsLoaded();
\brief Get Bold Setting.
/*!
Check if font output is currently bold. \brief Get Bold Setting.
\return True or False state of bold.
**/ Check if font output is currently bold.
bool IsBold(); \return True or False state of bold.
**/
/*! bool IsBold();
\brief Get Italic Setting.
/*!
Check if font output is currently italic. \brief Get Italic Setting.
\return True or False state of italic.
**/ Check if font output is currently italic.
bool IsItalic(); \return True or False state of italic.
**/
/*! bool IsItalic();
\brief Get Underlined Setting.
/*!
Check if font output is currently underline. \brief Get Underlined Setting.
\return True or False state of underline.
**/ Check if font output is currently underline.
bool IsUnderlined(); \return True or False state of underline.
**/
/*! bool IsUnderlined();
\brief Get Height of Font.
/*!
Check font height as reported by SDL_ttf. \brief Get Height of Font.
\return Height of font.
**/ Check font height as reported by SDL_ttf.
int GetHeight(); \return Height of font.
**/
/*! int Height();
\brief Get Line Skip for Font.
/*!
Check font line skip as reported by SDL_ttf. \brief Get Line Skip for Font.
\return Recommended Line Skip of font.
**/ Check font line skip as reported by SDL_ttf.
int GetLineSkip(); \return Recommended Line Skip of font.
**/
/*! int LineSkip();
\brief Get String Width.
/*!
Get Width of String in Current Font in Pixels. \brief Get String Width.
\param text String to get width of.
\return Width of String in Current font. Get Width of String in Current Font in Pixels.
**/ \param text String to get width of.
int GetStringWidth(string text); \return Width of String in Current font.
**/
/*! int StringWidth(string text);
\brief Get String Height.
/*!
Get Height of String in Current Font in Pixels. \brief Get String Height.
\param text String to get height of.
\return Height of String in Current font. Get Height of String in Current Font in Pixels.
**/ \param text String to get height of.
int GetStringHeight(string text); \return Height of String in Current font.
}; **/
int StringHeight(string text);
} };
#endif //USE_SDL_TTF }
#endif //__ze_zfont_h__ #endif //USE_SDL_TTF
#endif //__ze_zfont_h__

View File

@ -1,201 +1,207 @@
/******************************************************************************* /*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development. This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt. Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (jturk@conceptofzero.net) The maintainer of this library is James Turk (jturk@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/ and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/ *******************************************************************************/
/*! /*!
\par File Header: \par File Header:
File: ZE_ZImage.h <br> File: ZE_ZImage.h <br>
Description: Header file for core ZEngine Image Object. <br> Description: Header file for core ZEngine Image and Texture Object. <br>
Author(s): James Turk <br> Author(s): James Turk, Gamer Tazar <br>
$Id: ZE_ZImage.h,v 1.1 2002/11/21 05:41:10 cozman Exp $<br> $Id: ZE_ZImage.h,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_ZImage.h \file ZE_ZImage.h
\brief Definition file for ZImage. \brief Definition file for ZImage.
Definition file for ZImage, the basic Image class for ZEngine. Definition file for ZImage, the OpenGL version of the ZImage class for ZEngine.
**/ **/
#ifndef __ze_zimage_h__ #ifndef __ze_zimage_h__
#define __ze_zimage_h__ #define __ze_zimage_h__
#include "ZE_ZObject.h" #include "ZE_ZObject.h"
namespace ZE namespace ZE
{ {
/*! /*!
\brief ZImage class for basic Image use. \brief ZImage class for basic Image use.
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.
**/ **/
class ZImage : public ZObject class ZImage : public ZObject
{ {
protected: protected:
//! Class containing image and filename. //! Texture X width ratio, used internally by OpenGL.
ImageData rImage; GLfloat rTexMaxX;
public: //! Texture Y width ratio, used internally by OpenGL.
GLfloat rTexMaxY;
/*! //! Stored texture for future use.
\brief Default Constructor. SDL_Surface *rImage;
//! Texture ID for OpenGL.
Default Constructor, does nothing. unsigned int rTexID;
**/ //! Current draw width of Texture.
ZImage(); unsigned int rWidth;
//! Current draw height of Texture.
/*! unsigned int rHeight;
\brief Constructor to Construct from File.
public:
Constructor is same as calling ZImage::Open() on passed filename.
\param filename File to open as rImage. /*!
**/ \brief Default Constructor.
ZImage(string filename);
Default Constructor, initializes variables.
/*! **/
\brief Constructor to Construct from SDL_Surface*. ZImage();
Constructor is same as calling ZImage::Attach() on passed SDL_Surface*. /*!
\param surface SDL_Surface* to use as rImage. \brief Constructor to Construct from File.
**/
ZImage(SDL_Surface *surface); Constructor is same as calling ZImage::Open() on passed filename.
\param filename File to open as rImage.
/*! **/
\brief Constructor to Construct from part of an SDL_Surface*. ZImage(string filename);
Constructor is same as calling ZImage::OpenFromImage. /*!
\brief Constructor to Construct from SDL_Surface*.
\param img Image to take new image from.
\param x X Coordinate in source of top left corner. Constructor is same as calling ZImage::Attach() on passed SDL_Surface*.
\param y Y Coordinate in source of top left corner. \param surface SDL_Surface* to use as rImage.
\param w Width of new image. **/
\param h Height of new image. ZImage(SDL_Surface *surface);
**/
ZImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h); /*!
\brief Constructor to Construct from part of an SDL_Surface*.
/*!
\brief Destructor, frees memory. Constructor is same as calling ZImage::OpenFromImage.
Destructor calls ZImage::Release(). \param img Image to take new image from.
**/ \param x X Coordinate in source of top left corner.
~ZImage(); \param y Y Coordinate in source of top left corner.
\param w Width of new image.
/////////////////////// \param h Height of new image.
//Opening and Closing// **/
/////////////////////// ZImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h);
/*! /*!
\brief Opens a file. \brief Destructor, frees memory.
Open a file using ZEngine. Loads into rImage member of class. Destructor calls ZImage::Release().
\param filename File to open as rImage. **/
**/ ~ZImage();
void Open(string filename);
///////////////////////
/*! //Opening and Closing//
\brief Cuts part of an existing image to create the new image. ///////////////////////
Cut part of an SDL_Surface to create a new Image. /*!
\brief Opens a file.
\param img Image to take new image from.
\param x X Coordinate in source of top left corner. Open a file using ZEngine. Loads into rImage member of class.
\param y Y Coordinate in source of top left corner. \param filename File to open as rImage.
\param w Width of new image. **/
\param h Height of new image. void Open(string filename);
**/
void OpenFromImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h); /*!
\brief Cuts part of an existing image to create the new image.
/*!
\brief Attach an existing surface to class. Cut part of an SDL_Surface to create a new Image.
Attach a pointer to instance of ZImage. (NOTE: Should not be used on a surface that is owned elsewhere.) \param img Image to take new image from.
\param surface SDL_Surface* to use as rImage. \param x X Coordinate in source of top left corner.
**/ \param y Y Coordinate in source of top left corner.
void Attach(SDL_Surface *surface); \param w Width of new image.
\param h Height of new image.
/*! **/
\brief Releases image. void OpenFromImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h);
Frees memory via call to SDL_FreeSurface for the image. /*!
**/ \brief Attach an existing surface to class.
void Release();
Attach a pointer to instance of ZImage. (NOTE: Should not be used on a surface that is owned elsewhere.)
//////////// \param surface SDL_Surface* to use as rImage.
//Graphics// **/
//////////// void Attach(SDL_Surface *surface);
/*! /*!
\brief Sets Alpha (transparency) value of Image. \brief Releases image.
Set Alpha channel of an Image, only used in 32 bit mode. Frees memory via call to SDL_FreeSurface for the image.
\param alpha Number 0-255 describing translucency of image. (0 = transparent, 255 = opaque) **/
**/ void Release();
void SetAlpha(Uint8 alpha);
////////////
/*! //Graphics//
\brief Set Color Key (transparent color) of Image. ////////////
Set color which will not be drawn in image. /*!
\param color Uint32 color describing color to use as transparent. \brief Set Color Key (transparent color) of Image.
**/
void SetColorKey(Uint32 color); Set color which will not be drawn in image.
\param red Red component of colorkey (0-255).
/*! \param green Green component of colorkey (0-255).
\brief Draw Image to Screen. \param blue Blue component of colorkey (0-255).
**/
Draw Image to screen at specified location. void SetColorKey(Uint8 red, Uint8 green, Uint8 blue);
\param x X coord to draw Image to.
\param y Y coord to draw Image to. /*!
**/ \brief OpenGL related bind call.
void Draw(Sint16 x, Sint16 y);
OpenGL related bind call, only available in case you want to bind image in 3D.
///////////// Draw uses this but the average user should never need to call this.
//Accessors// **/
///////////// void Bind();
/*! /*!
\brief Check if file is loaded. \brief Draw Image to Screen.
Check if file is loaded and pointer to data is non-NULL. Draw Image to screen at specified location.
\return Loaded or Unloaded state of data. \param x X coord to draw Image to.
**/ \param y Y coord to draw Image to.
bool IsLoaded(); **/
void Draw(int x, int y);
/*!
\brief Get SDL_Surface. /////////////
Get SDL_Surface pointer to actual image data. //Accessors//
\return SDL_Surface* of rImage. /////////////
**/
SDL_Surface *GetImage(); /*!
\brief Check if file is loaded.
/*!
\brief Get Width. Check if file is loaded and pointer to data is non-NULL.
\return Loaded or Unloaded state of data.
Get Width of Image. **/
\return Image Width. bool IsLoaded();
**/
int GetWidth(); /*!
\brief Get SDL_Surface.
/*! Get SDL_Surface pointer to actual image data.
\brief Get Height. \return SDL_Surface* of rImage.
**/
Get Height of Image. SDL_Surface *Surface();
\return Image Height.
**/ /*!
int GetHeight(); \brief Get Width.
/*! Get Current Width of Image.
\brief Get filename of image. \return Image Width.
**/
Get filename of image or if Image doesn't have a specific filename string describing origin of image. int Width();
\return Image Filename.
**/ /*!
string GetFilename(); \brief Get Height.
};
} Get Current Height of Image.
\return Image Height.
#endif //__ze_zimage_h__ **/
int Height();
};
}
#endif

View File

@ -1,183 +1,183 @@
/******************************************************************************* /*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development. This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt. Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (jturk@conceptofzero.net) The maintainer of this library is James Turk (jturk@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/ and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/ *******************************************************************************/
/*! /*!
\par File Header: \par File Header:
File: ZE_ZMusic.h <br> File: ZE_ZMusic.h <br>
Description: Header file for core ZEngine Music Wrapper Object. <br> Description: Header file for core ZEngine Music Wrapper Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_ZMusic.h,v 1.1 2002/11/21 05:41:11 cozman Exp $<br> $Id: ZE_ZMusic.h,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_ZMusic.h \file ZE_ZMusic.h
\brief Definition file for ZMusic. \brief Definition file for ZMusic.
Definition file for ZMusic, the Music file wrapper for ZEngine. Definition file for ZMusic, the Music file wrapper for ZEngine.
**/ **/
#ifndef __ze_zmusic_h__ #ifndef __ze_zmusic_h__
#define __ze_zmusic_h__ #define __ze_zmusic_h__
#include "ZE_ZObject.h" #include "ZE_ZObject.h"
#ifdef USE_SDL_MIXER #ifdef USE_SDL_MIXER
namespace ZE namespace ZE
{ {
/*! /*!
\brief ZMusic class for playing full length music (eg. ogg or wav). \brief ZMusic class for playing full length music (eg. ogg or wav).
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.
**/ **/
class ZMusic : public ZObject class ZMusic : public ZObject
{ {
protected: protected:
//! Class containing music data and music filename. //! Pointer to music data.
MusicData rMusic; Mix_Music *rMusic;
public: public:
//! Static Variable For Infinite loop of sound. (Defined as -1) //! Static Variable For Infinite loop of sound. (Defined as -1)
static const int LoopInfinite; static const int LoopInfinite;
/////////////////////// ///////////////////////
//Opening and Closing// //Opening and Closing//
/////////////////////// ///////////////////////
/*! /*!
\brief Default Constructor. \brief Default Constructor.
Default Constructor, does nothing. Default Constructor, does nothing.
**/ **/
ZMusic(); ZMusic();
/*! /*!
\brief Constructor that opens a music file. \brief Constructor that opens a music file.
Constructor simply calls ZMusic::Open() with same filename. (WAV,MOD,MID,OGG) Constructor simply calls ZMusic::Open() with same filename. (WAV,MOD,MID,OGG)
\param filename Music to open. \param filename Music to open.
**/ **/
ZMusic(string filename); ZMusic(string filename);
/*! /*!
\brief Destructor, frees memory. \brief Destructor, frees memory.
Destructor calls ZMusic::Release(). Destructor calls ZMusic::Release().
**/ **/
~ZMusic(); ~ZMusic();
/*! /*!
\brief Opens a music file. \brief Opens a music file.
Open a music file to be used. Open a music file to be used.
\param filename Music to open. \param filename Music to open.
**/ **/
void Open(string filename); void Open(string filename);
/*! /*!
\brief Release music. \brief Release music.
Release memory held by music data. Release memory held by music data.
**/ **/
void Release(); void Release();
///////////////// /////////////////
//Play Controls// //Play Controls//
///////////////// /////////////////
/*! /*!
\brief Play currently loaded music. \brief Play currently loaded music.
Play music currently loaded in ZMusic, looping loopNum times. (use ZMusic::LoopInfinite to loop forever.) Play music currently loaded in ZMusic, looping loopNum times. (use ZMusic::LoopInfinite to loop forever.)
If fade is not zero (which it defaults to) music will fade in over specified number of milliseconds. If fade is not zero (which it defaults to) music will fade in over specified number of milliseconds.
\param loopNum Number of times to loop song, defaults to zero. \param loopNum Number of times to loop song, defaults to zero.
\param fadeTime Milliseconds to fade to full volume, defaults to zero for no fade. \param fadeTime Milliseconds to fade to full volume, defaults to zero for no fade.
**/ **/
void Play(int loopNum=0, int fadeTime=0); void Play(int loopNum=0, int fadeTime=0);
/*! /*!
\brief Pause music. \brief Pause music.
Pause currently playing music. Pause currently playing music.
**/ **/
void Pause(); void Pause();
/*! /*!
\brief Unpause music. \brief Unpause music.
Unpause currently paused music. Unpause currently paused music.
**/ **/
void Unpause(); void Unpause();
/*! /*!
\brief Rewind music. \brief Rewind music.
Rewind music to beginning. Rewind music to beginning.
**/ **/
void Rewind(); void Rewind();
/*! /*!
\brief Stop music. \brief Stop music.
Stop currently playing music, if fadeTime is not zero, fade out over specified time. Stop currently playing music, if fadeTime is not zero, fade out over specified time.
\param fadeTime Milliseconds to fade out over, defaults to zero for immediate stop. \param fadeTime Milliseconds to fade out over, defaults to zero for immediate stop.
**/ **/
void Stop(int fadeTime=0); void Stop(int fadeTime=0);
/*! /*!
\brief Change Volume. \brief Change Volume.
Change volume of currently playing music. Change volume of currently playing music.
\param volume Volume to change to, can be in a range from 0 to 128 \param volume Volume to change to, can be in a range from 0 to 128
**/ **/
void SetVolume(int volume); void SetVolume(int volume);
///////////// /////////////
//Accessors// //Accessors//
///////////// /////////////
/*! /*!
\brief Check if file is loaded. \brief Check if file is loaded.
Check if file is loaded and pointer to data is non-NULL. Check if file is loaded and pointer to data is non-NULL.
\return Loaded or Unloaded state of data. \return Loaded or Unloaded state of data.
**/ **/
bool IsLoaded(); bool IsLoaded();
/*! /*!
\brief Check if music is Playing. \brief Check if music is Playing.
Check if music is playing, specifically if it is not stopped. (Paused state should be checked for by IsPaused) Check if music is playing, specifically if it is not stopped. (Paused state should be checked for by IsPaused)
\return Playing / Not Playing State of Music. \return Playing / Not Playing State of Music.
**/ **/
bool IsPlaying(); bool IsPlaying();
/*! /*!
\brief Check if music is Paused. \brief Check if music is Paused.
Check if music is "playing" but currently paused. Check if music is "playing" but currently paused.
\return Paused / Not Paused State of Music. \return Paused / Not Paused State of Music.
**/ **/
bool IsPaused(); bool IsPaused();
/*! /*!
\brief Find Current Volume of Music. \brief Find Current Volume of Music.
Get current volume of music represented as a value from 0-128. Get current volume of music represented as a value from 0-128.
\return Volume of music, 0-128. \return Volume of music, 0-128.
**/ **/
int GetVolume(); int Volume();
}; };
} }
#endif //USE_SDL_MIXER #endif //USE_SDL_MIXER
#endif //__ze_zmusic_h__ #endif //__ze_zmusic_h__

View File

@ -1,58 +1,58 @@
/******************************************************************************* /*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development. This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt. Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (jturk@conceptofzero.net) The maintainer of this library is James Turk (jturk@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/ and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/ *******************************************************************************/
/*! /*!
\par File Header: \par File Header:
File: ZE_ZObject.h <br> File: ZE_ZObject.h <br>
Description: Header file for ZEngine core Object ZObject, base of most ZEngine objects. <br> Description: Header file for ZEngine core Object ZObject, base of most ZEngine objects. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_ZObject.h,v 1.1 2002/11/21 05:41:11 cozman Exp $<br> $Id: ZE_ZObject.h,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_ZObject.h \file ZE_ZObject.h
\brief Definition file for ZObject Base Class. \brief Definition file for ZObject Base Class.
Definition file for ZObject the Virtual Base Class for majority of the ZEngine Objects. Definition file for ZObject the Virtual Base Class for majority of the ZEngine Objects.
**/ **/
#ifndef __ze_zobject_h__ #ifndef __ze_zobject_h__
#define __ze_zobject_h__ #define __ze_zobject_h__
#include "ZE_ZEngine.h" #include "ZE_ZEngine.h"
namespace ZE namespace ZE
{ {
/*! /*!
\brief ZObject base class for other ZEngine objects. \brief ZObject base class for other ZEngine objects.
This is the base class from which all ZEngine internal objects are derived from. This is the base class from which all ZEngine internal objects are derived from.
**/ **/
class ZObject class ZObject
{ {
protected: protected:
//! Pointer to ZEngine Object //! Pointer to ZEngine Object
ZEngine* rEngine; ZEngine* rEngine;
public: public:
/*! /*!
\brief ZEngine Constructor. \brief ZEngine Constructor.
ZEngine Constructor, gets Engine pointer for Object. ZEngine Constructor, gets Engine pointer for Object.
**/ **/
ZObject() { rEngine = ZEngine::GetInstance(); }; ZObject() { rEngine = ZEngine::GetInstance(); };
/*! /*!
\brief ZEngine Virtual destructor. \brief ZEngine Virtual destructor.
ZEngine destructor, provided to make class safely inheritable. ZEngine destructor, provided to make class safely inheritable.
**/ **/
virtual ~ZObject() {}; virtual ~ZObject() {};
}; };
} }
#endif //__ze_zobject_h__ #endif //__ze_zobject_h__

View File

@ -1,178 +1,178 @@
/******************************************************************************* /*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development. This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt. Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (jturk@conceptofzero.net) The maintainer of this library is James Turk (jturk@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/ and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/ *******************************************************************************/
/*! /*!
\par File Header: \par File Header:
File: ZE_ZSound.h <br> File: ZE_ZSound.h <br>
Description: Header file for core ZEngine Sound Wrapper Object. <br> Description: Header file for core ZEngine Sound Wrapper Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_ZSound.h,v 1.1 2002/11/21 05:41:12 cozman Exp $<br> $Id: ZE_ZSound.h,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_ZSound.h \file ZE_ZSound.h
\brief Definition file for ZSound. \brief Definition file for ZSound.
Definition file for ZSound, the Sound Effect wrapper for ZEngine. Definition file for ZSound, the Sound Effect wrapper for ZEngine.
**/ **/
#ifndef __ze_zsound_h__ #ifndef __ze_zsound_h__
#define __ze_zsound_h__ #define __ze_zsound_h__
#include "ZE_ZObject.h" #include "ZE_ZObject.h"
#ifdef USE_SDL_MIXER #ifdef USE_SDL_MIXER
namespace ZE namespace ZE
{ {
/*! /*!
\brief ZSound class for playing sound effects. (WAV) \brief ZSound class for playing sound effects. (WAV)
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.
**/ **/
class ZSound : public ZObject class ZSound : public ZObject
{ {
protected: protected:
//! Class containing music data and music filename. //! Pointer to music data.
SoundData rSound; Mix_Chunk* rSound;
//! Channel ID Number from SDL_Mixer. //! Channel ID Number from SDL_Mixer.
int rChannelID; int rChannelID;
public: public:
//! Static Variable For Infinite loop of sound. (Defined as -1) //! Static Variable For Infinite loop of sound. (Defined as -1)
static const int LoopInfinite; static const int LoopInfinite;
/////////////////////// ///////////////////////
//Opening and Closing// //Opening and Closing//
/////////////////////// ///////////////////////
/*! /*!
\brief Default Constructor. \brief Default Constructor.
Default Constructor, does nothing. Default Constructor, does nothing.
**/ **/
ZSound(); ZSound();
/*! /*!
\brief Constructor that opens a sound effect file. \brief Constructor that opens a sound effect file.
Constructor simply calls ZSound::Open() with same filename. (WAV,MOD,MID,OGG) Constructor simply calls ZSound::Open() with same filename. (WAV,MOD,MID,OGG)
\param filename Sound effect to open. \param filename Sound effect to open.
**/ **/
ZSound(string filename); ZSound(string filename);
/*! /*!
\brief Destructor, frees memory. \brief Destructor, frees memory.
Destructor calls ZSound::Release(). Destructor calls ZSound::Release().
**/ **/
~ZSound(); ~ZSound();
/*! /*!
\brief Opens a sound effect file. \brief Opens a sound effect file.
Open a music file to be used. Open a music file to be used.
\param filename Music to open. \param filename Music to open.
**/ **/
void Open(string filename); void Open(string filename);
/*! /*!
\brief Release sound effect. \brief Release sound effect.
Release memory held by sample data. Release memory held by sample data.
**/ **/
void Release(); void Release();
///////////////// /////////////////
//Play Controls// //Play Controls//
///////////////// /////////////////
/*! /*!
\brief Play currently loaded sound effect. \brief Play currently loaded sound effect.
Play sound effect, looping loopNum times. (use ZSound::LoopInfinite to loop forever.) Play sound effect, looping loopNum times. (use ZSound::LoopInfinite to loop forever.)
If fade is not zero (which it defaults to) music will fade in over specified number of milliseconds. If fade is not zero (which it defaults to) music will fade in over specified number of milliseconds.
\param loopNum Number of times to loop song, defaults to zero. \param loopNum Number of times to loop song, defaults to zero.
\param fadeTime Milliseconds to fade to full volume, defaults to zero for no fade. \param fadeTime Milliseconds to fade to full volume, defaults to zero for no fade.
**/ **/
void Play(int loopNum=0, int fadeTime=0); void Play(int loopNum=0, int fadeTime=0);
/*! /*!
\brief Pause sound. \brief Pause sound.
Pause currently playing sound. Pause currently playing sound.
**/ **/
void Pause(); void Pause();
/*! /*!
\brief Unpause sound. \brief Unpause sound.
Unpause currently playing sound. Unpause currently playing sound.
**/ **/
void Unpause(); void Unpause();
/*! /*!
\brief Stop sound. \brief Stop sound.
Stop currently playing sound, if fadeTime is not zero, fade out over specified time. Stop currently playing sound, if fadeTime is not zero, fade out over specified time.
\param fadeTime Milliseconds to fade out over, defaults to zero for immediate stop. \param fadeTime Milliseconds to fade out over, defaults to zero for immediate stop.
**/ **/
void Stop(int fadeTime=0); void Stop(int fadeTime=0);
/*! /*!
\brief Change Volume. \brief Change Volume.
Change volume of currently playing sample. Change volume of currently playing sample.
\param volume Volume to change to, can be in a range from 0 to 128. \param volume Volume to change to, can be in a range from 0 to 128.
**/ **/
void SetVolume(int volume); void SetVolume(int volume);
///////////// /////////////
//Accessors// //Accessors//
///////////// /////////////
/*! /*!
\brief Check if file is loaded. \brief Check if file is loaded.
Check if file is loaded and pointer to data is non-NULL. Check if file is loaded and pointer to data is non-NULL.
\return Loaded or Unloaded state of data. \return Loaded or Unloaded state of data.
**/ **/
bool IsLoaded(); bool IsLoaded();
/*! /*!
\brief Check if sound is Playing. \brief Check if sound is Playing.
Check if sound is playing, specifically if it is not stopped. (Paused state should be checked for by IsPaused) Check if sound is playing, specifically if it is not stopped. (Paused state should be checked for by IsPaused)
\return Playing / Not Playing State of sound. \return Playing / Not Playing State of sound.
**/ **/
bool IsPlaying(); bool IsPlaying();
/*! /*!
\brief Check if sound is Paused. \brief Check if sound is Paused.
Check if sound is "playing" but currently paused. Check if sound is "playing" but currently paused.
\return Paused / Not Paused State of Sound. \return Paused / Not Paused State of Sound.
**/ **/
bool IsPaused(); bool IsPaused();
/*! /*!
\brief Find Current Volume of Sound Channel. \brief Find Current Volume of Sound Channel.
Get current volume of sound channel represented as a value from 0-128. Get current volume of sound channel represented as a value from 0-128.
\return Volume of sound channel, 0-128. \return Volume of sound channel, 0-128.
**/ **/
int GetVolume(); int Volume();
}; };
} }
#endif //USE_SDL_MIXER #endif //USE_SDL_MIXER
#endif //__ze_zsound_h__ #endif //__ze_zsound_h__

View File

@ -1,107 +1,107 @@
/******************************************************************************* /*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development. This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt. Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (jturk@conceptofzero.net) The maintainer of this library is James Turk (jturk@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/ and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/ *******************************************************************************/
/*! /*!
\par File Header: \par File Header:
File: ZE_ZTimer.h <br> File: ZE_ZTimer.h <br>
Description: Header file for core ZEngine Timer Object. <br> Description: Header file for core ZEngine Timer Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_ZTimer.h,v 1.1 2002/11/21 05:41:12 cozman Exp $<br> $Id: ZE_ZTimer.h,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_ZTimer.h \file ZE_ZTimer.h
\brief Definition file for ZTimer. \brief Definition file for ZTimer.
Definition file for ZTimer, the Timer class for ZEngine. Definition file for ZTimer, the Timer class for ZEngine.
**/ **/
#ifndef __ze_ztimer_h__ #ifndef __ze_ztimer_h__
#define __ze_ztimer_h__ #define __ze_ztimer_h__
#include "ZE_ZObject.h" #include "ZE_ZObject.h"
namespace ZE namespace ZE
{ {
/*! /*!
\brief ZTimer class for Timer use. \brief ZTimer class for Timer use.
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.
**/ **/
class ZTimer : public ZObject class ZTimer : public ZObject
{ {
protected: protected:
//! Paused / Unpaused state of Timer //! Paused / Unpaused state of Timer
bool rPaused; bool rPaused;
//! Using ZEngine timer or SDL global timer. //! Using ZEngine timer or SDL global timer.
bool rUseZEngine; bool rUseZEngine;
//! Total time this timer has been paused. //! Total time this timer has been paused.
Uint32 rPausedTime; Uint32 rPausedTime;
//! Time this Timer was paused. //! Time this Timer was paused.
Uint32 rLastPause; Uint32 rLastPause;
/*! /*!
\brief Get time from parent timer. \brief Get time from parent timer.
Protected method to get time from whichever timer is parent. Protected method to get time from whichever timer is parent.
\return Time on parent timer. \return Time on parent timer.
**/ **/
Uint32 GetParentTime(); Uint32 GetParentTime();
public: public:
/*! /*!
\brief Constructs a new Timer. \brief Constructs a new Timer.
Sets TimePaused to current ZEngine time if useZEngine is true, otherwise uses SDL timer. Sets TimePaused to current ZEngine time if useZEngine is true, otherwise uses SDL timer.
\param useZEngine Tells if timer should use ZEngine or SDL. \param useZEngine Tells if timer should use ZEngine or SDL.
**/ **/
ZTimer(bool useZEngine=true); ZTimer(bool useZEngine=true);
/*! /*!
\brief Reset Timer. \brief Reset Timer.
Set Timer back to Zero, will also unpause timer if it was paused. Set Timer back to Zero, will also unpause timer if it was paused.
**/ **/
void Reset(); void Reset();
/*! /*!
\brief Pause Timer. \brief Pause Timer.
Pause the timer if it is unpaused. Pause the timer if it is unpaused.
**/ **/
void Pause(); void Pause();
/*! /*!
\brief Unpause Timer. \brief Unpause Timer.
Unpause the timer if it is paused. Unpause the timer if it is paused.
**/ **/
void Unpause(); void Unpause();
/*! /*!
\brief Get Time of Timer. \brief Get Time of Timer.
Get current time accounting for time paused. Get current time accounting for time paused.
\return Current Timer Time. \return Current Timer Time.
**/ **/
Uint32 GetTime(); Uint32 GetTime();
/*! /*!
\brief Get paused state. \brief Get paused state.
Find out paused state of timer. Find out paused state of timer.
\return Paused state for timer. \return Paused state for timer.
**/ **/
bool IsPaused(); bool IsPaused();
}; };
} }
#endif //__ze_ztimer_h__ #endif //__ze_ztimer_h__

View File

@ -3,7 +3,7 @@
File: ZEngine.h <br> File: ZEngine.h <br>
Description: Public Header File for ZEngine. <br> Description: Public Header File for ZEngine. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZEngine.h,v 1.2 2002/11/28 23:18:54 cozman Exp $<br> $Id: ZEngine.h,v 1.3 2002/12/01 07:56:17 cozman Exp $<br>
\file ZEngine.h \file ZEngine.h
\brief Header file for ZEngine. \brief Header file for ZEngine.
@ -16,15 +16,16 @@ $Id: ZEngine.h,v 1.2 2002/11/28 23:18:54 cozman Exp $<br>
\mainpage ZEngine Documentation \mainpage ZEngine Documentation
\author James Turk \author James Turk
\version 0.7.5 \version 0.7.7
\date 28 November, 2002 \date 1 December, 2002
\section ZEngine About ZEngine \section ZEngine About ZEngine
<br> <br>
ZEngine is designed to wrap common interfaces of the SDL API in an Object Oriented manner. It is licensed under ZEngine is designed to wrap common interfaces of the SDL API in an Object Oriented manner. It is licensed under
a very liberal BSD-style license, and anyone is free to suggest or implement changes to be added to the Engine. In addition a very liberal BSD-style license, and anyone is free to suggest or implement changes to be added to the Engine. In addition
ZEngine hopes to provide a core engine which can be used to develop a game without having to rewrite large amounts ZEngine hopes to provide a core engine which can be used to develop a game without having to rewrite large amounts
of code. of code. As of version 0.7.7 ZEngine uses OpenGL rather than SDL to do 2D drawing, thus increasing the use of the engine
and making the engine much faster in most test cases.
\section Licensing Licensing \section Licensing Licensing
<br><pre> <br><pre>
@ -41,6 +42,7 @@ $Id: ZEngine.h,v 1.2 2002/11/28 23:18:54 cozman Exp $<br>
**/ **/
#include "ZE_ZEngine.h" #include "ZE_ZEngine.h"
#include "ZE_Macros.h"
#include "ZE_ZImage.h" #include "ZE_ZImage.h"
#include "ZE_ZTimer.h" #include "ZE_ZTimer.h"
#include "ZE_ZConfigFile.h" #include "ZE_ZConfigFile.h"

12
include/external/SDLGL_Util.h vendored Executable file
View File

@ -0,0 +1,12 @@
/*This code comes from testgl.c which is part of the SDL source distribution.
Available at http://libsdl.org/
*/
#ifndef __sdlgl_h__
#define __sdlgl_h__
#include "ZE_Includes.h"
int power_of_two(int input);
GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord);
#endif //__sdlgl_h__

View File

@ -1,3 +1,16 @@
A Note From James:
I chose to license ZEngine under the most liberal license I could find.
I really didn't want to think that anybody would steal all the work put into
this engine and call it their own. I'd like to know if you're using it, but
I didn't choose a license that required it, and I'd also like to know what
you add to it or any problems you find in it, but I'm not going to require
any of that because there are people that will do that and people that
won't and I dont think the people that follow the rule follow it simply
because they have to and the people that violate open source licenses
aren't bright enough to have anything to contribute anyway.
----------------------------------(begin license)
Copyright (c) James Turk, 2002 Copyright (c) James Turk, 2002
All rights reserved. All rights reserved.
@ -24,6 +37,8 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------(end license)
In this distribution all files which fall under the license are marked as such with In this distribution all files which fall under the license are marked as such with
the following notice: the following notice:
@ -35,4 +50,4 @@ the following notice:
The maintainer of this library is James Turk (james@conceptofzero.net) The maintainer of this library is James Turk (james@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/ and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/ *******************************************************************************/

View File

@ -1,53 +1,53 @@
/******************************************************************************* /*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development. This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt. Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (james@conceptofzero.net) The maintainer of this library is James Turk (james@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/ and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/ *******************************************************************************/
/*! /*!
\par File Header: \par File Header:
File: ZE_Error.cpp <br> File: ZE_Error.cpp <br>
Description: Implementation source file for ZEngine error logging utility functions. <br> Description: Implementation source file for ZEngine error logging utility functions. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_Error.cpp,v 1.1 2002/11/21 05:41:12 cozman Exp $<br> $Id: ZE_Error.cpp,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_Error.cpp \file ZE_Error.cpp
\brief Source file for error logging utilities. \brief Source file for error logging utilities.
Error logging utilities for ZEngine and programs making use of ZEngine. Error logging utilities for ZEngine and programs making use of ZEngine.
**/ **/
#include "ZE_Error.h" #include "ZE_Error.h"
namespace ZE namespace ZE
{ {
string _GetError(int line, string file, string str) string _GetError(int line, string file, string str)
{ {
return FormatStr("%s (Line %d)\n Message Was: %s \n",file.c_str(),line,str.c_str()); return FormatStr("%s (Line %d)\n Message Was: %s \n",file.c_str(),line,str.c_str());
} }
void _LogError(int line, string file, string str) void _LogError(int line, string file, string str)
{ {
string errstr = _GetError(line,file,str); string errstr = _GetError(line,file,str);
#ifdef DEBUG_STREAM #ifdef DEBUG_STREAM
fprintf(stderr,errstr.c_str()); //this line writes the actual debug info fprintf(stderr,errstr.c_str()); //this line writes the actual debug info
#endif #endif
} }
string FormatStr(const char *fmtstr, ...) string FormatStr(const char *fmtstr, ...)
{ {
char buf[512]; char buf[512];
va_list args; va_list args;
va_start(args,fmtstr); va_start(args,fmtstr);
vsprintf(buf, fmtstr, args); vsprintf(buf, fmtstr, args);
va_end(args); va_end(args);
return buf; return buf;
} }
} }

View File

@ -1,326 +1,326 @@
/******************************************************************************* /*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development. This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt. Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (james@conceptofzero.net) The maintainer of this library is James Turk (james@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/ and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/ *******************************************************************************/
/*! /*!
\par File Header: \par File Header:
File: ZE_ZConfigFile.cpp <br> File: ZE_ZConfigFile.cpp <br>
Description: Implementation source file for ZConfigFile, the ZEngine INI-Style Config File. <br> Description: Implementation source file for ZConfigFile, the ZEngine INI-Style Config File. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_ZConfigFile.cpp,v 1.1 2002/11/21 05:41:12 cozman Exp $<br> $Id: ZE_ZConfigFile.cpp,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_ZConfigFile.cpp \file ZE_ZConfigFile.cpp
\brief Source file for ZConfigFile. \brief Source file for ZConfigFile.
Implementation of ZConfigFile, the ZEngine INI-Style Config File. Implementation of ZConfigFile, the ZEngine INI-Style Config File.
**/ **/
#include "ZE_ZConfigFile.h" #include "ZE_ZConfigFile.h"
namespace ZE namespace ZE
{ {
string ZConfigFile::CleanString(string str) string ZConfigFile::CleanString(string str)
{ {
string tmpStr; string tmpStr;
bool inQuotes = false; bool inQuotes = false;
//cycle through, only copy spaces and if a character is uppercase, convert it to lowercase //cycle through, only copy spaces and if a character is uppercase, convert it to lowercase
for(string::size_type i = 0; i < str.length(); i++) for(string::size_type i = 0; i < str.length(); i++)
{ {
if(!isspace(str[i]) || inQuotes) if(!isspace(str[i]) || inQuotes)
{ {
if(str[i] == '\"') if(str[i] == '\"')
inQuotes = !inQuotes; inQuotes = !inQuotes;
if(isupper(str[i]) && !inQuotes) if(isupper(str[i]) && !inQuotes)
str[i] = static_cast<char>(tolower(str[i])); str[i] = static_cast<char>(tolower(str[i]));
tmpStr += str[i]; tmpStr += str[i];
} }
} }
return tmpStr; return tmpStr;
} }
bool ZConfigFile::Exists(string sec) bool ZConfigFile::Exists(string sec)
{ {
list<ZCF_Section>::iterator secIter; list<ZCF_Section>::iterator secIter;
sec = CleanString(sec); sec = CleanString(sec);
for(secIter = mFileLayout.begin(); secIter != mFileLayout.end(); secIter++) for(secIter = mFileLayout.begin(); secIter != mFileLayout.end(); secIter++)
{ {
if(CleanString((*secIter).section) == sec) if(CleanString((*secIter).section) == sec)
return true; return true;
} }
return false; return false;
} }
bool ZConfigFile::Exists(string sec, string var) bool ZConfigFile::Exists(string sec, string var)
{ {
list<ZCF_Section>::iterator secIter; list<ZCF_Section>::iterator secIter;
list<ZCF_Variable>::iterator varIter; list<ZCF_Variable>::iterator varIter;
sec = CleanString(sec); sec = CleanString(sec);
var = CleanString(var); var = CleanString(var);
for(secIter = mFileLayout.begin(); secIter != mFileLayout.end(); secIter++) for(secIter = mFileLayout.begin(); secIter != mFileLayout.end(); secIter++)
{ {
if(CleanString((*secIter).section) == sec) if(CleanString((*secIter).section) == sec)
{ {
for(varIter = (*secIter).varList.begin(); varIter != (*secIter).varList.end(); varIter++) for(varIter = (*secIter).varList.begin(); varIter != (*secIter).varList.end(); varIter++)
{ {
if(CleanString((*varIter).var) == var) if(CleanString((*varIter).var) == var)
return true; return true;
} }
} }
} }
return false; return false;
} }
void ZConfigFile::SetVariable(string sec, string var, string val) void ZConfigFile::SetVariable(string sec, string var, string val)
{ {
list<ZCF_Section>::iterator secIter; list<ZCF_Section>::iterator secIter;
list<ZCF_Variable>::iterator varIter; list<ZCF_Variable>::iterator varIter;
if(Exists(CleanString(sec))) if(Exists(CleanString(sec)))
{ {
sec = CleanString(sec); sec = CleanString(sec);
for(secIter = mFileLayout.begin(); secIter != mFileLayout.end(); secIter++) for(secIter = mFileLayout.begin(); secIter != mFileLayout.end(); secIter++)
{ {
if(CleanString((*secIter).section) == sec) //if this is the section if(CleanString((*secIter).section) == sec) //if this is the section
{ {
if(Exists(sec,var)) if(Exists(sec,var))
{ {
var = CleanString(var); var = CleanString(var);
for(varIter = (*secIter).varList.begin(); varIter != (*secIter).varList.end(); varIter++) for(varIter = (*secIter).varList.begin(); varIter != (*secIter).varList.end(); varIter++)
{ {
if(CleanString((*varIter).var) == var) //if this is the variable if(CleanString((*varIter).var) == var) //if this is the variable
{ {
(*varIter).val = val; (*varIter).val = val;
break; //break from this loop break; //break from this loop
} }
} }
break; //done in the for loop, time to go break; //done in the for loop, time to go
} }
else else
{ {
ZCF_Variable tempVar; ZCF_Variable tempVar;
tempVar.var = var; tempVar.var = var;
(*secIter).varList.push_back(tempVar); (*secIter).varList.push_back(tempVar);
SetVariable(sec,var,val); SetVariable(sec,var,val);
} }
} }
} }
} }
else else
{ {
ZCF_Section tempSec; ZCF_Section tempSec;
tempSec.section = sec; tempSec.section = sec;
mFileLayout.push_back(tempSec); mFileLayout.push_back(tempSec);
SetVariable(sec,var,val); SetVariable(sec,var,val);
} }
} }
string ZConfigFile::GetVariable(string sec, string var, string defVal) string ZConfigFile::GetVariable(string sec, string var, string defVal)
{ {
list<ZCF_Section>::iterator secIter; list<ZCF_Section>::iterator secIter;
list<ZCF_Variable>::iterator varIter; list<ZCF_Variable>::iterator varIter;
sec = CleanString(sec); sec = CleanString(sec);
var = CleanString(var); var = CleanString(var);
if(Exists(sec)) if(Exists(sec))
{ {
for(secIter = mFileLayout.begin(); secIter != mFileLayout.end(); secIter++) for(secIter = mFileLayout.begin(); secIter != mFileLayout.end(); secIter++)
{ {
if(CleanString((*secIter).section) == sec) //if this is the section if(CleanString((*secIter).section) == sec) //if this is the section
{ {
if(Exists(sec,var)) if(Exists(sec,var))
{ {
for(varIter = (*secIter).varList.begin(); varIter != (*secIter).varList.end(); varIter++) for(varIter = (*secIter).varList.begin(); varIter != (*secIter).varList.end(); varIter++)
{ {
if(CleanString((*varIter).var) == var) //if this is the variable if(CleanString((*varIter).var) == var) //if this is the variable
return (*varIter).val; //return now return (*varIter).val; //return now
} }
break; //done in the for loop, time to go break; //done in the for loop, time to go
} }
else else
{ {
return defVal; return defVal;
break; break;
} }
} }
} }
} }
return defVal; //if it gets to the end just return the default return defVal; //if it gets to the end just return the default
} }
ZConfigFile::ZConfigFile() {} ZConfigFile::ZConfigFile() {}
ZConfigFile::ZConfigFile(string mFilename) ZConfigFile::ZConfigFile(string mFilename)
{ {
Process(mFilename); Process(mFilename);
} }
ZConfigFile::~ZConfigFile() ZConfigFile::~ZConfigFile()
{ {
Close(); Close();
} }
void ZConfigFile::Process(string filename) void ZConfigFile::Process(string filename)
{ {
mFilename = filename; mFilename = filename;
ifstream cfile(mFilename.c_str()); ifstream cfile(mFilename.c_str());
string section, str, var, tmp; string section, str, var, tmp;
mFileLayout.clear(); mFileLayout.clear();
while(!cfile.eof() && cfile.is_open()) while(!cfile.eof() && cfile.is_open())
{ {
getline(cfile,str); //read in a line getline(cfile,str); //read in a line
tmp = CleanString(str); //get a clean version tmp = CleanString(str); //get a clean version
//if string is bracketed it is a section, if it begins in a letter it is a variable //if string is bracketed it is a section, if it begins in a letter it is a variable
if(tmp[0] == '[' && tmp[tmp.length()-1] == ']') if(tmp[0] == '[' && tmp[tmp.length()-1] == ']')
section = str; section = str;
else if(isalpha(tmp[0])) else if(isalpha(tmp[0]))
{ {
var = str.substr(0,str.find('=')); //split the string at the equals sign var = str.substr(0,str.find('=')); //split the string at the equals sign
SetVariable(section,var,str.substr(str.find('=')+1,str.length()-var.length()-1)); SetVariable(section,var,str.substr(str.find('=')+1,str.length()-var.length()-1));
} }
} }
cfile.close(); cfile.close();
} }
int ZConfigFile::GetInt(string section, string var, int defVal) int ZConfigFile::GetInt(string section, string var, int defVal)
{ {
string val; string val;
char tmp[20]; char tmp[20];
section = CleanString(section); section = CleanString(section);
var = CleanString(var); var = CleanString(var);
section = '[' + section + ']'; section = '[' + section + ']';
sprintf(tmp,"%d",defVal); sprintf(tmp,"%d",defVal);
val = GetVariable(section,var,tmp); val = GetVariable(section,var,tmp);
if(!atoi(val.c_str()) && val[0] !='0') //if it is zero but doesn't start with a zero if(!atoi(val.c_str()) && val[0] !='0') //if it is zero but doesn't start with a zero
return defVal; return defVal;
else else
return atoi(val.c_str()); return atoi(val.c_str());
} }
bool ZConfigFile::GetBool(string section, string var, bool defVal) bool ZConfigFile::GetBool(string section, string var, bool defVal)
{ {
string val,tmp; string val,tmp;
section = CleanString(section); section = CleanString(section);
var = CleanString(var); var = CleanString(var);
section = '[' + section + ']'; section = '[' + section + ']';
tmp = defVal ? "true" : "false"; tmp = defVal ? "true" : "false";
val = CleanString(GetVariable(section,var,tmp)); val = CleanString(GetVariable(section,var,tmp));
if(val == "true" || val == "1") if(val == "true" || val == "1")
return true; return true;
else if(val == "false" || val == "0") else if(val == "false" || val == "0")
return false; return false;
else else
return defVal; return defVal;
} }
string ZConfigFile::GetString(string section, string var, string defVal) string ZConfigFile::GetString(string section, string var, string defVal)
{ {
string val; string val;
section = CleanString(section); section = CleanString(section);
var = CleanString(var); var = CleanString(var);
section = '[' + section + ']'; section = '[' + section + ']';
val = CleanString(GetVariable(section,var,defVal)); val = CleanString(GetVariable(section,var,defVal));
if(val == CleanString(defVal)) if(val == CleanString(defVal))
val = defVal; val = defVal;
if(val[0] == '\"' && val[val.length()-1] == '\"') if(val[0] == '\"' && val[val.length()-1] == '\"')
return val.substr(1,val.length()-2); //chop off quotes return val.substr(1,val.length()-2); //chop off quotes
else else
return val; return val;
} }
void ZConfigFile::SetInt(string section, string var, int val) void ZConfigFile::SetInt(string section, string var, int val)
{ {
char buf[20]; char buf[20];
sprintf(buf,"%d",val); sprintf(buf,"%d",val);
section = '[' + section + ']'; section = '[' + section + ']';
SetVariable(section,var,buf); SetVariable(section,var,buf);
} }
void ZConfigFile::SetBool(string section, string var, bool val) void ZConfigFile::SetBool(string section, string var, bool val)
{ {
string tmp = val ? "true" : "false"; string tmp = val ? "true" : "false";
section = '[' + section + ']'; section = '[' + section + ']';
SetVariable(section,var,tmp); SetVariable(section,var,tmp);
} }
void ZConfigFile::SetString(string section, string var, string val) void ZConfigFile::SetString(string section, string var, string val)
{ {
section = '[' + section + ']'; section = '[' + section + ']';
val = "\"" + val + "\""; val = "\"" + val + "\"";
SetVariable(section,var,val); SetVariable(section,var,val);
} }
void ZConfigFile::Flush() void ZConfigFile::Flush()
{ {
list<ZCF_Section>::iterator secIter; list<ZCF_Section>::iterator secIter;
list<ZCF_Variable>::iterator varIter; list<ZCF_Variable>::iterator varIter;
string secName; string secName;
//in case the filename is already cleared somehow //in case the filename is already cleared somehow
if(mFilename.length()) if(mFilename.length())
{ {
ofstream cfile(mFilename.c_str(), ios::out|ios::trunc); ofstream cfile(mFilename.c_str(), ios::out|ios::trunc);
if(cfile) if(cfile)
{ {
//iteration through sections //iteration through sections
for(secIter = mFileLayout.begin(); secIter != mFileLayout.end(); secIter++) for(secIter = mFileLayout.begin(); secIter != mFileLayout.end(); secIter++)
{ {
//ensure that section is valid //ensure that section is valid
secName = CleanString((*secIter).section); secName = CleanString((*secIter).section);
if(secName.length() && secName[0] == '[' && secName[secName.length()-1] == ']') if(secName.length() && secName[0] == '[' && secName[secName.length()-1] == ']')
{ {
cfile << (*secIter).section << endl; //write out raw section title cfile << (*secIter).section << endl; //write out raw section title
//for each variable in section, write out variable=value //for each variable in section, write out variable=value
for(varIter = (*secIter).varList.begin(); varIter != (*secIter).varList.end(); varIter++) for(varIter = (*secIter).varList.begin(); varIter != (*secIter).varList.end(); varIter++)
{ {
if(CleanString((*varIter).var).length()) //ensures that variable is valid if(CleanString((*varIter).var).length()) //ensures that variable is valid
cfile << (*varIter).var << '=' << (*varIter).val << endl; cfile << (*varIter).var << '=' << (*varIter).val << endl;
} }
} }
} }
cfile.close(); cfile.close();
} }
} }
} }
void ZConfigFile::Close() void ZConfigFile::Close()
{ {
Flush(); Flush();
mFilename = ""; mFilename = "";
} }
} }

View File

@ -13,7 +13,7 @@
File: ZE_ZEngine.cpp <br> File: ZE_ZEngine.cpp <br>
Description: Implementation source file for ZEngine library main singleton class. <br> Description: Implementation source file for ZEngine library main singleton class. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_ZEngine.cpp,v 1.2 2002/11/28 23:19:55 cozman Exp $<br> $Id: ZE_ZEngine.cpp,v 1.3 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_ZEngine.cpp \file ZE_ZEngine.cpp
\brief Central source file for ZEngine. \brief Central source file for ZEngine.
@ -94,7 +94,8 @@ void ZEngine::SetupSound(int rate, bool stereo)
void ZEngine::CreateDisplay(string title, string icon) void ZEngine::CreateDisplay(string title, string icon)
{ {
Uint32 flags; Uint32 flags;
ImageData iconImg; SDL_Surface *iconImg;
int rgb_size[3];
if(SDL_Init(SDL_INIT_VIDEO|SDL_INIT_TIMER|SDL_INIT_AUDIO) < 0) if(SDL_Init(SDL_INIT_VIDEO|SDL_INIT_TIMER|SDL_INIT_AUDIO) < 0)
{ {
@ -106,9 +107,6 @@ void ZEngine::CreateDisplay(string title, string icon)
Mix_OpenAudio(mRate, AUDIO_S16SYS, mStereo?2:1, 4096); //Open Audio Stream (Stereo?2:1 is conditional for number of channels) Mix_OpenAudio(mRate, AUDIO_S16SYS, mStereo?2:1, 4096); //Open Audio Stream (Stereo?2:1 is conditional for number of channels)
#endif #endif
#ifdef USE_OPENGL_2D
int rgb_size[3];
switch (mBPP) switch (mBPP)
{ {
case 8: case 8:
@ -128,25 +126,18 @@ void ZEngine::CreateDisplay(string title, string icon)
rgb_size[2] = 8; rgb_size[2] = 8;
break; break;
} }
SDL_GL_SetAttribute( SDL_GL_RED_SIZE, rgb_size[0] ); SDL_GL_SetAttribute(SDL_GL_RED_SIZE, rgb_size[0]);
SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, rgb_size[1] ); SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, rgb_size[1]);
SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, rgb_size[2] ); SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, rgb_size[2]);
SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 ); SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, mBPP);
SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 ); SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 0);
SDL_GL_SetAttribute(SDL_GL_ACCUM_RED_SIZE, 0);
SDL_GL_SetAttribute(SDL_GL_ACCUM_GREEN_SIZE, 0);
SDL_GL_SetAttribute(SDL_GL_ACCUM_BLUE_SIZE, 0);
SDL_GL_SetAttribute(SDL_GL_ACCUM_ALPHA_SIZE, 0);
flags = SDL_OPENGL; flags = SDL_OPENGL;
#else //!USE_OPENGL_2D
SDL_VideoInfo *videoInfo = const_cast<SDL_VideoInfo*>(SDL_GetVideoInfo());
flags = SDL_DOUBLEBUF|SDL_HWPALETTE;
//check capabilities and use what we can//
if(videoInfo->hw_available)
flags |= SDL_HWSURFACE;
else
flags |= SDL_SWSURFACE;
if(videoInfo->blit_hw)
flags |= SDL_HWACCEL;
#endif //USE_OPENGL_2D
//Window Manager settings// //Window Manager settings//
if(!icon.length()) if(!icon.length())
@ -155,7 +146,7 @@ void ZEngine::CreateDisplay(string title, string icon)
{ {
SDL_WM_SetCaption(title.c_str(),icon.c_str()); SDL_WM_SetCaption(title.c_str(),icon.c_str());
iconImg = LoadImage(icon); iconImg = LoadImage(icon);
SDL_WM_SetIcon(iconImg.image,NULL); SDL_WM_SetIcon(iconImg,NULL);
FreeImage(iconImg); FreeImage(iconImg);
} }
@ -163,46 +154,19 @@ void ZEngine::CreateDisplay(string title, string icon)
if(mFullscreen) if(mFullscreen)
flags |= SDL_FULLSCREEN; flags |= SDL_FULLSCREEN;
mScreen = SDL_SetVideoMode(mWidth, mHeight, mBPP, flags); mScreen = SDL_SetVideoMode(mWidth, mHeight, mBPP, flags);
mWidth = mScreen->w;
mHeight = mScreen->h;
mBPP = mScreen->format->BitsPerPixel;
#ifdef USE_OPENGL_2D
//OpenGL code from SDL project testgl.c//
glViewport(0,0,mWidth,mHeight);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glPushAttrib(GL_ENABLE_BIT);
glDisable(GL_DEPTH_TEST);
glDisable(GL_CULL_FACE);
glEnable(GL_TEXTURE_2D);
/* This allows alpha blending of 2D textures with the scene*/
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glViewport(0, 0, mWidth, mHeight);
glMatrixMode(GL_PROJECTION);
glPushMatrix();
glLoadIdentity();
glOrtho(0.0, (GLdouble)mWidth, (GLdouble)mHeight, 0.0, 0.0, 1.0);
glMatrixMode(GL_MODELVIEW);
glPushMatrix();
glLoadIdentity();
glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_DECAL);
#endif //USE_OPENGL_2D
if(!mScreen) if(!mScreen)
{ {
LogError(FormatStr("Unable to set video mode %dx%d (%dBpp): %s",mWidth,mHeight,mBPP,SDL_GetError())); LogError(FormatStr("Unable to set video mode %dx%d (%dBpp): %s",mWidth,mHeight,mBPP,SDL_GetError()));
CloseDisplay(); CloseDisplay();
} }
mWidth = mScreen->w;
mHeight = mScreen->h;
mBPP = mScreen->format->BitsPerPixel;
SetGL2D();
mKeyPressed = SDL_GetKeyState(NULL); mKeyPressed = SDL_GetKeyState(NULL);
#ifdef USE_SDL_TTF #ifdef USE_SDL_TTF
@ -237,24 +201,41 @@ SDL_Surface *ZEngine::Display()
void ZEngine::UpdateScreen() void ZEngine::UpdateScreen()
{ {
#ifdef USE_OPENGL_2D
SDL_GL_SwapBuffers(); SDL_GL_SwapBuffers();
#else //!USE_OPENGL_2D
SDL_Flip(mScreen);
#endif //USE_OPENGL_2D
mSecPerFrame = (GetTime()-mLastTime)/1000.0; mSecPerFrame = (GetTime()-mLastTime)/1000.0;
mLastTime = GetTime(); mLastTime = GetTime();
} }
Uint32 ZEngine::MapColor(Uint8 r, Uint8 g, Uint8 b, Uint8 a) void ZEngine::Clear(float red, float green, float blue, float alpha)
{ {
return SDL_MapRGBA(mScreen->format,r,g,b,a); glClearColor(red,green,blue,alpha);
glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);
glLoadIdentity();
} }
void ZEngine::Clear(Uint32 color, SDL_Rect *rect) void ZEngine::SetGL2D()
{ {
SDL_FillRect(mScreen,rect,color); glPushAttrib(GL_ENABLE_BIT);
glDisable(GL_DEPTH_TEST);
glDisable(GL_CULL_FACE);
glEnable(GL_TEXTURE_2D);
/* This allows alpha blending of 2D textures with the scene*/
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA);
glViewport(0, 0, mWidth, mHeight);
glMatrixMode(GL_PROJECTION);
glPushMatrix();
glLoadIdentity();
glOrtho(0.0, (GLdouble)mWidth, (GLdouble)mHeight, 0.0, 0.0, 1.0);
glMatrixMode(GL_MODELVIEW);
glPushMatrix();
glLoadIdentity();
} }
void ZEngine::Delay(Uint32 milliseconds) void ZEngine::Delay(Uint32 milliseconds)
@ -420,10 +401,9 @@ void ZEngine::AddPhysFSDir(string dir)
#endif //USE_PHYSFS #endif //USE_PHYSFS
ImageData ZEngine::LoadImage(string filename) SDL_Surface* ZEngine::LoadImage(string filename)
{ {
ImageData img; SDL_Surface *image;
//using physfs// //using physfs//
#ifdef USE_PHYSFS #ifdef USE_PHYSFS
SDL_RWops *rw; SDL_RWops *rw;
@ -431,9 +411,9 @@ ImageData ZEngine::LoadImage(string filename)
if(!rw) if(!rw)
LogError(FormatStr("PhysFS RWops failed: %s",SDL_GetError())); LogError(FormatStr("PhysFS RWops failed: %s",SDL_GetError()));
#ifdef USE_SDL_IMAGE #ifdef USE_SDL_IMAGE
img.image = IMG_Load_RW(rw,0); image = IMG_Load_RW(rw,0);
#else #else
img.image = SDL_LoadBMP_RW(rw,0); image = SDL_LoadBMP_RW(rw,0);
#endif //USE_SDL_IMAGE #endif //USE_SDL_IMAGE
SDL_FreeRW(rw); SDL_FreeRW(rw);
//end using physfs// //end using physfs//
@ -441,72 +421,48 @@ ImageData ZEngine::LoadImage(string filename)
//Just SDL// //Just SDL//
#else #else
#ifdef USE_SDL_IMAGE #ifdef USE_SDL_IMAGE
img.image = IMG_Load(filename.c_str()); image = IMG_Load(filename.c_str());
#else #else
img.image = SDL_LoadBMP(filename.c_str()); image = SDL_LoadBMP(filename.c_str());
#endif //USE_SDL_IMAGE #endif //USE_SDL_IMAGE
#endif //USE_PHYSFS #endif //USE_PHYSFS
if(!img.image) if(!image)
{ {
img.filename = FormatStr("LoadImage could not load %s.",filename.c_str()); LogError(FormatStr("LoadImage could not load %s.",filename.c_str()));
LogError(img.filename); return NULL;
} }
else else
img.filename = filename; return image;
return img;
}
void ZEngine::FreeImage(ImageData &image)
{
if(image.image)
{
SDL_FreeSurface(image.image);
image.image = NULL;
image.filename = "free";
}
} }
#ifdef USE_SDL_MIXER #ifdef USE_SDL_MIXER
SoundData ZEngine::LoadSound(string filename) Mix_Chunk* ZEngine::LoadSound(string filename)
{ {
SoundData snd; Mix_Chunk *sound;
#ifdef USE_PHYSFS #ifdef USE_PHYSFS
SDL_RWops *rw; SDL_RWops *rw;
rw = PHYSFSRWOPS_openRead(filename.c_str()); rw = PHYSFSRWOPS_openRead(filename.c_str());
snd.sound = Mix_LoadWAV_RW(rw,0); sound = Mix_LoadWAV_RW(rw,0);
SDL_FreeRW(rw); SDL_FreeRW(rw);
#else #else
snd.sound = Mix_LoadWAV(filename.c_str()); sound = Mix_LoadWAV(filename.c_str());
#endif //USE_PHYSFS #endif //USE_PHYSFS
if(!snd.sound) if(!sound)
{ {
snd.filename = FormatStr("LoadSound could not load %s.",filename.c_str()); LogError(FormatStr("LoadImage could not load %s.",filename.c_str()));
LogError(snd.filename); return NULL;
} }
else else
snd.filename = filename; return sound;
return snd;
} }
void ZEngine::FreeSound(SoundData &sound) Mix_Music* ZEngine::LoadMusic(string filename)
{ {
if(sound.sound) Mix_Music *music;
{
Mix_FreeChunk(sound.sound);
sound.sound = NULL;
sound.filename = "free";
}
}
MusicData ZEngine::LoadMusic(string filename)
{
MusicData mus;
//Currently SDL_Mixer doesn't support Music from a RW //Currently SDL_Mixer doesn't support Music from a RW
//#ifdef USE_PHYSFS //#ifdef USE_PHYSFS
@ -515,37 +471,25 @@ MusicData ZEngine::LoadMusic(string filename)
// mus.music = Mix_LoadMUS_RW(filename.c_str(),0); // mus.music = Mix_LoadMUS_RW(filename.c_str(),0);
// SDL_FreeRW(rw); // SDL_FreeRW(rw);
//#else //#else
mus.music = Mix_LoadMUS(filename.c_str()); music = Mix_LoadMUS(filename.c_str());
//#endif //USE_PHYSFS //#endif //USE_PHYSFS
if(!mus.music) if(!music)
{ {
mus.filename = FormatStr("LoadMusic could not load %s.",filename.c_str()); LogError(FormatStr("LoadMusic could not load %s.",filename.c_str()));
LogError(mus.filename); return NULL;
} }
else else
mus.filename = filename; return music;
return mus;
}
void ZEngine::FreeMusic(MusicData &music)
{
if(music.music)
{
Mix_FreeMusic(music.music);
music.music = NULL;
music.filename = "free";
}
} }
#endif #endif
#ifdef USE_SDL_TTF #ifdef USE_SDL_TTF
FontData ZEngine::LoadFont(string filename, int size) TTF_Font* ZEngine::LoadFont(string filename, int size)
{ {
FontData fnt; TTF_Font *font;
//Currently SDL_ttf doesn't support Fonts from a RW //Currently SDL_ttf doesn't support Fonts from a RW
//#ifdef USE_PHYSFS //#ifdef USE_PHYSFS
@ -554,28 +498,16 @@ FontData ZEngine::LoadFont(string filename, int size)
// fnt.font = TTF_OpenFontRW(rw,0); // fnt.font = TTF_OpenFontRW(rw,0);
// SDL_FreeRW(rw); // SDL_FreeRW(rw);
//#else //#else
fnt.font = TTF_OpenFont(filename.c_str(),size); font = TTF_OpenFont(filename.c_str(),size);
//#endif //USE_PHYSFS //#endif //USE_PHYSFS
if(!fnt.font) if(!font)
{ {
fnt.filename = FormatStr("LoadFont could not load %s.",filename.c_str()); LogError(FormatStr("LoadFont could not load %s.",filename.c_str()));
LogError(fnt.filename); return NULL;
} }
else else
fnt.filename = filename; return font;
return fnt;
}
void ZEngine::FreeFont(FontData &font)
{
if(font.font)
{
TTF_CloseFont(font.font);
font.font = NULL;
font.filename = "free";
}
} }

View File

@ -1,203 +1,205 @@
/******************************************************************************* /*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development. This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt. Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (james@conceptofzero.net) The maintainer of this library is James Turk (james@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/ and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/ *******************************************************************************/
/*! /*!
\par File Header: \par File Header:
File: ZE_ZFont.cpp <br> File: ZE_ZFont.cpp <br>
Description: Implementation source file for core ZEngine Font Object. <br> Description: Implementation source file for core ZEngine Font Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_ZFont.cpp,v 1.1 2002/11/21 05:41:13 cozman Exp $<br> $Id: ZE_ZFont.cpp,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_ZFont.cpp \file ZE_ZFont.cpp
\brief Source file for ZFont. \brief Source file for ZFont.
Implementation of ZFont, the basic Font class for ZEngine. Implementation of ZFont, the basic Font class for ZEngine.
**/ **/
#include "ZE_ZFont.h" #include "ZE_ZFont.h"
#ifdef USE_SDL_TTF #ifdef USE_SDL_TTF
namespace ZE namespace ZE
{ {
ZFont::ZFont() ZFont::ZFont()
{ {
rColor.r = rColor.g = rColor.b = rColor.unused = 255; rFont = NULL;
rBGColor.r = rBGColor.g = rBGColor.b = rBGColor.unused = 0; rColor.r = rColor.g = rColor.b = rColor.unused = 255;
} rBGColor.r = rBGColor.g = rBGColor.b = rBGColor.unused = 0;
}
ZFont::ZFont(string filename, int size)
{ ZFont::ZFont(string filename, int size)
rColor.r = rColor.g = rColor.b = rColor.unused = 255; {
rBGColor.r = rBGColor.g = rBGColor.b = rBGColor.unused = 0; rFont = NULL;
Open(filename,size); rColor.r = rColor.g = rColor.b = rColor.unused = 255;
} rBGColor.r = rBGColor.g = rBGColor.b = rBGColor.unused = 0;
Open(filename,size);
ZFont::~ZFont() }
{
Release(); ZFont::~ZFont()
} {
Release();
void ZFont::Open(string filename, int size) }
{
Release(); void ZFont::Open(string filename, int size)
rFont = rEngine->LoadFont(filename,size); {
} Release();
rFont = rEngine->LoadFont(filename,size);
void ZFont::Release() }
{
rEngine->FreeFont(rFont); void ZFont::Release()
} {
FreeFont(rFont);
void ZFont::DrawText(string text, ZImage &image) }
{
image.Attach(TTF_RenderText_Solid(rFont.font, text.c_str(), rColor)); void ZFont::DrawText(string text, ZImage &image)
} {
image.Attach(TTF_RenderText_Solid(rFont, text.c_str(), rColor));
void ZFont::DrawShadedText(string text, ZImage &image) }
{
image.Attach(TTF_RenderText_Shaded(rFont.font, text.c_str(), rColor, rBGColor)); void ZFont::DrawShadedText(string text, ZImage &image)
} {
image.Attach(TTF_RenderText_Shaded(rFont, text.c_str(), rColor, rBGColor));
void ZFont::SetColor(Uint8 r, Uint8 g, Uint8 b) }
{
rColor.r = r; void ZFont::SetColor(Uint8 r, Uint8 g, Uint8 b)
rColor.g = g; {
rColor.b = b; rColor.r = r;
} rColor.g = g;
rColor.b = b;
void ZFont::SetBGColor(Uint8 r, Uint8 g, Uint8 b) }
{
rBGColor.r = r; void ZFont::SetBGColor(Uint8 r, Uint8 g, Uint8 b)
rBGColor.g = g; {
rBGColor.b = b; rBGColor.r = r;
} rBGColor.g = g;
rBGColor.b = b;
void ZFont::SetStyle(bool Bold, bool Italic, bool Underline) }
{
int flags=0; void ZFont::SetStyle(bool Bold, bool Italic, bool Underline)
{
if(Bold) int flags=0;
flags |= TTF_STYLE_BOLD;
if(Italic) if(Bold)
flags |= TTF_STYLE_ITALIC; flags |= TTF_STYLE_BOLD;
if(Underline) if(Italic)
flags |= TTF_STYLE_UNDERLINE; flags |= TTF_STYLE_ITALIC;
if(!flags) if(Underline)
flags = TTF_STYLE_NORMAL; flags |= TTF_STYLE_UNDERLINE;
if(!flags)
if(rFont.font) flags = TTF_STYLE_NORMAL;
TTF_SetFontStyle(rFont.font,flags);
else if(rFont)
LogError(FormatStr("ZFont not initialized in ZFont::SetStyle(), filename: %s.",rFont.filename.c_str())); TTF_SetFontStyle(rFont,flags);
} else
LogError("ZFont not initialized in ZFont::SetStyle.");
void ZFont::Resize(int size) }
{
Open(rFont.filename,size); void ZFont::Resize(int size)
} {
Open(rFilename,size);
bool ZFont::IsLoaded() }
{
return rFont.font != NULL; bool ZFont::IsLoaded()
} {
return rFont != NULL;
bool ZFont::IsBold() }
{
if(rFont.font) bool ZFont::IsBold()
return (TTF_GetFontStyle(rFont.font) & TTF_STYLE_BOLD) > 0; {
else if(rFont)
{ return (TTF_GetFontStyle(rFont) & TTF_STYLE_BOLD) > 0;
LogError(FormatStr("ZFont not initialized in ZFont::IsBold(), filename: %s.",rFont.filename.c_str())); else
return false; {
} LogError("ZFont not initialized in ZFont::IsBold.");
} return false;
}
bool ZFont::IsItalic() }
{
if(rFont.font) bool ZFont::IsItalic()
return (TTF_GetFontStyle(rFont.font) & TTF_STYLE_ITALIC) > 0; {
else if(rFont)
{ return (TTF_GetFontStyle(rFont) & TTF_STYLE_ITALIC) > 0;
LogError(FormatStr("ZFont not initialized in ZFont::IsItalic(), filename: %s.",rFont.filename.c_str())); else
return false; {
} LogError("ZFont not initialized in ZFont::IsItalic.");
} return false;
}
bool ZFont::IsUnderlined() }
{
if(rFont.font) bool ZFont::IsUnderlined()
return (TTF_GetFontStyle(rFont.font) & TTF_STYLE_UNDERLINE) > 0; {
else if(rFont)
{ return (TTF_GetFontStyle(rFont) & TTF_STYLE_UNDERLINE) > 0;
LogError(FormatStr("ZFont not initialized in ZFont::IsUnderlined(), filename: %s.",rFont.filename.c_str())); else
return false; {
} LogError("ZFont not initialized in ZFont::IsUnderlined.");
} return false;
}
int ZFont::GetHeight() }
{
if(rFont.font) int ZFont::Height()
return TTF_FontHeight(rFont.font); {
else if(rFont)
{ return TTF_FontHeight(rFont);
LogError(FormatStr("ZFont not initialized in ZFont::GetHeight(), filename: %s.",rFont.filename.c_str())); else
return 0; {
} LogError("ZFont not initialized in ZFont::GetHeight.");
} return 0;
}
int ZFont::GetLineSkip() }
{
if(rFont.font) int ZFont::LineSkip()
return TTF_FontLineSkip(rFont.font); {
else if(rFont)
{ return TTF_FontLineSkip(rFont);
LogError(FormatStr("ZFont not initialized in ZFont::GetLineSkip(), filename: %s.",rFont.filename.c_str())); else
return 0; {
} LogError("ZFont not initialized in ZFont::GetLineSkip.");
} return 0;
}
int ZFont::GetStringWidth(string text) }
{
int w,h; int ZFont::StringWidth(string text)
{
if(rFont.font) int w,h;
{
TTF_SizeText(rFont.font,text.c_str(),&w,&h); if(rFont)
return w; {
} TTF_SizeText(rFont,text.c_str(),&w,&h);
else return w;
{ }
LogError(FormatStr("ZFont not initialized in ZFont::GetStringWidth(%s), filename: %s.",text.c_str(),rFont.filename.c_str())); else
return 0; {
} LogError("ZFont not initialized in ZFont::GetStringWidth.");
} return 0;
}
int ZFont::GetStringHeight(string text) }
{
int w,h; int ZFont::StringHeight(string text)
{
if(rFont.font) int w,h;
{
TTF_SizeText(rFont.font,text.c_str(),&w,&h); if(rFont)
return h; {
} TTF_SizeText(rFont,text.c_str(),&w,&h);
else return h;
{ }
LogError(FormatStr("ZFont not initialized in ZFont::GetStringHeight(%s), filename: %s.",text.c_str(),rFont.filename.c_str())); else
return 0; {
} LogError("ZFont not initialized in ZFont::GetStringHeight.");
} return 0;
}
} }
#endif //USE_SDL_TTF }
#endif //USE_SDL_TTF

View File

@ -1,214 +1,191 @@
/******************************************************************************* /*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development. This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt. Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (james@conceptofzero.net) The maintainer of this library is James Turk (james@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/ and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/ *******************************************************************************/
/*! /*!
\par File Header: \par File Header:
File: ZE_ZImage.cpp <br> File: ZE_ZImage.cpp <br>
Description: Implementation source file for core ZEngine Image Object. <br> Description: Implementation source file for core ZEngine Image or Texture Object. <br>
Author(s): James Turk <br> Author(s): James Turk, Gamer Tazar <br>
$Id: ZE_ZImage.cpp,v 1.2 2002/11/28 23:19:55 cozman Exp $<br> $Id: ZE_ZImage.cpp,v 1.3 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_ZImage.cpp \file ZE_ZImage.cpp
\brief Source file for ZImage. \brief Source file for ZImage.
Implementation of ZImage, the basic Image class for ZEngine. Implementation of ZImage, the Image class for ZEngine.
**/ **/
#include "ZE_ZImage.h" #include "ZE_ZImage.h"
namespace ZE namespace ZE
{ {
ZImage::ZImage() ZImage::ZImage()
{ {
} rImage = NULL;
Release();
ZImage::ZImage(string filename) }
{
Open(filename); ZImage::ZImage(string filename)
} {
rImage = NULL;
ZImage::ZImage(SDL_Surface *surface) Open(filename);
{ }
Attach(surface);
} ZImage::ZImage(SDL_Surface *surface)
{
ZImage::ZImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h) rImage = NULL;
{ Attach(surface);
OpenFromImage(img,x,y,w,h); }
}
ZImage::ZImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h)
ZImage::~ZImage() {
{ rImage = NULL;
Release(); OpenFromImage(img,x,y,w,h);
} }
void ZImage::Open(string filename) ZImage::~ZImage()
{ {
Release(); Release();
rImage = rEngine->LoadImage(filename); }
}
void ZImage::Open(string filename)
void ZImage::OpenFromImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h) {
{ SDL_Surface *image;
Uint32 flags;
SDL_Surface *screen = rEngine->Display(); Release();
SDL_Rect rect; image = rEngine->LoadImage(filename.c_str());
SDL_VideoInfo *videoInfo; Attach(image);
}
Release();
rImage.filename = "cut from image"; void ZImage::OpenFromImage(SDL_Surface *image, Sint16 x, Sint16 y, Sint16 w, Sint16 h)
{
//either set hardware or software surface// SDL_Surface *screen = rEngine->Display();
videoInfo = const_cast<SDL_VideoInfo*>(SDL_GetVideoInfo()); SDL_Surface *cutImg = NULL;
SDL_Rect rect;
if(videoInfo->hw_available) SDL_VideoInfo *videoInfo;
flags = SDL_HWSURFACE;
else Release();
flags = SDL_SWSURFACE;
//either set hardware or software surface//
rect.x = x; videoInfo = const_cast<SDL_VideoInfo*>(SDL_GetVideoInfo());
rect.y = y;
rect.w = w; rect.x = x;
rect.h = h; rect.y = y;
rect.w = w;
if(!img) rect.h = h;
LogError("Invalid Parameter to ZImage::OpenFromImage: img==NULL");
if(!image)
rImage.image = SDL_CreateRGBSurface(flags, rect.w, rect.h, rEngine->BPP(), LogError("Invalid Parameter to ZImage::OpenFromImage.");
screen->format->Rmask, screen->format->Gmask, screen->format->Bmask, screen->format->Amask);
cutImg = SDL_CreateRGBSurface(0, rect.w, rect.h, rEngine->BPP(),
if(!rImage.image) screen->format->Rmask, screen->format->Gmask, screen->format->Bmask, screen->format->Amask);
LogError(FormatStr("SDL_CreateRGBSurface failed in ZImage::OpenFromImage: %s",SDL_GetError()));
if(!cutImg)
SDL_BlitSurface(img,&rect,rImage.image,NULL); LogError(FormatStr("SDL_CreateRGBSurface failed in ZImage::OpenFromImage."));
}
SDL_BlitSurface(image,&rect,cutImg,NULL);
void ZImage::Attach(SDL_Surface *surface) Attach(cutImg);
{ }
Release();
rImage.filename = "attached"; void ZImage::Attach(SDL_Surface *surface)
rImage.image = surface; {
} GLfloat coord[4];
void ZImage::Release() //Release();
{ if(surface)
rEngine->FreeImage(rImage); {
} rWidth = surface->w;
rHeight = surface->h;
void ZImage::SetAlpha(Uint8 alpha) rTexID = SDL_GL_LoadTexture(surface,coord);
{ rTexMaxX = coord[2]; //ignore first coords because they are always 0.0f
SDL_Surface *temp=NULL; rTexMaxY = coord[3];
rImage = surface;
if(rImage.image) }
{ else
if(SDL_SetAlpha(rImage.image, SDL_RLEACCEL|SDL_SRCALPHA, alpha) < 0) LogError("Invalid surface passed to ZImage::Attach.");
LogError("Invalid Call to SDL_SetAlpha."); }
else
{ void ZImage::Release()
//surface conversion// {
temp = rImage.image; if(glIsTexture(rTexID))
rImage.image = SDL_DisplayFormat(temp); glDeleteTextures(1,&rTexID);
if(rImage.image) rTexMaxX = rTexMaxY = 0.0f;
{ rTexID = rWidth = rHeight = 0;
SDL_FreeSurface(temp); FreeImage(rImage);
temp = NULL; }
}
else //can't convert (add error warning here?) void ZImage::SetColorKey(Uint8 red, Uint8 green, Uint8 blue)
{ {
LogError("Alpha surface conversion failed."); SDL_Surface *temp=NULL;
rImage.image = temp; Uint32 color = SDL_MapRGB(rEngine->Display()->format,red,green,blue);
}
} if(rImage)
} {
else if(SDL_SetColorKey(rImage, SDL_SRCCOLORKEY, color) < 0)
LogError("ZImage not initialized in ZImage::SetAlpha."); LogError("Invalid Call to SDL_SetColorKey.");
} else
{
void ZImage::SetColorKey(Uint32 color) //surface conversion//
{ temp = rImage;
SDL_Surface *temp=NULL; rImage = SDL_DisplayFormatAlpha(temp);
if(rImage)
if(rImage.image) {
{ FreeImage(temp);
if(SDL_SetColorKey(rImage.image, SDL_RLEACCEL|SDL_SRCCOLORKEY, color) < 0) Attach(rImage); //Rebind new image.
LogError("Invalid Call to SDL_SetColorKey."); }
else else //can't convert
{ {
//surface conversion// LogError("Surface conversion failed.");
temp = rImage.image; rImage = temp;
rImage.image = SDL_DisplayFormat(temp); }
if(rImage.image) }
{ }
SDL_FreeSurface(temp); else
temp = NULL; LogError("ZImage not initialized in ZImage::SetColorKey.");
} }
else //can't convert (add error warning here?)
{ void ZImage::Bind()
LogError("Surface conversion failed."); {
rImage.image = temp; glBindTexture(GL_TEXTURE_2D, rTexID);
} }
}
} void ZImage::Draw(int x, int y)
else {
LogError("ZImage not initialized in ZImage::SetColorKey."); Bind();
}
glBegin(GL_TRIANGLE_STRIP);
void ZImage::Draw(Sint16 x, Sint16 y) glTexCoord2f(0.0f,0.0f); glVertex2i(x, y);
{ glTexCoord2f(rTexMaxX,0.0f); glVertex2i(x+rWidth, y);
SDL_Rect rect; glTexCoord2f(0.0f,rTexMaxY); glVertex2i(x, y+rHeight);
glTexCoord2f(rTexMaxX,rTexMaxY); glVertex2i(x+rWidth, y+rHeight);
rect.x = x; glEnd();
rect.y = y; }
if(rImage.image) bool ZImage::IsLoaded()
SDL_BlitSurface(rImage.image,NULL,rEngine->Display(),&rect); {
else return glIsTexture(rTexID) == GL_TRUE;
LogError("ZImage not initialized in ZImage::Draw."); }
}
SDL_Surface* ZImage::Surface()
bool ZImage::IsLoaded() {
{ return rImage;
return rImage.image != NULL; }
}
int ZImage::Width()
SDL_Surface *ZImage::GetImage() {
{ return rWidth;
return rImage.image; }
}
int ZImage::Height()
int ZImage::GetWidth() {
{ return rHeight;
if(rImage.image) }
return rImage.image->w;
else }
{
LogError("ZImage not initialized in ZImage::GetWidth.");
return 0;
}
}
int ZImage::GetHeight()
{
if(rImage.image)
return rImage.image->h;
else
{
LogError("ZImage not initialized in ZImage::GetHeight.");
return 0;
}
}
string ZImage::GetFilename()
{
return rImage.filename.c_str();
}
}

View File

@ -1,160 +1,162 @@
/******************************************************************************* /*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development. This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt. Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (james@conceptofzero.net) The maintainer of this library is James Turk (james@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/ and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/ *******************************************************************************/
/*! /*!
\par File Header: \par File Header:
File: ZE_ZMusic.cpp <br> File: ZE_ZMusic.cpp <br>
Description: Implementation source file for core ZEngine Music Object. <br> Description: Implementation source file for core ZEngine Music Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_ZMusic.cpp,v 1.1 2002/11/21 05:41:13 cozman Exp $<br> $Id: ZE_ZMusic.cpp,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_ZMusic.cpp \file ZE_ZMusic.cpp
\brief Source file for ZMusic. \brief Source file for ZMusic.
Implementation of ZMusic, the basic Music class for ZEngine. Implementation of ZMusic, the basic Music class for ZEngine.
**/ **/
#include "ZE_ZMusic.h" #include "ZE_ZMusic.h"
#ifdef USE_SDL_MIXER #ifdef USE_SDL_MIXER
namespace ZE namespace ZE
{ {
const int ZMusic::LoopInfinite = -1; const int ZMusic::LoopInfinite = -1;
ZMusic::ZMusic() ZMusic::ZMusic()
{ {
} rMusic = NULL;
}
ZMusic::ZMusic(string filename)
{ ZMusic::ZMusic(string filename)
Open(filename); {
} rMusic = NULL;
Open(filename);
ZMusic::~ZMusic() }
{
Release(); ZMusic::~ZMusic()
} {
Release();
void ZMusic::Open(string filename) }
{
Release(); void ZMusic::Open(string filename)
rMusic = rEngine->LoadMusic(filename); {
} Release();
rMusic = rEngine->LoadMusic(filename);
void ZMusic::Release() }
{
Mix_HaltMusic(); void ZMusic::Release()
rEngine->FreeMusic(rMusic); {
} Mix_HaltMusic();
FreeMusic(rMusic);
void ZMusic::Play(int loopNum, int fadeTime) }
{
if(Mix_PlayingMusic()) //stop currently playing music void ZMusic::Play(int loopNum, int fadeTime)
Mix_HaltMusic(); {
if(Mix_PlayingMusic()) //stop currently playing music
if(rMusic.music) Mix_HaltMusic();
{
if(fadeTime) if(rMusic)
Mix_FadeInMusic(rMusic.music, loopNum, fadeTime); {
else if(fadeTime)
Mix_PlayMusic(rMusic.music, loopNum); Mix_FadeInMusic(rMusic, loopNum, fadeTime);
} else
else Mix_PlayMusic(rMusic, loopNum);
LogError(FormatStr("ZMusic not initialized in ZMusic::Play(%d,%d), filename: %s.",loopNum,fadeTime,rMusic.filename.c_str())); }
} else
LogError("ZMusic not initialized in ZMusic::Play.");
void ZMusic::Pause() }
{
if(rMusic.music) void ZMusic::Pause()
Mix_PauseMusic(); {
else if(rMusic)
LogError(FormatStr("ZMusic not initialized in ZMusic::Pause(), filename: %s.",rMusic.filename.c_str())); Mix_PauseMusic();
} else
LogError("ZMusic not initialized in ZMusic::Pause.");
void ZMusic::Unpause() }
{
if(rMusic.music) void ZMusic::Unpause()
Mix_ResumeMusic(); {
else if(rMusic)
LogError(FormatStr("ZMusic not initialized in ZMusic::Unpause(), filename: %s.",rMusic.filename.c_str())); Mix_ResumeMusic();
} else
LogError("ZMusic not initialized in ZMusic::Unpause.");
void ZMusic::Rewind() }
{
if(rMusic.music) void ZMusic::Rewind()
Mix_RewindMusic(); {
else if(rMusic)
LogError(FormatStr("ZMusic not initialized in ZMusic::Rewind(), filename: %s.",rMusic.filename.c_str())); Mix_RewindMusic();
} else
LogError("ZMusic not initialized in ZMusic::Rewind.");
void ZMusic::Stop(int fadeTime) }
{
if(rMusic.music) void ZMusic::Stop(int fadeTime)
{ {
if(fadeTime) if(rMusic)
Mix_FadeOutMusic(fadeTime); {
else if(fadeTime)
Mix_HaltMusic(); Mix_FadeOutMusic(fadeTime);
} else
else Mix_HaltMusic();
LogError(FormatStr("ZMusic not initialized in ZMusic::Stop(%d), filename: %s.",fadeTime,rMusic.filename.c_str())); }
} else
LogError("ZMusic not initialized in ZMusic::Stop.");
void ZMusic::SetVolume(int volume) }
{
if(rMusic.music) void ZMusic::SetVolume(int volume)
Mix_VolumeMusic(volume); {
else if(rMusic)
LogError(FormatStr("ZMusic not initialized in ZMusic::SetVolume(%d), filename: %s.",volume,rMusic.filename.c_str())); Mix_VolumeMusic(volume);
} else
LogError("ZMusic not initialized in ZMusic::SetVolume.");
bool ZMusic::IsLoaded() }
{
return rMusic.music != NULL; bool ZMusic::IsLoaded()
} {
return rMusic != NULL;
bool ZMusic::IsPlaying() }
{
if(rMusic.music) bool ZMusic::IsPlaying()
return Mix_PlayingMusic() > 0; {
else if(rMusic)
{ return Mix_PlayingMusic() > 0;
LogError(FormatStr("ZMusic not initialized in ZMusic::IsPlaying(), filename: %s.",rMusic.filename.c_str())); else
return false; {
} LogError("ZMusic not initialized in ZMusic::IsPlaying.");
} return false;
}
bool ZMusic::IsPaused() }
{
if(rMusic.music) bool ZMusic::IsPaused()
return Mix_PausedMusic() > 0; {
else if(rMusic)
{ return Mix_PausedMusic() > 0;
LogError(FormatStr("ZMusic not initialized in ZMusic::IsPaused(), filename: %s.",rMusic.filename.c_str())); else
return false; {
} LogError("ZMusic not initialized in ZMusic::IsPaused.");
} return false;
}
int ZMusic::GetVolume() }
{
if(rMusic.music) int ZMusic::Volume()
return Mix_VolumeMusic(-1); {
else if(rMusic)
{ return Mix_VolumeMusic(-1);
LogError(FormatStr("ZMusic not initialized in ZMusic::GetVolume(), filename: %s.",rMusic.filename.c_str())); else
return false; {
} LogError("ZMusic not initialized in ZMusic::GetVolume.");
} return false;
}
} }
#endif }
#endif

View File

@ -1,156 +1,158 @@
/******************************************************************************* /*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development. This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt. Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (james@conceptofzero.net) The maintainer of this library is James Turk (james@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/ and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/ *******************************************************************************/
/*! /*!
\par File Header: \par File Header:
File: ZE_ZSound.cpp <br> File: ZE_ZSound.cpp <br>
Description: Implementation source file for core ZEngine Sound Object. <br> Description: Implementation source file for core ZEngine Sound Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_ZSound.cpp,v 1.1 2002/11/21 05:41:13 cozman Exp $<br> $Id: ZE_ZSound.cpp,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_ZSound.cpp \file ZE_ZSound.cpp
\brief Source file for ZSound. \brief Source file for ZSound.
Implementation of ZSound, the basic Sound class for ZEngine. Implementation of ZSound, the basic Sound class for ZEngine.
**/ **/
#include "ZE_ZSound.h" #include "ZE_ZSound.h"
#ifdef USE_SDL_MIXER #ifdef USE_SDL_MIXER
namespace ZE namespace ZE
{ {
const int ZSound::LoopInfinite = -1; const int ZSound::LoopInfinite = -1;
ZSound::ZSound() ZSound::ZSound()
{ {
rChannelID = -1; //request channel ID rSound = NULL;
} rChannelID = -1; //request channel ID
}
ZSound::ZSound(string filename)
{ ZSound::ZSound(string filename)
rChannelID = -1; //request channel ID {
Open(filename); rSound = NULL;
} rChannelID = -1; //request channel ID
Open(filename);
ZSound::~ZSound() }
{
Release(); ZSound::~ZSound()
} {
Release();
void ZSound::Open(string filename) }
{
Release(); void ZSound::Open(string filename)
rSound = rEngine->LoadSound(filename); {
} Release();
rSound = rEngine->LoadSound(filename);
void ZSound::Release() }
{
if(rChannelID >= 0) void ZSound::Release()
Mix_HaltChannel(rChannelID); {
rEngine->FreeSound(rSound); if(rChannelID >= 0)
} Mix_HaltChannel(rChannelID);
FreeSound(rSound);
void ZSound::Play(int loopNum, int fadeTime) }
{
if(rChannelID >= 0 && Mix_Playing(rChannelID)) //stop currently playing sound void ZSound::Play(int loopNum, int fadeTime)
Mix_HaltChannel(rChannelID); {
if(rChannelID >= 0 && Mix_Playing(rChannelID)) //stop currently playing sound
if(rSound.sound) Mix_HaltChannel(rChannelID);
{
if(fadeTime) if(rSound)
rChannelID = Mix_FadeInChannel(rChannelID, rSound.sound, loopNum, fadeTime); {
else if(fadeTime)
rChannelID = Mix_PlayChannel(rChannelID, rSound.sound, loopNum); rChannelID = Mix_FadeInChannel(rChannelID, rSound, loopNum, fadeTime);
} else
else if(!rSound.sound) rChannelID = Mix_PlayChannel(rChannelID, rSound, loopNum);
LogError(FormatStr("ZSound not initialized in ZSound::Play(%d,%d), filename: %s.",loopNum,fadeTime,rSound.filename.c_str())); }
} else if(!rSound)
LogError("ZSound not initialized in ZSound::Play.");
void ZSound::Pause() }
{
if(rSound.sound && rChannelID >= 0) void ZSound::Pause()
Mix_Pause(rChannelID); {
else if(!rSound.sound) if(rSound && rChannelID >= 0)
LogError(FormatStr("ZSound not initialized in ZSound::Pause(), filename: %s.",rSound.filename.c_str())); Mix_Pause(rChannelID);
} else if(!rSound)
LogError("ZSound not initialized in ZSound::Pause.");
void ZSound::Unpause() }
{
if(rSound.sound && rChannelID >= 0) void ZSound::Unpause()
Mix_Resume(rChannelID); {
else if(!rSound.sound) if(rSound && rChannelID >= 0)
LogError(FormatStr("ZSound not initialized in ZSound::Unpause(), filename: %s.",rSound.filename.c_str())); Mix_Resume(rChannelID);
} else if(!rSound)
LogError("ZSound not initialized in ZSound::Unpause.");
void ZSound::Stop(int fadeTime) }
{
if(rSound.sound && rChannelID >= 0) void ZSound::Stop(int fadeTime)
{ {
if(fadeTime) if(rSound && rChannelID >= 0)
Mix_FadeOutChannel(rChannelID,fadeTime); {
else if(fadeTime)
Mix_HaltChannel(rChannelID); Mix_FadeOutChannel(rChannelID,fadeTime);
} else
else if(!rSound.sound) Mix_HaltChannel(rChannelID);
LogError(FormatStr("ZSound not initialized in ZSound::Stop(%d), filename: %s.",fadeTime,rSound.filename.c_str())); }
} else if(!rSound)
LogError("ZSound not initialized in ZSound::Stop.");
void ZSound::SetVolume(int volume) }
{
if(rSound.sound) void ZSound::SetVolume(int volume)
Mix_VolumeChunk(rSound.sound,volume); {
else if(rSound)
LogError(FormatStr("ZSound not initialized in ZSound::SetVolume(%d), filename: %s.",volume,rSound.filename.c_str())); Mix_VolumeChunk(rSound,volume);
} else
LogError("ZSound not initialized in ZSound::SetVolume.");
bool ZSound::IsLoaded() }
{
return rSound.sound != NULL; bool ZSound::IsLoaded()
} {
return rSound != NULL;
bool ZSound::IsPlaying() }
{
if(rSound.sound && rChannelID >= 0) bool ZSound::IsPlaying()
return Mix_Playing(rChannelID) > 0; {
else if(rSound && rChannelID >= 0)
{ return Mix_Playing(rChannelID) > 0;
if(rChannelID >= 0) else
LogError(FormatStr("ZSound not initialized in ZSound::IsPlaying(), filename: %s.",rSound.filename.c_str())); {
return false; if(rChannelID >= 0)
} LogError("ZSound not initialized in ZSound::IsPlaying().");
} return false;
}
bool ZSound::IsPaused() }
{
if(rSound.sound && rChannelID >= 0) bool ZSound::IsPaused()
return Mix_Paused(rChannelID) > 0; {
else if(rSound && rChannelID >= 0)
{ return Mix_Paused(rChannelID) > 0;
LogError(FormatStr("ZSound not initialized in ZSound::IsPaused(), filename: %s.",rSound.filename.c_str())); else
return false; {
} LogError("ZSound not initialized in ZSound::IsPaused().");
} return false;
}
int ZSound::GetVolume() }
{
if(rSound.sound) int ZSound::Volume()
return Mix_VolumeChunk(rSound.sound,-1); {
else if(rSound)
{ return Mix_VolumeChunk(rSound,-1);
LogError(FormatStr("ZSound not initialized in ZSound::GetVolume(), filename: %s.",rSound.filename.c_str())); else
return false; {
} LogError("ZSound not initialized in ZSound::GetVolume().");
} return -1;
}
} }
#endif }
#endif

View File

@ -1,81 +1,81 @@
/******************************************************************************* /*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development. This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt. Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (james@conceptofzero.net) The maintainer of this library is James Turk (james@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/ and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/ *******************************************************************************/
/*! /*!
\par File Header: \par File Header:
File: ZE_ZTimer.cpp <br> File: ZE_ZTimer.cpp <br>
Description: Implementation source file for core ZEngine Timer Object. <br> Description: Implementation source file for core ZEngine Timer Object. <br>
Author(s): James Turk <br> Author(s): James Turk <br>
$Id: ZE_ZTimer.cpp,v 1.1 2002/11/21 05:41:13 cozman Exp $<br> $Id: ZE_ZTimer.cpp,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
\file ZE_ZTimer.cpp \file ZE_ZTimer.cpp
\brief Source file for ZTimer. \brief Source file for ZTimer.
Implementation of ZTimer, the basic Timer class for ZEngine. Implementation of ZTimer, the basic Timer class for ZEngine.
**/ **/
#include "ZE_ZTimer.h" #include "ZE_ZTimer.h"
namespace ZE namespace ZE
{ {
Uint32 ZTimer::GetParentTime() Uint32 ZTimer::GetParentTime()
{ {
if(rUseZEngine) if(rUseZEngine)
return rEngine->GetTime(); return rEngine->GetTime();
else else
return SDL_GetTicks(); return SDL_GetTicks();
} }
ZTimer::ZTimer(bool useZEngine) ZTimer::ZTimer(bool useZEngine)
{ {
rUseZEngine = useZEngine; rUseZEngine = useZEngine;
rPaused = false; rPaused = false;
Reset(); Reset();
} }
void ZTimer::Reset() void ZTimer::Reset()
{ {
rLastPause = rPausedTime = GetParentTime(); rLastPause = rPausedTime = GetParentTime();
rPaused = false; rPaused = false;
} }
void ZTimer::Pause() void ZTimer::Pause()
{ {
if(!rPaused) if(!rPaused)
{ {
rLastPause = GetParentTime(); rLastPause = GetParentTime();
rPaused = true; rPaused = true;
} }
} }
void ZTimer::Unpause() void ZTimer::Unpause()
{ {
if(rPaused) if(rPaused)
{ {
rPausedTime += (GetParentTime()-rLastPause); rPausedTime += (GetParentTime()-rLastPause);
rPaused = false; rPaused = false;
} }
} }
Uint32 ZTimer::GetTime() Uint32 ZTimer::GetTime()
{ {
if(rPaused) if(rPaused)
return GetParentTime() - (rPausedTime + (GetParentTime() - rLastPause)); return GetParentTime() - (rPausedTime + (GetParentTime() - rLastPause));
else else
return GetParentTime() - rPausedTime; return GetParentTime() - rPausedTime;
} }
bool ZTimer::IsPaused() bool ZTimer::IsPaused()
{ {
return rPaused; return rPaused;
} }
} }

89
src/external/SDLGL_Util.cpp vendored Executable file
View File

@ -0,0 +1,89 @@
/*This code comes from testgl.c which is part of the SDL source distribution.
Available at http://libsdl.org/
*/
#include "external/SDLGL_Util.h"
int power_of_two(int input)
{
int value = 1;
while ( value < input ) {
value <<= 1;
}
return value;
}
GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord)
{
GLuint texture;
int w, h;
SDL_Surface *image;
SDL_Rect area;
Uint32 saved_flags;
Uint8 saved_alpha;
/* Use the surface width and height expanded to powers of 2 */
w = power_of_two(surface->w);
h = power_of_two(surface->h);
texcoord[0] = 0.0f; //min X
texcoord[1] = 0.0f; //min Y
texcoord[2] = (GLfloat)surface->w / w; //max X
texcoord[3] = (GLfloat)surface->h / h; //max Y
image = SDL_CreateRGBSurface(
SDL_SWSURFACE,
w, h,
32,
#if SDL_BYTEORDER == SDL_LIL_ENDIAN /* OpenGL RGBA masks */
0x000000FF,
0x0000FF00,
0x00FF0000,
0xFF000000
#else
0xFF000000,
0x00FF0000,
0x0000FF00,
0x000000FF
#endif
);
if ( image == NULL ) {
return 0;
}
/* Save the alpha blending attributes */
saved_flags = surface->flags&(SDL_SRCALPHA|SDL_RLEACCELOK);
saved_alpha = surface->format->alpha;
if ( (saved_flags & SDL_SRCALPHA) == SDL_SRCALPHA ) {
SDL_SetAlpha(surface, 0, 0);
}
/* Copy the surface into the GL texture image */
area.x = 0;
area.y = 0;
area.w = static_cast<Sint16>(surface->w);
area.h = static_cast<Sint16>(surface->h);
SDL_BlitSurface(surface, &area, image, &area);
/* Restore the alpha blending attributes */
if ( (saved_flags & SDL_SRCALPHA) == SDL_SRCALPHA ) {
SDL_SetAlpha(surface, saved_flags, saved_alpha);
}
/* Create an OpenGL texture for the image */
glGenTextures(1, &texture);
glBindTexture(GL_TEXTURE_2D, texture);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
glTexImage2D(GL_TEXTURE_2D,
0,
GL_RGBA,
w, h,
0,
GL_RGBA,
GL_UNSIGNED_BYTE,
image->pixels);
SDL_FreeSurface(image); /* No longer needed */
return texture;
}

View File

@ -37,15 +37,15 @@ void Test()
//Open and Setup all the Images// //Open and Setup all the Images//
SDL_Surface *temp; SDL_Surface *temp;
ZImage image1, image2("data/test01.bmp"), image3(image2.GetImage(),20,20,20,20), textImage; ZImage image1, image2("data/test01.bmp"), image3(image2.Surface(),20,20,20,20), textImage;
ZFont font("data/almontew.ttf",30); ZFont font("data/almontew.ttf",30);
temp = SDL_LoadBMP("data/test02.bmp"); //this is a separate surface temp = SDL_LoadBMP("data/test02.bmp"); //this is a separate surface
image1.Attach(temp); //this attaches the surface into itself image1.Attach(temp); //this attaches the surface into itself
temp = NULL; //and temp will now be controlled and freed by image1 temp = NULL; //and temp will now be controlled and freed by image1
image1.SetColorKey(engine->MapColor(255,0,255)); image1.SetColorKey(255,0,255);
image2.SetAlpha(75); // image2.SetAlpha(75);
image2.SetColorKey(engine->MapColor(255,0,255)); image2.SetColorKey(255,0,255);
font.SetColor(0,255,0); font.SetColor(0,255,0);
font.SetBGColor(0,0,255); font.SetBGColor(0,0,255);
font.DrawShadedText("ZImage Test.",textImage); font.DrawShadedText("ZImage Test.",textImage);

View File

@ -41,15 +41,15 @@ void Test()
SDL_Rect textRect; SDL_Rect textRect;
engine->HideCursor(); engine->HideCursor();
cursor.SetColorKey(engine->MapColor(255,0,255)); cursor.SetColorKey(255,0,255);
font.SetColor(0,255,0); font.SetColor(0,255,0);
font.SetBGColor(0,0,255); font.SetBGColor(0,0,255);
font.DrawText("Mouse Test",text[0]); font.DrawText("Mouse Test",text[0]);
font.DrawShadedText("Mouse Test",text[1]); font.DrawShadedText("Mouse Test",text[1]);
textRect.x = textRect.y = 100; textRect.x = textRect.y = 100;
textRect.w = font.GetStringWidth("Mouse Test"); textRect.w = font.StringWidth("Mouse Test");
textRect.h = font.GetStringHeight("Mouse Test"); textRect.h = font.StringHeight("Mouse Test");
do do
{ {

View File

@ -83,12 +83,12 @@ void Test()
if(engine->KeyIsPressed(SDLK_SPACE)) if(engine->KeyIsPressed(SDLK_SPACE))
song.Play(); song.Play();
if(engine->KeyIsPressed(SDLK_UP)) if(engine->KeyIsPressed(SDLK_UP))
song.SetVolume(song.GetVolume()+1); song.SetVolume(song.Volume()+1);
if(engine->KeyIsPressed(SDLK_DOWN)) if(engine->KeyIsPressed(SDLK_DOWN))
song.SetVolume(song.GetVolume()-1); song.SetVolume(song.Volume()-1);
font.DrawText(FormatStr("Volume: %d",song.GetVolume()),text[3]); font.DrawText(FormatStr("Volume: %d",song.Volume()),text[3]);
engine->Clear(); //clear screen engine->Clear(); //clear screen
for(int i=0; i < 4; i++) for(int i=0; i < 4; i++)

View File

@ -1,90 +1,90 @@
/******************************************************************************* /*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development. This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt. Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (jturk@conceptofzero.net) The maintainer of this library is James Turk (jturk@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/ and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/ *******************************************************************************/
#include <ZEngine.h> #include <ZEngine.h>
#include <string> #include <string>
using namespace std; using namespace std;
using namespace ZE; using namespace ZE;
void Initialize() void Initialize()
{ {
ZEngine *engine = ZEngine::GetInstance(); ZEngine *engine = ZEngine::GetInstance();
ZConfigFile cfg("tests.zcf"); ZConfigFile cfg("tests.zcf");
int w,h,bpp; int w,h,bpp;
bool fs; bool fs;
string title; string title;
w = cfg.GetInt("ZRectTest","Width",800); w = cfg.GetInt("ZRectTest","Width",800);
h = cfg.GetInt("ZRectTest","height",600); h = cfg.GetInt("ZRectTest","height",600);
bpp = cfg.GetInt("ZRectTest","bpp",32); bpp = cfg.GetInt("ZRectTest","bpp",32);
fs = cfg.GetBool("ZRectTest","fullscreen",false); fs = cfg.GetBool("ZRectTest","fullscreen",false);
title = cfg.GetString("ZRectTest","title","ZRect Test"); title = cfg.GetString("ZRectTest","title","ZRect Test");
engine->SetupDisplay(w,h,bpp,fs); engine->SetupDisplay(w,h,bpp,fs);
engine->CreateDisplay(title); engine->CreateDisplay(title);
} }
void Test() void Test()
{ {
ZEngine *engine = ZEngine::GetInstance(); ZEngine *engine = ZEngine::GetInstance();
ZRect moveRect(0,0,25,25),stillRect(100,100,100,100); ZRect moveRect(0,0,25,25),stillRect(100,100,100,100);
do do
{ {
//In the active loop, check events first// //In the active loop, check events first//
engine->CheckEvents(); engine->CheckEvents();
if(engine->KeyIsPressed(SDLK_s)) if(engine->KeyIsPressed(SDLK_s))
{ {
//code to toggle screen// //code to toggle screen//
engine->SetupDisplay(engine->Width(),engine->Height(),engine->BPP(),!engine->IsFullscreen()); engine->SetupDisplay(engine->Width(),engine->Height(),engine->BPP(),!engine->IsFullscreen());
engine->CreateDisplay("ZRect Test"); engine->CreateDisplay("ZRect Test");
} }
if(engine->KeyIsPressed(SDLK_ESCAPE)) if(engine->KeyIsPressed(SDLK_ESCAPE))
engine->RequestQuit(); engine->RequestQuit();
//movement// //movement//
if(engine->KeyIsPressed(SDLK_LEFT)) if(engine->KeyIsPressed(SDLK_LEFT))
moveRect.MoveRel(-3,0); moveRect.MoveRel(-3,0);
if(engine->KeyIsPressed(SDLK_RIGHT)) if(engine->KeyIsPressed(SDLK_RIGHT))
moveRect.MoveRel(3,0); moveRect.MoveRel(3,0);
if(engine->KeyIsPressed(SDLK_UP)) if(engine->KeyIsPressed(SDLK_UP))
moveRect.MoveRel(0,-3); moveRect.MoveRel(0,-3);
if(engine->KeyIsPressed(SDLK_DOWN)) if(engine->KeyIsPressed(SDLK_DOWN))
moveRect.MoveRel(0,3); moveRect.MoveRel(0,3);
if(engine->KeyIsPressed(SDLK_EQUALS)) if(engine->KeyIsPressed(SDLK_EQUALS))
{ {
moveRect.MoveRel(-1,-1); moveRect.MoveRel(-1,-1);
moveRect.ResizeRel(2,2); moveRect.ResizeRel(2,2);
} }
if(engine->KeyIsPressed(SDLK_MINUS)) if(engine->KeyIsPressed(SDLK_MINUS))
{ {
moveRect.MoveRel(1,1); moveRect.MoveRel(1,1);
moveRect.ResizeRel(-2,-2); moveRect.ResizeRel(-2,-2);
} }
engine->Clear(); engine->Clear();
engine->Clear(engine->MapColor(255,0,0,128),&moveRect.SDLrect()); engine->Clear(engine->MapColor(255,0,0,128),&moveRect.SDLrect());
engine->Clear(engine->MapColor(0,0,255),&stillRect.SDLrect()); engine->Clear(engine->MapColor(0,0,255),&stillRect.SDLrect());
engine->Clear(engine->MapColor(0,255,0),&moveRect.Intersection(stillRect).SDLrect()); engine->Clear(engine->MapColor(0,255,0),&moveRect.Intersection(stillRect).SDLrect());
engine->UpdateScreen(); engine->UpdateScreen();
} while(!engine->QuitRequested()); } while(!engine->QuitRequested());
} }
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
ZEngine *engine = ZEngine::GetInstance(); ZEngine *engine = ZEngine::GetInstance();
Initialize(); Initialize();
//engine->InitPhysFS(argv[0]); //remove this line if PhysFS is not available //engine->InitPhysFS(argv[0]); //remove this line if PhysFS is not available
Test(); Test();
ZEngine::ReleaseInstance(); //release engine instance ZEngine::ReleaseInstance(); //release engine instance
return 0; return 0;
} }

View File

@ -81,12 +81,12 @@ void Test()
if(engine->KeyIsPressed(SDLK_SPACE)) if(engine->KeyIsPressed(SDLK_SPACE))
sample[sampleNum].Play(); sample[sampleNum].Play();
if(engine->KeyIsPressed(SDLK_UP)) if(engine->KeyIsPressed(SDLK_UP))
sample[sampleNum].SetVolume(sample[sampleNum].GetVolume()+1); sample[sampleNum].SetVolume(sample[sampleNum].Volume()+1);
if(engine->KeyIsPressed(SDLK_DOWN)) if(engine->KeyIsPressed(SDLK_DOWN))
sample[sampleNum].SetVolume(sample[sampleNum].GetVolume()-1); sample[sampleNum].SetVolume(sample[sampleNum].Volume()-1);
font.DrawText(FormatStr("Volume: %d",sample[sampleNum].GetVolume()),text[4]); font.DrawText(FormatStr("Volume: %d",sample[sampleNum].Volume()),text[4]);
font.DrawText(FormatStr("Sample: %s",name[sampleNum].c_str()),text[5]); font.DrawText(FormatStr("Sample: %s",name[sampleNum].c_str()),text[5]);
engine->Clear(); //clear screen engine->Clear(); //clear screen

View File

@ -1,5 +1,5 @@
[ZRectTest] [ZRectTest]
Width = 1000 Width = 1000
Height = 400 Height = 400
Fullscreen = FALSE Fullscreen = FALSE
Title = "If we are out of grapes, who will sell us Apple Juice?" Title = "If we are out of grapes, who will sell us Apple Juice?"

View File

@ -9,7 +9,7 @@ Everybody Associated with ConceptOfZero.net - Keeping Me Working on ZEngine.
People on the Opensource.org Mailing list - Helping me figure out what license to use. People on the Opensource.org Mailing list - Helping me figure out what license to use.
http://opensource.org http://opensource.org
The people at the Kahvi Collective - Providing tons of free Ogg music. The people at the Kahvi Collective - Providing tons of free Ogg music.
http://www.kahvi.org/ http://www.kahvi.org
Sourceforge.net - Providing hosting for the project and CVS. Sourceforge.net - Providing hosting for the project and CVS.
http://sourceforge.net http://sourceforge.net

View File

@ -1,8 +1,7 @@
ZEngine Todo List ZEngine Todo List
-Add OpenGL 2D support for drawing. -Add rotation-zooming support (using OpenGL)
-Proofread, update, clarify documentation. -Proofread, update, clarify documentation.
-Add Support for PhysicsFS with SDL_ttf and SDL_mixer music. (Waiting on other libraries.) -Add Support for PhysicsFS with SDL_ttf and SDL_mixer music. (Waiting on other libraries.)
-Write simple games using the library as examples -Write simple games using the library as examples
-Add common game objects, particle system, basic sprites, etc. -Add common game objects, particle system, basic sprites, etc.
-Add rotation-zooming support (SDL_rotozoom?)

View File

@ -62,8 +62,6 @@ Global
{37D500C5-E6C4-4E56-BFAA-33F1303B147C}.Debug.Build.0 = 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.ActiveCfg = Release|Win32
{37D500C5-E6C4-4E56-BFAA-33F1303B147C}.Release.Build.0 = Release|Win32 {37D500C5-E6C4-4E56-BFAA-33F1303B147C}.Release.Build.0 = Release|Win32
{110FE3E0-9B08-420A-BAF8-06FF3E77EEA1}.Debug.ActiveCfg = Debug|Win32
{110FE3E0-9B08-420A-BAF8-06FF3E77EEA1}.Release.ActiveCfg = Release|Win32
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection EndGlobalSection

Some files were not shown because too many files have changed in this diff Show More