Major 0.7.7 Update. All OpenGL Work was done offline.
This commit is contained in:
parent
8da954fd7d
commit
106c8aab48
@ -1,12 +1,32 @@
|
||||
ZEngine Version Log for Version 0.7.5
|
||||
$Id: changelog.txt,v 1.2 2002/11/28 23:15:52 cozman Exp $
|
||||
ZEngine Version Log for Version 0.7.7
|
||||
$Id: changelog.txt,v 1.3 2002/12/01 07:56:17 cozman Exp $
|
||||
|
||||
|
||||
0.7.7
|
||||
-Changed behavior of core ZEngine class methods to reflect new OpenGL behavior.
|
||||
-Eliminated certain SDL specific functions, no longer needed with OpenGL render target.
|
||||
-Completely removed old SDL_Image.h and replaced with what had been SDL_ImageGL.h.
|
||||
-Documented new ZImage class as well as ZConfigFile's ZCF_Variable and ZCF_Section.
|
||||
-Fixed memory leak and general failure in new ZImage::OpenFromImage.
|
||||
-Simplified SDL_GL Initialization.
|
||||
-Shortened most lines to reasonable screen width.
|
||||
-Added notice to licensing explaining license choice.
|
||||
|
||||
0.7.6
|
||||
-Added ZImageGL, still in testing phase.
|
||||
-Followed up major API changes from 0.7.5 with whole new series of changes:
|
||||
(API from 0.7.x at least 25% rewritten)
|
||||
-Added new /external files for SDL_GL* extensions
|
||||
-Added Macros in ZE_Macros.h
|
||||
-Removed ZE_DataPtr.h
|
||||
-Rewrote warnings in Sound,Music,Font and Image classes.
|
||||
|
||||
0.7.5
|
||||
-Converted all tabs to spaces.
|
||||
-Added CVS lines to files for date tracking.
|
||||
-Fixed file layout for CVS and reuploaded files to CVS.
|
||||
-Major API changes (removed "Get" before accessors and changed some functions in ZEngine)
|
||||
-Added Beginnings of OpenGL Render targets
|
||||
-Added Beginnings of OpenGL Render target
|
||||
|
||||
0.7.4
|
||||
-Modified behavior of ZImage::Attach and changed ZImageTest to use it.
|
||||
|
@ -4,7 +4,7 @@
|
||||
# General configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
PROJECT_NAME = ZEngine
|
||||
PROJECT_NUMBER = 0.7.5
|
||||
PROJECT_NUMBER = 0.7.7
|
||||
OUTPUT_DIRECTORY = /home/James/ZEngine-dev/doc
|
||||
OUTPUT_LANGUAGE = English
|
||||
EXTRACT_ALL = NO
|
||||
|
@ -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.
|
@ -4,7 +4,7 @@
|
||||
# General configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
PROJECT_NAME = ZEngine
|
||||
PROJECT_NUMBER = 0.7.5
|
||||
PROJECT_NUMBER = 0.7.7
|
||||
OUTPUT_DIRECTORY = F:\libs\ZEngine-dev\doc\
|
||||
OUTPUT_LANGUAGE = English
|
||||
EXTRACT_ALL = NO
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<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">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</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>
|
||||
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="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
|
||||
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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,18 +3,19 @@
|
||||
<title>ZE_Defines.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
Description: Defines header file for ZEngine class, where all #define statements to control compilation options are placed. <br>
|
||||
<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: <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>
|
||||
Last Updated: 11/07/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_Defines.h,v 1.2 2002/11/28 23:18:54 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
Definition file, holds #define statements describing optional features of ZEngine.
|
||||
Definition file, holds define statements describing optional features of ZEngine.
|
||||
<p>
|
||||
|
||||
<p>
|
||||
@ -34,12 +35,12 @@ Definition file, holds #define statements describing optional features of ZEngin
|
||||
#define </td><td valign=bottom><a class="el" href="ZE__Defines_8h.html#a3">DEBUG_STREAM</a></td></tr>
|
||||
<tr><td> </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>
|
||||
#define </td><td valign=bottom><a class="el" href="ZE__Defines_8h.html#a4">VERSION</a> "0.7.3"</td></tr>
|
||||
#define </td><td valign=bottom><a class="el" href="ZE__Defines_8h.html#a4">VERSION</a> "0.7.6"</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Version number.</em></font><br><br></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,16 @@
|
||||
<title>ZE_Error.cpp File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <a class="el" href="ZE__Error_8cpp.html">ZE_Error.cpp</a> <br>
|
||||
Description: Implementation source file for ZEngine error logging utility functions. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 10/8/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_Error.cpp,v 1.1.1.1 2002/11/21 05:41:12 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
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 nowrap align=right valign=top>namespace </td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<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">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
|
||||
00004 <span class="comment"></span>
|
||||
@ -33,16 +33,16 @@
|
||||
00057
|
||||
00067 string <a class="code" href="namespaceZE.html#a2">FormatStr</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *fmtstr, ...);
|
||||
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>
|
||||
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>
|
||||
00079 }
|
||||
00080
|
||||
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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,16 @@
|
||||
<title>ZE_Error.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <a class="el" href="ZE__Error_8h.html">ZE_Error.h</a> <br>
|
||||
Description: Header file for ZEngine Error Handling Functions. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 9/8/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_Error.h,v 1.1.1.1 2002/11/21 05:41:10 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
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>
|
||||
</tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<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">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</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>
|
||||
00029
|
||||
00030 <span class="preprocessor">#include "SDL.h"</span>
|
||||
00031 <span class="preprocessor">#ifdef USE_SDL_IMAGE</span>
|
||||
00032 <span class="preprocessor"></span><span class="preprocessor">#include "SDL_image.h"</span>
|
||||
00033 <span class="preprocessor">#endif</span>
|
||||
00034 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_SDL_TTF</span>
|
||||
00035 <span class="preprocessor"></span><span class="preprocessor">#include "SDL_ttf.h"</span>
|
||||
00036 <span class="preprocessor">#endif</span>
|
||||
00037 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_SDL_MIXER</span>
|
||||
00038 <span class="preprocessor"></span><span class="preprocessor">#include "SDL_mixer.h"</span>
|
||||
00039 <span class="preprocessor">#endif</span>
|
||||
00040 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_PHYSFS</span>
|
||||
00041 <span class="preprocessor"></span><span class="preprocessor">#include "physfs.h"</span>
|
||||
00042 <span class="preprocessor">#include "external/physfsrwops.h"</span>
|
||||
00043 <span class="preprocessor">#endif</span>
|
||||
00044 <span class="preprocessor"></span>
|
||||
00045 <span class="preprocessor">#include <string></span>
|
||||
00046 <span class="preprocessor">#include <vector></span>
|
||||
00047 <span class="preprocessor">#include <fstream></span>
|
||||
00048 <span class="preprocessor">#include <list></span>
|
||||
00049 <span class="preprocessor">#include <cstdio></span>
|
||||
00050 <span class="preprocessor">#include <cstdlib></span>
|
||||
00051 <span class="preprocessor">#include <cstdarg></span>
|
||||
00052 <span class="preprocessor">#include <cctype></span>
|
||||
00053 <span class="keyword">using</span> <span class="keyword">namespace </span>std;
|
||||
00054
|
||||
00055 <span class="preprocessor">#endif //__ze_includes_h__</span>
|
||||
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
|
||||
00031 <span class="preprocessor">#include "SDL_opengl.h"</span>
|
||||
00032 <span class="preprocessor">#include "external/SDLGL_Util.h"</span>
|
||||
00033 <span class="preprocessor">#ifdef USE_SDL_IMAGE</span>
|
||||
00034 <span class="preprocessor"></span><span class="preprocessor">#include "SDL_image.h"</span>
|
||||
00035 <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">#include "SDL_ttf.h"</span>
|
||||
00038 <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">#include "SDL_mixer.h"</span>
|
||||
00041 <span class="preprocessor">#endif</span>
|
||||
00042 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_PHYSFS</span>
|
||||
00043 <span class="preprocessor"></span><span class="preprocessor">#include "physfs.h"</span>
|
||||
00044 <span class="preprocessor">#include "external/physfsrwops.h"</span>
|
||||
00045 <span class="preprocessor">#endif</span>
|
||||
00046 <span class="preprocessor"></span>
|
||||
00047 <span class="preprocessor">#include <string></span>
|
||||
00048 <span class="preprocessor">#include <vector></span>
|
||||
00049 <span class="preprocessor">#include <fstream></span>
|
||||
00050 <span class="preprocessor">#include <list></span>
|
||||
00051 <span class="preprocessor">#include <cstdio></span>
|
||||
00052 <span class="preprocessor">#include <cstdlib></span>
|
||||
00053 <span class="preprocessor">#include <cstdarg></span>
|
||||
00054 <span class="preprocessor">#include <cctype></span>
|
||||
00055 <span class="keyword">using</span> <span class="keyword">namespace </span>std;
|
||||
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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,21 +3,24 @@
|
||||
<title>ZE_Includes.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <a class="el" href="ZE__Includes_8h.html">ZE_Includes.h</a> <br>
|
||||
Description: Header file for ZEngine universal includes. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/01/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_Includes.h,v 1.2 2002/11/28 23:18:54 cozman Exp </dl><br>
|
||||
|
||||
<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.
|
||||
<p>
|
||||
<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_opengl.h"</code><br>
|
||||
<code>#include "external/SDLGL_Util.h"</code><br>
|
||||
<code>#include "SDL_image.h"</code><br>
|
||||
<code>#include "SDL_ttf.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 nowrap align=right valign=top>namespace </td><td valign=bottom><b>std</b></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,16 @@
|
||||
<title>ZE_ZConfigFile.cpp File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <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>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/07/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_ZConfigFile.cpp,v 1.1.1.1 2002/11/21 05:41:12 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
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 nowrap align=right valign=top>namespace </td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<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">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
|
||||
00004 <span class="comment"></span>
|
||||
@ -24,68 +24,71 @@
|
||||
00030 <span class="keyword">namespace </span>ZE
|
||||
00031 {
|
||||
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 {
|
||||
00040 <span class="keyword">private</span>:
|
||||
00041
|
||||
00042 <span class="comment">/*Private Types*/</span>
|
||||
00043 <span class="keyword">class </span>ZCF_Variable
|
||||
00044 {
|
||||
00045 <span class="keyword">public</span>:
|
||||
00046 string var;
|
||||
00047 string val;
|
||||
00048 };
|
||||
00049 <span class="keyword">class </span>ZCF_Section
|
||||
00050 {
|
||||
00051 <span class="keyword">public</span>:
|
||||
00052 string section;
|
||||
00053 list<ZCF_Variable> varList;
|
||||
00054 };
|
||||
00055
|
||||
00057 list<ZCF_Section> <a class="code" href="classZE_1_1ZConfigFile.html#o0">mFileLayout</a>;
|
||||
00058
|
||||
00060 string <a class="code" href="classZE_1_1ZConfigFile.html#o1">mFilename</a>;
|
||||
00061
|
||||
00069 string <a class="code" href="classZE_1_1ZConfigFile.html#c0">CleanString</a>(string str);
|
||||
00070
|
||||
00071 <span class="keywordtype">bool</span> Exists(string sec);
|
||||
00072 <span class="keywordtype">bool</span> Exists(string sec, string var);
|
||||
00073 <span class="keywordtype">void</span> SetVariable(string sec, string var, string val);
|
||||
00074 string GetVariable(string sec, string var, string defVal);
|
||||
00075
|
||||
00076 <span class="keyword">public</span>:
|
||||
00077
|
||||
00083 <a class="code" href="classZE_1_1ZConfigFile.html#a0">ZConfigFile</a>();
|
||||
00084
|
||||
00091 <a class="code" href="classZE_1_1ZConfigFile.html#a0">ZConfigFile</a>(string filename);
|
||||
00092
|
||||
00098 <a class="code" href="classZE_1_1ZConfigFile.html#a2">~ZConfigFile</a>();
|
||||
00099
|
||||
00106 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a3">Process</a>(string filename);
|
||||
00107
|
||||
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);
|
||||
00118
|
||||
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);
|
||||
00130
|
||||
00140 string <a class="code" href="classZE_1_1ZConfigFile.html#a6">GetString</a>(string section, string var, string defVal);
|
||||
00141
|
||||
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);
|
||||
00152
|
||||
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);
|
||||
00163
|
||||
00173 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a9">SetString</a>(string section, string var, string val);
|
||||
00174
|
||||
00180 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a10">Flush</a>();
|
||||
00042 <span class="comment">//Private Types//</span>
|
||||
00043
|
||||
00044
|
||||
<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>
|
||||
00052 {
|
||||
00053 <span class="keyword">public</span>:
|
||||
<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>;
|
||||
<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>;
|
||||
00058 };
|
||||
00059
|
||||
<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>
|
||||
00066 {
|
||||
00067 <span class="keyword">public</span>:
|
||||
<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>;
|
||||
<a name="l00071"></a><a class="code" href="classZE_1_1ZConfigFile_1_1ZCF__Section.html#m1">00071</a> list<ZCF_Variable> <a class="code" href="classZE_1_1ZConfigFile_1_1ZCF__Section.html#m1">varList</a>;
|
||||
00072 };
|
||||
00073
|
||||
<a name="l00075"></a><a class="code" href="classZE_1_1ZConfigFile.html#o0">00075</a> list<ZCF_Section> <a class="code" href="classZE_1_1ZConfigFile.html#o0">mFileLayout</a>;
|
||||
00076
|
||||
<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>;
|
||||
00079
|
||||
00087 string <a class="code" href="classZE_1_1ZConfigFile.html#c0">CleanString</a>(string str);
|
||||
00088
|
||||
00089 <span class="keywordtype">bool</span> Exists(string sec);
|
||||
00090 <span class="keywordtype">bool</span> Exists(string sec, string var);
|
||||
00091 <span class="keywordtype">void</span> SetVariable(string sec, string var, string val);
|
||||
00092 string GetVariable(string sec, string var, string defVal);
|
||||
00093
|
||||
00094 <span class="keyword">public</span>:
|
||||
00095
|
||||
00101 <a class="code" href="classZE_1_1ZConfigFile.html#a0">ZConfigFile</a>();
|
||||
00102
|
||||
00109 <a class="code" href="classZE_1_1ZConfigFile.html#a0">ZConfigFile</a>(string filename);
|
||||
00110
|
||||
00116 <a class="code" href="classZE_1_1ZConfigFile.html#a2">~ZConfigFile</a>();
|
||||
00117
|
||||
00124 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a3">Process</a>(string filename);
|
||||
00125
|
||||
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);
|
||||
00136
|
||||
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);
|
||||
00148
|
||||
00158 string <a class="code" href="classZE_1_1ZConfigFile.html#a6">GetString</a>(string section, string var, string defVal);
|
||||
00159
|
||||
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);
|
||||
00170
|
||||
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);
|
||||
00181
|
||||
00187 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a11">Close</a>();
|
||||
00188 };
|
||||
00189
|
||||
00190 }
|
||||
00191
|
||||
00192 <span class="preprocessor">#endif //__ze_zconfigfile_h__</span>
|
||||
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
|
||||
00191 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a9">SetString</a>(string section, string var, string val);
|
||||
00192
|
||||
00198 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a10">Flush</a>();
|
||||
00199
|
||||
00205 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZConfigFile.html#a11">Close</a>();
|
||||
00206 };
|
||||
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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,16 @@
|
||||
<title>ZE_ZConfigFile.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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>
|
||||
Description: Header file for ZEngine INI-Style Config Files.<br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/07/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_ZConfigFile.h,v 1.1.1.1 2002/11/21 05:41:10 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
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 nowrap align=right valign=top>namespace </td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,16 @@
|
||||
<title>ZE_ZEngine.cpp File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <a class="el" href="ZE__ZEngine_8cpp.html">ZE_ZEngine.cpp</a> <br>
|
||||
Description: Implementation source file for ZEngine library main singleton class. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/07/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_ZEngine.cpp,v 1.2 2002/11/28 23:19:55 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
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 nowrap align=right valign=top>namespace </td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<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">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
|
||||
00004 <span class="comment"></span>
|
||||
@ -19,26 +19,26 @@
|
||||
00024 <span class="preprocessor">#ifndef __ze_zengine_h__</span>
|
||||
00025 <span class="preprocessor"></span><span class="preprocessor">#define __ze_zengine_h__</span>
|
||||
00026 <span class="preprocessor"></span>
|
||||
00027 <span class="preprocessor">#include "<a class="code" href="ZE__DataPtr_8h.html">ZE_DataPtr.h</a>"</span>
|
||||
00028 <span class="preprocessor">#include "<a class="code" href="ZE__Error_8h.html">ZE_Error.h</a>"</span>
|
||||
00029 <span class="preprocessor">#include "<a class="code" href="ZE__Defines_8h.html">ZE_Defines.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__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>
|
||||
00031
|
||||
00037 <span class="keyword">namespace </span>ZE
|
||||
00038 {
|
||||
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 {
|
||||
00049 <span class="comment">//Singleton + Memory Management//</span>
|
||||
00051 <span class="comment"></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
|
||||
00061 <a class="code" href="classZE_1_1ZEngine.html#c0">ZEngine</a>();
|
||||
00062
|
||||
00063 <span class="keyword">public</span>:
|
||||
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
|
||||
00078 <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#d1">ReleaseInstance</a>();
|
||||
00079
|
||||
@ -47,15 +47,15 @@
|
||||
00089 <span class="comment">//Initialization//</span>
|
||||
00091 <span class="comment"></span>
|
||||
00092 <span class="keyword">private</span>:
|
||||
00094 <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>;
|
||||
00098 <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="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>;
|
||||
<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>;
|
||||
<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>;
|
||||
<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
|
||||
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>
|
||||
00104 <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>;
|
||||
00103 <span class="preprocessor"></span>
|
||||
<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>;
|
||||
<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>
|
||||
00108 <span class="preprocessor"></span>
|
||||
00109
|
||||
@ -69,135 +69,130 @@
|
||||
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>
|
||||
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
|
||||
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
|
||||
00156 <span class="comment">//Screen Access//</span>
|
||||
00158 <span class="comment"></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
|
||||
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
|
||||
00177 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a5">UpdateScreen</a>();
|
||||
00178
|
||||
00190 Uint32 <a class="code" href="classZE_1_1ZEngine.html#a6">MapColor</a>(Uint8 r, Uint8 g, Uint8 b, Uint8 a=255);
|
||||
00191
|
||||
00199 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a7">Clear</a>(Uint32 color=0, SDL_Rect *rect=NULL);
|
||||
00200
|
||||
00202 <span class="comment">//Timer and Framerate Independent Movement//</span>
|
||||
00204 <span class="comment"> </span>
|
||||
00205 <span class="keyword">private</span>:
|
||||
00207 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#o7">mPaused</a>;
|
||||
00209 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#o8">mUnpauseOnActive</a>;
|
||||
00211 Uint32 <a class="code" href="classZE_1_1ZEngine.html#o9">mLastPause</a>;
|
||||
00213 Uint32 <a class="code" href="classZE_1_1ZEngine.html#o10">mPausedTime</a>;
|
||||
00215 Uint32 <a class="code" href="classZE_1_1ZEngine.html#o11">mLastTime</a>;
|
||||
00217 <span class="keywordtype">double</span> <a class="code" href="classZE_1_1ZEngine.html#o12">mSecPerFrame</a>;
|
||||
00218
|
||||
00219 <span class="keyword">public</span>:
|
||||
00226 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a8">Sleep</a>(Uint32 milliseconds);
|
||||
00227
|
||||
00234 Uint32 <a class="code" href="classZE_1_1ZEngine.html#a9">GetTime</a>();
|
||||
00235
|
||||
00241 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a10">PauseTimer</a>();
|
||||
00242
|
||||
00248 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a11">UnpauseTimer</a>();
|
||||
00249
|
||||
00256 <span class="keywordtype">double</span> <a class="code" href="classZE_1_1ZEngine.html#a12">GetFrameTime</a>();
|
||||
00257
|
||||
00264 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a13">IsPaused</a>();
|
||||
00265
|
||||
00267 <span class="comment">//Event and Input Handling//</span>
|
||||
00269 <span class="comment"></span>
|
||||
00270 <span class="keyword">private</span>:
|
||||
00272 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#o13">mActive</a>;
|
||||
00274 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#o14">mQuit</a>;
|
||||
00276 Uint8 *<a class="code" href="classZE_1_1ZEngine.html#o15">mKeyPressed</a>;
|
||||
00278 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#o16">mMouseX</a>;
|
||||
00280 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#o17">mMouseY</a>;
|
||||
00282 Uint8 <a class="code" href="classZE_1_1ZEngine.html#o18">mMouseB</a>;
|
||||
00283
|
||||
00284 <span class="keyword">public</span>:
|
||||
00291 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a14">IsActive</a>();
|
||||
00292
|
||||
00299 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a15">RequestQuit</a>();
|
||||
00300
|
||||
00308 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a16">QuitRequested</a>();
|
||||
00309
|
||||
00317 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a17">KeyIsPressed</a>(SDLKey key);
|
||||
00318
|
||||
00324 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a18">HideCursor</a>();
|
||||
00325
|
||||
00331 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a19">ShowCursor</a>();
|
||||
00332
|
||||
00339 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a20">GetMouseX</a>();
|
||||
00340
|
||||
00347 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a21">GetMouseY</a>();
|
||||
00348
|
||||
00355 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a22">LButtonPressed</a>();
|
||||
00356
|
||||
00363 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a23">RButtonPressed</a>();
|
||||
00364
|
||||
00372 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a24">MouseInRect</a>(SDL_Rect *rect);
|
||||
00373
|
||||
00379 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a25">CheckEvents</a>();
|
||||
00380
|
||||
00381 <span class="preprocessor">#ifdef USE_PHYSFS</span>
|
||||
00382 <span class="preprocessor"></span>
|
||||
00383 <span class="comment">//Physfs Utilities//</span>
|
||||
00385 <span class="comment"> public:</span>
|
||||
00392 <span class="comment"></span> <span class="keywordtype">void</span> InitPhysFS(string argv);
|
||||
00393
|
||||
00400 <span class="keywordtype">void</span> AddPhysFSDir(string dir);
|
||||
00401
|
||||
00402 <span class="preprocessor">#endif //USE_PHYSFS</span>
|
||||
00403 <span class="preprocessor"></span>
|
||||
00404
|
||||
00406 <span class="comment">//Data Loading + Unloading//</span>
|
||||
00408 <span class="comment"> public:</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);
|
||||
00417
|
||||
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> &image);
|
||||
00425
|
||||
00426 <span class="preprocessor">#ifdef USE_SDL_MIXER</span>
|
||||
00427 <span class="preprocessor"></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);
|
||||
00435
|
||||
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> &sound);
|
||||
00443
|
||||
00451 <a class="code" href="classZE_1_1MusicData.html">MusicData</a> <a class="code" href="classZE_1_1ZEngine.html#a30">LoadMusic</a>(string filename);
|
||||
00452
|
||||
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> &music);
|
||||
00460 <span class="preprocessor">#endif</span>
|
||||
00461 <span class="preprocessor"></span>
|
||||
00462 <span class="preprocessor">#ifdef USE_SDL_TTF</span>
|
||||
00463 <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);
|
||||
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);
|
||||
00189
|
||||
00191 <span class="comment">//OpenGL Specific Functions//</span>
|
||||
00193 <span class="comment"> public:</span>
|
||||
00194
|
||||
00201 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a7">SetGL2D</a>();
|
||||
00202
|
||||
00204 <span class="comment">//Timer and Framerate Independent Movement//</span>
|
||||
00206 <span class="comment"> </span>
|
||||
00207 <span class="keyword">private</span>:
|
||||
<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>;
|
||||
<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>;
|
||||
<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>;
|
||||
<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>;
|
||||
<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>;
|
||||
<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>;
|
||||
00220
|
||||
00221 <span class="keyword">public</span>:
|
||||
00228 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a8">Delay</a>(Uint32 milliseconds);
|
||||
00229
|
||||
00236 Uint32 <a class="code" href="classZE_1_1ZEngine.html#a9">GetTime</a>();
|
||||
00237
|
||||
00243 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a10">PauseTimer</a>();
|
||||
00244
|
||||
00250 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a11">UnpauseTimer</a>();
|
||||
00251
|
||||
00258 <span class="keywordtype">double</span> <a class="code" href="classZE_1_1ZEngine.html#a12">GetFrameTime</a>();
|
||||
00259
|
||||
00266 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a13">IsPaused</a>();
|
||||
00267
|
||||
00269 <span class="comment">//Event and Input Handling//</span>
|
||||
00271 <span class="comment"></span>
|
||||
00272 <span class="keyword">private</span>:
|
||||
<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>;
|
||||
<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>;
|
||||
<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>;
|
||||
<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>;
|
||||
<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>;
|
||||
<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>;
|
||||
00285
|
||||
00286 <span class="keyword">public</span>:
|
||||
00293 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a14">IsActive</a>();
|
||||
00294
|
||||
00301 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a15">RequestQuit</a>();
|
||||
00302
|
||||
00310 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a16">QuitRequested</a>();
|
||||
00311
|
||||
00319 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a17">KeyIsPressed</a>(SDLKey key);
|
||||
00320
|
||||
00326 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a18">HideCursor</a>();
|
||||
00327
|
||||
00333 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a19">ShowCursor</a>();
|
||||
00334
|
||||
00341 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a20">MouseX</a>();
|
||||
00342
|
||||
00349 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a21">MouseY</a>();
|
||||
00350
|
||||
00357 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a22">LButtonPressed</a>();
|
||||
00358
|
||||
00365 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a23">RButtonPressed</a>();
|
||||
00366
|
||||
00374 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a24">MouseInRect</a>(SDL_Rect *rect);
|
||||
00375
|
||||
00381 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a25">CheckEvents</a>();
|
||||
00382
|
||||
00383 <span class="preprocessor">#ifdef USE_PHYSFS</span>
|
||||
00384 <span class="preprocessor"></span>
|
||||
00385 <span class="comment">//Physfs Utilities//</span>
|
||||
00387 <span class="comment"> public:</span>
|
||||
00394 <span class="comment"></span> <span class="keywordtype">void</span> InitPhysFS(string argv);
|
||||
00395
|
||||
00402 <span class="keywordtype">void</span> AddPhysFSDir(string dir);
|
||||
00403
|
||||
00404 <span class="preprocessor">#endif //USE_PHYSFS</span>
|
||||
00405 <span class="preprocessor"></span>
|
||||
00406
|
||||
00408 <span class="comment">//Data Loading + Unloading//</span>
|
||||
00410 <span class="comment"> public:</span>
|
||||
00418 <span class="comment"></span> SDL_Surface* <a class="code" href="classZE_1_1ZEngine.html#a26">LoadImage</a>(string filename);
|
||||
00419
|
||||
00420 <span class="preprocessor">#ifdef USE_SDL_MIXER</span>
|
||||
00421 <span class="preprocessor"></span>
|
||||
00428 Mix_Chunk* <a class="code" href="classZE_1_1ZEngine.html#a27">LoadSound</a>(string filename);
|
||||
00429
|
||||
00437 Mix_Music* <a class="code" href="classZE_1_1ZEngine.html#a28">LoadMusic</a>(string filename);
|
||||
00438 <span class="preprocessor">#endif</span>
|
||||
00439 <span class="preprocessor"></span>
|
||||
00440 <span class="preprocessor">#ifdef USE_SDL_TTF</span>
|
||||
00441 <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);
|
||||
00450 <span class="preprocessor">#endif </span>
|
||||
00451 <span class="preprocessor"></span>
|
||||
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
|
||||
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> &font);
|
||||
00480 <span class="preprocessor">#endif </span>
|
||||
00481 <span class="preprocessor"></span>
|
||||
00483 <span class="comment">//Accessors//</span>
|
||||
00485 <span class="comment"> </span>
|
||||
00486 <span class="keyword">public</span>:
|
||||
00493 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a34">GetWidth</a>();
|
||||
00494
|
||||
00501 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a35">GetHeight</a>();
|
||||
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
|
||||
00479 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZEngine.html#a32">BPP</a>();
|
||||
00480
|
||||
00487 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZEngine.html#a33">IsFullscreen</a>();
|
||||
00488 };
|
||||
00489
|
||||
00490 }
|
||||
00491
|
||||
00492 <span class="preprocessor">#endif //__ze_zengine_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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,22 +3,23 @@
|
||||
<title>ZE_ZEngine.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <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>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/07/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_ZEngine.h,v 1.2 2002/11/28 23:18:54 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
ZEngine Game Engine core Engine definition.
|
||||
<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__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>
|
||||
|
||||
<p>
|
||||
@ -27,9 +28,9 @@ ZEngine Game Engine core Engine definition.
|
||||
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top>namespace </td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,16 @@
|
||||
<title>ZE_ZFont.cpp File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <a class="el" href="ZE__ZFont_8cpp.html">ZE_ZFont.cpp</a> <br>
|
||||
Description: Implementation source file for core ZEngine Font Object. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/07/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_ZFont.cpp,v 1.1.1.1 2002/11/21 05:41:13 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
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>
|
||||
<tr><td></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<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">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
|
||||
00004 <span class="comment"></span>
|
||||
@ -27,68 +27,69 @@
|
||||
00032 <span class="keyword">namespace </span>ZE
|
||||
00033 {
|
||||
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 {
|
||||
00042 <span class="keyword">protected</span>:
|
||||
00044 FontData <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>;
|
||||
00048 SDL_Color <a class="code" href="classZE_1_1ZFont.html#n2">rBGColor</a>;
|
||||
00049
|
||||
00050 <span class="keyword">public</span>:
|
||||
<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>;
|
||||
<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>;
|
||||
<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>;
|
||||
<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>;
|
||||
00051
|
||||
00053 <span class="comment">//Opening and Closing//</span>
|
||||
00055 <span class="comment"></span>
|
||||
00061 <span class="comment"></span> <a class="code" href="classZE_1_1ZFont.html#a0">ZFont</a>();
|
||||
00062
|
||||
00070 <a class="code" href="classZE_1_1ZFont.html#a0">ZFont</a>(string filename, <span class="keywordtype">int</span> size);
|
||||
00071
|
||||
00077 <a class="code" href="classZE_1_1ZFont.html#a2">~ZFont</a>();
|
||||
00078
|
||||
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);
|
||||
00087
|
||||
00093 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a4">Release</a>();
|
||||
00094
|
||||
00096 <span class="comment">//Settings and Drawing//</span>
|
||||
00098 <span class="comment"></span>
|
||||
00106 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a5">DrawText</a>(string text, ZImage &image);
|
||||
00107
|
||||
00115 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a6">DrawShadedText</a>(string text, ZImage &image);
|
||||
00116
|
||||
00125 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a7">SetColor</a>(Uint8 r, Uint8 g, Uint8 b);
|
||||
00126
|
||||
00135 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a8">SetBGColor</a>(Uint8 r, Uint8 g, Uint8 b);
|
||||
00136
|
||||
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);
|
||||
00146
|
||||
00153 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a10">Resize</a>(<span class="keywordtype">int</span> size);
|
||||
00154
|
||||
00156 <span class="comment">//Accessors//</span>
|
||||
00158 <span class="comment"></span>
|
||||
00165 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZFont.html#a11">IsLoaded</a>();
|
||||
00166
|
||||
00173 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZFont.html#a12">IsBold</a>();
|
||||
00174
|
||||
00181 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZFont.html#a13">IsItalic</a>();
|
||||
00182
|
||||
00189 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZFont.html#a14">IsUnderlined</a>();
|
||||
00190
|
||||
00197 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZFont.html#a15">GetHeight</a>();
|
||||
00198
|
||||
00205 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZFont.html#a16">GetLineSkip</a>();
|
||||
00206
|
||||
00214 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZFont.html#a17">GetStringWidth</a>(string text);
|
||||
00215
|
||||
00223 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZFont.html#a18">GetStringHeight</a>(string text);
|
||||
00224 };
|
||||
00225
|
||||
00226 }
|
||||
00052 <span class="keyword">public</span>:
|
||||
00053
|
||||
00055 <span class="comment">//Opening and Closing//</span>
|
||||
00057 <span class="comment"></span>
|
||||
00063 <span class="comment"></span> <a class="code" href="classZE_1_1ZFont.html#a0">ZFont</a>();
|
||||
00064
|
||||
00072 <a class="code" href="classZE_1_1ZFont.html#a0">ZFont</a>(string filename, <span class="keywordtype">int</span> size);
|
||||
00073
|
||||
00079 <a class="code" href="classZE_1_1ZFont.html#a2">~ZFont</a>();
|
||||
00080
|
||||
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);
|
||||
00089
|
||||
00095 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a4">Release</a>();
|
||||
00096
|
||||
00098 <span class="comment">//Settings and Drawing//</span>
|
||||
00100 <span class="comment"></span>
|
||||
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> &image);
|
||||
00109
|
||||
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> &image);
|
||||
00118
|
||||
00127 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a7">SetColor</a>(Uint8 r, Uint8 g, Uint8 b);
|
||||
00128
|
||||
00137 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a8">SetBGColor</a>(Uint8 r, Uint8 g, Uint8 b);
|
||||
00138
|
||||
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);
|
||||
00148
|
||||
00155 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a10">Resize</a>(<span class="keywordtype">int</span> size);
|
||||
00156
|
||||
00158 <span class="comment">//Accessors//</span>
|
||||
00160 <span class="comment"></span>
|
||||
00167 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZFont.html#a11">IsLoaded</a>();
|
||||
00168
|
||||
00175 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZFont.html#a12">IsBold</a>();
|
||||
00176
|
||||
00183 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZFont.html#a13">IsItalic</a>();
|
||||
00184
|
||||
00191 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZFont.html#a14">IsUnderlined</a>();
|
||||
00192
|
||||
00199 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZFont.html#a15">Height</a>();
|
||||
00200
|
||||
00207 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZFont.html#a16">LineSkip</a>();
|
||||
00208
|
||||
00216 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZFont.html#a17">StringWidth</a>(string text);
|
||||
00217
|
||||
00225 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZFont.html#a18">StringHeight</a>(string text);
|
||||
00226 };
|
||||
00227
|
||||
00228 <span class="preprocessor">#endif //USE_SDL_TTF</span>
|
||||
00229 <span class="preprocessor"></span>
|
||||
00230 <span class="preprocessor">#endif //__ze_zfont_h__</span>
|
||||
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
|
||||
00228 }
|
||||
00229
|
||||
00230 <span class="preprocessor">#endif //USE_SDL_TTF</span>
|
||||
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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,16 @@
|
||||
<title>ZE_ZFont.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <a class="el" href="ZE__ZFont_8h.html">ZE_ZFont.h</a> <br>
|
||||
Description: Header file for core ZEngine Font Object. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/07/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_ZFont.h,v 1.1.1.1 2002/11/21 05:41:10 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
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 nowrap align=right valign=top>namespace </td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,18 +3,16 @@
|
||||
<title>ZE_ZImage.cpp File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
Description: Implementation source file for core ZEngine Image Object. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/07/02 <br>
|
||||
</dd></dl>
|
||||
|
||||
<p>
|
||||
Implementation of ZImage, the basic Image class for ZEngine.
|
||||
<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: <a class="el" href="ZE__ZImage_8cpp.html">ZE_ZImage.cpp</a> <br>
|
||||
Description: Implementation source file for core ZEngine Image or Texture Object. <br>
|
||||
Author(s): James Turk, Gamer Tazar <br>
|
||||
$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>
|
||||
<code>#include "<a class="el" href="ZE__ZImage_8h-source.html">ZE_ZImage.h</a>"</code><br>
|
||||
<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 nowrap align=right valign=top>namespace </td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<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">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
|
||||
00004 <span class="comment"></span>
|
||||
@ -24,58 +24,63 @@
|
||||
00029 <span class="keyword">namespace </span>ZE
|
||||
00030 {
|
||||
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 {
|
||||
00039 <span class="keyword">protected</span>:
|
||||
00041 ImageData <a class="code" href="classZE_1_1ZImage.html#n0">rImage</a>;
|
||||
00042 <span class="keyword">public</span>:
|
||||
00043
|
||||
00049 <a class="code" href="classZE_1_1ZImage.html#a0">ZImage</a>();
|
||||
00050
|
||||
00057 <a class="code" href="classZE_1_1ZImage.html#a0">ZImage</a>(string filename);
|
||||
00058
|
||||
00065 <a class="code" href="classZE_1_1ZImage.html#a0">ZImage</a>(SDL_Surface *surface);
|
||||
00066
|
||||
00078 <a class="code" href="classZE_1_1ZImage.html#a0">ZImage</a>(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h);
|
||||
00079
|
||||
00085 <a class="code" href="classZE_1_1ZImage.html#a4">~ZImage</a>();
|
||||
00086
|
||||
00088 <span class="comment">//Opening and Closing//</span>
|
||||
00090 <span class="comment"></span>
|
||||
00097 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a5">Open</a>(string filename);
|
||||
00098
|
||||
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);
|
||||
00111
|
||||
00118 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a7">Attach</a>(SDL_Surface *surface);
|
||||
00119
|
||||
00125 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a8">Release</a>();
|
||||
00126
|
||||
00128 <span class="comment">//Graphics//</span>
|
||||
00130 <span class="comment"></span>
|
||||
00137 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a9">SetAlpha</a>(Uint8 alpha);
|
||||
00138
|
||||
00145 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a10">SetColorKey</a>(Uint32 color);
|
||||
00146
|
||||
00154 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a11">Draw</a>(Sint16 x, Sint16 y);
|
||||
00155
|
||||
00157 <span class="comment">//Accessors//</span>
|
||||
00159 <span class="comment"></span>
|
||||
00166 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZImage.html#a12">IsLoaded</a>();
|
||||
00167
|
||||
00173 SDL_Surface *<a class="code" href="classZE_1_1ZImage.html#a13">GetImage</a>();
|
||||
00174
|
||||
00181 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZImage.html#a14">GetWidth</a>();
|
||||
00182
|
||||
00189 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZImage.html#a15">GetHeight</a>();
|
||||
00190
|
||||
00197 string <a class="code" href="classZE_1_1ZImage.html#a16">GetFilename</a>();
|
||||
00198 };
|
||||
00199 }
|
||||
00200
|
||||
00201 <span class="preprocessor">#endif //__ze_zimage_h__</span>
|
||||
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
|
||||
<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>;
|
||||
<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>;
|
||||
<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>;
|
||||
<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>;
|
||||
<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>;
|
||||
<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>;
|
||||
00052
|
||||
00053 <span class="keyword">public</span>:
|
||||
00054
|
||||
00060 <a class="code" href="classZE_1_1ZImage.html#a0">ZImage</a>();
|
||||
00061
|
||||
00068 <a class="code" href="classZE_1_1ZImage.html#a0">ZImage</a>(string filename);
|
||||
00069
|
||||
00076 <a class="code" href="classZE_1_1ZImage.html#a0">ZImage</a>(SDL_Surface *surface);
|
||||
00077
|
||||
00089 <a class="code" href="classZE_1_1ZImage.html#a0">ZImage</a>(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h);
|
||||
00090
|
||||
00096 <a class="code" href="classZE_1_1ZImage.html#a4">~ZImage</a>();
|
||||
00097
|
||||
00099 <span class="comment">//Opening and Closing//</span>
|
||||
00101 <span class="comment"></span>
|
||||
00108 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a5">Open</a>(string filename);
|
||||
00109
|
||||
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);
|
||||
00122
|
||||
00129 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a7">Attach</a>(SDL_Surface *surface);
|
||||
00130
|
||||
00136 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a8">Release</a>();
|
||||
00137
|
||||
00139 <span class="comment">//Graphics//</span>
|
||||
00141 <span class="comment"></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);
|
||||
00151
|
||||
00158 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZImage.html#a10">Bind</a>();
|
||||
00159
|
||||
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);
|
||||
00168
|
||||
00170 <span class="comment">//Accessors//</span>
|
||||
00172 <span class="comment"></span>
|
||||
00179 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZImage.html#a12">IsLoaded</a>();
|
||||
00180
|
||||
00186 SDL_Surface *<a class="code" href="classZE_1_1ZImage.html#a13">Surface</a>();
|
||||
00187
|
||||
00194 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZImage.html#a14">Width</a>();
|
||||
00195
|
||||
00202 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZImage.html#a15">Height</a>();
|
||||
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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,18 +3,16 @@
|
||||
<title>ZE_ZImage.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
Description: Header file for core ZEngine Image Object. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/08/02 <br>
|
||||
</dd></dl>
|
||||
|
||||
<p>
|
||||
Definition file for ZImage, the basic Image class for ZEngine.
|
||||
<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: <a class="el" href="ZE__ZImage_8h.html">ZE_ZImage.h</a> <br>
|
||||
Description: Header file for core ZEngine Image and Texture Object. <br>
|
||||
Author(s): James Turk, Gamer Tazar <br>
|
||||
$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>
|
||||
<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 nowrap align=right valign=top>namespace </td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,16 @@
|
||||
<title>ZE_ZMusic.cpp File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <a class="el" href="ZE__ZMusic_8cpp.html">ZE_ZMusic.cpp</a> <br>
|
||||
Description: Implementation source file for core ZEngine Music Object. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/07/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_ZMusic.cpp,v 1.1.1.1 2002/11/21 05:41:13 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
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>
|
||||
<tr><td></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<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">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
|
||||
00004 <span class="comment"></span>
|
||||
@ -26,13 +26,13 @@
|
||||
00031 <span class="keyword">namespace </span>ZE
|
||||
00032 {
|
||||
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 {
|
||||
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
|
||||
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
|
||||
00050 <span class="comment">//Opening and Closing//</span>
|
||||
00052 <span class="comment"></span>
|
||||
@ -68,7 +68,7 @@
|
||||
00160
|
||||
00167 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZMusic.html#a13">IsPaused</a>();
|
||||
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 };
|
||||
00177
|
||||
00178
|
||||
@ -77,9 +77,9 @@
|
||||
00181 <span class="preprocessor">#endif //USE_SDL_MIXER</span>
|
||||
00182 <span class="preprocessor"></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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,16 @@
|
||||
<title>ZE_ZMusic.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <a class="el" href="ZE__ZMusic_8h.html">ZE_ZMusic.h</a> <br>
|
||||
Description: Header file for core ZEngine Music Wrapper Object. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/07/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_ZMusic.h,v 1.1.1.1 2002/11/21 05:41:11 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
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 nowrap align=right valign=top>namespace </td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<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">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
|
||||
00004 <span class="comment"></span>
|
||||
@ -23,21 +23,21 @@
|
||||
00028
|
||||
00029 <span class="keyword">namespace </span>ZE
|
||||
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 {
|
||||
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>:
|
||||
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
|
||||
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 };
|
||||
00056 }
|
||||
00057
|
||||
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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,16 @@
|
||||
<title>ZE_ZObject.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <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>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/07/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_ZObject.h,v 1.1.1.1 2002/11/21 05:41:11 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
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 nowrap align=right valign=top>namespace </td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,16 @@
|
||||
<title>ZE_ZRect.cpp File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <a class="el" href="ZE__ZRect_8cpp.html">ZE_ZRect.cpp</a> <br>
|
||||
Description: Implementation source file for core ZEngine Rectangle Object. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/08/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_ZRect.cpp,v 1.1.1.1 2002/11/21 05:41:13 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
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 nowrap align=right valign=top>namespace </td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<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">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
|
||||
00004 <span class="comment"></span>
|
||||
@ -24,13 +24,13 @@
|
||||
00029 <span class="keyword">namespace </span>ZE
|
||||
00030 {
|
||||
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 {
|
||||
00039 <span class="keyword">private</span>:
|
||||
00041 <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>;
|
||||
00045 <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="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>;
|
||||
<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>;
|
||||
<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>;
|
||||
<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
|
||||
00049 <span class="keyword">public</span>:
|
||||
00050
|
||||
@ -38,11 +38,11 @@
|
||||
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);
|
||||
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> &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> &rhs);
|
||||
00076
|
||||
00084 <span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a>& <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> &rhs);
|
||||
00084 <span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html">ZRect</a>& <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> &rhs);
|
||||
00085
|
||||
00094 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZRect.html#a4">operator<</a>(<span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a> &rhs) <span class="keyword">const</span>;
|
||||
00094 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZRect.html#a4">operator<</a>(<span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html">ZRect</a> &rhs) <span class="keyword">const</span>;
|
||||
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);
|
||||
00104
|
||||
@ -52,13 +52,13 @@
|
||||
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);
|
||||
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> &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> &rect) <span class="keyword">const</span>;
|
||||
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>;
|
||||
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> &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> &rect) <span class="keyword">const</span>;
|
||||
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> &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> &rect) <span class="keyword">const</span>;
|
||||
00168
|
||||
00175 SDL_Rect <a class="code" href="classZE_1_1ZRect.html#a13">SDLrect</a>() <span class="keyword">const</span>;
|
||||
00176
|
||||
@ -82,9 +82,9 @@
|
||||
00242 } <span class="comment">//namspace ZE</span>
|
||||
00243
|
||||
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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,16 @@
|
||||
<title>ZE_ZRect.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <a class="el" href="ZE__ZRect_8h.html">ZE_ZRect.h</a> <br>
|
||||
Description: Header file for core ZEngine Rectangle Object. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/08/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_ZRect.h,v 1.1.1.1 2002/11/21 05:41:11 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
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 nowrap align=right valign=top>namespace </td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,16 @@
|
||||
<title>ZE_ZSound.cpp File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <a class="el" href="ZE__ZSound_8cpp.html">ZE_ZSound.cpp</a> <br>
|
||||
Description: Implementation source file for core ZEngine Sound Object. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/07/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_ZSound.cpp,v 1.1.1.1 2002/11/21 05:41:13 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
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>
|
||||
<tr><td></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<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">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
|
||||
00004 <span class="comment"></span>
|
||||
@ -26,14 +26,14 @@
|
||||
00031 <span class="keyword">namespace </span>ZE
|
||||
00032 {
|
||||
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 {
|
||||
00041 <span class="keyword">protected</span>:
|
||||
00043 SoundData <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="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>;
|
||||
<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
|
||||
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
|
||||
00052 <span class="comment">//Opening and Closing//</span>
|
||||
00054 <span class="comment"></span>
|
||||
@ -67,7 +67,7 @@
|
||||
00155
|
||||
00162 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZSound.html#a12">IsPaused</a>();
|
||||
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 };
|
||||
00172
|
||||
00173
|
||||
@ -76,9 +76,9 @@
|
||||
00176 <span class="preprocessor">#endif //USE_SDL_MIXER</span>
|
||||
00177 <span class="preprocessor"></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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,16 @@
|
||||
<title>ZE_ZSound.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <a class="el" href="ZE__ZSound_8h.html">ZE_ZSound.h</a> <br>
|
||||
Description: Header file for core ZEngine Sound Wrapper Object. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/07/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_ZSound.h,v 1.1.1.1 2002/11/21 05:41:12 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
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 nowrap align=right valign=top>namespace </td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,16 @@
|
||||
<title>ZE_ZTimer.cpp File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <a class="el" href="ZE__ZTimer_8cpp.html">ZE_ZTimer.cpp</a> <br>
|
||||
Description: Implementation source file for core ZEngine Timer Object. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/08/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_ZTimer.cpp,v 1.1.1.1 2002/11/21 05:41:13 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
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 nowrap align=right valign=top>namespace </td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<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">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
|
||||
00004 <span class="comment"></span>
|
||||
@ -24,13 +24,13 @@
|
||||
00029 <span class="keyword">namespace </span>ZE
|
||||
00030 {
|
||||
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 {
|
||||
00039 <span class="keyword">protected</span>:
|
||||
00041 <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>;
|
||||
00045 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="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>;
|
||||
<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>;
|
||||
<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>;
|
||||
<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
|
||||
00055 Uint32 <a class="code" href="classZE_1_1ZTimer.html#b0">GetParentTime</a>();
|
||||
00056
|
||||
@ -52,9 +52,9 @@
|
||||
00105 }
|
||||
00106
|
||||
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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,16 @@
|
||||
<title>ZE_ZTimer.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <a class="el" href="ZE__ZTimer_8h.html">ZE_ZTimer.h</a> <br>
|
||||
Description: Header file for core ZEngine Timer Object. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/07/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZE_ZTimer.h,v 1.1.1.1 2002/11/21 05:41:12 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
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 nowrap align=right valign=top>namespace </td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -1,27 +1,28 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<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">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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
|
||||
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__ZImage_8h.html">ZE_ZImage.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__ZConfigFile_8h.html">ZE_ZConfigFile.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">#ifdef USE_SDL_TTF</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">#endif</span>
|
||||
00051 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_SDL_MIXER</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">#include "<a class="code" href="ZE__ZMusic_8h.html">ZE_ZMusic.h</a>"</span>
|
||||
00054 <span class="preprocessor">#endif</span>
|
||||
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
|
||||
<hr><h1>/include/ZEngine.h</h1><a href="ZEngine_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
|
||||
00044 <span class="preprocessor">#include "<a class="code" href="ZE__ZEngine_8h.html">ZE_ZEngine.h</a>"</span>
|
||||
00045 <span class="preprocessor">#include "<a class="code" href="ZE__Macros_8h.html">ZE_Macros.h</a>"</span>
|
||||
00046 <span class="preprocessor">#include "<a class="code" href="ZE__ZImage_8h.html">ZE_ZImage.h</a>"</span>
|
||||
00047 <span class="preprocessor">#include "<a class="code" href="ZE__ZTimer_8h.html">ZE_ZTimer.h</a>"</span>
|
||||
00048 <span class="preprocessor">#include "<a class="code" href="ZE__ZConfigFile_8h.html">ZE_ZConfigFile.h</a>"</span>
|
||||
00049 <span class="preprocessor">#include "<a class="code" href="ZE__ZRect_8h.html">ZE_ZRect.h</a>"</span>
|
||||
00050 <span class="preprocessor">#ifdef USE_SDL_TTF</span>
|
||||
00051 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="ZE__ZFont_8h.html">ZE_ZFont.h</a>"</span>
|
||||
00052 <span class="preprocessor">#endif</span>
|
||||
00053 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_SDL_MIXER</span>
|
||||
00054 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="ZE__ZSound_8h.html">ZE_ZSound.h</a>"</span>
|
||||
00055 <span class="preprocessor">#include "<a class="code" href="ZE__ZMusic_8h.html">ZE_ZMusic.h</a>"</span>
|
||||
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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,20 +3,22 @@
|
||||
<title>ZEngine.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>/home/James/ZEngine-dev/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>
|
||||
<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: <a class="el" href="ZEngine_8h.html">ZEngine.h</a> <br>
|
||||
Description: Public Header File for ZEngine. <br>
|
||||
Author(s): James Turk <br>
|
||||
Last Updated: 11/07/02 <br>
|
||||
</dd></dl>
|
||||
</dl><dl compact><dt><b>Id: </b></dt><dd>
|
||||
ZEngine.h,v 1.2 2002/11/28 23:18:54 cozman Exp </dl><br>
|
||||
|
||||
<p>
|
||||
Header file for ZEngine Game Engine from Concept of Zero, this is the file that programs that wish to utilize ZEngine should include.
|
||||
<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__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__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>
|
||||
@ -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>
|
||||
<tr><td></td></tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,13 @@
|
||||
<title>Annotated Index</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<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_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_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>
|
||||
@ -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_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>
|
||||
<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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<title>Member List</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
@ -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_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>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<title>ZE::ZConfigFile class Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>ZE::ZConfigFile Class Reference</h1><code>#include <<a class="el" href="ZE__ZConfigFile_8h-source.html">ZE_ZConfigFile.h</a>></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 nowrap align=right valign=top>string </td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#c0">CleanString</a> (string str)</td></tr>
|
||||
<tr><td> </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 </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 </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 </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 </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 nowrap align=right valign=top><a name="o0" doxytag="ZE::ZConfigFile::mFileLayout"></a>
|
||||
list< ZCF_Section > </td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#o0">mFileLayout</a></td></tr>
|
||||
list< <a class="el" href="classZE_1_1ZConfigFile_1_1ZCF__Section.html">ZCF_Section</a> > </td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#o0">mFileLayout</a></td></tr>
|
||||
<tr><td> </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>
|
||||
string </td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#o1">mFilename</a></td></tr>
|
||||
@ -115,11 +107,11 @@ A no-op default constructor. </td>
|
||||
|
||||
<p>
|
||||
Constructor takes filename, and calls process on it. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>filename</em> </td><td>File to load as <a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a>. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>filename</em> </td><td>
|
||||
File to load as <a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a>. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a2" doxytag="ZE::ZConfigFile::~ZConfigFile"></a><p>
|
||||
@ -178,12 +170,12 @@ Flushes the file, ensures a flush if the file is left open. </td>
|
||||
|
||||
<p>
|
||||
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">
|
||||
<tr><td valign=top><em>str</em> </td><td>The string to get a clean version of. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>str</em> </td><td>
|
||||
The string to get a clean version of. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>Cleaned string. </dd></dl>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Cleaned string. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a3" doxytag="ZE::ZConfigFile::Process"></a><p>
|
||||
@ -213,11 +205,11 @@ Removes whitespace from a string and makes all characters lowercase. <dl compact
|
||||
|
||||
<p>
|
||||
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">
|
||||
<tr><td valign=top><em>filename</em> </td><td>File to parse and attach this ZDataFile to. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>filename</em> </td><td>
|
||||
File to parse and attach this ZDataFile to. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a4" doxytag="ZE::ZConfigFile::GetInt"></a><p>
|
||||
@ -262,14 +254,16 @@ Parses the file, reading the contents into the fileLayout map. <dl compact><dt><
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>section</em> </td><td>Name of section to seek variable under. </td></tr>
|
||||
<tr><td valign=top><em>var</em> </td><td>Name of variable to seek value for. </td></tr>
|
||||
<tr><td valign=top><em>defVal</em> </td><td>Value to return if var does not exist within section. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>section</em> </td><td>
|
||||
Name of section to seek variable under. </td></tr>
|
||||
<tr><td valign=top><em>var</em> </td><td>
|
||||
Name of variable to seek value for. </td></tr>
|
||||
<tr><td valign=top><em>defVal</em> </td><td>
|
||||
Value to return if var does not exist within section. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>Contents of the variable in integer format. </dd></dl>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Contents of the variable in integer format. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a5" doxytag="ZE::ZConfigFile::GetBool"></a><p>
|
||||
@ -314,14 +308,16 @@ Get the current value of a variable in the file, or defVal if not found in file.
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>section</em> </td><td>Name of section to seek variable under. </td></tr>
|
||||
<tr><td valign=top><em>var</em> </td><td>Name of variable to seek value for. </td></tr>
|
||||
<tr><td valign=top><em>defVal</em> </td><td>Value to return if var does not exist within section. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>section</em> </td><td>
|
||||
Name of section to seek variable under. </td></tr>
|
||||
<tr><td valign=top><em>var</em> </td><td>
|
||||
Name of variable to seek value for. </td></tr>
|
||||
<tr><td valign=top><em>defVal</em> </td><td>
|
||||
Value to return if var does not exist within section. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>Contents of the variable in boolean format. </dd></dl>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Contents of the variable in boolean format. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a6" doxytag="ZE::ZConfigFile::GetString"></a><p>
|
||||
@ -366,14 +362,16 @@ Get the current value of a variable in the file, or defVal if not found in file.
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>section</em> </td><td>Name of section to seek variable under. </td></tr>
|
||||
<tr><td valign=top><em>var</em> </td><td>Name of variable to seek value for. </td></tr>
|
||||
<tr><td valign=top><em>defVal</em> </td><td>Value to return if var does not exist within section. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>section</em> </td><td>
|
||||
Name of section to seek variable under. </td></tr>
|
||||
<tr><td valign=top><em>var</em> </td><td>
|
||||
Name of variable to seek value for. </td></tr>
|
||||
<tr><td valign=top><em>defVal</em> </td><td>
|
||||
Value to return if var does not exist within section. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>Contents of the variable in string format. </dd></dl>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Contents of the variable in string format. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a7" doxytag="ZE::ZConfigFile::SetInt"></a><p>
|
||||
@ -418,13 +416,15 @@ Get the current value of a variable in the file, or defVal if not found in file.
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>section</em> </td><td>Name of section to edit variable under. </td></tr>
|
||||
<tr><td valign=top><em>var</em> </td><td>Name of variable to set value for. </td></tr>
|
||||
<tr><td valign=top><em>val</em> </td><td>Integer value to set variable to in file. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>section</em> </td><td>
|
||||
Name of section to edit variable under. </td></tr>
|
||||
<tr><td valign=top><em>var</em> </td><td>
|
||||
Name of variable to set value for. </td></tr>
|
||||
<tr><td valign=top><em>val</em> </td><td>
|
||||
Integer value to set variable to in file. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a8" doxytag="ZE::ZConfigFile::SetBool"></a><p>
|
||||
@ -469,13 +469,15 @@ Set the new value of a variable in the file to val, creating the section and var
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>section</em> </td><td>Name of section to edit variable under. </td></tr>
|
||||
<tr><td valign=top><em>var</em> </td><td>Name of variable to set value for. </td></tr>
|
||||
<tr><td valign=top><em>val</em> </td><td>Boolean value to set variable to in file. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>section</em> </td><td>
|
||||
Name of section to edit variable under. </td></tr>
|
||||
<tr><td valign=top><em>var</em> </td><td>
|
||||
Name of variable to set value for. </td></tr>
|
||||
<tr><td valign=top><em>val</em> </td><td>
|
||||
Boolean value to set variable to in file. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a9" doxytag="ZE::ZConfigFile::SetString"></a><p>
|
||||
@ -520,13 +522,15 @@ Set the new value of a variable in the file to val, creating the section and var
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>section</em> </td><td>Name of section to edit variable under. </td></tr>
|
||||
<tr><td valign=top><em>var</em> </td><td>Name of variable to set value for. </td></tr>
|
||||
<tr><td valign=top><em>val</em> </td><td>String value to set variable to in file. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>section</em> </td><td>
|
||||
Name of section to edit variable under. </td></tr>
|
||||
<tr><td valign=top><em>var</em> </td><td>
|
||||
Name of variable to set value for. </td></tr>
|
||||
<tr><td valign=top><em>val</em> </td><td>
|
||||
String value to set variable to in file. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a10" doxytag="ZE::ZConfigFile::Flush"></a><p>
|
||||
@ -586,10 +590,10 @@ Flush the file and clear the filename. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by
|
||||
<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 Sun Dec 1 02:44:14 2002 for ZEngine by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,40 +3,33 @@
|
||||
<title>Member List</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
<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#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#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#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#a33">FreeFont</a>(FontData &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#a27">FreeImage</a>(ImageData &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#a31">FreeMusic</a>(MusicData &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 &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#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">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">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#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#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#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#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#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#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#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#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#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">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#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#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#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#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>
|
||||
@ -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#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#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#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>
|
||||
@ -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#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#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#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#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#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>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,13 +3,13 @@
|
||||
<title>ZE::ZEngine class Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>ZE::ZEngine Class Reference</h1><code>#include <<a class="el" href="ZE__ZEngine_8h-source.html">ZE_ZEngine.h</a>></code>
|
||||
<p>
|
||||
<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>
|
||||
<table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td></td></tr>
|
||||
@ -18,19 +18,19 @@
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a1">SetupSound</a> (int rate, bool stereo)</td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a2">CreateWindow</a> (string title, string icon="")</td></tr>
|
||||
<tr><td> </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 nowrap align=right valign=top>void </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a2">CreateDisplay</a> (string title, string icon="")</td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a3">CloseDisplay</a> ()</td></tr>
|
||||
<tr><td> </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 * </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 * </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a4">Display</a> ()</td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a5">UpdateScreen</a> ()</td></tr>
|
||||
<tr><td> </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 </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> </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 nowrap align=right valign=top>void </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> </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 nowrap align=right valign=top>void </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 </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> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a7">SetGL2D</a> ()</td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a8">Delay</a> (Uint32 milliseconds)</td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a9">GetTime</a> ()</td></tr>
|
||||
<tr><td> </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> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a19">ShowCursor</a> ()</td></tr>
|
||||
<tr><td> </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 </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a20">MouseX</a> ()</td></tr>
|
||||
<tr><td> </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 </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a21">MouseY</a> ()</td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a22">LButtonPressed</a> ()</td></tr>
|
||||
<tr><td> </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> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a25">CheckEvents</a> ()</td></tr>
|
||||
<tr><td> </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> </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 * </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a26">LoadImage</a> (string filename)</td></tr>
|
||||
<tr><td> </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 </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> &image)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Free an Image.</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> </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a28">LoadSound</a> (string filename)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Load a Sound.</em> <a href="#a28"></a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>void </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> &sound)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Free a Sound.</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> </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a30">LoadMusic</a> (string filename)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Load a Music File.</em> <a href="#a30"></a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>void </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> &music)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Free a Music Sample.</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> </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a32">LoadFont</a> (string filename, int size)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Load a Font.</em> <a href="#a32"></a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>void </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> &font)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Free a Font.</em> <a href="#a33"></a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a34">GetWidth</a> ()</td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a35">GetHeight</a> ()</td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a36">GetBPP</a> ()</td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a37">IsFullscreen</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Get Fullscreen setting.</em> <a href="#a37"></a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>Mix_Chunk * </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a27">LoadSound</a> (string filename)</td></tr>
|
||||
<tr><td> </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>Mix_Music * </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a28">LoadMusic</a> (string filename)</td></tr>
|
||||
<tr><td> </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>TTF_Font * </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a29">LoadFont</a> (string filename, int size)</td></tr>
|
||||
<tr><td> </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>int </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a30">Width</a> ()</td></tr>
|
||||
<tr><td> </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>int </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a31">Height</a> ()</td></tr>
|
||||
<tr><td> </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>int </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a32">BPP</a> ()</td></tr>
|
||||
<tr><td> </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>bool </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#a33">IsFullscreen</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Get Fullscreen setting.</em> <a href="#a33"></a><em></em></font><br><br></td></tr>
|
||||
<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top>ZEngine * </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html#d0">GetInstance</a> ()</td></tr>
|
||||
<tr><td> </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>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
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>. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
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 </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<p>
|
||||
Sets display parameters to specified parameters. (called before CreateDisplay)
|
||||
<p>
|
||||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>width</em> </td><td>Desired width of screen or window. </td></tr>
|
||||
<tr><td valign=top><em>height</em> </td><td>Desired height of screen or window. </td></tr>
|
||||
<tr><td valign=top><em>bpp</em> </td><td>Desired BPP for screen (only works in fullscreen). </td></tr>
|
||||
<tr><td valign=top><em>fullscreen</em> </td><td>A bool for fullscreen setting. </td></tr>
|
||||
Sets display parameters to specified parameters. (called before CreateDisplay)<dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>width</em> </td><td>
|
||||
Desired width of screen or window. </td></tr>
|
||||
<tr><td valign=top><em>height</em> </td><td>
|
||||
Desired height of screen or window. </td></tr>
|
||||
<tr><td valign=top><em>bpp</em> </td><td>
|
||||
Desired BPP for screen (only works in fullscreen). </td></tr>
|
||||
<tr><td valign=top><em>fullscreen</em> </td><td>
|
||||
A bool for fullscreen setting. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a1" doxytag="ZE::ZEngine::SetupSound"></a><p>
|
||||
@ -374,24 +367,23 @@ Sets display parameters to specified parameters. (called before CreateDisplay)
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Set sound settings to specified parameters. (called before CreateDisplay)
|
||||
<p>
|
||||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>rate</em> </td><td>Desired sound bitrate. </td></tr>
|
||||
<tr><td valign=top><em>stereo</em> </td><td>A bool for stereo setting. </td></tr>
|
||||
Set sound settings to specified parameters. (called before CreateDisplay)<dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>rate</em> </td><td>
|
||||
Desired sound bitrate. </td></tr>
|
||||
<tr><td valign=top><em>stereo</em> </td><td>
|
||||
A bool for stereo setting. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="md" nowrap valign="top">string </td>
|
||||
<td class="mdname" nowrap> <em>title</em>, </td>
|
||||
@ -420,24 +412,23 @@ Set sound settings to specified parameters. (called before CreateDisplay)
|
||||
<td>
|
||||
|
||||
<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.
|
||||
<p>
|
||||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>title</em> </td><td>Window Title. </td></tr>
|
||||
<tr><td valign=top><em>icon</em> </td><td>Path to Icon File. </td></tr>
|
||||
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>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>title</em> </td><td>
|
||||
Window Title. </td></tr>
|
||||
<tr><td valign=top><em>icon</em> </td><td>
|
||||
Path to Icon File. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </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>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
@ -484,8 +475,8 @@ Shut down SDL (and SDL_ttf,SDL_mixer if necessary). </td>
|
||||
<td>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
Get pointer to screen SDL_Surface, allowing direct screen manipulation using SDL. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Pointer to Display Surface. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a6" doxytag="ZE::ZEngine::MapColor"></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">( </td>
|
||||
<td class="md" nowrap valign="top">Uint8 </td>
|
||||
<td class="mdname" nowrap> <em>r</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>Uint8 </td>
|
||||
<td class="mdname" nowrap> <em>g</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>Uint8 </td>
|
||||
<td class="mdname" nowrap> <em>b</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>Uint8 </td>
|
||||
<td class="mdname" nowrap> <em>a</em> = 255</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="md">) </td>
|
||||
<td class="md" colspan="2"></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</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> </td><td>Red component of color (0-255). </td></tr>
|
||||
<tr><td valign=top><em>g</em> </td><td>Green component of color (0-255). </td></tr>
|
||||
<tr><td valign=top><em>b</em> </td><td>Blue component of color (0-255). </td></tr>
|
||||
<tr><td valign=top><em>a</em> </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>
|
||||
<a name="a6" doxytag="ZE::ZEngine::Clear"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
@ -585,14 +515,26 @@ Turn RGBA values into SDL Uint32 color. (Alpha value will be ignored if not in u
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> void ZE::ZEngine::Clear </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">Uint32 </td>
|
||||
<td class="mdname" nowrap> <em>color</em> = 0, </td>
|
||||
<td class="md" nowrap valign="top">float </td>
|
||||
<td class="mdname" nowrap> <em>red</em> = 0.0f, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>SDL_Rect * </td>
|
||||
<td class="mdname" nowrap> <em>rect</em> = NULL</td>
|
||||
<td class="md" nowrap>float </td>
|
||||
<td class="mdname" nowrap> <em>green</em> = 0.0f, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>float </td>
|
||||
<td class="mdname" nowrap> <em>blue</em> = 0.0f, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>float </td>
|
||||
<td class="mdname" nowrap> <em>alpha</em> = 1.0f</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
@ -612,22 +554,55 @@ Turn RGBA values into SDL Uint32 color. (Alpha value will be ignored if not in u
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Clears a rectangle on screen to a color. <dl compact><dt><b>Parameters:</b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>color</em> </td><td>Color to clear surface to, defaults to black. </td></tr>
|
||||
<tr><td valign=top><em>rect</em> </td><td>Rectangle of screen to clear or NULL for entire surface. </td></tr>
|
||||
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>
|
||||
<tr><td valign=top><em>red</em> </td><td>
|
||||
Red component (0.0-1.0) of new color. </td></tr>
|
||||
<tr><td valign=top><em>green</em> </td><td>
|
||||
Green component (0.0-1.0) of new color. </td></tr>
|
||||
<tr><td valign=top><em>blue</em> </td><td>
|
||||
Blue component (0.0-1.0) of new color. </td></tr>
|
||||
<tr><td valign=top><em>alpha</em> </td><td>
|
||||
Alpha component (0.0-1.0) of new color. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</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">( </td>
|
||||
<td class="md" nowrap valign="top">Uint32 </td>
|
||||
<td class="mdname1" valign="top" nowrap> <em>milliseconds</em> </td>
|
||||
@ -648,11 +623,11 @@ Clears a rectangle on screen to a color. <dl compact><dt><b>Parameters:</b></dt>
|
||||
|
||||
<p>
|
||||
Freeze everything for given number of milliseconds. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>milliseconds</em> </td><td>Number of milliseconds to freeze. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>milliseconds</em> </td><td>
|
||||
Number of milliseconds to freeze. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
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. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
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. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<p>
|
||||
Find out if engine timer is paused. <dl compact><dt><b>Returns:</b></dt><dd>Paused State of engine. </dd></dl>
|
||||
</td>
|
||||
Find out if engine timer is paused. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Paused State of engine. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
Function to find out if application currently has focus. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
bool telling active/inactive state of application. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a15" doxytag="ZE::ZEngine::RequestQuit"></a><p>
|
||||
@ -880,8 +855,8 @@ Tell the engine that it should behave as if a Quit was requested, does not call
|
||||
<td>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
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. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<p>
|
||||
Function returns true/false based on if key is pressed or not. <dl compact><dt><b>Parameters:</b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>key</em> </td><td>code of key to find status of. </td></tr>
|
||||
Function returns true/false based on if key is <u>currently</u> pressed or not. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>key</em> </td><td>
|
||||
code of key to find status of. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>bool state of requested key. </dd></dl>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
bool state of requested key. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
@ -1000,17 +975,17 @@ Show the system mouse cursor. </td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Find X Position of Mouse on screen. <dl compact><dt><b>Returns:</b></dt><dd>X Position of Mouse. </dd></dl>
|
||||
</td>
|
||||
Find X Position of Mouse on screen. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
X Position of Mouse. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
@ -1029,8 +1004,8 @@ Find X Position of Mouse on screen. <dl compact><dt><b>Returns:</b></dt><dd>X Po
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Find Y Position of Mouse on screen. <dl compact><dt><b>Returns:</b></dt><dd>Y Position of Mouse. </dd></dl>
|
||||
</td>
|
||||
Find Y Position of Mouse on screen. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Y Position of Mouse. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
Get pressed status of left button of mouse. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
true if left button is pressed, false otherwise. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
Get pressed status of right button of mouse. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
true if right button is pressed, false otherwise. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a24" doxytag="ZE::ZEngine::MouseInRect"></a><p>
|
||||
@ -1118,12 +1093,12 @@ Get pressed status of right button of mouse. <dl compact><dt><b>Returns:</b></dt
|
||||
|
||||
<p>
|
||||
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">
|
||||
<tr><td valign=top><em>rect</em> </td><td>Rectangle to check if mouse is in. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>rect</em> </td><td>
|
||||
Rectangle to check if mouse is in. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>true if mouse is in rectangle, false otherwise </dd></dl>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
true if mouse is in rectangle, false otherwise </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="md" nowrap valign="top">string </td>
|
||||
<td class="mdname1" valign="top" nowrap> <em>filename</em> </td>
|
||||
@ -1180,56 +1155,22 @@ Cycle through event queue, processing events, updating all Event Related variabl
|
||||
<td>
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>filename</em> </td><td>path to file to load. </td></tr>
|
||||
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>
|
||||
<tr><td valign=top><em>filename</em> </td><td>
|
||||
path to file to load. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<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>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
A SDL_Surface pointer to data. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> void ZE::ZEngine::FreeImage </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top"><a class="el" href="classZE_1_1ImageData.html">ImageData</a> & </td>
|
||||
<td class="mdname1" valign="top" nowrap> <em>image</em> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</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> </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" nowrap valign="top"> Mix_Chunk* ZE::ZEngine::LoadSound </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">string </td>
|
||||
<td class="mdname1" valign="top" nowrap> <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>
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>filename</em> </td><td>path to file to load. </td></tr>
|
||||
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>
|
||||
<tr><td valign=top><em>filename</em> </td><td>
|
||||
path to file to load. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<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>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
A Mix_Chunk pointer to data. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> void ZE::ZEngine::FreeSound </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top"><a class="el" href="classZE_1_1SoundData.html">SoundData</a> & </td>
|
||||
<td class="mdname1" valign="top" nowrap> <em>sound</em> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</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> </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" nowrap valign="top"> Mix_Music* ZE::ZEngine::LoadMusic </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">string </td>
|
||||
<td class="mdname1" valign="top" nowrap> <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>
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>filename</em> </td><td>path to file to load. </td></tr>
|
||||
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>
|
||||
<tr><td valign=top><em>filename</em> </td><td>
|
||||
path to file to load. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<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>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
A Mix_Music pointer to data. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> void ZE::ZEngine::FreeMusic </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top"><a class="el" href="classZE_1_1MusicData.html">MusicData</a> & </td>
|
||||
<td class="mdname1" valign="top" nowrap> <em>music</em> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</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> </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" nowrap valign="top"> TTF_Font* ZE::ZEngine::LoadFont </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">string </td>
|
||||
<td class="mdname" nowrap> <em>filename</em>, </td>
|
||||
@ -1396,57 +1269,24 @@ Free memory of Music in a <a class="el" href="classZE_1_1MusicData.html">MusicDa
|
||||
<td>
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>filename</em> </td><td>path to file to load. </td></tr>
|
||||
<tr><td valign=top><em>size</em> </td><td>point size of font </td></tr>
|
||||
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>
|
||||
<tr><td valign=top><em>filename</em> </td><td>
|
||||
path to file to load. </td></tr>
|
||||
<tr><td valign=top><em>size</em> </td><td>
|
||||
point size of font </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<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>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
A TTF_Font pointer to data. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> void ZE::ZEngine::FreeFont </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top"><a class="el" href="classZE_1_1FontData.html">FontData</a> & </td>
|
||||
<td class="mdname1" valign="top" nowrap> <em>font</em> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</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> </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" nowrap valign="top"> int ZE::ZEngine::Width </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
@ -1465,17 +1305,17 @@ Free memory of a Font in a <a class="el" href="classZE_1_1FontData.html">FontDat
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Get Width of Window or Fullscreen mode. <dl compact><dt><b>Returns:</b></dt><dd>Width of Display. </dd></dl>
|
||||
</td>
|
||||
Get Width of Window or Fullscreen mode. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Width of Display. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
@ -1494,17 +1334,17 @@ Get Width of Window or Fullscreen mode. <dl compact><dt><b>Returns:</b></dt><dd>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Get Height of Window or Fullscreen mode. <dl compact><dt><b>Returns:</b></dt><dd>Height of Display. </dd></dl>
|
||||
</td>
|
||||
Get Height of Window or Fullscreen mode. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Height of Display. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
@ -1523,11 +1363,11 @@ Get Height of Window or Fullscreen mode. <dl compact><dt><b>Returns:</b></dt><dd
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Get BPP of Window or Fullscreen mode. <dl compact><dt><b>Returns:</b></dt><dd>BPP of Display. </dd></dl>
|
||||
</td>
|
||||
Get BPP of Window or Fullscreen mode. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
BPP of Display. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
@ -1552,15 +1392,15 @@ Get BPP of Window or Fullscreen mode. <dl compact><dt><b>Returns:</b></dt><dd>BP
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Get Fullscreen setting of Display. <dl compact><dt><b>Returns:</b></dt><dd>True if Fullscreen, False if Windowed </dd></dl>
|
||||
</td>
|
||||
Get Fullscreen setting of Display. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
True if Fullscreen, False if Windowed </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by
|
||||
<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 Sun Dec 1 02:44:14 2002 for ZEngine by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,38 +3,39 @@
|
||||
<title>Member List</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a6">DrawShadedText</a>(string text, ZImage &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 &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#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#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#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#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#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#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#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#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#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_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#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#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#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#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_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>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<title>ZE::ZFont class Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>ZE::ZFont Class Reference</h1><code>#include <<a class="el" href="ZE__ZFont_8h-source.html">ZE_ZFont.h</a>></code>
|
||||
@ -46,23 +46,26 @@ Inherits <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>.
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a14">IsUnderlined</a> ()</td></tr>
|
||||
<tr><td> </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 </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a15">Height</a> ()</td></tr>
|
||||
<tr><td> </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 </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a16">LineSkip</a> ()</td></tr>
|
||||
<tr><td> </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 </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a17">StringWidth</a> (string text)</td></tr>
|
||||
<tr><td> </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 </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a18">StringHeight</a> (string text)</td></tr>
|
||||
<tr><td> </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 nowrap align=right valign=top><a name="n0" doxytag="ZE::ZFont::rFont"></a>
|
||||
<a class="el" href="classZE_1_1FontData.html">FontData</a> </td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n0">rFont</a></td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class containing font and filename.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="n1" doxytag="ZE::ZFont::rColor"></a>
|
||||
SDL_Color </td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n1">rColor</a></td></tr>
|
||||
TTF_Font * </td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n0">rFont</a></td></tr>
|
||||
<tr><td> </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::rFilename"></a>
|
||||
string </td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n1">rFilename</a></td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n2">rColor</a></td></tr>
|
||||
<tr><td> </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>
|
||||
SDL_Color </td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n2">rBGColor</a></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="n3" doxytag="ZE::ZFont::rBGColor"></a>
|
||||
SDL_Color </td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n3">rBGColor</a></td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>SDL_Color for background color to be used in shaded draws.</em></font><br><br></td></tr>
|
||||
</table>
|
||||
<hr><h2>Constructor & Destructor Documentation</h2>
|
||||
@ -130,12 +133,13 @@ Default Constructor, does nothing. </td>
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>filename</em> </td><td>Font to open. </td></tr>
|
||||
<tr><td valign=top><em>size</em> </td><td>Size to use for font. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>filename</em> </td><td>
|
||||
Font to open. </td></tr>
|
||||
<tr><td valign=top><em>size</em> </td><td>
|
||||
Size to use for font. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a2" doxytag="ZE::ZFont::~ZFont"></a><p>
|
||||
@ -203,12 +207,13 @@ Destructor calls <a class="el" href="classZE_1_1ZFont.html#a4">ZFont::Release()<
|
||||
|
||||
<p>
|
||||
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">
|
||||
<tr><td valign=top><em>filename</em> </td><td>Font to open. </td></tr>
|
||||
<tr><td valign=top><em>size</em> </td><td>Size to use for font. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>filename</em> </td><td>
|
||||
Font to open. </td></tr>
|
||||
<tr><td valign=top><em>size</em> </td><td>
|
||||
Size to use for font. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a4" doxytag="ZE::ZFont::Release"></a><p>
|
||||
@ -275,12 +280,13 @@ Release memory held by font. </td>
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>text</em> </td><td>String to write. </td></tr>
|
||||
<tr><td valign=top><em>image</em> </td><td><a class="el" href="classZE_1_1ZImage.html">ZImage</a> to draw to. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>text</em> </td><td>
|
||||
String to write. </td></tr>
|
||||
<tr><td valign=top><em>image</em> </td><td>
|
||||
<a class="el" href="classZE_1_1ZImage.html">ZImage</a> to draw to. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a6" doxytag="ZE::ZFont::DrawShadedText"></a><p>
|
||||
@ -319,12 +325,13 @@ Draw to a surface in specified color and associate that surface with a <a class=
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>text</em> </td><td>String to write. </td></tr>
|
||||
<tr><td valign=top><em>image</em> </td><td><a class="el" href="classZE_1_1ZImage.html">ZImage</a> to draw to. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>text</em> </td><td>
|
||||
String to write. </td></tr>
|
||||
<tr><td valign=top><em>image</em> </td><td>
|
||||
<a class="el" href="classZE_1_1ZImage.html">ZImage</a> to draw to. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a7" doxytag="ZE::ZFont::SetColor"></a><p>
|
||||
@ -369,13 +376,15 @@ Draw to a surface a string with a background of rBGColor and lettering in the no
|
||||
|
||||
<p>
|
||||
Set rColor of Text Output. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>r</em> </td><td>Red component of color (0-255). </td></tr>
|
||||
<tr><td valign=top><em>g</em> </td><td>Green component of color (0-255). </td></tr>
|
||||
<tr><td valign=top><em>b</em> </td><td>Blue component of color (0-255). </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>r</em> </td><td>
|
||||
Red component of color (0-255). </td></tr>
|
||||
<tr><td valign=top><em>g</em> </td><td>
|
||||
Green component of color (0-255). </td></tr>
|
||||
<tr><td valign=top><em>b</em> </td><td>
|
||||
Blue component of color (0-255). </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a8" doxytag="ZE::ZFont::SetBGColor"></a><p>
|
||||
@ -420,13 +429,15 @@ Set rColor of Text Output. <dl compact><dt><b>Parameters:</b></dt><dd>
|
||||
|
||||
<p>
|
||||
Set rColor of Background for Shaded Draw. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>r</em> </td><td>Red component of color (0-255). </td></tr>
|
||||
<tr><td valign=top><em>g</em> </td><td>Green component of color (0-255). </td></tr>
|
||||
<tr><td valign=top><em>b</em> </td><td>Blue component of color (0-255). </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>r</em> </td><td>
|
||||
Red component of color (0-255). </td></tr>
|
||||
<tr><td valign=top><em>g</em> </td><td>
|
||||
Green component of color (0-255). </td></tr>
|
||||
<tr><td valign=top><em>b</em> </td><td>
|
||||
Blue component of color (0-255). </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a9" doxytag="ZE::ZFont::SetStyle"></a><p>
|
||||
@ -471,13 +482,15 @@ Set rColor of Background for Shaded Draw. <dl compact><dt><b>Parameters:</b></dt
|
||||
|
||||
<p>
|
||||
Set display format (bold, italic, underline). <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>bold</em> </td><td>Decides bold setting of font. </td></tr>
|
||||
<tr><td valign=top><em>italic</em> </td><td>Decides italic setting of font. </td></tr>
|
||||
<tr><td valign=top><em>underline</em> </td><td>Decides underline setting of font. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>bold</em> </td><td>
|
||||
Decides bold setting of font. </td></tr>
|
||||
<tr><td valign=top><em>italic</em> </td><td>
|
||||
Decides italic setting of font. </td></tr>
|
||||
<tr><td valign=top><em>underline</em> </td><td>
|
||||
Decides underline setting of font. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a10" doxytag="ZE::ZFont::Resize"></a><p>
|
||||
@ -507,11 +520,11 @@ Set display format (bold, italic, underline). <dl compact><dt><b>Parameters:</b>
|
||||
|
||||
<p>
|
||||
Release and Reopen font in new size. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>size</em> </td><td>New size for font. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>size</em> </td><td>
|
||||
New size for font. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
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. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<p>
|
||||
Check if font output is currently bold. <dl compact><dt><b>Returns:</b></dt><dd>True or False state of bold. </dd></dl>
|
||||
</td>
|
||||
Check if font output is currently bold. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
True or False state of bold. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<p>
|
||||
Check if font output is currently italic. <dl compact><dt><b>Returns:</b></dt><dd>True or False state of italic. </dd></dl>
|
||||
</td>
|
||||
Check if font output is currently italic. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
True or False state of italic. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<p>
|
||||
Check if font output is currently underline. <dl compact><dt><b>Returns:</b></dt><dd>True or False state of underline. </dd></dl>
|
||||
</td>
|
||||
Check if font output is currently underline. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
True or False state of underline. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
@ -655,17 +668,17 @@ Check if font output is currently underline. <dl compact><dt><b>Returns:</b></dt
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Check font height as reported by SDL_ttf. <dl compact><dt><b>Returns:</b></dt><dd>Height of font. </dd></dl>
|
||||
</td>
|
||||
Check font height as reported by SDL_ttf. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Height of font. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
@ -684,17 +697,17 @@ Check font height as reported by SDL_ttf. <dl compact><dt><b>Returns:</b></dt><d
|
||||
<td>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
Check font line skip as reported by SDL_ttf. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Recommended Line Skip of font. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="md" nowrap valign="top">string </td>
|
||||
<td class="mdname1" valign="top" nowrap> <em>text</em> </td>
|
||||
@ -715,21 +728,21 @@ Check font line skip as reported by SDL_ttf. <dl compact><dt><b>Returns:</b></dt
|
||||
|
||||
<p>
|
||||
Get Width of String in Current Font in Pixels. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>text</em> </td><td>String to get width of. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>text</em> </td><td>
|
||||
String to get width of. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>Width of String in Current font. </dd></dl>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Width of String in Current font. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="md" nowrap valign="top">string </td>
|
||||
<td class="mdname1" valign="top" nowrap> <em>text</em> </td>
|
||||
@ -750,19 +763,19 @@ Get Width of String in Current Font in Pixels. <dl compact><dt><b>Parameters:</b
|
||||
|
||||
<p>
|
||||
Get Height of String in Current Font in Pixels. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>text</em> </td><td>String to get height of. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>text</em> </td><td>
|
||||
String to get height of. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>Height of String in Current font. </dd></dl>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Height of String in Current font. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by
|
||||
<li>/include/<a class="el" href="ZE__ZFont_8h-source.html">ZE_ZFont.h</a></ul>
|
||||
<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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,24 +3,28 @@
|
||||
<title>Member List</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
<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#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#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#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#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#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">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#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#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_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#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#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#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#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#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#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>
|
||||
@ -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_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>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<title>ZE::ZImage class Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>ZE::ZImage Class Reference</h1><code>#include <<a class="el" href="ZE__ZImage_8h-source.html">ZE_ZImage.h</a>></code>
|
||||
@ -34,26 +34,39 @@ Inherits <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>.
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a8">Release</a> ()</td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a9">SetAlpha</a> (Uint8 alpha)</td></tr>
|
||||
<tr><td> </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 nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a10">SetColorKey</a> (Uint32 color)</td></tr>
|
||||
<tr><td> </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 nowrap align=right valign=top>void </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 </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> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a10">Bind</a> ()</td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a11">Draw</a> (int x, int y)</td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a12">IsLoaded</a> ()</td></tr>
|
||||
<tr><td> </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 * </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 * </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a13">Surface</a> ()</td></tr>
|
||||
<tr><td> </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 </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a14">Width</a> ()</td></tr>
|
||||
<tr><td> </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 </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a15">Height</a> ()</td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a16">GetFilename</a> ()</td></tr>
|
||||
<tr><td> </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 nowrap align=right valign=top><a name="n0" doxytag="ZE::ZImage::rImage"></a>
|
||||
<a class="el" href="classZE_1_1ImageData.html">ImageData</a> </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#n0">rImage</a></td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class containing image and filename.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="n0" doxytag="ZE::ZImage::rTexMaxX"></a>
|
||||
GLfloat </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#n0">rTexMaxX</a></td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#n1">rTexMaxY</a></td></tr>
|
||||
<tr><td> </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 * </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#n2">rImage</a></td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#n3">rTexID</a></td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#n4">rWidth</a></td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#n5">rHeight</a></td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Current draw height of Texture.</em></font><br><br></td></tr>
|
||||
</table>
|
||||
<hr><h2>Constructor & Destructor Documentation</h2>
|
||||
<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>
|
||||
|
||||
<p>
|
||||
Default Constructor, does nothing. </td>
|
||||
Default Constructor, initializes variables. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a1" doxytag="ZE::ZImage::ZImage"></a><p>
|
||||
@ -111,11 +124,11 @@ Default Constructor, does nothing. </td>
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>filename</em> </td><td>File to open as rImage. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>filename</em> </td><td>
|
||||
File to open as rImage. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a2" doxytag="ZE::ZImage::ZImage"></a><p>
|
||||
@ -145,11 +158,11 @@ Constructor is same as calling <a class="el" href="classZE_1_1ZImage.html#a5">ZI
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>surface</em> </td><td>SDL_Surface* to use as rImage. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>surface</em> </td><td>
|
||||
SDL_Surface* to use as rImage. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<p>
|
||||
Constructor is same as calling <a class="el" href="classZE_1_1ZImage.html#a6">ZImage::OpenFromImage</a>.
|
||||
<p>
|
||||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>img</em> </td><td>Image to take new image from. </td></tr>
|
||||
<tr><td valign=top><em>x</em> </td><td>X Coordinate in source of top left corner. </td></tr>
|
||||
<tr><td valign=top><em>y</em> </td><td>Y Coordinate in source of top left corner. </td></tr>
|
||||
<tr><td valign=top><em>w</em> </td><td>Width of new image. </td></tr>
|
||||
<tr><td valign=top><em>h</em> </td><td>Height of new image. </td></tr>
|
||||
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>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>img</em> </td><td>
|
||||
Image to take new image from. </td></tr>
|
||||
<tr><td valign=top><em>x</em> </td><td>
|
||||
X Coordinate in source of top left corner. </td></tr>
|
||||
<tr><td valign=top><em>y</em> </td><td>
|
||||
Y Coordinate in source of top left corner. </td></tr>
|
||||
<tr><td valign=top><em>w</em> </td><td>
|
||||
Width of new image. </td></tr>
|
||||
<tr><td valign=top><em>h</em> </td><td>
|
||||
Height of new image. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a4" doxytag="ZE::ZImage::~ZImage"></a><p>
|
||||
@ -275,11 +290,11 @@ Destructor calls <a class="el" href="classZE_1_1ZImage.html#a8">ZImage::Release(
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>filename</em> </td><td>File to open as rImage. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>filename</em> </td><td>
|
||||
File to open as rImage. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<p>
|
||||
Cut part of an SDL_Surface to create a new Image.
|
||||
<p>
|
||||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>img</em> </td><td>Image to take new image from. </td></tr>
|
||||
<tr><td valign=top><em>x</em> </td><td>X Coordinate in source of top left corner. </td></tr>
|
||||
<tr><td valign=top><em>y</em> </td><td>Y Coordinate in source of top left corner. </td></tr>
|
||||
<tr><td valign=top><em>w</em> </td><td>Width of new image. </td></tr>
|
||||
<tr><td valign=top><em>h</em> </td><td>Height of new image. </td></tr>
|
||||
Cut part of an SDL_Surface to create a new Image.<dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>img</em> </td><td>
|
||||
Image to take new image from. </td></tr>
|
||||
<tr><td valign=top><em>x</em> </td><td>
|
||||
X Coordinate in source of top left corner. </td></tr>
|
||||
<tr><td valign=top><em>y</em> </td><td>
|
||||
Y Coordinate in source of top left corner. </td></tr>
|
||||
<tr><td valign=top><em>w</em> </td><td>
|
||||
Width of new image. </td></tr>
|
||||
<tr><td valign=top><em>h</em> </td><td>
|
||||
Height of new image. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a7" doxytag="ZE::ZImage::Attach"></a><p>
|
||||
@ -376,11 +393,11 @@ Cut part of an SDL_Surface to create a new Image.
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>surface</em> </td><td>SDL_Surface* to use as rImage. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>surface</em> </td><td>
|
||||
SDL_Surface* to use as rImage. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a9" doxytag="ZE::ZImage::SetAlpha"></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">( </td>
|
||||
<td class="md" nowrap valign="top">Uint8 </td>
|
||||
<td class="mdname1" valign="top" nowrap> <em>alpha</em> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</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> </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>
|
||||
<a name="a9" doxytag="ZE::ZImage::SetColorKey"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
@ -453,10 +436,25 @@ Set Alpha channel of an Image, only used in 32 bit mode. <dl compact><dt><b>Para
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> void ZE::ZImage::SetColorKey </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">Uint32 </td>
|
||||
<td class="mdname1" valign="top" nowrap> <em>color</em> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap></td>
|
||||
<td class="md" nowrap valign="top">Uint8 </td>
|
||||
<td class="mdname" nowrap> <em>red</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>Uint8 </td>
|
||||
<td class="mdname" nowrap> <em>green</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>Uint8 </td>
|
||||
<td class="mdname" nowrap> <em>blue</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="md">) </td>
|
||||
<td class="md" colspan="2"></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
@ -472,13 +470,45 @@ Set Alpha channel of an Image, only used in 32 bit mode. <dl compact><dt><b>Para
|
||||
|
||||
<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>color</em> </td><td>Uint32 color describing color to use as transparent. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>red</em> </td><td>
|
||||
Red component of colorkey (0-255). </td></tr>
|
||||
<tr><td valign=top><em>green</em> </td><td>
|
||||
Green component of colorkey (0-255). </td></tr>
|
||||
<tr><td valign=top><em>blue</em> </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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
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>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a11" doxytag="ZE::ZImage::Draw"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
@ -487,13 +517,13 @@ Set color which will not be drawn in image. <dl compact><dt><b>Parameters:</b></
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> void ZE::ZImage::Draw </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">Sint16 </td>
|
||||
<td class="md" nowrap valign="top">int </td>
|
||||
<td class="mdname" nowrap> <em>x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>Sint16 </td>
|
||||
<td class="md" nowrap>int </td>
|
||||
<td class="mdname" nowrap> <em>y</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -515,12 +545,13 @@ Set color which will not be drawn in image. <dl compact><dt><b>Parameters:</b></
|
||||
|
||||
<p>
|
||||
Draw Image to screen at specified location. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>x</em> </td><td>X coord to draw Image to. </td></tr>
|
||||
<tr><td valign=top><em>y</em> </td><td>Y coord to draw Image to. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>x</em> </td><td>
|
||||
X coord to draw Image to. </td></tr>
|
||||
<tr><td valign=top><em>y</em> </td><td>
|
||||
Y coord to draw Image to. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
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. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
@ -577,17 +608,17 @@ Check if file is loaded and pointer to data is non-NULL. <dl compact><dt><b>Retu
|
||||
<td>
|
||||
|
||||
<p>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>SDL_Surface* of rImage. </dd></dl>
|
||||
</td>
|
||||
<dl compact><dt><b>Returns: </b></dt><dd>
|
||||
SDL_Surface* of rImage. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
@ -606,17 +637,17 @@ Check if file is loaded and pointer to data is non-NULL. <dl compact><dt><b>Retu
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Get Width of Image. <dl compact><dt><b>Returns:</b></dt><dd>Image Width. </dd></dl>
|
||||
</td>
|
||||
Get Current Width of Image. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Image Width. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
@ -635,44 +666,15 @@ Get Width of Image. <dl compact><dt><b>Returns:</b></dt><dd>Image Width. </dd></
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Get Height of Image. <dl compact><dt><b>Returns:</b></dt><dd>Image Height. </dd></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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</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>
|
||||
Get Current Height of Image. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Image Height. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by
|
||||
<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 Sun Dec 1 02:44:14 2002 for ZEngine by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,11 +3,10 @@
|
||||
<title>Member List</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
<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#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>
|
||||
@ -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#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#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#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_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>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<title>ZE::ZMusic class Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>ZE::ZMusic Class Reference</h1><code>#include <<a class="el" href="ZE__ZMusic_8h-source.html">ZE_ZMusic.h</a>></code>
|
||||
@ -44,7 +44,7 @@ Inherits <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>.
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a13">IsPaused</a> ()</td></tr>
|
||||
<tr><td> </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 </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a14">Volume</a> ()</td></tr>
|
||||
<tr><td> </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 nowrap align=right valign=top><a name="p0" doxytag="ZE::ZMusic::LoopInfinite"></a>
|
||||
@ -52,8 +52,8 @@ const int </td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html
|
||||
<tr><td> </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 nowrap align=right valign=top><a name="n0" doxytag="ZE::ZMusic::rMusic"></a>
|
||||
<a class="el" href="classZE_1_1MusicData.html">MusicData</a> </td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#n0">rMusic</a></td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class containing music data and music filename.</em></font><br><br></td></tr>
|
||||
Mix_Music * </td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#n0">rMusic</a></td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Pointer to music data.</em></font><br><br></td></tr>
|
||||
</table>
|
||||
<hr><h2>Constructor & Destructor Documentation</h2>
|
||||
<a name="a0" doxytag="ZE::ZMusic::ZMusic"></a><p>
|
||||
@ -111,11 +111,11 @@ Default Constructor, does nothing. </td>
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>filename</em> </td><td>Music to open. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>filename</em> </td><td>
|
||||
Music to open. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a2" doxytag="ZE::ZMusic::~ZMusic"></a><p>
|
||||
@ -174,11 +174,11 @@ Destructor calls <a class="el" href="classZE_1_1ZMusic.html#a4">ZMusic::Release(
|
||||
|
||||
<p>
|
||||
Open a music file to be used. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>filename</em> </td><td>Music to open. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>filename</em> </td><td>
|
||||
Music to open. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a4" doxytag="ZE::ZMusic::Release"></a><p>
|
||||
@ -245,12 +245,13 @@ Release memory held by music data. </td>
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>loopNum</em> </td><td>Number of times to loop song, defaults to zero. </td></tr>
|
||||
<tr><td valign=top><em>fadeTime</em> </td><td>Milliseconds to fade to full volume, defaults to zero for no fade. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>loopNum</em> </td><td>
|
||||
Number of times to loop song, defaults to zero. </td></tr>
|
||||
<tr><td valign=top><em>fadeTime</em> </td><td>
|
||||
Milliseconds to fade to full volume, defaults to zero for no fade. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a6" doxytag="ZE::ZMusic::Pause"></a><p>
|
||||
@ -364,11 +365,11 @@ Rewind music to beginning. </td>
|
||||
|
||||
<p>
|
||||
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">
|
||||
<tr><td valign=top><em>fadeTime</em> </td><td>Milliseconds to fade out over, defaults to zero for immediate stop. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>fadeTime</em> </td><td>
|
||||
Milliseconds to fade out over, defaults to zero for immediate stop. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a10" doxytag="ZE::ZMusic::SetVolume"></a><p>
|
||||
@ -398,11 +399,11 @@ Stop currently playing music, if fadeTime is not zero, fade out over specified t
|
||||
|
||||
<p>
|
||||
Change volume of currently playing music. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>volume</em> </td><td>Volume to change to, can be in a range from 0 to 128 </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>volume</em> </td><td>
|
||||
Volume to change to, can be in a range from 0 to 128 </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
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. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
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. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
Check if music is "playing" but currently paused. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Paused / Not Paused State of Music. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
@ -517,15 +518,15 @@ Check if music is "playing" but currently paused. <dl compact><dt><b>Returns:</b
|
||||
<td>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
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. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by
|
||||
<li>/include/<a class="el" href="ZE__ZMusic_8h-source.html">ZE_ZMusic.h</a></ul>
|
||||
<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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,16 +3,16 @@
|
||||
<title>Member List</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
<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#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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<title>ZE::ZObject class Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>ZE::ZObject Class Reference</h1><code>#include <<a class="el" href="ZE__ZObject_8h-source.html">ZE_ZObject.h</a>></code>
|
||||
@ -83,10 +83,10 @@ This is the base class from which all <a class="el" href="classZE_1_1ZEngine.htm
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by
|
||||
<li>/include/<a class="el" href="ZE__ZObject_8h-source.html">ZE_ZObject.h</a></ul>
|
||||
<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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<title>Member List</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
@ -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#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 &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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<title>ZE::ZRect class Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>ZE::ZRect Class Reference</h1><code>#include <<a class="el" href="ZE__ZRect_8h-source.html">ZE_ZRect.h</a>></code>
|
||||
@ -149,14 +149,17 @@ Default constructor, initializes all values to zero. </td>
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>x</em> </td><td>Value for x position. </td></tr>
|
||||
<tr><td valign=top><em>y</em> </td><td>Value for y position. </td></tr>
|
||||
<tr><td valign=top><em>width</em> </td><td>Value for width. </td></tr>
|
||||
<tr><td valign=top><em>height</em> </td><td>Value for height. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>x</em> </td><td>
|
||||
Value for x position. </td></tr>
|
||||
<tr><td valign=top><em>y</em> </td><td>
|
||||
Value for y position. </td></tr>
|
||||
<tr><td valign=top><em>width</em> </td><td>
|
||||
Value for width. </td></tr>
|
||||
<tr><td valign=top><em>height</em> </td><td>
|
||||
Value for height. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a2" doxytag="ZE::ZRect::ZRect"></a><p>
|
||||
@ -186,11 +189,11 @@ Constructor for <a class="el" href="classZE_1_1ZRect.html">ZRect</a> that takes
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>rhs</em> </td><td>Rectangle to construct from. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>rhs</em> </td><td>
|
||||
Rectangle to construct from. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr><h2>Member Function Documentation</h2>
|
||||
@ -221,12 +224,12 @@ Takes a <a class="el" href="classZE_1_1ZRect.html">ZRect</a> and constructs a ne
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>rhs</em> </td><td>Rectangle to copy values from. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>rhs</em> </td><td>
|
||||
Rectangle to copy values from. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>New value of the <a class="el" href="classZE_1_1ZRect.html">ZRect</a>. </dd></dl>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
New value of the <a class="el" href="classZE_1_1ZRect.html">ZRect</a>. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a4" doxytag="ZE::ZRect::operator<"></a><p>
|
||||
@ -256,12 +259,12 @@ Copies all values from one <a class="el" href="classZE_1_1ZRect.html">ZRect</a>
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>rhs</em> </td><td>Rectangle to compare. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>rhs</em> </td><td>
|
||||
Rectangle to compare. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>True if this rectangle is smaller than the rhs rectangle, false otherwise. </dd></dl>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
True if this rectangle is smaller than the rhs rectangle, false otherwise. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a5" doxytag="ZE::ZRect::Move"></a><p>
|
||||
@ -300,12 +303,13 @@ Rectangles are sorted by y value, followed by x value, if they start at the same
|
||||
|
||||
<p>
|
||||
Changes the current x,y position of the rectangle. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>x</em> </td><td>New x position for rectangle. </td></tr>
|
||||
<tr><td valign=top><em>y</em> </td><td>New y position for rectangle. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>x</em> </td><td>
|
||||
New x position for rectangle. </td></tr>
|
||||
<tr><td valign=top><em>y</em> </td><td>
|
||||
New y position for rectangle. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a6" doxytag="ZE::ZRect::MoveRel"></a><p>
|
||||
@ -344,12 +348,13 @@ Changes the current x,y position of the rectangle. <dl compact><dt><b>Parameters
|
||||
|
||||
<p>
|
||||
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">
|
||||
<tr><td valign=top><em>xMove</em> </td><td>Offset for new x position from current. </td></tr>
|
||||
<tr><td valign=top><em>yMove</em> </td><td>Offset for new y position from current. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>xMove</em> </td><td>
|
||||
Offset for new x position from current. </td></tr>
|
||||
<tr><td valign=top><em>yMove</em> </td><td>
|
||||
Offset for new y position from current. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a7" doxytag="ZE::ZRect::Resize"></a><p>
|
||||
@ -388,12 +393,13 @@ Changes the current x,y position of the rectangle relative to the current locati
|
||||
|
||||
<p>
|
||||
Changes the current width and height of the rectangle. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>width</em> </td><td>New width for rectangle. </td></tr>
|
||||
<tr><td valign=top><em>height</em> </td><td>New height for rectangle. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>width</em> </td><td>
|
||||
New width for rectangle. </td></tr>
|
||||
<tr><td valign=top><em>height</em> </td><td>
|
||||
New height for rectangle. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a8" doxytag="ZE::ZRect::ResizeRel"></a><p>
|
||||
@ -432,12 +438,13 @@ Changes the current width and height of the rectangle. <dl compact><dt><b>Parame
|
||||
|
||||
<p>
|
||||
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">
|
||||
<tr><td valign=top><em>widthChange</em> </td><td>Amount to add or subtract from width. </td></tr>
|
||||
<tr><td valign=top><em>heightChange</em> </td><td>Amount to add or subtract from height. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>widthChange</em> </td><td>
|
||||
Amount to add or subtract from width. </td></tr>
|
||||
<tr><td valign=top><em>heightChange</em> </td><td>
|
||||
Amount to add or subtract from height. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a9" doxytag="ZE::ZRect::Intersects"></a><p>
|
||||
@ -467,12 +474,12 @@ Changes the current width and height of the rectangle based upon current values.
|
||||
|
||||
<p>
|
||||
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">
|
||||
<tr><td valign=top><em>rect</em> </td><td>Rectangle to check for intersection with. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>rect</em> </td><td>
|
||||
Rectangle to check for intersection with. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>True if intersection occured, false otherwise. </dd></dl>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
True if intersection occured, false otherwise. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a10" doxytag="ZE::ZRect::Contains"></a><p>
|
||||
@ -511,13 +518,14 @@ Checks for overlap and returns boolean value based on if overlap exists. <dl com
|
||||
|
||||
<p>
|
||||
Checks point against boundaries of rectangle and returns result. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>x</em> </td><td>X value of point to check. </td></tr>
|
||||
<tr><td valign=top><em>y</em> </td><td>Y value of poitn to check. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>x</em> </td><td>
|
||||
X value of point to check. </td></tr>
|
||||
<tr><td valign=top><em>y</em> </td><td>
|
||||
Y value of poitn to check. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>Boolean variable, true if point is inside rectangle, false otherwise. </dd></dl>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Boolean variable, true if point is inside rectangle, false otherwise. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a11" doxytag="ZE::ZRect::Contains"></a><p>
|
||||
@ -547,12 +555,12 @@ Checks point against boundaries of rectangle and returns result. <dl compact><dt
|
||||
|
||||
<p>
|
||||
Checks point against boundaries of rectangle and returns result. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>rect</em> </td><td>Rectangle to check for point. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>rect</em> </td><td>
|
||||
Rectangle to check for point. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>Boolean variable, true if point is inside rectangle, false otherwise. </dd></dl>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Boolean variable, true if point is inside rectangle, false otherwise. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a12" doxytag="ZE::ZRect::Intersection"></a><p>
|
||||
@ -582,12 +590,12 @@ Checks point against boundaries of rectangle and returns result. <dl compact><dt
|
||||
|
||||
<p>
|
||||
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">
|
||||
<tr><td valign=top><em>rect</em> </td><td>Rectangle to check intersection with. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>rect</em> </td><td>
|
||||
Rectangle to check intersection with. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd><a class="el" href="classZE_1_1ZRect.html">ZRect</a> describing intersection area. </dd></dl>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
<a class="el" href="classZE_1_1ZRect.html">ZRect</a> describing intersection area. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap> const</td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
@ -615,8 +623,8 @@ Checks for intersection, and returns rectangle where the two rectangles intersec
|
||||
<td>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
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>. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap> const</td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
@ -644,8 +652,8 @@ Makes a SDL_Rect representing the rectangle, for use where functions require an
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Access private X location member. <dl compact><dt><b>Returns:</b></dt><dd>Value of mX. </dd></dl>
|
||||
</td>
|
||||
Access private X location member. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Value of mX. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap> const</td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
@ -673,8 +681,8 @@ Access private X location member. <dl compact><dt><b>Returns:</b></dt><dd>Value
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Access private Y location member. <dl compact><dt><b>Returns:</b></dt><dd>Value of mY. </dd></dl>
|
||||
</td>
|
||||
Access private Y location member. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Value of mY. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap> const</td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
@ -702,8 +710,8 @@ Access private Y location member. <dl compact><dt><b>Returns:</b></dt><dd>Value
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Find X position of left side of rectangle. <dl compact><dt><b>Returns:</b></dt><dd>X position of left side. </dd></dl>
|
||||
</td>
|
||||
Find X position of left side of rectangle. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
X position of left side. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap> const</td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
@ -731,8 +739,8 @@ Find X position of left side of rectangle. <dl compact><dt><b>Returns:</b></dt><
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Find X position of right side of rectangle. <dl compact><dt><b>Returns:</b></dt><dd>X position of right side. </dd></dl>
|
||||
</td>
|
||||
Find X position of right side of rectangle. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
X position of right side. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap> const</td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
@ -760,8 +768,8 @@ Find X position of right side of rectangle. <dl compact><dt><b>Returns:</b></dt>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Find Y position of top side of rectangle. <dl compact><dt><b>Returns:</b></dt><dd>Y position of top side. </dd></dl>
|
||||
</td>
|
||||
Find Y position of top side of rectangle. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Y position of top side. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap> const</td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
@ -789,8 +797,8 @@ Find Y position of top side of rectangle. <dl compact><dt><b>Returns:</b></dt><d
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Find Y position of left side of rectangle. <dl compact><dt><b>Returns:</b></dt><dd>Y position of bottom side. </dd></dl>
|
||||
</td>
|
||||
Find Y position of left side of rectangle. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Y position of bottom side. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap> const</td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
@ -818,8 +826,8 @@ Find Y position of left side of rectangle. <dl compact><dt><b>Returns:</b></dt><
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Access private width member. <dl compact><dt><b>Returns:</b></dt><dd>Value of mWidth. </dd></dl>
|
||||
</td>
|
||||
Access private width member. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Value of mWidth. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap> const</td>
|
||||
<td class="md" nowrap></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
@ -847,15 +855,15 @@ Access private width member. <dl compact><dt><b>Returns:</b></dt><dd>Value of mW
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Access private height member. <dl compact><dt><b>Returns:</b></dt><dd>Value of mHeight. </dd></dl>
|
||||
</td>
|
||||
Access private height member. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Value of mHeight. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by
|
||||
<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 Sun Dec 1 02:44:14 2002 for ZEngine by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,11 +3,10 @@
|
||||
<title>Member List</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
<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#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>
|
||||
@ -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#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#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_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_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>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<title>ZE::ZSound class Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>ZE::ZSound Class Reference</h1><code>#include <<a class="el" href="ZE__ZSound_8h-source.html">ZE_ZSound.h</a>></code>
|
||||
@ -42,7 +42,7 @@ Inherits <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>.
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a12">IsPaused</a> ()</td></tr>
|
||||
<tr><td> </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 </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a13">Volume</a> ()</td></tr>
|
||||
<tr><td> </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 nowrap align=right valign=top><a name="p0" doxytag="ZE::ZSound::LoopInfinite"></a>
|
||||
@ -50,8 +50,8 @@ const int </td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html
|
||||
<tr><td> </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 nowrap align=right valign=top><a name="n0" doxytag="ZE::ZSound::rSound"></a>
|
||||
<a class="el" href="classZE_1_1SoundData.html">SoundData</a> </td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#n0">rSound</a></td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class containing music data and music filename.</em></font><br><br></td></tr>
|
||||
Mix_Chunk * </td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#n0">rSound</a></td></tr>
|
||||
<tr><td> </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>
|
||||
int </td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#n1">rChannelID</a></td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Channel ID Number from SDL_Mixer.</em></font><br><br></td></tr>
|
||||
@ -112,11 +112,11 @@ Default Constructor, does nothing. </td>
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>filename</em> </td><td>Sound effect to open. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>filename</em> </td><td>
|
||||
Sound effect to open. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a2" doxytag="ZE::ZSound::~ZSound"></a><p>
|
||||
@ -175,11 +175,11 @@ Destructor calls <a class="el" href="classZE_1_1ZSound.html#a4">ZSound::Release(
|
||||
|
||||
<p>
|
||||
Open a music file to be used. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>filename</em> </td><td>Music to open. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>filename</em> </td><td>
|
||||
Music to open. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a4" doxytag="ZE::ZSound::Release"></a><p>
|
||||
@ -246,12 +246,13 @@ Release memory held by sample data. </td>
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>loopNum</em> </td><td>Number of times to loop song, defaults to zero. </td></tr>
|
||||
<tr><td valign=top><em>fadeTime</em> </td><td>Milliseconds to fade to full volume, defaults to zero for no fade. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>loopNum</em> </td><td>
|
||||
Number of times to loop song, defaults to zero. </td></tr>
|
||||
<tr><td valign=top><em>fadeTime</em> </td><td>
|
||||
Milliseconds to fade to full volume, defaults to zero for no fade. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a6" doxytag="ZE::ZSound::Pause"></a><p>
|
||||
@ -337,11 +338,11 @@ Unpause currently playing sound. </td>
|
||||
|
||||
<p>
|
||||
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">
|
||||
<tr><td valign=top><em>fadeTime</em> </td><td>Milliseconds to fade out over, defaults to zero for immediate stop. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>fadeTime</em> </td><td>
|
||||
Milliseconds to fade out over, defaults to zero for immediate stop. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a9" doxytag="ZE::ZSound::SetVolume"></a><p>
|
||||
@ -371,11 +372,11 @@ Stop currently playing sound, if fadeTime is not zero, fade out over specified t
|
||||
|
||||
<p>
|
||||
Change volume of currently playing sample. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>volume</em> </td><td>Volume to change to, can be in a range from 0 to 128. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>volume</em> </td><td>
|
||||
Volume to change to, can be in a range from 0 to 128. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
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. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
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. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
Check if sound is "playing" but currently paused. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Paused / Not Paused State of Sound. </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<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">( </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
@ -490,15 +491,15 @@ Check if sound is "playing" but currently paused. <dl compact><dt><b>Returns:</b
|
||||
<td>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
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. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by
|
||||
<li>/include/<a class="el" href="ZE__ZSound_8h-source.html">ZE_ZSound.h</a></ul>
|
||||
<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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<title>Member List</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
@ -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_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>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<title>ZE::ZTimer class Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>ZE::ZTimer Class Reference</h1><code>#include <<a class="el" href="ZE__ZTimer_8h-source.html">ZE_ZTimer.h</a>></code>
|
||||
@ -73,11 +73,11 @@ Uint32 </td><td valign=bottom><a class="el" href="classZE_1_1ZTimer.html#n3
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>useZEngine</em> </td><td>Tells if timer should use <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> or SDL. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>useZEngine</em> </td><td>
|
||||
Tells if timer should use <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> or SDL. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr><h2>Member Function Documentation</h2>
|
||||
@ -106,8 +106,8 @@ Sets TimePaused to current <a class="el" href="classZE_1_1ZEngine.html">ZEngine<
|
||||
<td>
|
||||
|
||||
<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>
|
||||
</td>
|
||||
Protected method to get time from whichever timer is parent. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Time on parent timer. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a1" doxytag="ZE::ZTimer::Reset"></a><p>
|
||||
@ -219,8 +219,8 @@ Unpause the timer if it is paused. </td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Get current time accounting for time paused. <dl compact><dt><b>Returns:</b></dt><dd>Current Timer Time. </dd></dl>
|
||||
</td>
|
||||
Get current time accounting for time paused. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Current Timer Time. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<p>
|
||||
Find out paused state of timer. <dl compact><dt><b>Returns:</b></dt><dd>Paused state for timer. </dd></dl>
|
||||
</td>
|
||||
Find out paused state of timer. <dl compact><dt><b>Returns: </b></dt><dd>
|
||||
Paused state for timer. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by
|
||||
<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 Sun Dec 1 02:44:14 2002 for ZEngine by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,38 +3,39 @@
|
||||
<title>File Index</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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">/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__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__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__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__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__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__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__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__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="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/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>SDLGL_Util.h</b> <a href="SDLGL__Util_8h-source.html">[code]</a></td><td class="indexvalue"></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">/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__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__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__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__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__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__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>
|
||||
<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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,86 +3,69 @@
|
||||
<title>Compound Member Index</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>ZEngine Compound Members</h1><center>
|
||||
<a href="#index_a">a</a> | <a href="#index_b">b</a> | <a href="#index_c">c</a> | <a href="#index_d">d</a> | <a href="#index_f">f</a> | <a href="#index_g">g</a> | <a href="#index_h">h</a> | <a href="#index_i">i</a> | <a href="#index_k">k</a> | <a href="#index_l">l</a> | <a href="#index_m">m</a> | <a href="#index_o">o</a> | <a href="#index_p">p</a> | <a href="#index_q">q</a> | <a href="#index_r">r</a> | <a href="#index_s">s</a> | <a href="#index_t">t</a> | <a href="#index_u">u</a> | <a href="#index_w">w</a> | <a href="#index_x">x</a> | <a href="#index_y">y</a> | <a href="#index_z">z</a> | <a href="#index_~">~</a></center>
|
||||
<a href="#index_a">a</a> | <a href="#index_b">b</a> | <a href="#index_c">c</a> | <a href="#index_d">d</a> | <a href="#index_f">f</a> | <a href="#index_g">g</a> | <a href="#index_h">h</a> | <a href="#index_i">i</a> | <a href="#index_k">k</a> | <a href="#index_l">l</a> | <a href="#index_m">m</a> | <a href="#index_o">o</a> | <a href="#index_p">p</a> | <a href="#index_q">q</a> | <a href="#index_r">r</a> | <a href="#index_s">s</a> | <a href="#index_t">t</a> | <a href="#index_u">u</a> | <a href="#index_v">v</a> | <a href="#index_w">w</a> | <a href="#index_x">x</a> | <a href="#index_y">y</a> | <a href="#index_z">z</a> | <a href="#index_~">~</a></center>
|
||||
|
||||
<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>
|
||||
<li>Attach()
|
||||
: <a class="el" href="classZE_1_1ZImage.html#a7">ZE::ZImage</a></ul>
|
||||
<h3><a name="index_b">- b -</a>
|
||||
</h3><ul>
|
||||
<li>Bottom()
|
||||
: <a class="el" href="classZE_1_1ZRect.html#a19">ZE::ZRect</a></ul>
|
||||
<li>Bind()
|
||||
: <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><ul>
|
||||
<li>CheckEvents()
|
||||
: <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_1ZEngine.html#a7">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_1ZEngine.html#a6">ZE::ZEngine</a><li>Close()
|
||||
: <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_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>
|
||||
<h3><a name="index_d">- d -</a>
|
||||
</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_1ZFont.html#a6">ZE::ZFont</a><li>DrawText()
|
||||
: <a class="el" href="classZE_1_1ZFont.html#a5">ZE::ZFont</a></ul>
|
||||
<h3><a name="index_f">- f -</a>
|
||||
</h3><ul>
|
||||
<li>filename
|
||||
: <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><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>
|
||||
<li>Flush()
|
||||
: <a class="el" href="classZE_1_1ZConfigFile.html#a10">ZE::ZConfigFile</a></ul>
|
||||
<h3><a name="index_g">- g -</a>
|
||||
</h3><ul>
|
||||
<li>GetBool()
|
||||
: <a class="el" href="classZE_1_1ZConfigFile.html#a5">ZE::ZConfigFile</a><li>GetBPP()
|
||||
: <a class="el" href="classZE_1_1ZEngine.html#a36">ZE::ZEngine</a><li>GetDisplay()
|
||||
: <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_1ZConfigFile.html#a5">ZE::ZConfigFile</a><li>GetFrameTime()
|
||||
: <a class="el" href="classZE_1_1ZEngine.html#a12">ZE::ZEngine</a><li>GetInstance()
|
||||
: <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_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_1ZConfigFile.html#a4">ZE::ZConfigFile</a><li>GetParentTime()
|
||||
: <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_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_1ZConfigFile.html#a6">ZE::ZConfigFile</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_1ZEngine.html#d2">ZE::ZEngine</a><li>GetVolume()
|
||||
: <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>
|
||||
: <a class="el" href="classZE_1_1ZEngine.html#d2">ZE::ZEngine</a></ul>
|
||||
<h3><a name="index_h">- h -</a>
|
||||
</h3><ul>
|
||||
<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>
|
||||
<h3><a name="index_i">- i -</a>
|
||||
</h3><ul>
|
||||
<li>image
|
||||
: <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()
|
||||
<li>Intersection()
|
||||
: <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_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_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_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()
|
||||
@ -96,17 +79,17 @@ Here is a list of all documented class members with links to the class documenta
|
||||
</h3><ul>
|
||||
<li>LButtonPressed()
|
||||
: <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_1ZEngine.html#a32">ZE::ZEngine</a><li>LoadImage()
|
||||
: <a class="el" href="classZE_1_1ZRect.html#a16">ZE::ZRect</a><li>LineSkip()
|
||||
: <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#a30">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#a28">ZE::ZEngine</a><li>LoadSound()
|
||||
: <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>
|
||||
<h3><a name="index_m">- m -</a>
|
||||
</h3><ul>
|
||||
<li>mActive
|
||||
: <a class="el" href="classZE_1_1ZEngine.html#o13">ZE::ZEngine</a><li>MapColor()
|
||||
: <a class="el" href="classZE_1_1ZEngine.html#a6">ZE::ZEngine</a><li>mBPP
|
||||
: <a class="el" href="classZE_1_1ZEngine.html#o13">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_1ZConfigFile.html#o0">ZE::ZConfigFile</a><li>mFilename
|
||||
: <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#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#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#a6">ZE::ZRect</a><li>mPaused
|
||||
: <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#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#o8">ZE::ZEngine</a><li>music
|
||||
: <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_1ZEngine.html#o8">ZE::ZEngine</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#o0">ZE::ZRect</a><li>mY
|
||||
: <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><ul>
|
||||
<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_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_1ZEngine.html#d1">ZE::ZEngine</a><li>rEngine
|
||||
: <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_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_1ZMusic.html#a8">ZE::ZMusic</a><li>rFont
|
||||
: <a class="el" href="classZE_1_1ZFont.html#n0">ZE::ZFont</a><li>Right()
|
||||
: <a class="el" href="classZE_1_1ZMusic.html#a8">ZE::ZMusic</a><li>rFilename
|
||||
: <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_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_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#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_1ZTimer.html#n1">ZE::ZTimer</a></ul>
|
||||
: <a class="el" href="classZE_1_1ZSound.html#n0">ZE::ZSound</a><li>rTexID
|
||||
: <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><ul>
|
||||
<li>SDLrect()
|
||||
: <a class="el" href="classZE_1_1ZRect.html#a13">ZE::ZRect</a><li>SetAlpha()
|
||||
: <a class="el" href="classZE_1_1ZImage.html#a9">ZE::ZImage</a><li>SetBGColor()
|
||||
: <a class="el" href="classZE_1_1ZRect.html#a13">ZE::ZRect</a><li>section
|
||||
: <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_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_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#a9">ZE::ZConfigFile</a><li>SetStyle()
|
||||
: <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_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#r0">ZE::ZEngine</a><li>Sleep()
|
||||
: <a class="el" href="classZE_1_1ZEngine.html#a8">ZE::ZEngine</a><li>sound
|
||||
: <a class="el" href="classZE_1_1SoundData.html#m0">ZE::SoundData</a><li>SoundData()
|
||||
: <a class="el" href="classZE_1_1SoundData.html#a0">ZE::SoundData</a><li>Stop()
|
||||
: <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_1ZEngine.html#r0">ZE::ZEngine</a><li>Stop()
|
||||
: <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_1ZFont.html#a18">ZE::ZFont</a><li>StringWidth()
|
||||
: <a class="el" href="classZE_1_1ZFont.html#a17">ZE::ZFont</a><li>Surface()
|
||||
: <a class="el" href="classZE_1_1ZImage.html#a13">ZE::ZImage</a></ul>
|
||||
<h3><a name="index_t">- t -</a>
|
||||
</h3><ul>
|
||||
<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_1ZEngine.html#a11">ZE::ZEngine</a><li>UpdateScreen()
|
||||
: <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><ul>
|
||||
<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><ul>
|
||||
<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_1ZObject.html#a1">ZE::ZObject</a><li>~ZSound()
|
||||
: <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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<title>File Member Index</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
<li>VERSION
|
||||
: <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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,13 @@
|
||||
<title>Hierarchical Index</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<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_1ImageData.html">ZE::ImageData</a>
|
||||
<li><a class="el" href="classZE_1_1MusicData.html">ZE::MusicData</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_1ZConfigFile_1_1ZCF__Section.html">ZE::ZConfigFile::ZCF_Section</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_1ZEngine.html">ZE::ZEngine</a>
|
||||
<li><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>
|
||||
<ul>
|
||||
<li><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a>
|
||||
@ -23,9 +21,9 @@
|
||||
</ul>
|
||||
<li><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,33 +3,36 @@
|
||||
<title>ZEngine Documentation</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<hr><h1>ZEngine Documentation</h1>
|
||||
<p>
|
||||
<h3 align="center">0.7.0</h3><dl compact><dt><b>Author:</b></dt><dd>James Turk </dd></dl>
|
||||
<dl compact><dt><b>Version:</b></dt><dd>0.7.3 </dd></dl>
|
||||
<dl compact><dt><b>Date:</b></dt><dd>07 November, 2002</dd></dl>
|
||||
<h2><a name="ZEngine"></a>
|
||||
About ZEngine</h2>
|
||||
<br>
|
||||
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>
|
||||
Licensing</h2>
|
||||
<br>
|
||||
<h3 align="center">0.7.7</h3>
|
||||
<p>
|
||||
<dl compact><dt><b>Author: </b></dt><dd>
|
||||
James Turk </dl><dl compact><dt><b>Version: </b></dt><dd>
|
||||
0.7.7 </dl><dl compact><dt><b>Date: </b></dt><dd>
|
||||
1 December, 2002</dl><h2><a name="ZEngine">About ZEngine</a>
|
||||
</h2> <br>
|
||||
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.
|
||||
<p>
|
||||
<h2><a name="Licensing">Licensing</a>
|
||||
</h2> <br>
|
||||
<pre>
|
||||
|
||||
This file is Part of the ZEngine Library for SDL Game Development.
|
||||
Copyright (C) 2002 ConceptOfZero.net</pre>
|
||||
Copyright (C) 2002 ConceptOfZero.net
|
||||
|
||||
<p>
|
||||
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>
|
||||
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
|
||||
<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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,31 +3,23 @@
|
||||
<title>ZE Namespace Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<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.
|
||||
<p>
|
||||
|
||||
<p>
|
||||
|
||||
<p>
|
||||
<table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td></td></tr>
|
||||
<tr><td colspan=2><br><h2>Compounds</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classZE_1_1ImageData.html">ImageData</a></td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1FontData.html">FontData</a></td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1SoundData.html">SoundData</a></td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1MusicData.html">MusicData</a></td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a></td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><b>ZCF_Variable</b></td></tr>
|
||||
<tr><td nowrap align=right valign=top>class </td><td valign=bottom><b>ZCF_Section</b></td></tr>
|
||||
<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile_1_1ZCF__Variable.html">ZCF_Variable</a></td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile_1_1ZCF__Section.html">ZCF_Section</a></td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html">ZEngine</a></td></tr>
|
||||
<tr><td> </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 </td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html">ZFont</a></td></tr>
|
||||
@ -95,14 +87,16 @@ Namespace for <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> classes a
|
||||
|
||||
<p>
|
||||
Get string describing error given appropriate details. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>line</em> </td><td>Line error occured on. </td></tr>
|
||||
<tr><td valign=top><em>file</em> </td><td>Name of file error occured in. </td></tr>
|
||||
<tr><td valign=top><em>str</em> </td><td>More detail on error. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>line</em> </td><td>
|
||||
Line error occured on. </td></tr>
|
||||
<tr><td valign=top><em>file</em> </td><td>
|
||||
Name of file error occured in. </td></tr>
|
||||
<tr><td valign=top><em>str</em> </td><td>
|
||||
More detail on error. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>String describing error. </dd></dl>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
String describing error. </dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a1" doxytag="ZE::_LogError"></a><p>
|
||||
@ -147,13 +141,15 @@ Get string describing error given appropriate details. <dl compact><dt><b>Parame
|
||||
|
||||
<p>
|
||||
Log error to stderr, describing error given appropriate details. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>line</em> </td><td>Line error occured on. </td></tr>
|
||||
<tr><td valign=top><em>file</em> </td><td>Name of file error occured in. </td></tr>
|
||||
<tr><td valign=top><em>str</em> </td><td>More detail on error. </td></tr>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>line</em> </td><td>
|
||||
Line error occured on. </td></tr>
|
||||
<tr><td valign=top><em>file</em> </td><td>
|
||||
Name of file error occured in. </td></tr>
|
||||
<tr><td valign=top><em>str</em> </td><td>
|
||||
More detail on error. </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
</td>
|
||||
</dl> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>fmtstr</em> </td><td>defines format of resulting string </td></tr>
|
||||
<tr><td valign=top><em>...</em> </td><td>variable number of arguments after fmtstr </td></tr>
|
||||
Takes % identifiers out of fmtstr and parses them, replacing them with cooresponding values in the variable arguments list. For more detail view <cstdarg> documentation. <dl compact><dt><b>Parameters: </b></dt><dd>
|
||||
<table border=0 cellspacing=2 cellpadding=0>
|
||||
<tr><td valign=top><em>fmtstr</em> </td><td>
|
||||
defines format of resulting string </td></tr>
|
||||
<tr><td valign=top><em>...</em> </td><td>
|
||||
variable number of arguments after fmtstr </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>string of parsed and combined string </dd></dl>
|
||||
</td>
|
||||
</dl><dl compact><dt><b>Returns: </b></dt><dd>
|
||||
string of parsed and combined string </dl> </td>
|
||||
</tr>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<title>Namespace Member Index</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
<li>FormatStr()
|
||||
: <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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -3,15 +3,15 @@
|
||||
<title>Namespace Index</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||
<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>
|
||||
</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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<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">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc1 -->
|
||||
<!-- Generated by Doxygen 1.2.18 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
|
||||
00003 <span class="comment"> * Layer's (SDL) RWops i/o abstraction.</span>
|
||||
00004 <span class="comment"> *</span>
|
||||
@ -46,9 +46,9 @@
|
||||
00078
|
||||
00079 <span class="comment">/* end of physfsrwops.h ... */</span>
|
||||
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">
|
||||
<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>
|
||||
</html>
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: ZE_Defines.h <br>
|
||||
Description: Defines header file for ZEngine class, where all #define statements to control compilation options are placed. <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
|
||||
\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 to use the Physfs file system.
|
||||
//#define USE_PHYSFS
|
||||
//! Define to use OpenGL for 2D blits.
|
||||
#define USE_OPENGL_2D
|
||||
//! Undefine to disable debug streams for Error Handler.
|
||||
#define DEBUG_STREAM
|
||||
//! Version number.
|
||||
#define VERSION "0.7.3"
|
||||
#define VERSION "0.7.6"
|
||||
|
||||
#endif //__ze_defines_h__
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: ZE_Error.h <br>
|
||||
Description: Header file for ZEngine Error Handling Functions. <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
|
||||
\brief Definition file for ZEngine Error Handling Functions.
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: ZE_Includes.h <br>
|
||||
Description: Header file for ZEngine universal includes. <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
|
||||
\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 "SDL.h"
|
||||
#ifdef USE_OPENGL_2D
|
||||
#include "SDL_opengl.h"
|
||||
#endif
|
||||
#include "external/SDLGL_Util.h"
|
||||
#ifdef USE_SDL_IMAGE
|
||||
#include "SDL_image.h"
|
||||
#endif
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: Types/ZE_ZConfigFile.h <br>
|
||||
Description: Header file for ZEngine INI-Style Config Files.<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
|
||||
\brief Definition file for ZConfigFile.
|
||||
@ -39,17 +39,35 @@ class ZConfigFile : public ZObject
|
||||
{
|
||||
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
|
||||
{
|
||||
public:
|
||||
//! Variable name.
|
||||
string var;
|
||||
//! Value associated with variable.
|
||||
string val;
|
||||
};
|
||||
|
||||
/*!
|
||||
\brief ZConfigFile Section class.
|
||||
|
||||
ZConfigFile class for mapping a section name to a list of variables in that section.
|
||||
**/
|
||||
class ZCF_Section
|
||||
{
|
||||
public:
|
||||
//! Section name.
|
||||
string section;
|
||||
//! STL list of variables.
|
||||
list<ZCF_Variable> varList;
|
||||
};
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: ZE_ZEngine.h <br>
|
||||
Description: Header file for ZEngine class, the core of the ZEngine. <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
|
||||
\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__
|
||||
#define __ze_zengine_h__
|
||||
|
||||
#include "ZE_DataPtr.h"
|
||||
#include "ZE_Error.h"
|
||||
#include "ZE_Defines.h"
|
||||
#include "ZE_Macros.h"
|
||||
#include "ZE_Includes.h"
|
||||
|
||||
/*!
|
||||
@ -177,26 +177,28 @@ class ZEngine
|
||||
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)
|
||||
|
||||
\param r Red component of color (0-255).
|
||||
\param g Green component of color (0-255).
|
||||
\param b Blue component of color (0-255).
|
||||
\param a Alpha (translucency) component of color (0-255). [Default 255]
|
||||
\return Uint32 of color requested.
|
||||
Clears a rectangle on screen to a color, defaults to solid black.
|
||||
\param red Red component (0.0-1.0) of new color.
|
||||
\param green Green component (0.0-1.0) of new color.
|
||||
\param blue Blue component (0.0-1.0) of new color.
|
||||
\param alpha Alpha component (0.0-1.0) of new color.
|
||||
**/
|
||||
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.
|
||||
\param color Color to clear surface to, defaults to black.
|
||||
\param rect Rectangle of screen to clear or NULL for entire surface.
|
||||
Sets the OpenGL scaled orthographic mode, called once at beginning, no need to call
|
||||
unless you change the OpenGL mode manually.
|
||||
**/
|
||||
void Clear(Uint32 color=0, SDL_Rect *rect=NULL);
|
||||
void SetGL2D();
|
||||
|
||||
////////////////////////////////////////////
|
||||
//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.
|
||||
\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);
|
||||
|
||||
/*!
|
||||
\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);
|
||||
SDL_Surface* LoadImage(string filename);
|
||||
|
||||
#ifdef USE_SDL_MIXER
|
||||
/*!
|
||||
@ -429,34 +423,18 @@ class ZEngine
|
||||
|
||||
Loads a Sound to a SoundData class which keeps vital information on the Sound
|
||||
\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);
|
||||
|
||||
/*!
|
||||
\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);
|
||||
Mix_Chunk* LoadSound(string filename);
|
||||
|
||||
/*!
|
||||
\brief Load a Music File
|
||||
|
||||
Loads a Music Clip to a MusicData class which keeps vital information on the Music Data
|
||||
\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);
|
||||
|
||||
/*!
|
||||
\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);
|
||||
Mix_Music* LoadMusic(string filename);
|
||||
#endif
|
||||
|
||||
#ifdef USE_SDL_TTF
|
||||
@ -466,17 +444,9 @@ class ZEngine
|
||||
Loads a Font to a FontData class which keeps vital information on the Font
|
||||
\param filename path to file to load.
|
||||
\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);
|
||||
|
||||
/*!
|
||||
\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);
|
||||
TTF_Font* LoadFont(string filename, int size);
|
||||
#endif
|
||||
|
||||
/////////////
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: ZE_ZFont.h <br>
|
||||
Description: Header file for core ZEngine Font Object. <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
|
||||
\brief Definition file for ZFont.
|
||||
@ -40,8 +40,10 @@ namespace ZE
|
||||
class ZFont : public ZObject
|
||||
{
|
||||
protected:
|
||||
//! Class containing font and filename.
|
||||
FontData rFont;
|
||||
//! Pointer to font data.
|
||||
TTF_Font *rFont;
|
||||
//! Filename, for resizing.
|
||||
string rFilename;
|
||||
//! SDL_Color for current text color.
|
||||
SDL_Color rColor;
|
||||
//! SDL_Color for background color to be used in shaded draws.
|
||||
@ -194,7 +196,7 @@ class ZFont : public ZObject
|
||||
Check font height as reported by SDL_ttf.
|
||||
\return Height of font.
|
||||
**/
|
||||
int GetHeight();
|
||||
int Height();
|
||||
|
||||
/*!
|
||||
\brief Get Line Skip for Font.
|
||||
@ -202,7 +204,7 @@ class ZFont : public ZObject
|
||||
Check font line skip as reported by SDL_ttf.
|
||||
\return Recommended Line Skip of font.
|
||||
**/
|
||||
int GetLineSkip();
|
||||
int LineSkip();
|
||||
|
||||
/*!
|
||||
\brief Get String Width.
|
||||
@ -211,7 +213,7 @@ class ZFont : public ZObject
|
||||
\param text String to get width of.
|
||||
\return Width of String in Current font.
|
||||
**/
|
||||
int GetStringWidth(string text);
|
||||
int StringWidth(string text);
|
||||
|
||||
/*!
|
||||
\brief Get String Height.
|
||||
@ -220,7 +222,7 @@ class ZFont : public ZObject
|
||||
\param text String to get height of.
|
||||
\return Height of String in Current font.
|
||||
**/
|
||||
int GetStringHeight(string text);
|
||||
int StringHeight(string text);
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -11,14 +11,14 @@
|
||||
/*!
|
||||
\par File Header:
|
||||
File: ZE_ZImage.h <br>
|
||||
Description: Header file for core ZEngine Image Object. <br>
|
||||
Author(s): James Turk <br>
|
||||
$Id: ZE_ZImage.h,v 1.1 2002/11/21 05:41:10 cozman Exp $<br>
|
||||
Description: Header file for core ZEngine Image and Texture Object. <br>
|
||||
Author(s): James Turk, Gamer Tazar <br>
|
||||
$Id: ZE_ZImage.h,v 1.2 2002/12/01 07:56:17 cozman Exp $<br>
|
||||
|
||||
\file ZE_ZImage.h
|
||||
\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__
|
||||
@ -37,14 +37,25 @@ namespace ZE
|
||||
class ZImage : public ZObject
|
||||
{
|
||||
protected:
|
||||
//! Class containing image and filename.
|
||||
ImageData rImage;
|
||||
//! Texture X width ratio, used internally by OpenGL.
|
||||
GLfloat rTexMaxX;
|
||||
//! Texture Y width ratio, used internally by OpenGL.
|
||||
GLfloat rTexMaxY;
|
||||
//! Stored texture for future use.
|
||||
SDL_Surface *rImage;
|
||||
//! Texture ID for OpenGL.
|
||||
unsigned int rTexID;
|
||||
//! Current draw width of Texture.
|
||||
unsigned int rWidth;
|
||||
//! Current draw height of Texture.
|
||||
unsigned int rHeight;
|
||||
|
||||
public:
|
||||
|
||||
/*!
|
||||
\brief Default Constructor.
|
||||
|
||||
Default Constructor, does nothing.
|
||||
Default Constructor, initializes variables.
|
||||
**/
|
||||
ZImage();
|
||||
|
||||
@ -128,21 +139,23 @@ class ZImage : public ZObject
|
||||
//Graphics//
|
||||
////////////
|
||||
|
||||
/*!
|
||||
\brief Sets Alpha (transparency) value of Image.
|
||||
|
||||
Set Alpha channel of an Image, only used in 32 bit mode.
|
||||
\param alpha Number 0-255 describing translucency of image. (0 = transparent, 255 = opaque)
|
||||
**/
|
||||
void SetAlpha(Uint8 alpha);
|
||||
|
||||
/*!
|
||||
\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.
|
||||
\param red Red component of colorkey (0-255).
|
||||
\param green Green component of colorkey (0-255).
|
||||
\param blue Blue component of colorkey (0-255).
|
||||
**/
|
||||
void SetColorKey(Uint32 color);
|
||||
void SetColorKey(Uint8 red, Uint8 green, Uint8 blue);
|
||||
|
||||
/*!
|
||||
\brief OpenGL related bind call.
|
||||
|
||||
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.
|
||||
**/
|
||||
void Bind();
|
||||
|
||||
/*!
|
||||
\brief Draw Image to Screen.
|
||||
@ -151,7 +164,7 @@ class ZImage : public ZObject
|
||||
\param x X coord to draw Image to.
|
||||
\param y Y coord to draw Image to.
|
||||
**/
|
||||
void Draw(Sint16 x, Sint16 y);
|
||||
void Draw(int x, int y);
|
||||
|
||||
/////////////
|
||||
//Accessors//
|
||||
@ -170,32 +183,25 @@ class ZImage : public ZObject
|
||||
Get SDL_Surface pointer to actual image data.
|
||||
\return SDL_Surface* of rImage.
|
||||
**/
|
||||
SDL_Surface *GetImage();
|
||||
SDL_Surface *Surface();
|
||||
|
||||
/*!
|
||||
\brief Get Width.
|
||||
|
||||
Get Width of Image.
|
||||
Get Current Width of Image.
|
||||
\return Image Width.
|
||||
**/
|
||||
int GetWidth();
|
||||
int Width();
|
||||
|
||||
/*!
|
||||
\brief Get Height.
|
||||
|
||||
Get Height of Image.
|
||||
Get Current Height of Image.
|
||||
\return Image Height.
|
||||
**/
|
||||
int GetHeight();
|
||||
|
||||
/*!
|
||||
\brief Get filename of image.
|
||||
|
||||
Get filename of image or if Image doesn't have a specific filename string describing origin of image.
|
||||
\return Image Filename.
|
||||
**/
|
||||
string GetFilename();
|
||||
int Height();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif //__ze_zimage_h__
|
||||
#endif
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: ZE_ZMusic.h <br>
|
||||
Description: Header file for core ZEngine Music Wrapper Object. <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
|
||||
\brief Definition file for ZMusic.
|
||||
@ -39,8 +39,8 @@ namespace ZE
|
||||
class ZMusic : public ZObject
|
||||
{
|
||||
protected:
|
||||
//! Class containing music data and music filename.
|
||||
MusicData rMusic;
|
||||
//! Pointer to music data.
|
||||
Mix_Music *rMusic;
|
||||
|
||||
public:
|
||||
//! Static Variable For Infinite loop of sound. (Defined as -1)
|
||||
@ -172,7 +172,7 @@ class ZMusic : public ZObject
|
||||
Get current volume of music represented as a value from 0-128.
|
||||
\return Volume of music, 0-128.
|
||||
**/
|
||||
int GetVolume();
|
||||
int Volume();
|
||||
};
|
||||
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: ZE_ZObject.h <br>
|
||||
Description: Header file for ZEngine core Object ZObject, base of most ZEngine objects. <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
|
||||
\brief Definition file for ZObject Base Class.
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: ZE_ZSound.h <br>
|
||||
Description: Header file for core ZEngine Sound Wrapper Object. <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
|
||||
\brief Definition file for ZSound.
|
||||
@ -39,8 +39,8 @@ namespace ZE
|
||||
class ZSound : public ZObject
|
||||
{
|
||||
protected:
|
||||
//! Class containing music data and music filename.
|
||||
SoundData rSound;
|
||||
//! Pointer to music data.
|
||||
Mix_Chunk* rSound;
|
||||
//! Channel ID Number from SDL_Mixer.
|
||||
int rChannelID;
|
||||
|
||||
@ -167,7 +167,7 @@ class ZSound : public ZObject
|
||||
Get current volume of sound channel represented as a value from 0-128.
|
||||
\return Volume of sound channel, 0-128.
|
||||
**/
|
||||
int GetVolume();
|
||||
int Volume();
|
||||
};
|
||||
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: ZE_ZTimer.h <br>
|
||||
Description: Header file for core ZEngine Timer Object. <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
|
||||
\brief Definition file for ZTimer.
|
||||
|
@ -3,7 +3,7 @@
|
||||
File: ZEngine.h <br>
|
||||
Description: Public Header File for ZEngine. <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
|
||||
\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
|
||||
|
||||
\author James Turk
|
||||
\version 0.7.5
|
||||
\date 28 November, 2002
|
||||
\version 0.7.7
|
||||
\date 1 December, 2002
|
||||
|
||||
\section ZEngine About ZEngine
|
||||
<br>
|
||||
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.
|
||||
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
|
||||
<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_Macros.h"
|
||||
#include "ZE_ZImage.h"
|
||||
#include "ZE_ZTimer.h"
|
||||
#include "ZE_ZConfigFile.h"
|
||||
|
12
include/external/SDLGL_Util.h
vendored
Executable file
12
include/external/SDLGL_Util.h
vendored
Executable 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__
|
@ -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
|
||||
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
|
||||
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
|
||||
the following notice:
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: ZE_Error.cpp <br>
|
||||
Description: Implementation source file for ZEngine error logging utility functions. <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
|
||||
\brief Source file for error logging utilities.
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: ZE_ZConfigFile.cpp <br>
|
||||
Description: Implementation source file for ZConfigFile, the ZEngine INI-Style Config File. <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
|
||||
\brief Source file for ZConfigFile.
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: ZE_ZEngine.cpp <br>
|
||||
Description: Implementation source file for ZEngine library main singleton class. <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
|
||||
\brief Central source file for ZEngine.
|
||||
@ -94,7 +94,8 @@ void ZEngine::SetupSound(int rate, bool stereo)
|
||||
void ZEngine::CreateDisplay(string title, string icon)
|
||||
{
|
||||
Uint32 flags;
|
||||
ImageData iconImg;
|
||||
SDL_Surface *iconImg;
|
||||
int rgb_size[3];
|
||||
|
||||
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)
|
||||
#endif
|
||||
|
||||
#ifdef USE_OPENGL_2D
|
||||
int rgb_size[3];
|
||||
|
||||
switch (mBPP)
|
||||
{
|
||||
case 8:
|
||||
@ -131,22 +129,15 @@ void ZEngine::CreateDisplay(string title, string icon)
|
||||
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_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_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;
|
||||
#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//
|
||||
if(!icon.length())
|
||||
@ -155,7 +146,7 @@ void ZEngine::CreateDisplay(string title, string icon)
|
||||
{
|
||||
SDL_WM_SetCaption(title.c_str(),icon.c_str());
|
||||
iconImg = LoadImage(icon);
|
||||
SDL_WM_SetIcon(iconImg.image,NULL);
|
||||
SDL_WM_SetIcon(iconImg,NULL);
|
||||
FreeImage(iconImg);
|
||||
}
|
||||
|
||||
@ -164,45 +155,18 @@ void ZEngine::CreateDisplay(string title, string icon)
|
||||
flags |= SDL_FULLSCREEN;
|
||||
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)
|
||||
{
|
||||
LogError(FormatStr("Unable to set video mode %dx%d (%dBpp): %s",mWidth,mHeight,mBPP,SDL_GetError()));
|
||||
CloseDisplay();
|
||||
}
|
||||
|
||||
mWidth = mScreen->w;
|
||||
mHeight = mScreen->h;
|
||||
mBPP = mScreen->format->BitsPerPixel;
|
||||
|
||||
SetGL2D();
|
||||
|
||||
mKeyPressed = SDL_GetKeyState(NULL);
|
||||
|
||||
#ifdef USE_SDL_TTF
|
||||
@ -237,24 +201,41 @@ SDL_Surface *ZEngine::Display()
|
||||
|
||||
void ZEngine::UpdateScreen()
|
||||
{
|
||||
#ifdef USE_OPENGL_2D
|
||||
SDL_GL_SwapBuffers();
|
||||
#else //!USE_OPENGL_2D
|
||||
SDL_Flip(mScreen);
|
||||
#endif //USE_OPENGL_2D
|
||||
|
||||
mSecPerFrame = (GetTime()-mLastTime)/1000.0;
|
||||
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)
|
||||
@ -420,10 +401,9 @@ void ZEngine::AddPhysFSDir(string dir)
|
||||
|
||||
#endif //USE_PHYSFS
|
||||
|
||||
ImageData ZEngine::LoadImage(string filename)
|
||||
SDL_Surface* ZEngine::LoadImage(string filename)
|
||||
{
|
||||
ImageData img;
|
||||
|
||||
SDL_Surface *image;
|
||||
//using physfs//
|
||||
#ifdef USE_PHYSFS
|
||||
SDL_RWops *rw;
|
||||
@ -431,9 +411,9 @@ ImageData ZEngine::LoadImage(string filename)
|
||||
if(!rw)
|
||||
LogError(FormatStr("PhysFS RWops failed: %s",SDL_GetError()));
|
||||
#ifdef USE_SDL_IMAGE
|
||||
img.image = IMG_Load_RW(rw,0);
|
||||
image = IMG_Load_RW(rw,0);
|
||||
#else
|
||||
img.image = SDL_LoadBMP_RW(rw,0);
|
||||
image = SDL_LoadBMP_RW(rw,0);
|
||||
#endif //USE_SDL_IMAGE
|
||||
SDL_FreeRW(rw);
|
||||
//end using physfs//
|
||||
@ -441,72 +421,48 @@ ImageData ZEngine::LoadImage(string filename)
|
||||
//Just SDL//
|
||||
#else
|
||||
#ifdef USE_SDL_IMAGE
|
||||
img.image = IMG_Load(filename.c_str());
|
||||
image = IMG_Load(filename.c_str());
|
||||
#else
|
||||
img.image = SDL_LoadBMP(filename.c_str());
|
||||
image = SDL_LoadBMP(filename.c_str());
|
||||
#endif //USE_SDL_IMAGE
|
||||
#endif //USE_PHYSFS
|
||||
|
||||
if(!img.image)
|
||||
if(!image)
|
||||
{
|
||||
img.filename = FormatStr("LoadImage could not load %s.",filename.c_str());
|
||||
LogError(img.filename);
|
||||
LogError(FormatStr("LoadImage could not load %s.",filename.c_str()));
|
||||
return NULL;
|
||||
}
|
||||
else
|
||||
img.filename = filename;
|
||||
|
||||
return img;
|
||||
}
|
||||
|
||||
void ZEngine::FreeImage(ImageData &image)
|
||||
{
|
||||
if(image.image)
|
||||
{
|
||||
SDL_FreeSurface(image.image);
|
||||
image.image = NULL;
|
||||
image.filename = "free";
|
||||
}
|
||||
return image;
|
||||
}
|
||||
|
||||
#ifdef USE_SDL_MIXER
|
||||
|
||||
SoundData ZEngine::LoadSound(string filename)
|
||||
Mix_Chunk* ZEngine::LoadSound(string filename)
|
||||
{
|
||||
SoundData snd;
|
||||
Mix_Chunk *sound;
|
||||
|
||||
#ifdef USE_PHYSFS
|
||||
SDL_RWops *rw;
|
||||
rw = PHYSFSRWOPS_openRead(filename.c_str());
|
||||
snd.sound = Mix_LoadWAV_RW(rw,0);
|
||||
sound = Mix_LoadWAV_RW(rw,0);
|
||||
SDL_FreeRW(rw);
|
||||
#else
|
||||
snd.sound = Mix_LoadWAV(filename.c_str());
|
||||
sound = Mix_LoadWAV(filename.c_str());
|
||||
#endif //USE_PHYSFS
|
||||
|
||||
if(!snd.sound)
|
||||
if(!sound)
|
||||
{
|
||||
snd.filename = FormatStr("LoadSound could not load %s.",filename.c_str());
|
||||
LogError(snd.filename);
|
||||
LogError(FormatStr("LoadImage could not load %s.",filename.c_str()));
|
||||
return NULL;
|
||||
}
|
||||
else
|
||||
snd.filename = filename;
|
||||
|
||||
return snd;
|
||||
return sound;
|
||||
}
|
||||
|
||||
void ZEngine::FreeSound(SoundData &sound)
|
||||
Mix_Music* ZEngine::LoadMusic(string filename)
|
||||
{
|
||||
if(sound.sound)
|
||||
{
|
||||
Mix_FreeChunk(sound.sound);
|
||||
sound.sound = NULL;
|
||||
sound.filename = "free";
|
||||
}
|
||||
}
|
||||
|
||||
MusicData ZEngine::LoadMusic(string filename)
|
||||
{
|
||||
MusicData mus;
|
||||
Mix_Music *music;
|
||||
|
||||
//Currently SDL_Mixer doesn't support Music from a RW
|
||||
//#ifdef USE_PHYSFS
|
||||
@ -515,37 +471,25 @@ MusicData ZEngine::LoadMusic(string filename)
|
||||
// mus.music = Mix_LoadMUS_RW(filename.c_str(),0);
|
||||
// SDL_FreeRW(rw);
|
||||
//#else
|
||||
mus.music = Mix_LoadMUS(filename.c_str());
|
||||
music = Mix_LoadMUS(filename.c_str());
|
||||
//#endif //USE_PHYSFS
|
||||
|
||||
if(!mus.music)
|
||||
if(!music)
|
||||
{
|
||||
mus.filename = FormatStr("LoadMusic could not load %s.",filename.c_str());
|
||||
LogError(mus.filename);
|
||||
LogError(FormatStr("LoadMusic could not load %s.",filename.c_str()));
|
||||
return NULL;
|
||||
}
|
||||
else
|
||||
mus.filename = filename;
|
||||
|
||||
return mus;
|
||||
}
|
||||
|
||||
void ZEngine::FreeMusic(MusicData &music)
|
||||
{
|
||||
if(music.music)
|
||||
{
|
||||
Mix_FreeMusic(music.music);
|
||||
music.music = NULL;
|
||||
music.filename = "free";
|
||||
}
|
||||
return music;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#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
|
||||
//#ifdef USE_PHYSFS
|
||||
@ -554,28 +498,16 @@ FontData ZEngine::LoadFont(string filename, int size)
|
||||
// fnt.font = TTF_OpenFontRW(rw,0);
|
||||
// SDL_FreeRW(rw);
|
||||
//#else
|
||||
fnt.font = TTF_OpenFont(filename.c_str(),size);
|
||||
font = TTF_OpenFont(filename.c_str(),size);
|
||||
//#endif //USE_PHYSFS
|
||||
|
||||
if(!fnt.font)
|
||||
if(!font)
|
||||
{
|
||||
fnt.filename = FormatStr("LoadFont could not load %s.",filename.c_str());
|
||||
LogError(fnt.filename);
|
||||
LogError(FormatStr("LoadFont could not load %s.",filename.c_str()));
|
||||
return NULL;
|
||||
}
|
||||
else
|
||||
fnt.filename = filename;
|
||||
|
||||
return fnt;
|
||||
}
|
||||
|
||||
void ZEngine::FreeFont(FontData &font)
|
||||
{
|
||||
if(font.font)
|
||||
{
|
||||
TTF_CloseFont(font.font);
|
||||
font.font = NULL;
|
||||
font.filename = "free";
|
||||
}
|
||||
return font;
|
||||
}
|
||||
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: ZE_ZFont.cpp <br>
|
||||
Description: Implementation source file for core ZEngine Font Object. <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
|
||||
\brief Source file for ZFont.
|
||||
@ -31,12 +31,14 @@ namespace ZE
|
||||
|
||||
ZFont::ZFont()
|
||||
{
|
||||
rFont = NULL;
|
||||
rColor.r = rColor.g = rColor.b = rColor.unused = 255;
|
||||
rBGColor.r = rBGColor.g = rBGColor.b = rBGColor.unused = 0;
|
||||
}
|
||||
|
||||
ZFont::ZFont(string filename, int size)
|
||||
{
|
||||
rFont = NULL;
|
||||
rColor.r = rColor.g = rColor.b = rColor.unused = 255;
|
||||
rBGColor.r = rBGColor.g = rBGColor.b = rBGColor.unused = 0;
|
||||
Open(filename,size);
|
||||
@ -55,17 +57,17 @@ void ZFont::Open(string filename, int size)
|
||||
|
||||
void ZFont::Release()
|
||||
{
|
||||
rEngine->FreeFont(rFont);
|
||||
FreeFont(rFont);
|
||||
}
|
||||
|
||||
void ZFont::DrawText(string text, ZImage &image)
|
||||
{
|
||||
image.Attach(TTF_RenderText_Solid(rFont.font, text.c_str(), rColor));
|
||||
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));
|
||||
image.Attach(TTF_RenderText_Shaded(rFont, text.c_str(), rColor, rBGColor));
|
||||
}
|
||||
|
||||
void ZFont::SetColor(Uint8 r, Uint8 g, Uint8 b)
|
||||
@ -95,105 +97,105 @@ void ZFont::SetStyle(bool Bold, bool Italic, bool Underline)
|
||||
if(!flags)
|
||||
flags = TTF_STYLE_NORMAL;
|
||||
|
||||
if(rFont.font)
|
||||
TTF_SetFontStyle(rFont.font,flags);
|
||||
if(rFont)
|
||||
TTF_SetFontStyle(rFont,flags);
|
||||
else
|
||||
LogError(FormatStr("ZFont not initialized in ZFont::SetStyle(), filename: %s.",rFont.filename.c_str()));
|
||||
LogError("ZFont not initialized in ZFont::SetStyle.");
|
||||
}
|
||||
|
||||
void ZFont::Resize(int size)
|
||||
{
|
||||
Open(rFont.filename,size);
|
||||
Open(rFilename,size);
|
||||
}
|
||||
|
||||
bool ZFont::IsLoaded()
|
||||
{
|
||||
return rFont.font != NULL;
|
||||
return rFont != NULL;
|
||||
}
|
||||
|
||||
bool ZFont::IsBold()
|
||||
{
|
||||
if(rFont.font)
|
||||
return (TTF_GetFontStyle(rFont.font) & TTF_STYLE_BOLD) > 0;
|
||||
if(rFont)
|
||||
return (TTF_GetFontStyle(rFont) & TTF_STYLE_BOLD) > 0;
|
||||
else
|
||||
{
|
||||
LogError(FormatStr("ZFont not initialized in ZFont::IsBold(), filename: %s.",rFont.filename.c_str()));
|
||||
LogError("ZFont not initialized in ZFont::IsBold.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
bool ZFont::IsItalic()
|
||||
{
|
||||
if(rFont.font)
|
||||
return (TTF_GetFontStyle(rFont.font) & TTF_STYLE_ITALIC) > 0;
|
||||
if(rFont)
|
||||
return (TTF_GetFontStyle(rFont) & TTF_STYLE_ITALIC) > 0;
|
||||
else
|
||||
{
|
||||
LogError(FormatStr("ZFont not initialized in ZFont::IsItalic(), filename: %s.",rFont.filename.c_str()));
|
||||
LogError("ZFont not initialized in ZFont::IsItalic.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
bool ZFont::IsUnderlined()
|
||||
{
|
||||
if(rFont.font)
|
||||
return (TTF_GetFontStyle(rFont.font) & TTF_STYLE_UNDERLINE) > 0;
|
||||
if(rFont)
|
||||
return (TTF_GetFontStyle(rFont) & TTF_STYLE_UNDERLINE) > 0;
|
||||
else
|
||||
{
|
||||
LogError(FormatStr("ZFont not initialized in ZFont::IsUnderlined(), filename: %s.",rFont.filename.c_str()));
|
||||
LogError("ZFont not initialized in ZFont::IsUnderlined.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
int ZFont::GetHeight()
|
||||
int ZFont::Height()
|
||||
{
|
||||
if(rFont.font)
|
||||
return TTF_FontHeight(rFont.font);
|
||||
if(rFont)
|
||||
return TTF_FontHeight(rFont);
|
||||
else
|
||||
{
|
||||
LogError(FormatStr("ZFont not initialized in ZFont::GetHeight(), filename: %s.",rFont.filename.c_str()));
|
||||
LogError("ZFont not initialized in ZFont::GetHeight.");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
int ZFont::GetLineSkip()
|
||||
int ZFont::LineSkip()
|
||||
{
|
||||
if(rFont.font)
|
||||
return TTF_FontLineSkip(rFont.font);
|
||||
if(rFont)
|
||||
return TTF_FontLineSkip(rFont);
|
||||
else
|
||||
{
|
||||
LogError(FormatStr("ZFont not initialized in ZFont::GetLineSkip(), filename: %s.",rFont.filename.c_str()));
|
||||
LogError("ZFont not initialized in ZFont::GetLineSkip.");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
int ZFont::GetStringWidth(string text)
|
||||
int ZFont::StringWidth(string text)
|
||||
{
|
||||
int w,h;
|
||||
|
||||
if(rFont.font)
|
||||
if(rFont)
|
||||
{
|
||||
TTF_SizeText(rFont.font,text.c_str(),&w,&h);
|
||||
TTF_SizeText(rFont,text.c_str(),&w,&h);
|
||||
return w;
|
||||
}
|
||||
else
|
||||
{
|
||||
LogError(FormatStr("ZFont not initialized in ZFont::GetStringWidth(%s), filename: %s.",text.c_str(),rFont.filename.c_str()));
|
||||
LogError("ZFont not initialized in ZFont::GetStringWidth.");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
int ZFont::GetStringHeight(string text)
|
||||
int ZFont::StringHeight(string text)
|
||||
{
|
||||
int w,h;
|
||||
|
||||
if(rFont.font)
|
||||
if(rFont)
|
||||
{
|
||||
TTF_SizeText(rFont.font,text.c_str(),&w,&h);
|
||||
TTF_SizeText(rFont,text.c_str(),&w,&h);
|
||||
return h;
|
||||
}
|
||||
else
|
||||
{
|
||||
LogError(FormatStr("ZFont not initialized in ZFont::GetStringHeight(%s), filename: %s.",text.c_str(),rFont.filename.c_str()));
|
||||
LogError("ZFont not initialized in ZFont::GetStringHeight.");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@ -11,14 +11,14 @@
|
||||
/*!
|
||||
\par File Header:
|
||||
File: ZE_ZImage.cpp <br>
|
||||
Description: Implementation source file for core ZEngine Image Object. <br>
|
||||
Author(s): James Turk <br>
|
||||
$Id: ZE_ZImage.cpp,v 1.2 2002/11/28 23:19:55 cozman Exp $<br>
|
||||
Description: Implementation source file for core ZEngine Image or Texture Object. <br>
|
||||
Author(s): James Turk, Gamer Tazar <br>
|
||||
$Id: ZE_ZImage.cpp,v 1.3 2002/12/01 07:56:17 cozman Exp $<br>
|
||||
|
||||
\file ZE_ZImage.cpp
|
||||
\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"
|
||||
@ -28,20 +28,25 @@ namespace ZE
|
||||
|
||||
ZImage::ZImage()
|
||||
{
|
||||
rImage = NULL;
|
||||
Release();
|
||||
}
|
||||
|
||||
ZImage::ZImage(string filename)
|
||||
{
|
||||
rImage = NULL;
|
||||
Open(filename);
|
||||
}
|
||||
|
||||
ZImage::ZImage(SDL_Surface *surface)
|
||||
{
|
||||
rImage = NULL;
|
||||
Attach(surface);
|
||||
}
|
||||
|
||||
ZImage::ZImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h)
|
||||
{
|
||||
rImage = NULL;
|
||||
OpenFromImage(img,x,y,w,h);
|
||||
}
|
||||
|
||||
@ -52,108 +57,93 @@ ZImage::~ZImage()
|
||||
|
||||
void ZImage::Open(string filename)
|
||||
{
|
||||
SDL_Surface *image;
|
||||
|
||||
Release();
|
||||
rImage = rEngine->LoadImage(filename);
|
||||
image = rEngine->LoadImage(filename.c_str());
|
||||
Attach(image);
|
||||
}
|
||||
|
||||
void ZImage::OpenFromImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h)
|
||||
void ZImage::OpenFromImage(SDL_Surface *image, Sint16 x, Sint16 y, Sint16 w, Sint16 h)
|
||||
{
|
||||
Uint32 flags;
|
||||
SDL_Surface *screen = rEngine->Display();
|
||||
SDL_Surface *cutImg = NULL;
|
||||
SDL_Rect rect;
|
||||
SDL_VideoInfo *videoInfo;
|
||||
|
||||
Release();
|
||||
rImage.filename = "cut from image";
|
||||
|
||||
//either set hardware or software surface//
|
||||
videoInfo = const_cast<SDL_VideoInfo*>(SDL_GetVideoInfo());
|
||||
|
||||
if(videoInfo->hw_available)
|
||||
flags = SDL_HWSURFACE;
|
||||
else
|
||||
flags = SDL_SWSURFACE;
|
||||
|
||||
rect.x = x;
|
||||
rect.y = y;
|
||||
rect.w = w;
|
||||
rect.h = h;
|
||||
|
||||
if(!img)
|
||||
LogError("Invalid Parameter to ZImage::OpenFromImage: img==NULL");
|
||||
if(!image)
|
||||
LogError("Invalid Parameter to ZImage::OpenFromImage.");
|
||||
|
||||
rImage.image = SDL_CreateRGBSurface(flags, rect.w, rect.h, rEngine->BPP(),
|
||||
cutImg = SDL_CreateRGBSurface(0, rect.w, rect.h, rEngine->BPP(),
|
||||
screen->format->Rmask, screen->format->Gmask, screen->format->Bmask, screen->format->Amask);
|
||||
|
||||
if(!rImage.image)
|
||||
LogError(FormatStr("SDL_CreateRGBSurface failed in ZImage::OpenFromImage: %s",SDL_GetError()));
|
||||
if(!cutImg)
|
||||
LogError(FormatStr("SDL_CreateRGBSurface failed in ZImage::OpenFromImage."));
|
||||
|
||||
SDL_BlitSurface(img,&rect,rImage.image,NULL);
|
||||
SDL_BlitSurface(image,&rect,cutImg,NULL);
|
||||
Attach(cutImg);
|
||||
}
|
||||
|
||||
void ZImage::Attach(SDL_Surface *surface)
|
||||
{
|
||||
Release();
|
||||
rImage.filename = "attached";
|
||||
rImage.image = surface;
|
||||
GLfloat coord[4];
|
||||
|
||||
//Release();
|
||||
if(surface)
|
||||
{
|
||||
rWidth = surface->w;
|
||||
rHeight = surface->h;
|
||||
rTexID = SDL_GL_LoadTexture(surface,coord);
|
||||
rTexMaxX = coord[2]; //ignore first coords because they are always 0.0f
|
||||
rTexMaxY = coord[3];
|
||||
rImage = surface;
|
||||
}
|
||||
else
|
||||
LogError("Invalid surface passed to ZImage::Attach.");
|
||||
}
|
||||
|
||||
void ZImage::Release()
|
||||
{
|
||||
rEngine->FreeImage(rImage);
|
||||
if(glIsTexture(rTexID))
|
||||
glDeleteTextures(1,&rTexID);
|
||||
rTexMaxX = rTexMaxY = 0.0f;
|
||||
rTexID = rWidth = rHeight = 0;
|
||||
FreeImage(rImage);
|
||||
}
|
||||
|
||||
void ZImage::SetAlpha(Uint8 alpha)
|
||||
void ZImage::SetColorKey(Uint8 red, Uint8 green, Uint8 blue)
|
||||
{
|
||||
SDL_Surface *temp=NULL;
|
||||
Uint32 color = SDL_MapRGB(rEngine->Display()->format,red,green,blue);
|
||||
|
||||
if(rImage.image)
|
||||
if(rImage)
|
||||
{
|
||||
if(SDL_SetAlpha(rImage.image, SDL_RLEACCEL|SDL_SRCALPHA, alpha) < 0)
|
||||
LogError("Invalid Call to SDL_SetAlpha.");
|
||||
else
|
||||
{
|
||||
//surface conversion//
|
||||
temp = rImage.image;
|
||||
rImage.image = SDL_DisplayFormat(temp);
|
||||
if(rImage.image)
|
||||
{
|
||||
SDL_FreeSurface(temp);
|
||||
temp = NULL;
|
||||
}
|
||||
else //can't convert (add error warning here?)
|
||||
{
|
||||
LogError("Alpha surface conversion failed.");
|
||||
rImage.image = temp;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
LogError("ZImage not initialized in ZImage::SetAlpha.");
|
||||
}
|
||||
|
||||
void ZImage::SetColorKey(Uint32 color)
|
||||
{
|
||||
SDL_Surface *temp=NULL;
|
||||
|
||||
if(rImage.image)
|
||||
{
|
||||
if(SDL_SetColorKey(rImage.image, SDL_RLEACCEL|SDL_SRCCOLORKEY, color) < 0)
|
||||
if(SDL_SetColorKey(rImage, SDL_SRCCOLORKEY, color) < 0)
|
||||
LogError("Invalid Call to SDL_SetColorKey.");
|
||||
else
|
||||
{
|
||||
//surface conversion//
|
||||
temp = rImage.image;
|
||||
rImage.image = SDL_DisplayFormat(temp);
|
||||
if(rImage.image)
|
||||
temp = rImage;
|
||||
rImage = SDL_DisplayFormatAlpha(temp);
|
||||
if(rImage)
|
||||
{
|
||||
SDL_FreeSurface(temp);
|
||||
temp = NULL;
|
||||
FreeImage(temp);
|
||||
Attach(rImage); //Rebind new image.
|
||||
}
|
||||
else //can't convert (add error warning here?)
|
||||
else //can't convert
|
||||
{
|
||||
LogError("Surface conversion failed.");
|
||||
rImage.image = temp;
|
||||
rImage = temp;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -161,54 +151,41 @@ void ZImage::SetColorKey(Uint32 color)
|
||||
LogError("ZImage not initialized in ZImage::SetColorKey.");
|
||||
}
|
||||
|
||||
void ZImage::Draw(Sint16 x, Sint16 y)
|
||||
void ZImage::Bind()
|
||||
{
|
||||
SDL_Rect rect;
|
||||
glBindTexture(GL_TEXTURE_2D, rTexID);
|
||||
}
|
||||
|
||||
rect.x = x;
|
||||
rect.y = y;
|
||||
void ZImage::Draw(int x, int y)
|
||||
{
|
||||
Bind();
|
||||
|
||||
if(rImage.image)
|
||||
SDL_BlitSurface(rImage.image,NULL,rEngine->Display(),&rect);
|
||||
else
|
||||
LogError("ZImage not initialized in ZImage::Draw.");
|
||||
glBegin(GL_TRIANGLE_STRIP);
|
||||
glTexCoord2f(0.0f,0.0f); glVertex2i(x, y);
|
||||
glTexCoord2f(rTexMaxX,0.0f); glVertex2i(x+rWidth, y);
|
||||
glTexCoord2f(0.0f,rTexMaxY); glVertex2i(x, y+rHeight);
|
||||
glTexCoord2f(rTexMaxX,rTexMaxY); glVertex2i(x+rWidth, y+rHeight);
|
||||
glEnd();
|
||||
}
|
||||
|
||||
bool ZImage::IsLoaded()
|
||||
{
|
||||
return rImage.image != NULL;
|
||||
return glIsTexture(rTexID) == GL_TRUE;
|
||||
}
|
||||
|
||||
SDL_Surface *ZImage::GetImage()
|
||||
SDL_Surface* ZImage::Surface()
|
||||
{
|
||||
return rImage.image;
|
||||
return rImage;
|
||||
}
|
||||
|
||||
int ZImage::GetWidth()
|
||||
int ZImage::Width()
|
||||
{
|
||||
if(rImage.image)
|
||||
return rImage.image->w;
|
||||
else
|
||||
{
|
||||
LogError("ZImage not initialized in ZImage::GetWidth.");
|
||||
return 0;
|
||||
}
|
||||
return rWidth;
|
||||
}
|
||||
|
||||
int ZImage::GetHeight()
|
||||
int ZImage::Height()
|
||||
{
|
||||
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();
|
||||
return rHeight;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: ZE_ZMusic.cpp <br>
|
||||
Description: Implementation source file for core ZEngine Music Object. <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
|
||||
\brief Source file for ZMusic.
|
||||
@ -32,10 +32,12 @@ const int ZMusic::LoopInfinite = -1;
|
||||
|
||||
ZMusic::ZMusic()
|
||||
{
|
||||
rMusic = NULL;
|
||||
}
|
||||
|
||||
ZMusic::ZMusic(string filename)
|
||||
{
|
||||
rMusic = NULL;
|
||||
Open(filename);
|
||||
}
|
||||
|
||||
@ -53,7 +55,7 @@ void ZMusic::Open(string filename)
|
||||
void ZMusic::Release()
|
||||
{
|
||||
Mix_HaltMusic();
|
||||
rEngine->FreeMusic(rMusic);
|
||||
FreeMusic(rMusic);
|
||||
}
|
||||
|
||||
void ZMusic::Play(int loopNum, int fadeTime)
|
||||
@ -61,44 +63,44 @@ void ZMusic::Play(int loopNum, int fadeTime)
|
||||
if(Mix_PlayingMusic()) //stop currently playing music
|
||||
Mix_HaltMusic();
|
||||
|
||||
if(rMusic.music)
|
||||
if(rMusic)
|
||||
{
|
||||
if(fadeTime)
|
||||
Mix_FadeInMusic(rMusic.music, loopNum, fadeTime);
|
||||
Mix_FadeInMusic(rMusic, loopNum, fadeTime);
|
||||
else
|
||||
Mix_PlayMusic(rMusic.music, loopNum);
|
||||
Mix_PlayMusic(rMusic, loopNum);
|
||||
}
|
||||
else
|
||||
LogError(FormatStr("ZMusic not initialized in ZMusic::Play(%d,%d), filename: %s.",loopNum,fadeTime,rMusic.filename.c_str()));
|
||||
LogError("ZMusic not initialized in ZMusic::Play.");
|
||||
}
|
||||
|
||||
void ZMusic::Pause()
|
||||
{
|
||||
if(rMusic.music)
|
||||
if(rMusic)
|
||||
Mix_PauseMusic();
|
||||
else
|
||||
LogError(FormatStr("ZMusic not initialized in ZMusic::Pause(), filename: %s.",rMusic.filename.c_str()));
|
||||
LogError("ZMusic not initialized in ZMusic::Pause.");
|
||||
}
|
||||
|
||||
void ZMusic::Unpause()
|
||||
{
|
||||
if(rMusic.music)
|
||||
if(rMusic)
|
||||
Mix_ResumeMusic();
|
||||
else
|
||||
LogError(FormatStr("ZMusic not initialized in ZMusic::Unpause(), filename: %s.",rMusic.filename.c_str()));
|
||||
LogError("ZMusic not initialized in ZMusic::Unpause.");
|
||||
}
|
||||
|
||||
void ZMusic::Rewind()
|
||||
{
|
||||
if(rMusic.music)
|
||||
if(rMusic)
|
||||
Mix_RewindMusic();
|
||||
else
|
||||
LogError(FormatStr("ZMusic not initialized in ZMusic::Rewind(), filename: %s.",rMusic.filename.c_str()));
|
||||
LogError("ZMusic not initialized in ZMusic::Rewind.");
|
||||
}
|
||||
|
||||
void ZMusic::Stop(int fadeTime)
|
||||
{
|
||||
if(rMusic.music)
|
||||
if(rMusic)
|
||||
{
|
||||
if(fadeTime)
|
||||
Mix_FadeOutMusic(fadeTime);
|
||||
@ -106,51 +108,51 @@ void ZMusic::Stop(int fadeTime)
|
||||
Mix_HaltMusic();
|
||||
}
|
||||
else
|
||||
LogError(FormatStr("ZMusic not initialized in ZMusic::Stop(%d), filename: %s.",fadeTime,rMusic.filename.c_str()));
|
||||
LogError("ZMusic not initialized in ZMusic::Stop.");
|
||||
}
|
||||
|
||||
void ZMusic::SetVolume(int volume)
|
||||
{
|
||||
if(rMusic.music)
|
||||
if(rMusic)
|
||||
Mix_VolumeMusic(volume);
|
||||
else
|
||||
LogError(FormatStr("ZMusic not initialized in ZMusic::SetVolume(%d), filename: %s.",volume,rMusic.filename.c_str()));
|
||||
LogError("ZMusic not initialized in ZMusic::SetVolume.");
|
||||
}
|
||||
|
||||
bool ZMusic::IsLoaded()
|
||||
{
|
||||
return rMusic.music != NULL;
|
||||
return rMusic != NULL;
|
||||
}
|
||||
|
||||
bool ZMusic::IsPlaying()
|
||||
{
|
||||
if(rMusic.music)
|
||||
if(rMusic)
|
||||
return Mix_PlayingMusic() > 0;
|
||||
else
|
||||
{
|
||||
LogError(FormatStr("ZMusic not initialized in ZMusic::IsPlaying(), filename: %s.",rMusic.filename.c_str()));
|
||||
LogError("ZMusic not initialized in ZMusic::IsPlaying.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
bool ZMusic::IsPaused()
|
||||
{
|
||||
if(rMusic.music)
|
||||
if(rMusic)
|
||||
return Mix_PausedMusic() > 0;
|
||||
else
|
||||
{
|
||||
LogError(FormatStr("ZMusic not initialized in ZMusic::IsPaused(), filename: %s.",rMusic.filename.c_str()));
|
||||
LogError("ZMusic not initialized in ZMusic::IsPaused.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
int ZMusic::GetVolume()
|
||||
int ZMusic::Volume()
|
||||
{
|
||||
if(rMusic.music)
|
||||
if(rMusic)
|
||||
return Mix_VolumeMusic(-1);
|
||||
else
|
||||
{
|
||||
LogError(FormatStr("ZMusic not initialized in ZMusic::GetVolume(), filename: %s.",rMusic.filename.c_str()));
|
||||
LogError("ZMusic not initialized in ZMusic::GetVolume.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: ZE_ZSound.cpp <br>
|
||||
Description: Implementation source file for core ZEngine Sound Object. <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
|
||||
\brief Source file for ZSound.
|
||||
@ -32,11 +32,13 @@ const int ZSound::LoopInfinite = -1;
|
||||
|
||||
ZSound::ZSound()
|
||||
{
|
||||
rSound = NULL;
|
||||
rChannelID = -1; //request channel ID
|
||||
}
|
||||
|
||||
ZSound::ZSound(string filename)
|
||||
{
|
||||
rSound = NULL;
|
||||
rChannelID = -1; //request channel ID
|
||||
Open(filename);
|
||||
}
|
||||
@ -56,7 +58,7 @@ void ZSound::Release()
|
||||
{
|
||||
if(rChannelID >= 0)
|
||||
Mix_HaltChannel(rChannelID);
|
||||
rEngine->FreeSound(rSound);
|
||||
FreeSound(rSound);
|
||||
}
|
||||
|
||||
void ZSound::Play(int loopNum, int fadeTime)
|
||||
@ -64,90 +66,90 @@ void ZSound::Play(int loopNum, int fadeTime)
|
||||
if(rChannelID >= 0 && Mix_Playing(rChannelID)) //stop currently playing sound
|
||||
Mix_HaltChannel(rChannelID);
|
||||
|
||||
if(rSound.sound)
|
||||
if(rSound)
|
||||
{
|
||||
if(fadeTime)
|
||||
rChannelID = Mix_FadeInChannel(rChannelID, rSound.sound, loopNum, fadeTime);
|
||||
rChannelID = Mix_FadeInChannel(rChannelID, rSound, loopNum, fadeTime);
|
||||
else
|
||||
rChannelID = Mix_PlayChannel(rChannelID, rSound.sound, loopNum);
|
||||
rChannelID = Mix_PlayChannel(rChannelID, rSound, loopNum);
|
||||
}
|
||||
else if(!rSound.sound)
|
||||
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)
|
||||
if(rSound && rChannelID >= 0)
|
||||
Mix_Pause(rChannelID);
|
||||
else if(!rSound.sound)
|
||||
LogError(FormatStr("ZSound not initialized in ZSound::Pause(), filename: %s.",rSound.filename.c_str()));
|
||||
else if(!rSound)
|
||||
LogError("ZSound not initialized in ZSound::Pause.");
|
||||
}
|
||||
|
||||
void ZSound::Unpause()
|
||||
{
|
||||
if(rSound.sound && rChannelID >= 0)
|
||||
if(rSound && rChannelID >= 0)
|
||||
Mix_Resume(rChannelID);
|
||||
else if(!rSound.sound)
|
||||
LogError(FormatStr("ZSound not initialized in ZSound::Unpause(), filename: %s.",rSound.filename.c_str()));
|
||||
else if(!rSound)
|
||||
LogError("ZSound not initialized in ZSound::Unpause.");
|
||||
}
|
||||
|
||||
void ZSound::Stop(int fadeTime)
|
||||
{
|
||||
if(rSound.sound && rChannelID >= 0)
|
||||
if(rSound && rChannelID >= 0)
|
||||
{
|
||||
if(fadeTime)
|
||||
Mix_FadeOutChannel(rChannelID,fadeTime);
|
||||
else
|
||||
Mix_HaltChannel(rChannelID);
|
||||
}
|
||||
else if(!rSound.sound)
|
||||
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)
|
||||
Mix_VolumeChunk(rSound.sound,volume);
|
||||
if(rSound)
|
||||
Mix_VolumeChunk(rSound,volume);
|
||||
else
|
||||
LogError(FormatStr("ZSound not initialized in ZSound::SetVolume(%d), filename: %s.",volume,rSound.filename.c_str()));
|
||||
LogError("ZSound not initialized in ZSound::SetVolume.");
|
||||
}
|
||||
|
||||
bool ZSound::IsLoaded()
|
||||
{
|
||||
return rSound.sound != NULL;
|
||||
return rSound != NULL;
|
||||
}
|
||||
|
||||
bool ZSound::IsPlaying()
|
||||
{
|
||||
if(rSound.sound && rChannelID >= 0)
|
||||
if(rSound && rChannelID >= 0)
|
||||
return Mix_Playing(rChannelID) > 0;
|
||||
else
|
||||
{
|
||||
if(rChannelID >= 0)
|
||||
LogError(FormatStr("ZSound not initialized in ZSound::IsPlaying(), filename: %s.",rSound.filename.c_str()));
|
||||
LogError("ZSound not initialized in ZSound::IsPlaying().");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
bool ZSound::IsPaused()
|
||||
{
|
||||
if(rSound.sound && rChannelID >= 0)
|
||||
if(rSound && rChannelID >= 0)
|
||||
return Mix_Paused(rChannelID) > 0;
|
||||
else
|
||||
{
|
||||
LogError(FormatStr("ZSound not initialized in ZSound::IsPaused(), filename: %s.",rSound.filename.c_str()));
|
||||
LogError("ZSound not initialized in ZSound::IsPaused().");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
int ZSound::GetVolume()
|
||||
int ZSound::Volume()
|
||||
{
|
||||
if(rSound.sound)
|
||||
return Mix_VolumeChunk(rSound.sound,-1);
|
||||
if(rSound)
|
||||
return Mix_VolumeChunk(rSound,-1);
|
||||
else
|
||||
{
|
||||
LogError(FormatStr("ZSound not initialized in ZSound::GetVolume(), filename: %s.",rSound.filename.c_str()));
|
||||
return false;
|
||||
LogError("ZSound not initialized in ZSound::GetVolume().");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
File: ZE_ZTimer.cpp <br>
|
||||
Description: Implementation source file for core ZEngine Timer Object. <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
|
||||
\brief Source file for ZTimer.
|
||||
|
89
src/external/SDLGL_Util.cpp
vendored
Executable file
89
src/external/SDLGL_Util.cpp
vendored
Executable 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;
|
||||
}
|
@ -37,15 +37,15 @@ void Test()
|
||||
|
||||
//Open and Setup all the Images//
|
||||
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);
|
||||
|
||||
temp = SDL_LoadBMP("data/test02.bmp"); //this is a separate surface
|
||||
image1.Attach(temp); //this attaches the surface into itself
|
||||
temp = NULL; //and temp will now be controlled and freed by image1
|
||||
image1.SetColorKey(engine->MapColor(255,0,255));
|
||||
image2.SetAlpha(75);
|
||||
image2.SetColorKey(engine->MapColor(255,0,255));
|
||||
image1.SetColorKey(255,0,255);
|
||||
// image2.SetAlpha(75);
|
||||
image2.SetColorKey(255,0,255);
|
||||
font.SetColor(0,255,0);
|
||||
font.SetBGColor(0,0,255);
|
||||
font.DrawShadedText("ZImage Test.",textImage);
|
||||
|
@ -41,15 +41,15 @@ void Test()
|
||||
SDL_Rect textRect;
|
||||
|
||||
engine->HideCursor();
|
||||
cursor.SetColorKey(engine->MapColor(255,0,255));
|
||||
cursor.SetColorKey(255,0,255);
|
||||
|
||||
font.SetColor(0,255,0);
|
||||
font.SetBGColor(0,0,255);
|
||||
font.DrawText("Mouse Test",text[0]);
|
||||
font.DrawShadedText("Mouse Test",text[1]);
|
||||
textRect.x = textRect.y = 100;
|
||||
textRect.w = font.GetStringWidth("Mouse Test");
|
||||
textRect.h = font.GetStringHeight("Mouse Test");
|
||||
textRect.w = font.StringWidth("Mouse Test");
|
||||
textRect.h = font.StringHeight("Mouse Test");
|
||||
|
||||
do
|
||||
{
|
||||
|
@ -83,12 +83,12 @@ void Test()
|
||||
if(engine->KeyIsPressed(SDLK_SPACE))
|
||||
song.Play();
|
||||
if(engine->KeyIsPressed(SDLK_UP))
|
||||
song.SetVolume(song.GetVolume()+1);
|
||||
song.SetVolume(song.Volume()+1);
|
||||
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
|
||||
for(int i=0; i < 4; i++)
|
||||
|
@ -81,12 +81,12 @@ void Test()
|
||||
if(engine->KeyIsPressed(SDLK_SPACE))
|
||||
sample[sampleNum].Play();
|
||||
if(engine->KeyIsPressed(SDLK_UP))
|
||||
sample[sampleNum].SetVolume(sample[sampleNum].GetVolume()+1);
|
||||
sample[sampleNum].SetVolume(sample[sampleNum].Volume()+1);
|
||||
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]);
|
||||
|
||||
engine->Clear(); //clear screen
|
||||
|
@ -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.
|
||||
http://opensource.org
|
||||
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.
|
||||
http://sourceforge.net
|
||||
|
||||
|
3
todo.txt
3
todo.txt
@ -1,8 +1,7 @@
|
||||
ZEngine Todo List
|
||||
|
||||
-Add OpenGL 2D support for drawing.
|
||||
-Add rotation-zooming support (using OpenGL)
|
||||
-Proofread, update, clarify documentation.
|
||||
-Add Support for PhysicsFS with SDL_ttf and SDL_mixer music. (Waiting on other libraries.)
|
||||
-Write simple games using the library as examples
|
||||
-Add common game objects, particle system, basic sprites, etc.
|
||||
-Add rotation-zooming support (SDL_rotozoom?)
|
@ -62,8 +62,6 @@ Global
|
||||
{37D500C5-E6C4-4E56-BFAA-33F1303B147C}.Debug.Build.0 = Debug|Win32
|
||||
{37D500C5-E6C4-4E56-BFAA-33F1303B147C}.Release.ActiveCfg = Release|Win32
|
||||
{37D500C5-E6C4-4E56-BFAA-33F1303B147C}.Release.Build.0 = Release|Win32
|
||||
{110FE3E0-9B08-420A-BAF8-06FF3E77EEA1}.Debug.ActiveCfg = Debug|Win32
|
||||
{110FE3E0-9B08-420A-BAF8-06FF3E77EEA1}.Release.ActiveCfg = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
EndGlobalSection
|
||||
|
@ -90,15 +90,15 @@
|
||||
<Filter
|
||||
Name="Source Implementations"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
|
||||
<File
|
||||
RelativePath="..\src\ZE_ZEngine.cpp">
|
||||
</File>
|
||||
<Filter
|
||||
Name="Types"
|
||||
Filter="">
|
||||
<File
|
||||
RelativePath="..\src\ZE_ZConfigFile.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\ZE_ZEngine.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\ZE_ZFont.cpp">
|
||||
</File>
|
||||
@ -139,6 +139,9 @@
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="External">
|
||||
<File
|
||||
RelativePath="..\src\external\SDLGL_Util.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\external\physfsrwops.cpp">
|
||||
</File>
|
||||
@ -162,9 +165,6 @@
|
||||
<Filter
|
||||
Name="Types"
|
||||
Filter="">
|
||||
<File
|
||||
RelativePath="..\include\ZE_DataPtr.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\include\ZE_ZConfigFile.h">
|
||||
</File>
|
||||
@ -196,10 +196,16 @@
|
||||
<File
|
||||
RelativePath="..\include\ZE_Error.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\include\ZE_Macros.h">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="External"
|
||||
Filter="">
|
||||
<File
|
||||
RelativePath="..\include\external\SDLGL_Util.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\include\external\physfsrwops.h">
|
||||
</File>
|
||||
|
@ -33,6 +33,7 @@
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="sdl.lib
|
||||
sdlmain.lib
|
||||
opengl32.lib
|
||||
sdl_ttf.lib
|
||||
sdl_mixer.lib
|
||||
sdl_image.lib
|
||||
|
@ -33,6 +33,7 @@
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="sdl.lib
|
||||
sdlmain.lib
|
||||
opengl32.lib
|
||||
sdl_ttf.lib
|
||||
sdl_mixer.lib
|
||||
sdl_image.lib
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user