Initial revision

This commit is contained in:
James Turk 2002-11-21 05:40:49 +00:00
commit 8d0409bd0c
145 changed files with 16242 additions and 0 deletions

1
authors.txt Normal file
View File

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

101
changelog.txt Normal file
View File

@ -0,0 +1,101 @@
ZEngine Version Log for Version 0.7.4
$Id: changelog.txt,v 1.1 2002/11/21 05:40:49 cozman Exp $
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.
0.7.4
-Modified behavior of ZImage::Attach and changed ZImageTest to use it.
-Added makefile for Linux build support.
-Renamed old makefile to makefile.mingw32
-Fixed problem in ZImage::SetAlpha when failure occured.
-Added warnings in ZImage for when the display format fails.
-Completely rewrote ZConfigFile to avoid problems with STL map.
-Fixed problem in ZImage with transparency.
-Added doxygen script for linux, and renamed old doxygen script.
0.7.3
-Globally evised source variable naming standards.
-Fixed Error Logging in ZImage.
-Added SDL_DisplaySurface and SDL_DisplaySurfaceAlpha calls to speed up blitting in ZImage.
-Fixed bug in ZConfigFile that caused a NULL file to be closed.
-Several Documentation errors corrected.
-Added ZRect class, and ZRectTest.
0.7.2
-Fixed small source problem in PhysFS handling of non-supported types.
-Added makefile for Cygwin and Mingw32
-Removed AFL license, and switched to BSD-style license.
0.7.1
-Changed directory layout.
-Changed source files to compile without PhysicsFS.
-Added newline to end of all source files.
0.7.0
-Changed slash direction in example programs (fixed non-windows problems).
-Added support for PhysicsFS.
-Added ZConfigFile.
-Updated all examples to be cleaner style and use more features.
-Addes ZConfigFile for test programs.
0.6.3
-Fixed directory issues in distribution.
-Updated to specify SDL 1.2.5 compatibility.
-Added IsLoaded method to ZSound,ZMusic,ZImage and ZFont
-Added music.ogg warning to ZMusicTest.
-Minor fixes in Doxygen settings.
-Fixed issues compiling the ZObject Inherited Wrapper types caused by changes in documentation.
-Added file-level documentation for doxygen in src directory.
0.6.2
-Updated License to APL 1.1 and all files with it.
0.6.1
-Added Mouse Example
-Changed Email Address to james@conceptofzero.net
-Added more test data and information on where data came from
-Removed Ogg file from distribution.
-Changed names of the libraries.
0.6.0
-Updated all documentation (including doxygen docs).
-Rewrote Licensing.txt
-Added Authors.txt and Credits.txt
-Added VC7 Non-Debug Projects.
-Removed LGPL.txt (legacy) and Added APL.txt
-Fixed a bug occuring in ZSound and ZFont test programs.
-Proofread and fixed some documentation errors.
0.5.0
-Added APL Notice to source files.
-Updated source guidelines file for APL licensing.
-Added ZSound and test program.
-Updated examples to have similar coding guidelines.
0.4.0
-Added Source Guidelines file.
-Added ZMusic and test program.
-Fixed a small keypress checking error in fullscreen mode.
-Redesigned entire data storage system (aka ZDataPtr classes)
-Fixed USE_SDL_MIXER and USE_SDL_TTF bugs in ZEngine.
-Removed LGPL licensing messages from source.
-Rewrote buggy ZImage::Attach code that was affecting the test program.
0.3.0
-Added ZTimer and ZFont classes and test programs.
-Fixed major hardware setting bugs in ZImage and ZEngine.
-Added alpha blending to tests.
-Reorganized Directory Structure and VC7 Project Files
0.2.0
-Doxygen Documentation and LGPL license addition
-Added ZImage, and test program.
-Fixed bugs throughout core of ZEngine and changed methods used to keep static vectors of data.
-Designed ZObject class with virtual destructor.
0.1.0
-Initial ZEngine Proof of Concept, core ZEngine class.

191
doc/ZEngine.linux.doxygen Normal file
View File

@ -0,0 +1,191 @@
# Doxyfile 1.2.17
#---------------------------------------------------------------------------
# General configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = ZEngine
PROJECT_NUMBER = 0.7.0
OUTPUT_DIRECTORY = /home/James/ZEngine-dev/doc
OUTPUT_LANGUAGE = English
EXTRACT_ALL = NO
EXTRACT_PRIVATE = YES
EXTRACT_STATIC = YES
EXTRACT_LOCAL_CLASSES = NO
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
HIDE_FRIEND_COMPOUNDS = NO
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = NO
ALWAYS_DETAILED_SEC = NO
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = YES
INTERNAL_DOCS = NO
STRIP_CODE_COMMENTS = YES
CASE_SENSE_NAMES = YES
SHORT_NAMES = NO
HIDE_SCOPE_NAMES = NO
VERBATIM_HEADERS = YES
SHOW_INCLUDE_FILES = YES
JAVADOC_AUTOBRIEF = NO
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = YES
INHERIT_DOCS = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = NO
DISTRIBUTE_GROUP_DOC = NO
TAB_SIZE = 8
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
ALIASES =
ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30
OPTIMIZE_OUTPUT_FOR_C = NO
OPTIMIZE_OUTPUT_JAVA = NO
SHOW_USED_FILES = YES
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE = /home/James/ZEngine-dev/doc/ZEngine.log
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = /home/James/ZEngine-dev/src \
/home/James/ZEngine-dev/include
FILE_PATTERNS =
RECURSIVE = YES
EXCLUDE =
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS =
EXAMPLE_RECURSIVE = NO
IMAGE_PATH =
INPUT_FILTER =
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = NO
INLINE_SOURCES = NO
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX = NO
COLS_IN_ALPHA_INDEX = 1
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
CHM_FILE =
HHC_LOCATION =
GENERATE_CHI = NO
BINARY_TOC = NO
TOC_EXPAND = NO
DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 4
GENERATE_TREEVIEW = NO
TREEVIEW_WIDTH = 250
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX = NO
LATEX_OUTPUT = latex
LATEX_CMD_NAME = latex
MAKEINDEX_CMD_NAME = makeindex
COMPACT_LATEX = NO
PAPER_TYPE = a4wide
EXTRA_PACKAGES =
LATEX_HEADER =
PDF_HYPERLINKS = NO
USE_PDFLATEX = NO
LATEX_BATCHMODE = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF = NO
RTF_OUTPUT = rtf
COMPACT_RTF = NO
RTF_HYPERLINKS = NO
RTF_STYLESHEET_FILE =
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN = NO
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML = NO
XML_SCHEMA =
XML_DTD =
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE =
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = NO
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = NO
CLASS_GRAPH = YES
COLLABORATION_GRAPH = NO
TEMPLATE_RELATIONS = NO
INCLUDE_GRAPH = NO
INCLUDED_BY_GRAPH = NO
GRAPHICAL_HIERARCHY = NO
DOT_IMAGE_FORMAT = png
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 1024
MAX_DOT_GRAPH_HEIGHT = 1024
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE = NO
CGI_NAME = search.cgi
CGI_URL =
DOC_URL =
DOC_ABSPATH =
BIN_ABSPATH = /usr/local/bin/
EXT_DOC_PATHS =

10
doc/ZEngine.log Normal file
View File

@ -0,0 +1,10 @@
/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.

193
doc/ZEngine.win32.doxygen Normal file
View File

@ -0,0 +1,193 @@
# Doxyfile 1.2.17
#---------------------------------------------------------------------------
# General configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = ZEngine
PROJECT_NUMBER = 0.7.0
OUTPUT_DIRECTORY = F:\libs\ZEngine-dev\doc\
OUTPUT_LANGUAGE = English
EXTRACT_ALL = NO
EXTRACT_PRIVATE = YES
EXTRACT_STATIC = YES
EXTRACT_LOCAL_CLASSES = NO
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
HIDE_FRIEND_COMPOUNDS = NO
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = NO
ALWAYS_DETAILED_SEC = NO
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = YES
STRIP_FROM_PATH = F:\libs\ZEngine-dev
INTERNAL_DOCS = NO
STRIP_CODE_COMMENTS = YES
CASE_SENSE_NAMES = YES
SHORT_NAMES = NO
HIDE_SCOPE_NAMES = NO
VERBATIM_HEADERS = YES
SHOW_INCLUDE_FILES = YES
JAVADOC_AUTOBRIEF = NO
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = YES
INHERIT_DOCS = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = NO
DISTRIBUTE_GROUP_DOC = NO
TAB_SIZE = 8
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
ALIASES =
ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30
OPTIMIZE_OUTPUT_FOR_C = NO
OPTIMIZE_OUTPUT_JAVA = NO
SHOW_USED_FILES = YES
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE = F:\libs\ZEngine-dev\doc\ZEngine.log
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = F:/libs/ZEngine-dev/src \
F:/libs/ZEngine-dev/include
FILE_PATTERNS =
RECURSIVE = YES
EXCLUDE =
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS =
EXAMPLE_RECURSIVE = NO
IMAGE_PATH =
INPUT_FILTER =
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = NO
INLINE_SOURCES = NO
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX = NO
COLS_IN_ALPHA_INDEX = 1
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
CHM_FILE =
HHC_LOCATION =
GENERATE_CHI = NO
BINARY_TOC = NO
TOC_EXPAND = NO
DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 4
GENERATE_TREEVIEW = NO
TREEVIEW_WIDTH = 250
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX = NO
LATEX_OUTPUT = latex
LATEX_CMD_NAME = latex
MAKEINDEX_CMD_NAME = makeindex
COMPACT_LATEX = NO
PAPER_TYPE = a4wide
EXTRA_PACKAGES =
LATEX_HEADER =
PDF_HYPERLINKS = NO
USE_PDFLATEX = NO
LATEX_BATCHMODE = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF = NO
RTF_OUTPUT = rtf
COMPACT_RTF = NO
RTF_HYPERLINKS = NO
RTF_STYLESHEET_FILE =
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN = NO
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML = NO
XML_SCHEMA =
XML_DTD =
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE =
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = NO
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = NO
CLASS_GRAPH = YES
COLLABORATION_GRAPH = NO
TEMPLATE_RELATIONS = NO
INCLUDE_GRAPH = NO
INCLUDED_BY_GRAPH = NO
GRAPHICAL_HIERARCHY = NO
DOT_IMAGE_FORMAT = png
DOT_PATH = "c:/Program Files/KingsTools/"
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 1024
MAX_DOT_GRAPH_HEIGHT = 1024
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE = NO
CGI_NAME = search.cgi
CGI_URL =
DOC_URL =
DOC_ABSPATH =
BIN_ABSPATH = /usr/local/bin/
EXT_DOC_PATHS =

View File

@ -0,0 +1,77 @@
<!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_DataPtr.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_DataPtr.h</h1><a href="ZE__DataPtr_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>
00005 <span class="comment"> Licensed under the BSD License, see licensing.txt.</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (jturk@conceptofzero.net) </span>
00008 <span class="comment"> and the home of this Library is http://www.conceptofzero.net/</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00025 <span class="preprocessor">#ifndef __ze_dataptr_h__</span>
00026 <span class="preprocessor"></span><span class="preprocessor">#define __ze_dataptr_h__</span>
00027 <span class="preprocessor"></span>
00028 <span class="preprocessor">#include "<a class="code" href="ZE__Includes_8h.html">ZE_Includes.h</a>"</span>
00029
00030 <span class="keyword">namespace </span>ZE
00031 {
00032
00034 <span class="comment">//Utility Classes Used Throughout ZEngine//</span>
00036 <span class="comment"></span>
00042 <span class="comment"></span><span class="keyword">class </span>ImageData
00043 {
00044 <span class="keyword">public</span>:
00046 SDL_Surface *<a class="code" href="classZE_1_1ImageData.html#m0">image</a>;
00048 string <a class="code" href="classZE_1_1ImageData.html#m1">filename</a>;
00054 <a class="code" href="classZE_1_1ImageData.html#a0">ImageData</a>() { <a class="code" href="classZE_1_1ImageData.html#m0">image</a> = NULL; };
00055 };
00056
00057 <span class="preprocessor">#ifdef USE_SDL_TTF</span>
00058 <span class="preprocessor"></span>
00064 <span class="keyword">class </span>FontData
00065 {
00066 <span class="keyword">public</span>:
00068 TTF_Font *<a class="code" href="classZE_1_1FontData.html#m0">font</a>;
00070 string <a class="code" href="classZE_1_1FontData.html#m1">filename</a>;
00076 <a class="code" href="classZE_1_1FontData.html#a0">FontData</a>() { <a class="code" href="classZE_1_1FontData.html#m0">font</a> = NULL; };
00077 };
00078
00079 <span class="preprocessor">#endif //USE_SDL_TTF</span>
00080 <span class="preprocessor"></span>
00081 <span class="preprocessor">#ifdef USE_SDL_MIXER</span>
00082 <span class="preprocessor"></span>
00088 <span class="keyword">class </span>SoundData
00089 {
00090 <span class="keyword">public</span>:
00092 Mix_Chunk *<a class="code" href="classZE_1_1SoundData.html#m0">sound</a>;
00094 string <a class="code" href="classZE_1_1SoundData.html#m1">filename</a>;
00100 <a class="code" href="classZE_1_1SoundData.html#a0">SoundData</a>() { <a class="code" href="classZE_1_1SoundData.html#m0">sound</a> = NULL; };
00101 };
00102
00108 <span class="keyword">class </span>MusicData
00109 {
00110 <span class="keyword">public</span>:
00112 Mix_Music *<a class="code" href="classZE_1_1MusicData.html#m0">music</a>;
00114 string <a class="code" href="classZE_1_1MusicData.html#m1">filename</a>;
00120 <a class="code" href="classZE_1_1MusicData.html#a0">MusicData</a>() { <a class="code" href="classZE_1_1MusicData.html#m0">music</a> = NULL; };
00121 };
00122
00123 <span class="preprocessor">#endif //USE_SDL_MIXER</span>
00124 <span class="preprocessor"></span>
00125 }
00126
00127 <span class="preprocessor">#endif //__ze_dataptr_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,32 @@
<!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>ZE_DataPtr.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_DataPtr.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_DataPtr.h <br>
Description: Header file for ZEngine Data Pointer Classes <br>
Author(s): James Turk <br>
Last Updated: 9/8/02 <br>
</dd></dl>
<p>
Definition file for ZEngine Data Pointer Classes. ([Image,Font,Sound,Music]Ptr) These classes are used to keep track of the Images (Fonts and Sounds) throughout the entire ZEngine.
<p>
<code>#include "<a class="el" href="ZE__Includes_8h-source.html">ZE_Includes.h</a>"</code><br>
<p>
<a href="ZE__DataPtr_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,36 @@
<!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>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_Defines.h</h1><a href="ZE__Defines_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
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>
00005 <span class="comment"> Licensed under the BSD License, see licensing.txt.</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (jturk@conceptofzero.net) </span>
00008 <span class="comment"> and the home of this Library is http://www.conceptofzero.net/</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00024 <span class="preprocessor">#ifndef __ze_defines_h__</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define __ze_defines_h__</span>
00026 <span class="preprocessor"></span>
00027 <span class="comment">//defines- undefine any of these if you dont have the indicated SDL extension//</span>
<a name="l00029"></a><a class="code" href="ZE__Defines_8h.html#a0">00029</a> <span class="comment">#define USE_SDL_TTF</span>
<a name="l00031"></a><a class="code" href="ZE__Defines_8h.html#a1">00031</a> <span class="comment">#define USE_SDL_IMAGE</span>
<a name="l00033"></a><a class="code" href="ZE__Defines_8h.html#a2">00033</a> <span class="comment">#define USE_SDL_MIXER</span>
00035 <span class="comment">//#define USE_PHYSFS</span>
<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>
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
<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>
</body>
</html>

View File

@ -0,0 +1,45 @@
<!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>ZE_Defines.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_Defines.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<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>
Author(s): James Turk <br>
Last Updated: 11/07/02 <br>
</dd></dl>
<p>
Definition file, holds #define statements describing optional features of ZEngine.
<p>
<p>
<a href="ZE__Defines_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Defines</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="a0" doxytag="ZE_Defines.h::USE_SDL_TTF"></a>
#define&nbsp;</td><td valign=bottom><a class="el" href="ZE__Defines_8h.html#a0">USE_SDL_TTF</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Define to include font support.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a1" doxytag="ZE_Defines.h::USE_SDL_IMAGE"></a>
#define&nbsp;</td><td valign=bottom><a class="el" href="ZE__Defines_8h.html#a1">USE_SDL_IMAGE</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Define to include non-bmp image file support.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a2" doxytag="ZE_Defines.h::USE_SDL_MIXER"></a>
#define&nbsp;</td><td valign=bottom><a class="el" href="ZE__Defines_8h.html#a2">USE_SDL_MIXER</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Define to include sound support.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a3" doxytag="ZE_Defines.h::DEBUG_STREAM"></a>
#define&nbsp;</td><td valign=bottom><a class="el" href="ZE__Defines_8h.html#a3">DEBUG_STREAM</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Undefine to disable debug streams for Error Handler.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a4" doxytag="ZE_Defines.h::VERSION"></a>
#define&nbsp;</td><td valign=bottom><a class="el" href="ZE__Defines_8h.html#a4">VERSION</a>&nbsp;&nbsp;&nbsp;"0.7.3"</td></tr>
<tr><td>&nbsp;</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
<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>
</body>
</html>

View File

@ -0,0 +1,30 @@
<!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>ZE_Error.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/src/ZE_Error.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Util/ZE_Error.cpp <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>
<p>
Error logging utilities for ZEngine and programs making use of ZEngine.
<p>
<code>#include "<a class="el" href="ZE__Error_8h-source.html">ZE_Error.h</a>"</code><br>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,48 @@
<!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>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_Error.h</h1><a href="ZE__Error_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
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>
00005 <span class="comment"> Licensed under the BSD License, see licensing.txt.</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (jturk@conceptofzero.net) </span>
00008 <span class="comment"> and the home of this Library is http://www.conceptofzero.net/</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00024 <span class="preprocessor">#ifndef __ze_error_h__</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define __ze_error_h__</span>
00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#include "<a class="code" href="ZE__Includes_8h.html">ZE_Includes.h</a>"</span>
00028
00029 <span class="keyword">namespace </span>ZE
00030 {
00031
00032
00034 <span class="comment">//Error Logging + Formatting//</span>
00036 <span class="comment"></span>
00046 <span class="comment"></span>string <a class="code" href="namespaceZE.html#a0">_GetError</a>(<span class="keywordtype">int</span> line, string file, string str);
00047
00056 <span class="keywordtype">void</span> <a class="code" href="namespaceZE.html#a1">_LogError</a>(<span class="keywordtype">int</span> line, string file, string str);
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>
00073 <span class="preprocessor"></span>
00077 <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
<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>
</body>
</html>

View File

@ -0,0 +1,90 @@
<!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>ZE_Error.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_Error.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Util/ZE_Error.h <br>
Description: Header file for ZEngine Error Handling Functions. <br>
Author(s): James Turk <br>
Last Updated: 9/8/02 <br>
</dd></dl>
<p>
Definition file for ZEngine Error Logging + Formatting functions which are used for internal and external errors.
<p>
<code>#include "<a class="el" href="ZE__Includes_8h-source.html">ZE_Includes.h</a>"</code><br>
<p>
<a href="ZE__Error_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
<tr><td colspan=2><br><h2>Defines</h2></td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="ZE__Error_8h.html#a0">GetError</a>(str)&nbsp;&nbsp;&nbsp;_GetError(__LINE__,__FILE__,str)</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="ZE__Error_8h.html#a1">LogError</a>(str)&nbsp;&nbsp;&nbsp;_LogError(__LINE__,__FILE__,str)</td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a name="a0" doxytag="ZE_Error.h::GetError"></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"> #define GetError</td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">str&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap>&nbsp;&nbsp;&nbsp;_GetError(__LINE__,__FILE__,str)
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Creates a string about an error, telling what file it occured in and where, and gives a user defined string as well. </td>
</tr>
</table>
<a name="a1" doxytag="ZE_Error.h::LogError"></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"> #define LogError</td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">str&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap>&nbsp;&nbsp;&nbsp;_LogError(__LINE__,__FILE__,str)
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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
<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>
</body>
</html>

View File

@ -0,0 +1,55 @@
<!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>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_Includes.h</h1><a href="ZE__Includes_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
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>
00005 <span class="comment"> Licensed under the BSD License, see licensing.txt.</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (jturk@conceptofzero.net) </span>
00008 <span class="comment"> and the home of this Library is http://www.conceptofzero.net/</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00025 <span class="preprocessor">#ifndef __ze_includes_h__</span>
00026 <span class="preprocessor"></span><span class="preprocessor">#define __ze_includes_h__</span>
00027 <span class="preprocessor"></span>
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 &lt;string&gt;</span>
00046 <span class="preprocessor">#include &lt;vector&gt;</span>
00047 <span class="preprocessor">#include &lt;fstream&gt;</span>
00048 <span class="preprocessor">#include &lt;list&gt;</span>
00049 <span class="preprocessor">#include &lt;cstdio&gt;</span>
00050 <span class="preprocessor">#include &lt;cstdlib&gt;</span>
00051 <span class="preprocessor">#include &lt;cstdarg&gt;</span>
00052 <span class="preprocessor">#include &lt;cctype&gt;</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
<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>
</body>
</html>

View File

@ -0,0 +1,44 @@
<!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>ZE_Includes.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_Includes.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: ZE_Includes.h <br>
Description: Header file for ZEngine universal includes. <br>
Author(s): James Turk <br>
Last Updated: 11/01/02 <br>
</dd></dl>
<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_image.h"</code><br>
<code>#include "SDL_ttf.h"</code><br>
<code>#include "SDL_mixer.h"</code><br>
<code>#include &lt;string&gt;</code><br>
<code>#include &lt;vector&gt;</code><br>
<code>#include &lt;fstream&gt;</code><br>
<code>#include &lt;list&gt;</code><br>
<code>#include &lt;cstdio&gt;</code><br>
<code>#include &lt;cstdlib&gt;</code><br>
<code>#include &lt;cstdarg&gt;</code><br>
<code>#include &lt;cctype&gt;</code><br>
<p>
<a href="ZE__Includes_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><b>std</b></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,30 @@
<!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>ZE_ZConfigFile.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/src/ZE_ZConfigFile.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZConfigFile.cpp <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>
<p>
Implementation of ZConfigFile, the ZEngine INI-Style Config File.
<p>
<code>#include "<a class="el" href="ZE__ZConfigFile_8h-source.html">ZE_ZConfigFile.h</a>"</code><br>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,91 @@
<!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>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZConfigFile.h</h1><a href="ZE__ZConfigFile_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
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>
00005 <span class="comment"> Licensed under the BSD License, see licensing.txt.</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (jturk@conceptofzero.net) </span>
00008 <span class="comment"> and the home of this Library is http://www.conceptofzero.net/</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00025 <span class="preprocessor">#ifndef __ze_zconfigfile_h__</span>
00026 <span class="preprocessor"></span><span class="preprocessor">#define __ze_zconfigfile_h__</span>
00027 <span class="preprocessor"></span>
00028 <span class="preprocessor">#include "<a class="code" href="ZE__ZObject_8h.html">ZE_ZObject.h</a>"</span> <span class="comment">//included even though ZCF isn't derived (to obtain all other needed headers)</span>
00029
00030 <span class="keyword">namespace </span>ZE
00031 {
00032
00038 <span class="keyword">class </span>ZConfigFile : <span class="keyword">public</span> ZObject
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&lt;ZCF_Variable&gt; varList;
00054 };
00055
00057 list&lt;ZCF_Section&gt; <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>();
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
<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>
</body>
</html>

View File

@ -0,0 +1,32 @@
<!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>ZE_ZConfigFile.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZConfigFile.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<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>
<p>
Definition file for ZConfigFile, an INI-style Config format.
<p>
<code>#include "<a class="el" href="ZE__ZObject_8h-source.html">ZE_ZObject.h</a>"</code><br>
<p>
<a href="ZE__ZConfigFile_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,30 @@
<!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>ZE_ZEngine.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/src/ZE_ZEngine.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: ZE_ZEngine.cpp <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>
<p>
Actual implementation of ZEngine singleton class at heart of ZEngine.
<p>
<code>#include "<a class="el" href="ZE__ZEngine_8h-source.html">ZE_ZEngine.h</a>"</code><br>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,203 @@
<!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>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZEngine.h</h1><a href="ZE__ZEngine_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
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>
00005 <span class="comment"> Licensed under the BSD License, see licensing.txt.</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (jturk@conceptofzero.net) </span>
00008 <span class="comment"> and the home of this Library is http://www.conceptofzero.net/</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
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>
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
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>;
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>();
00072
00078 <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#d1">ReleaseInstance</a>();
00079
00086 <span class="keyword">static</span> string <a class="code" href="classZE_1_1ZEngine.html#d2">GetVersion</a>();
00087
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>;
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>;
00107 <span class="preprocessor">#endif </span>
00108 <span class="preprocessor"></span>
00109
00110 <span class="keyword">public</span>:
00111 <span class="comment">//add initialization</span>
00112
00123 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a0">SetupDisplay</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> bpp, <span class="keywordtype">bool</span> fullscreen);
00124
00125 <span class="preprocessor">#ifdef USE_SDL_MIXER</span>
00126 <span class="preprocessor"></span>
00134 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a1">SetupSound</a>(<span class="keywordtype">int</span> rate, <span class="keywordtype">bool</span> stereo);
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>);
00147
00153 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a3">CloseWindow</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>;
00162
00163 <span class="keyword">public</span>:
00170 SDL_Surface *<a class="code" href="classZE_1_1ZEngine.html#a4">GetDisplay</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> &amp;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> &amp;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> &amp;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);
00472
00479 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZEngine.html#a33">FreeFont</a>(<a class="code" href="classZE_1_1FontData.html">FontData</a> &amp;font);
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
<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>
</body>
</html>

View File

@ -0,0 +1,35 @@
<!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>ZE_ZEngine.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZEngine.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header:</b></dt><dd>File: ZE_ZEngine.h <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>
<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__Includes_8h-source.html">ZE_Includes.h</a>"</code><br>
<p>
<a href="ZE__ZEngine_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +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>ZE_ZFont.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/src/ZE_ZFont.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZFont.cpp <br>
Description: Implementation source file for core ZEngine Font Object. <br>
Author(s): James Turk <br>
Last Updated: 11/07/02 <br>
</dd></dl>
<p>
Implementation of ZFont, the basic Font class for ZEngine.
<p>
<code>#include "<a class="el" href="ZE__ZFont_8h-source.html">ZE_ZFont.h</a>"</code><br>
<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
<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>
</body>
</html>

View File

@ -0,0 +1,94 @@
<!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>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZFont.h</h1><a href="ZE__ZFont_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
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>
00005 <span class="comment"> Licensed under the BSD License, see licensing.txt.</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (jturk@conceptofzero.net) </span>
00008 <span class="comment"> and the home of this Library is http://www.conceptofzero.net/</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00024 <span class="preprocessor">#ifndef __ze_zfont_h__</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define __ze_zfont_h__</span>
00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#include "<a class="code" href="ZE__ZObject_8h.html">ZE_ZObject.h</a>"</span>
00028 <span class="preprocessor">#include "<a class="code" href="ZE__ZImage_8h.html">ZE_ZImage.h</a>"</span>
00029
00030 <span class="preprocessor">#ifdef USE_SDL_TTF</span>
00031 <span class="preprocessor"></span>
00032 <span class="keyword">namespace </span>ZE
00033 {
00034
00040 <span class="keyword">class </span>ZFont : <span class="keyword">public</span> ZObject
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>:
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 &amp;image);
00107
00115 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZFont.html#a6">DrawShadedText</a>(string text, ZImage &amp;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 }
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
<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>
</body>
</html>

View File

@ -0,0 +1,33 @@
<!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>ZE_ZFont.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZFont.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZFont.h <br>
Description: Header file for core ZEngine Font Object. <br>
Author(s): James Turk <br>
Last Updated: 11/07/02 <br>
</dd></dl>
<p>
Definition file for ZFont, the basic Font class for ZEngine.
<p>
<code>#include "<a class="el" href="ZE__ZObject_8h-source.html">ZE_ZObject.h</a>"</code><br>
<code>#include "<a class="el" href="ZE__ZImage_8h-source.html">ZE_ZImage.h</a>"</code><br>
<p>
<a href="ZE__ZFont_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,30 @@
<!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>ZE_ZImage.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/src/ZE_ZImage.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<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.
<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>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,81 @@
<!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>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZImage.h</h1><a href="ZE__ZImage_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
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>
00005 <span class="comment"> Licensed under the BSD License, see licensing.txt.</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (jturk@conceptofzero.net) </span>
00008 <span class="comment"> and the home of this Library is http://www.conceptofzero.net/</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00024 <span class="preprocessor">#ifndef __ze_zimage_h__</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define __ze_zimage_h__</span>
00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#include "<a class="code" href="ZE__ZObject_8h.html">ZE_ZObject.h</a>"</span>
00028
00029 <span class="keyword">namespace </span>ZE
00030 {
00031
00037 <span class="keyword">class </span>ZImage : <span class="keyword">public</span> ZObject
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 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>
</body>
</html>

View File

@ -0,0 +1,32 @@
<!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>ZE_ZImage.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZImage.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<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.
<p>
<code>#include "<a class="el" href="ZE__ZObject_8h-source.html">ZE_ZObject.h</a>"</code><br>
<p>
<a href="ZE__ZImage_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +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>ZE_ZMusic.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/src/ZE_ZMusic.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZMusic.cpp <br>
Description: Implementation source file for core ZEngine Music Object. <br>
Author(s): James Turk <br>
Last Updated: 11/07/02 <br>
</dd></dl>
<p>
Implementation of ZMusic, the basic Music class for ZEngine.
<p>
<code>#include "<a class="el" href="ZE__ZMusic_8h-source.html">ZE_ZMusic.h</a>"</code><br>
<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
<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>
</body>
</html>

View File

@ -0,0 +1,85 @@
<!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>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZMusic.h</h1><a href="ZE__ZMusic_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
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>
00005 <span class="comment"> Licensed under the BSD License, see licensing.txt.</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (jturk@conceptofzero.net) </span>
00008 <span class="comment"> and the home of this Library is http://www.conceptofzero.net/</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00024 <span class="preprocessor">#ifndef __ze_zmusic_h__</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define __ze_zmusic_h__</span>
00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#include "<a class="code" href="ZE__ZObject_8h.html">ZE_ZObject.h</a>"</span>
00028
00029 <span class="preprocessor">#ifdef USE_SDL_MIXER</span>
00030 <span class="preprocessor"></span>
00031 <span class="keyword">namespace </span>ZE
00032 {
00033
00039 <span class="keyword">class </span>ZMusic : <span class="keyword">public</span> ZObject
00040 {
00041 <span class="keyword">protected</span>:
00043 MusicData <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>;
00048
00050 <span class="comment">//Opening and Closing//</span>
00052 <span class="comment"></span>
00058 <span class="comment"></span> <a class="code" href="classZE_1_1ZMusic.html#a0">ZMusic</a>();
00059
00066 <a class="code" href="classZE_1_1ZMusic.html#a0">ZMusic</a>(string filename);
00067
00073 <a class="code" href="classZE_1_1ZMusic.html#a2">~ZMusic</a>();
00074
00081 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a3">Open</a>(string filename);
00082
00088 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a4">Release</a>();
00089
00091 <span class="comment">//Play Controls//</span>
00093 <span class="comment"></span>
00102 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a5">Play</a>(<span class="keywordtype">int</span> loopNum=0, <span class="keywordtype">int</span> fadeTime=0);
00103
00109 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a6">Pause</a>();
00110
00116 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a7">Unpause</a>();
00117
00123 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a8">Rewind</a>();
00124
00131 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a9">Stop</a>(<span class="keywordtype">int</span> fadeTime=0);
00132
00139 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZMusic.html#a10">SetVolume</a>(<span class="keywordtype">int</span> volume);
00140
00142 <span class="comment">//Accessors//</span>
00144 <span class="comment"></span>
00151 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZMusic.html#a11">IsLoaded</a>();
00152
00159 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZMusic.html#a12">IsPlaying</a>();
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>();
00176 };
00177
00178
00179 }
00180
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
<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>
</body>
</html>

View File

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

View File

@ -0,0 +1,43 @@
<!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>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZObject.h</h1><a href="ZE__ZObject_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
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>
00005 <span class="comment"> Licensed under the BSD License, see licensing.txt.</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (jturk@conceptofzero.net) </span>
00008 <span class="comment"> and the home of this Library is http://www.conceptofzero.net/</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00024 <span class="preprocessor">#ifndef __ze_zobject_h__</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define __ze_zobject_h__</span>
00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#include "<a class="code" href="ZE__ZEngine_8h.html">ZE_ZEngine.h</a>"</span>
00028
00029 <span class="keyword">namespace </span>ZE
00030 {
00036 <span class="keyword">class </span>ZObject
00037 {
00038 <span class="keyword">protected</span>:
00040 ZEngine* <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(); };
00048
00054 <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
<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>
</body>
</html>

View File

@ -0,0 +1,32 @@
<!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>ZE_ZObject.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZObject.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZObject.h <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>
<p>
Definition file for ZObject the Virtual Base Class for majority of the ZEngine Objects.
<p>
<code>#include "<a class="el" href="ZE__ZEngine_8h-source.html">ZE_ZEngine.h</a>"</code><br>
<p>
<a href="ZE__ZObject_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

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

View File

@ -0,0 +1,90 @@
<!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>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZRect.h</h1><a href="ZE__ZRect_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
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>
00005 <span class="comment"> Licensed under the BSD License, see licensing.txt.</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (jturk@conceptofzero.net) </span>
00008 <span class="comment"> and the home of this Library is http://www.conceptofzero.net/</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00024 <span class="preprocessor">#ifndef __ze_zrect_h__</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define __ze_zrect_h__</span>
00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#include "<a class="code" href="ZE__ZObject_8h.html">ZE_ZObject.h</a>"</span> <span class="comment">//included even though ZRect isn't derived (to obtain all other needed headers)</span>
00028
00029 <span class="keyword">namespace </span>ZE
00030 {
00031
00037 <span class="keyword">class </span>ZRect
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>;
00048
00049 <span class="keyword">public</span>:
00050
00056 <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a>();
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> &amp;rhs);
00076
00084 <span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a>&amp; <a class="code" href="classZE_1_1ZRect.html#a3">operator=</a>(<span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a> &amp;rhs);
00085
00094 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZRect.html#a4">operator&lt;</a>(<span class="keyword">const</span> <a class="code" href="classZE_1_1ZRect.html#a0">ZRect</a> &amp;rhs) <span class="keyword">const</span>;
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
00112 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZRect.html#a6">MoveRel</a>(<span class="keywordtype">int</span> xMove, <span class="keywordtype">int</span> yMove);
00113
00121 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZRect.html#a7">Resize</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);
00122
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> &amp;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> &amp;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> &amp;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
00183 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a14">X</a>() <span class="keyword">const</span>;
00184
00191 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a15">Y</a>() <span class="keyword">const</span>;
00192
00199 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a16">Left</a>() <span class="keyword">const</span>;
00200
00207 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a17">Right</a>() <span class="keyword">const</span>;
00208
00215 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a18">Top</a>() <span class="keyword">const</span>;
00216
00223 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a19">Bottom</a>() <span class="keyword">const</span>;
00224
00231 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a20">Width</a>() <span class="keyword">const</span>;
00232
00239 <span class="keywordtype">int</span> <a class="code" href="classZE_1_1ZRect.html#a21">Height</a>() <span class="keyword">const</span>;
00240 };
00241
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
<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>
</body>
</html>

View File

@ -0,0 +1,32 @@
<!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>ZE_ZRect.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZRect.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: ZE_ZRect.h <br>
Description: Header file for core ZEngine Rectangle Object. <br>
Author(s): James Turk <br>
Last Updated: 11/08/02 <br>
</dd></dl>
<p>
Definition file for ZRect, the Rectangle class for ZEngine.
<p>
<code>#include "<a class="el" href="ZE__ZObject_8h-source.html">ZE_ZObject.h</a>"</code><br>
<p>
<a href="ZE__ZRect_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +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>ZE_ZSound.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/src/ZE_ZSound.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZSound.cpp <br>
Description: Implementation source file for core ZEngine Sound Object. <br>
Author(s): James Turk <br>
Last Updated: 11/07/02 <br>
</dd></dl>
<p>
Implementation of ZSound, the basic Sound class for ZEngine.
<p>
<code>#include "<a class="el" href="ZE__ZSound_8h-source.html">ZE_ZSound.h</a>"</code><br>
<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
<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>
</body>
</html>

View File

@ -0,0 +1,84 @@
<!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>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZSound.h</h1><a href="ZE__ZSound_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
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>
00005 <span class="comment"> Licensed under the BSD License, see licensing.txt.</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (jturk@conceptofzero.net) </span>
00008 <span class="comment"> and the home of this Library is http://www.conceptofzero.net/</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00024 <span class="preprocessor">#ifndef __ze_zsound_h__</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define __ze_zsound_h__</span>
00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#include "<a class="code" href="ZE__ZObject_8h.html">ZE_ZObject.h</a>"</span>
00028
00029 <span class="preprocessor">#ifdef USE_SDL_MIXER</span>
00030 <span class="preprocessor"></span>
00031 <span class="keyword">namespace </span>ZE
00032 {
00033
00039 <span class="keyword">class </span>ZSound : <span class="keyword">public</span> ZObject
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>;
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>;
00050
00052 <span class="comment">//Opening and Closing//</span>
00054 <span class="comment"></span>
00060 <span class="comment"></span> <a class="code" href="classZE_1_1ZSound.html#a0">ZSound</a>();
00061
00068 <a class="code" href="classZE_1_1ZSound.html#a0">ZSound</a>(string filename);
00069
00075 <a class="code" href="classZE_1_1ZSound.html#a2">~ZSound</a>();
00076
00083 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a3">Open</a>(string filename);
00084
00090 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a4">Release</a>();
00091
00093 <span class="comment">//Play Controls//</span>
00095 <span class="comment"></span>
00104 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a5">Play</a>(<span class="keywordtype">int</span> loopNum=0, <span class="keywordtype">int</span> fadeTime=0);
00105
00111 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a6">Pause</a>();
00112
00118 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a7">Unpause</a>();
00119
00126 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a8">Stop</a>(<span class="keywordtype">int</span> fadeTime=0);
00127
00134 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZSound.html#a9">SetVolume</a>(<span class="keywordtype">int</span> volume);
00135
00137 <span class="comment">//Accessors//</span>
00139 <span class="comment"></span>
00146 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZSound.html#a10">IsLoaded</a>();
00147
00154 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZSound.html#a11">IsPlaying</a>();
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>();
00171 };
00172
00173
00174 }
00175
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
<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>
</body>
</html>

View File

@ -0,0 +1,32 @@
<!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>ZE_ZSound.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZSound.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZSound.h <br>
Description: Header file for core ZEngine Sound Wrapper Object. <br>
Author(s): James Turk <br>
Last Updated: 11/07/02 <br>
</dd></dl>
<p>
Definition file for ZSound, the Sound Effect wrapper for ZEngine.
<p>
<code>#include "<a class="el" href="ZE__ZObject_8h-source.html">ZE_ZObject.h</a>"</code><br>
<p>
<a href="ZE__ZSound_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

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

View File

@ -0,0 +1,60 @@
<!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>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZTimer.h</h1><a href="ZE__ZTimer_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
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>
00005 <span class="comment"> Licensed under the BSD License, see licensing.txt.</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (jturk@conceptofzero.net) </span>
00008 <span class="comment"> and the home of this Library is http://www.conceptofzero.net/</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00024 <span class="preprocessor">#ifndef __ze_ztimer_h__</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define __ze_ztimer_h__</span>
00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#include "<a class="code" href="ZE__ZObject_8h.html">ZE_ZObject.h</a>"</span>
00028
00029 <span class="keyword">namespace </span>ZE
00030 {
00031
00037 <span class="keyword">class </span>ZTimer : <span class="keyword">public</span> ZObject
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>;
00048
00055 Uint32 <a class="code" href="classZE_1_1ZTimer.html#b0">GetParentTime</a>();
00056
00057 <span class="keyword">public</span>:
00058
00065 <a class="code" href="classZE_1_1ZTimer.html#a0">ZTimer</a>(<span class="keywordtype">bool</span> useZEngine=<span class="keyword">true</span>);
00066
00072 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZTimer.html#a1">Reset</a>();
00073
00079 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZTimer.html#a2">Pause</a>();
00080
00086 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZTimer.html#a3">Unpause</a>();
00087
00094 Uint32 <a class="code" href="classZE_1_1ZTimer.html#a4">GetTime</a>();
00095
00102 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZTimer.html#a5">IsPaused</a>();
00103 };
00104
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
<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>
</body>
</html>

View File

@ -0,0 +1,32 @@
<!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>ZE_ZTimer.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZTimer.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header: </b></dt><dd>File: Types/ZE_ZTimer.h <br>
Description: Header file for core ZEngine Timer Object. <br>
Author(s): James Turk <br>
Last Updated: 11/07/02 <br>
</dd></dl>
<p>
Definition file for ZTimer, the Timer class for ZEngine.
<p>
<code>#include "<a class="el" href="ZE__ZObject_8h-source.html">ZE_ZObject.h</a>"</code><br>
<p>
<a href="ZE__ZTimer_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html">ZE</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,27 @@
<!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>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZEngine.h</h1><a href="ZEngine_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
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
<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>
</body>
</html>

37
doc/html/ZEngine_8h.html Normal file
View File

@ -0,0 +1,37 @@
<!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>ZEngine.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZEngine.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>File Header:</b></dt><dd>File: ZEngine.h <br>
Description: Public Header File for ZEngine. <br>
Author(s): James Turk <br>
Last Updated: 11/07/02 <br>
</dd></dl>
<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__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>
<code>#include "<a class="el" href="ZE__ZRect_8h-source.html">ZE_ZRect.h</a>"</code><br>
<code>#include "<a class="el" href="ZE__ZFont_8h-source.html">ZE_ZFont.h</a>"</code><br>
<code>#include "<a class="el" href="ZE__ZSound_8h-source.html">ZE_ZSound.h</a>"</code><br>
<code>#include "<a class="el" href="ZE__ZMusic_8h-source.html">ZE_ZMusic.h</a>"</code><br>
<p>
<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
<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>
</body>
</html>

29
doc/html/annotated.html Normal file
View File

@ -0,0 +1,29 @@
<!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>Annotated Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZEngine Compound List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table>
<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_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>
<tr><td class="indexkey"><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZMusic.html">ZMusic</a> class for playing full length music (eg. ogg or wav)</td></tr>
<tr><td class="indexkey"><a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZObject.html">ZObject</a> base class for other <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> objects</td></tr>
<tr><td class="indexkey"><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> class for simplified rectangle use</td></tr>
<tr><td class="indexkey"><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZSound.html">ZSound</a> class for playing sound effects. (WAV)</td></tr>
<tr><td class="indexkey"><a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a></td><td class="indexvalue"><a class="el" href="classZE_1_1ZTimer.html">ZTimer</a> class for Timer use</td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,18 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::FontData Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1FontData.html">ZE::FontData</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1FontData.html#m1">filename</a></td><td><a class="el" href="classZE_1_1FontData.html">ZE::FontData</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1FontData.html#m0">font</a></td><td><a class="el" href="classZE_1_1FontData.html">ZE::FontData</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1FontData.html#a0">FontData</a>()</td><td><a class="el" href="classZE_1_1FontData.html">ZE::FontData</a></td><td><code> [inline]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,63 @@
<!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>ZE::FontData class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::FontData Class Reference</h1><code>#include &lt;<a class="el" href="ZE__DataPtr_8h-source.html">ZE_DataPtr.h</a>&gt;</code>
<p>
<a href="classZE_1_1FontData-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Class used to keep track of loaded data and associate a TTF_Font with an index number and filename.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1FontData.html#a0">FontData</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Initialize <a class="el" href="classZE_1_1FontData.html">FontData</a>.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="m0" doxytag="ZE::FontData::font"></a>
TTF_Font *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1FontData.html#m0">font</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Pointer to SDL_TTF font data.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="m1" doxytag="ZE::FontData::filename"></a>
string&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1FontData.html#m1">filename</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>File font was loaded from.</em></font><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ZE::FontData::FontData"></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"> ZE::FontData::FontData </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets font pointer to NULL </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__DataPtr_8h-source.html">ZE_DataPtr.h</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,18 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ImageData Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ImageData.html">ZE::ImageData</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ImageData.html#m1">filename</a></td><td><a class="el" href="classZE_1_1ImageData.html">ZE::ImageData</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ImageData.html#m0">image</a></td><td><a class="el" href="classZE_1_1ImageData.html">ZE::ImageData</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ImageData.html#a0">ImageData</a>()</td><td><a class="el" href="classZE_1_1ImageData.html">ZE::ImageData</a></td><td><code> [inline]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,63 @@
<!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>ZE::ImageData class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ImageData Class Reference</h1><code>#include &lt;<a class="el" href="ZE__DataPtr_8h-source.html">ZE_DataPtr.h</a>&gt;</code>
<p>
<a href="classZE_1_1ImageData-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Class used to keep track of loaded data and associate an SDL_Surface with an index number and filename.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ImageData.html#a0">ImageData</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Initialize <a class="el" href="classZE_1_1ImageData.html">ImageData</a>.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="m0" doxytag="ZE::ImageData::image"></a>
SDL_Surface *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ImageData.html#m0">image</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Pointer to SDL_Surface.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="m1" doxytag="ZE::ImageData::filename"></a>
string&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ImageData.html#m1">filename</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>File image was loaded from.</em></font><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ZE::ImageData::ImageData"></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"> ZE::ImageData::ImageData </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets image pointer to NULL </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__DataPtr_8h-source.html">ZE_DataPtr.h</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,18 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::MusicData Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1MusicData.html">ZE::MusicData</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1MusicData.html#m1">filename</a></td><td><a class="el" href="classZE_1_1MusicData.html">ZE::MusicData</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1MusicData.html#m0">music</a></td><td><a class="el" href="classZE_1_1MusicData.html">ZE::MusicData</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1MusicData.html#a0">MusicData</a>()</td><td><a class="el" href="classZE_1_1MusicData.html">ZE::MusicData</a></td><td><code> [inline]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 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>
</body>
</html>

View File

@ -0,0 +1,63 @@
<!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>ZE::MusicData class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::MusicData Class Reference</h1><code>#include &lt;<a class="el" href="ZE__DataPtr_8h-source.html">ZE_DataPtr.h</a>&gt;</code>
<p>
<a href="classZE_1_1MusicData-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Class used to keep track of loaded data and associate a Mix_Music with an index number and filename.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1MusicData.html#a0">MusicData</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Initialize <a class="el" href="classZE_1_1MusicData.html">MusicData</a>.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="m0" doxytag="ZE::MusicData::music"></a>
Mix_Music *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1MusicData.html#m0">music</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Pointer to SDL_Mixer music data.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="m1" doxytag="ZE::MusicData::filename"></a>
string&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1MusicData.html#m1">filename</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>File music was loaded from.</em></font><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ZE::MusicData::MusicData"></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"> ZE::MusicData::MusicData </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets music pointer to NULL </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__DataPtr_8h-source.html">ZE_DataPtr.h</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 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>
</body>
</html>

View File

@ -0,0 +1,18 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::SoundData Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1SoundData.html">ZE::SoundData</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1SoundData.html#m1">filename</a></td><td><a class="el" href="classZE_1_1SoundData.html">ZE::SoundData</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1SoundData.html#m0">sound</a></td><td><a class="el" href="classZE_1_1SoundData.html">ZE::SoundData</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1SoundData.html#a0">SoundData</a>()</td><td><a class="el" href="classZE_1_1SoundData.html">ZE::SoundData</a></td><td><code> [inline]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,63 @@
<!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>ZE::SoundData class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::SoundData Class Reference</h1><code>#include &lt;<a class="el" href="ZE__DataPtr_8h-source.html">ZE_DataPtr.h</a>&gt;</code>
<p>
<a href="classZE_1_1SoundData-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Class used to keep track of loaded data and associate a Mix_Chunk with an index number and filename.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1SoundData.html#a0">SoundData</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Initialize <a class="el" href="classZE_1_1SoundData.html">SoundData</a>.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="m0" doxytag="ZE::SoundData::sound"></a>
Mix_Chunk *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1SoundData.html#m0">sound</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Pointer to SDL_Mixer sound effect data.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="m1" doxytag="ZE::SoundData::filename"></a>
string&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1SoundData.html#m1">filename</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>File sound effect was loaded from.</em></font><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ZE::SoundData::SoundData"></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"> ZE::SoundData::SoundData </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets sound pointer to NULL </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__DataPtr_8h-source.html">ZE_DataPtr.h</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,37 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZConfigFile Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZConfigFile.html#c0">CleanString</a>(string str)</td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZConfigFile.html#a11">Close</a>()</td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>Exists</b>(string sec) (defined in <a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a>)</td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>Exists</b>(string sec, string var) (defined in <a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a>)</td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZConfigFile.html#a10">Flush</a>()</td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZConfigFile.html#a5">GetBool</a>(string section, string var, bool defVal)</td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZConfigFile.html#a4">GetInt</a>(string section, string var, int defVal)</td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZConfigFile.html#a6">GetString</a>(string section, string var, string defVal)</td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>GetVariable</b>(string sec, string var, string defVal) (defined in <a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a>)</td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZConfigFile.html#o0">mFileLayout</a></td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZConfigFile.html#o1">mFilename</a></td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZConfigFile.html#a3">Process</a>(string filename)</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#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_1ZConfigFile.html#a8">SetBool</a>(string section, string var, bool val)</td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZConfigFile.html#a7">SetInt</a>(string section, string var, int val)</td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZConfigFile.html#a9">SetString</a>(string section, string var, string val)</td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>SetVariable</b>(string sec, string var, string val) (defined in <a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a>)</td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZConfigFile.html#a0">ZConfigFile</a>()</td><td><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZConfigFile.html#a1">ZConfigFile</a>(string filename)</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#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
<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>
</body>
</html>

View File

@ -0,0 +1,595 @@
<!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>ZE::ZConfigFile class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZConfigFile Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZConfigFile_8h-source.html">ZE_ZConfigFile.h</a>&gt;</code>
<p>
Inherits <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>.
<p>
<a href="classZE_1_1ZConfigFile-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a> class for INI-style configuration files for games or applications. Inherited from <a class="el" href="classZE_1_1ZObject.html">ZObject</a>.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#a0">ZConfigFile</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Default constructor.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#a1">ZConfigFile</a> (string filename)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Constructor which takes filename.</em> <a href="#a1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#a2">~ZConfigFile</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Destructor, flushes file.</em> <a href="#a2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#a3">Process</a> (string filename)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Parse a file.</em> <a href="#a3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#a4">GetInt</a> (string section, string var, int defVal)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get value in integer format from file.</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#a5">GetBool</a> (string section, string var, bool defVal)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get value in boolean format from file.</em> <a href="#a5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>string&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#a6">GetString</a> (string section, string var, string defVal)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get value in string format from file.</em> <a href="#a6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#a7">SetInt</a> (string section, string var, int val)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set value in integer format in file.</em> <a href="#a7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#a8">SetBool</a> (string section, string var, bool val)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set value in boolean format in file.</em> <a href="#a8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#a9">SetString</a> (string section, string var, string val)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set value in string format in file.</em> <a href="#a9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#a10">Flush</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Write all values to file.</em> <a href="#a10"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#a11">Close</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Close the file.</em> <a href="#a11"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Private Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>string&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#c0">CleanString</a> (string str)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Reformat a string in a form more suitable to parsing.</em> <a href="#c0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="c1" doxytag="ZE::ZConfigFile::Exists"></a>
bool&nbsp;</td><td valign=bottom><b>Exists</b> (string sec)</td></tr>
<tr><td nowrap align=right valign=top><a name="c2" doxytag="ZE::ZConfigFile::Exists"></a>
bool&nbsp;</td><td valign=bottom><b>Exists</b> (string sec, string var)</td></tr>
<tr><td nowrap align=right valign=top><a name="c3" doxytag="ZE::ZConfigFile::SetVariable"></a>
void&nbsp;</td><td valign=bottom><b>SetVariable</b> (string sec, string var, string val)</td></tr>
<tr><td nowrap align=right valign=top><a name="c4" doxytag="ZE::ZConfigFile::GetVariable"></a>
string&nbsp;</td><td valign=bottom><b>GetVariable</b> (string sec, string var, string defVal)</td></tr>
<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="o0" doxytag="ZE::ZConfigFile::mFileLayout"></a>
list&lt; ZCF_Section &gt;&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#o0">mFileLayout</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>List of sections of internal type.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="o1" doxytag="ZE::ZConfigFile::mFilename"></a>
string&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html#o1">mFilename</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Filename of file currently open.</em></font><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ZE::ZConfigFile::ZConfigFile"></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"> ZE::ZConfigFile::ZConfigFile </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
A no-op default constructor. </td>
</tr>
</table>
<a name="a1" doxytag="ZE::ZConfigFile::ZConfigFile"></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"> ZE::ZConfigFile::ZConfigFile </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>filename</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>File to load as <a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a>. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a2" doxytag="ZE::ZConfigFile::~ZConfigFile"></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"> ZE::ZConfigFile::~ZConfigFile </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Flushes the file, ensures a flush if the file is left open. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="c0" doxytag="ZE::ZConfigFile::CleanString"></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::ZConfigFile::CleanString </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>str</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap><code> [private]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<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>&nbsp;</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>
</tr>
</table>
<a name="a3" doxytag="ZE::ZConfigFile::Process"></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::ZConfigFile::Process </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>filename</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>File to parse and attach this ZDataFile to. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a4" doxytag="ZE::ZConfigFile::GetInt"></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::ZConfigFile::GetInt </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>section</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>var</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>defVal</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Name of section to seek variable under. </td></tr>
<tr><td valign=top><em>var</em>&nbsp;</td><td>Name of variable to seek value for. </td></tr>
<tr><td valign=top><em>defVal</em>&nbsp;</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>
</tr>
</table>
<a name="a5" doxytag="ZE::ZConfigFile::GetBool"></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"> bool ZE::ZConfigFile::GetBool </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>section</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>var</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>bool&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>defVal</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Name of section to seek variable under. </td></tr>
<tr><td valign=top><em>var</em>&nbsp;</td><td>Name of variable to seek value for. </td></tr>
<tr><td valign=top><em>defVal</em>&nbsp;</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>
</tr>
</table>
<a name="a6" doxytag="ZE::ZConfigFile::GetString"></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::ZConfigFile::GetString </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>section</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>var</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>defVal</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Name of section to seek variable under. </td></tr>
<tr><td valign=top><em>var</em>&nbsp;</td><td>Name of variable to seek value for. </td></tr>
<tr><td valign=top><em>defVal</em>&nbsp;</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>
</tr>
</table>
<a name="a7" doxytag="ZE::ZConfigFile::SetInt"></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::ZConfigFile::SetInt </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>section</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>var</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>val</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set 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>&nbsp;</td><td>Name of section to edit variable under. </td></tr>
<tr><td valign=top><em>var</em>&nbsp;</td><td>Name of variable to set value for. </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>Integer value to set variable to in file. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a8" doxytag="ZE::ZConfigFile::SetBool"></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::ZConfigFile::SetBool </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>section</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>var</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>bool&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>val</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set 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>&nbsp;</td><td>Name of section to edit variable under. </td></tr>
<tr><td valign=top><em>var</em>&nbsp;</td><td>Name of variable to set value for. </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>Boolean value to set variable to in file. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a9" doxytag="ZE::ZConfigFile::SetString"></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::ZConfigFile::SetString </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>section</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>var</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>val</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set 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>&nbsp;</td><td>Name of section to edit variable under. </td></tr>
<tr><td valign=top><em>var</em>&nbsp;</td><td>Name of variable to set value for. </td></tr>
<tr><td valign=top><em>val</em>&nbsp;</td><td>String value to set variable to in file. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a10" doxytag="ZE::ZConfigFile::Flush"></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::ZConfigFile::Flush </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Writes all values and sections to file. </td>
</tr>
</table>
<a name="a11" doxytag="ZE::ZConfigFile::Close"></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::ZConfigFile::Close </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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
<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>
</body>
</html>

View File

@ -0,0 +1,77 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZEngine Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a>, including all inherited members.<table>
<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 &amp;font)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a27">FreeImage</a>(ImageData &amp;image)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a31">FreeMusic</a>(MusicData &amp;music)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a29">FreeSound</a>(SoundData &amp;sound)</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a36">GetBPP</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a4">GetDisplay</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a12">GetFrameTime</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#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#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#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#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#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>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o15">mKeyPressed</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#o9">mLastPause</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#o11">mLastTime</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#o18">mMouseB</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o16">mMouseX</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o17">mMouseY</a></td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#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#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>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#o4">mRate</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#o6">mScreen</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#o12">mSecPerFrame</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#o5">mStereo</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#o8">mUnpauseOnActive</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#o0">mWidth</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#a10">PauseTimer</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#a16">QuitRequested</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#a23">RButtonPressed</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#d1">ReleaseInstance</a>()</td><td><a class="el" href="classZE_1_1ZEngine.html">ZE::ZEngine</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZEngine.html#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#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#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
<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>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,40 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZFont Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a6">DrawShadedText</a>(string text, ZImage &amp;image)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#a5">DrawText</a>(string text, ZImage &amp;image)</td><td><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZFont.html#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#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#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#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#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#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
<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>
</body>
</html>

View File

@ -0,0 +1,768 @@
<!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>ZE::ZFont class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZFont Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZFont_8h-source.html">ZE_ZFont.h</a>&gt;</code>
<p>
Inherits <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>.
<p>
<a href="classZE_1_1ZFont-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classZE_1_1ZFont.html">ZFont</a> font container class, class wraps common features of SDL_TTF. Inherited from <a class="el" href="classZE_1_1ZObject.html">ZObject</a>.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a0">ZFont</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Default Constructor.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a1">ZFont</a> (string filename, int size)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Constructor that opens a font with a certain size.</em> <a href="#a1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a2">~ZFont</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Destructor, frees memory.</em> <a href="#a2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a3">Open</a> (string filename, int size)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Opens a font with a certain size.</em> <a href="#a3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a4">Release</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Release font.</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a5">DrawText</a> (string text, <a class="el" href="classZE_1_1ZImage.html">ZImage</a> &amp;image)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Draws a string in a color to a <a class="el" href="classZE_1_1ZImage.html">ZImage</a>.</em> <a href="#a5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a6">DrawShadedText</a> (string text, <a class="el" href="classZE_1_1ZImage.html">ZImage</a> &amp;image)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Draws a string with a colored background to a <a class="el" href="classZE_1_1ZImage.html">ZImage</a>.</em> <a href="#a6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a7">SetColor</a> (Uint8 r, Uint8 g, Uint8 b)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set Text rColor.</em> <a href="#a7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a8">SetBGColor</a> (Uint8 r, Uint8 g, Uint8 b)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set Background rColor.</em> <a href="#a8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a9">SetStyle</a> (bool bold, bool italic, bool underline)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set display format.</em> <a href="#a9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a10">Resize</a> (int size)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Resize Font.</em> <a href="#a10"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a11">IsLoaded</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check if file is loaded.</em> <a href="#a11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a12">IsBold</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Bold Setting.</em> <a href="#a12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a13">IsItalic</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Italic Setting.</em> <a href="#a13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a14">IsUnderlined</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Underlined Setting.</em> <a href="#a14"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a15">GetHeight</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Height of Font.</em> <a href="#a15"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a16">GetLineSkip</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Line Skip for Font.</em> <a href="#a16"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a17">GetStringWidth</a> (string text)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get String Width.</em> <a href="#a17"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#a18">GetStringHeight</a> (string text)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get String Height.</em> <a href="#a18"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="ZE::ZFont::rFont"></a>
<a class="el" href="classZE_1_1FontData.html">FontData</a>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n0">rFont</a></td></tr>
<tr><td>&nbsp;</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&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n1">rColor</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>SDL_Color for current text color.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="ZE::ZFont::rBGColor"></a>
SDL_Color&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html#n2">rBGColor</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>SDL_Color for background color to be used in shaded draws.</em></font><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ZE::ZFont::ZFont"></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"> ZE::ZFont::ZFont </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Default Constructor, does nothing. </td>
</tr>
</table>
<a name="a1" doxytag="ZE::ZFont::ZFont"></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"> ZE::ZFont::ZFont </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>filename</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>size</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Font to open. </td></tr>
<tr><td valign=top><em>size</em>&nbsp;</td><td>Size to use for font. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a2" doxytag="ZE::ZFont::~ZFont"></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"> ZE::ZFont::~ZFont </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Destructor calls <a class="el" href="classZE_1_1ZFont.html#a4">ZFont::Release()</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a3" doxytag="ZE::ZFont::Open"></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::ZFont::Open </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>filename</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>size</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Font to open. </td></tr>
<tr><td valign=top><em>size</em>&nbsp;</td><td>Size to use for font. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a4" doxytag="ZE::ZFont::Release"></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::ZFont::Release </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Release memory held by font. </td>
</tr>
</table>
<a name="a5" doxytag="ZE::ZFont::DrawText"></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::ZFont::DrawText </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>text</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classZE_1_1ZImage.html">ZImage</a> &amp;&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>image</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>String to write. </td></tr>
<tr><td valign=top><em>image</em>&nbsp;</td><td><a class="el" href="classZE_1_1ZImage.html">ZImage</a> to draw to. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a6" doxytag="ZE::ZFont::DrawShadedText"></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::ZFont::DrawShadedText </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>text</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classZE_1_1ZImage.html">ZImage</a> &amp;&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>image</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>String to write. </td></tr>
<tr><td valign=top><em>image</em>&nbsp;</td><td><a class="el" href="classZE_1_1ZImage.html">ZImage</a> to draw to. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a7" doxytag="ZE::ZFont::SetColor"></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::ZFont::SetColor </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">Uint8&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>r</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint8&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>g</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint8&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>b</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set 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>&nbsp;</td><td>Red component of color (0-255). </td></tr>
<tr><td valign=top><em>g</em>&nbsp;</td><td>Green component of color (0-255). </td></tr>
<tr><td valign=top><em>b</em>&nbsp;</td><td>Blue component of color (0-255). </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a8" doxytag="ZE::ZFont::SetBGColor"></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::ZFont::SetBGColor </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">Uint8&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>r</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint8&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>g</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint8&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>b</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set 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>&nbsp;</td><td>Red component of color (0-255). </td></tr>
<tr><td valign=top><em>g</em>&nbsp;</td><td>Green component of color (0-255). </td></tr>
<tr><td valign=top><em>b</em>&nbsp;</td><td>Blue component of color (0-255). </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a9" doxytag="ZE::ZFont::SetStyle"></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::ZFont::SetStyle </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">bool&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>bold</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>bool&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>italic</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>bool&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>underline</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set 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>&nbsp;</td><td>Decides bold setting of font. </td></tr>
<tr><td valign=top><em>italic</em>&nbsp;</td><td>Decides italic setting of font. </td></tr>
<tr><td valign=top><em>underline</em>&nbsp;</td><td>Decides underline setting of font. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a10" doxytag="ZE::ZFont::Resize"></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::ZFont::Resize </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>size</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>New size for font. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a11" doxytag="ZE::ZFont::IsLoaded"></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"> bool ZE::ZFont::IsLoaded </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>
</tr>
</table>
<a name="a12" doxytag="ZE::ZFont::IsBold"></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"> bool ZE::ZFont::IsBold </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Check if font output is currently bold. <dl compact><dt><b>Returns:</b></dt><dd>True or False state of bold. </dd></dl>
</td>
</tr>
</table>
<a name="a13" doxytag="ZE::ZFont::IsItalic"></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"> bool ZE::ZFont::IsItalic </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Check if font output is currently italic. <dl compact><dt><b>Returns:</b></dt><dd>True or False state of italic. </dd></dl>
</td>
</tr>
</table>
<a name="a14" doxytag="ZE::ZFont::IsUnderlined"></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"> bool ZE::ZFont::IsUnderlined </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Check if font output is currently underline. <dl compact><dt><b>Returns:</b></dt><dd>True or False state of underline. </dd></dl>
</td>
</tr>
</table>
<a name="a15" doxytag="ZE::ZFont::GetHeight"></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" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Check font height as reported by SDL_ttf. <dl compact><dt><b>Returns:</b></dt><dd>Height of font. </dd></dl>
</td>
</tr>
</table>
<a name="a16" doxytag="ZE::ZFont::GetLineSkip"></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" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>
</tr>
</table>
<a name="a17" doxytag="ZE::ZFont::GetStringWidth"></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" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>text</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</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>
</tr>
</table>
<a name="a18" doxytag="ZE::ZFont::GetStringHeight"></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" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>text</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</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>
</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
<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>
</body>
</html>

View File

@ -0,0 +1,36 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZImage Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a>, including all inherited members.<table>
<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#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#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>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZImage.html#a3">ZImage</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_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
<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>
</body>
</html>

View File

@ -0,0 +1,678 @@
<!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>ZE::ZImage class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZImage Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZImage_8h-source.html">ZE_ZImage.h</a>&gt;</code>
<p>
Inherits <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>.
<p>
<a href="classZE_1_1ZImage-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classZE_1_1ZImage.html">ZImage</a> image drawing class, class wraps common features of SDL_Surface. Inherited from <a class="el" href="classZE_1_1ZObject.html">ZObject</a>.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a0">ZImage</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Default Constructor.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a1">ZImage</a> (string filename)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Constructor to Construct from File.</em> <a href="#a1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a2">ZImage</a> (SDL_Surface *surface)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Constructor to Construct from SDL_Surface*.</em> <a href="#a2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a3">ZImage</a> (SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Constructor to Construct from part of an SDL_Surface*.</em> <a href="#a3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a4">~ZImage</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Destructor, frees memory.</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a5">Open</a> (string filename)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Opens a file.</em> <a href="#a5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a6">OpenFromImage</a> (SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Cuts part of an existing image to create the new image.</em> <a href="#a6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a7">Attach</a> (SDL_Surface *surface)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Attach an existing surface to class.</em> <a href="#a7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a8">Release</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Releases image.</em> <a href="#a8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a9">SetAlpha</a> (Uint8 alpha)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets Alpha (transparency) value of Image.</em> <a href="#a9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a10">SetColorKey</a> (Uint32 color)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set Color Key (transparent color) of Image.</em> <a href="#a10"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a11">Draw</a> (Sint16 x, Sint16 y)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Draw Image to Screen.</em> <a href="#a11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a12">IsLoaded</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check if file is loaded.</em> <a href="#a12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>SDL_Surface *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a13">GetImage</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get SDL_Surface. Get SDL_Surface pointer to actual image data.</em> <a href="#a13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a14">GetWidth</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Width.</em> <a href="#a14"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a15">GetHeight</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Height.</em> <a href="#a15"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>string&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#a16">GetFilename</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get filename of image.</em> <a href="#a16"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="ZE::ZImage::rImage"></a>
<a class="el" href="classZE_1_1ImageData.html">ImageData</a>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html#n0">rImage</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Class containing image and filename.</em></font><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ZE::ZImage::ZImage"></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"> ZE::ZImage::ZImage </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Default Constructor, does nothing. </td>
</tr>
</table>
<a name="a1" doxytag="ZE::ZImage::ZImage"></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"> ZE::ZImage::ZImage </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>filename</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>File to open as rImage. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a2" doxytag="ZE::ZImage::ZImage"></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"> ZE::ZImage::ZImage </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">SDL_Surface *&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>surface</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>SDL_Surface* to use as rImage. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a3" doxytag="ZE::ZImage::ZImage"></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"> ZE::ZImage::ZImage </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">SDL_Surface *&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>img</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Sint16&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Sint16&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>y</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Sint16&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>w</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Sint16&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>h</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Image to take new image from. </td></tr>
<tr><td valign=top><em>x</em>&nbsp;</td><td>X Coordinate in source of top left corner. </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Y Coordinate in source of top left corner. </td></tr>
<tr><td valign=top><em>w</em>&nbsp;</td><td>Width of new image. </td></tr>
<tr><td valign=top><em>h</em>&nbsp;</td><td>Height of new image. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a4" doxytag="ZE::ZImage::~ZImage"></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"> ZE::ZImage::~ZImage </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Destructor calls <a class="el" href="classZE_1_1ZImage.html#a8">ZImage::Release()</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a5" doxytag="ZE::ZImage::Open"></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::Open </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>filename</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>File to open as rImage. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a6" doxytag="ZE::ZImage::OpenFromImage"></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::OpenFromImage </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">SDL_Surface *&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>img</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Sint16&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Sint16&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>y</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Sint16&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>w</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Sint16&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>h</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Image to take new image from. </td></tr>
<tr><td valign=top><em>x</em>&nbsp;</td><td>X Coordinate in source of top left corner. </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Y Coordinate in source of top left corner. </td></tr>
<tr><td valign=top><em>w</em>&nbsp;</td><td>Width of new image. </td></tr>
<tr><td valign=top><em>h</em>&nbsp;</td><td>Height of new image. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a7" doxytag="ZE::ZImage::Attach"></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::Attach </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">SDL_Surface *&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>surface</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>SDL_Surface* to use as rImage. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a8" doxytag="ZE::ZImage::Release"></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::Release </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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">(&nbsp;</td>
<td class="md" nowrap valign="top">Uint8&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>alpha</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set Alpha channel of an Image, only used in 32 bit mode. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>alpha</em>&nbsp;</td><td>Number 0-255 describing translucency of image. (0 = transparent, 255 = opaque) </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a10" doxytag="ZE::ZImage::SetColorKey"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void ZE::ZImage::SetColorKey </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">Uint32&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>color</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set 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>&nbsp;</td><td>Uint32 color describing color to use as transparent. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a11" doxytag="ZE::ZImage::Draw"></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::Draw </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">Sint16&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Sint16&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>y</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>X coord to draw Image to. </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Y coord to draw Image to. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a12" doxytag="ZE::ZImage::IsLoaded"></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"> bool ZE::ZImage::IsLoaded </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>
</tr>
</table>
<a name="a13" doxytag="ZE::ZImage::GetImage"></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" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<dl compact><dt><b>Returns:</b></dt><dd>SDL_Surface* of rImage. </dd></dl>
</td>
</tr>
</table>
<a name="a14" doxytag="ZE::ZImage::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::ZImage::GetWidth </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get Width of Image. <dl compact><dt><b>Returns:</b></dt><dd>Image Width. </dd></dl>
</td>
</tr>
</table>
<a name="a15" doxytag="ZE::ZImage::GetHeight"></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" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get 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">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get filename of image or if Image doesn't have a specific filename string describing origin of image. <dl compact><dt><b>Returns:</b></dt><dd>Image Filename. </dd></dl>
</td>
</tr>
</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
<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>
</body>
</html>

View File

@ -0,0 +1,35 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZMusic Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a>, including all inherited members.<table>
<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>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#p0">LoopInfinite</a></td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a3">Open</a>(string filename)</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a6">Pause</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#a5">Play</a>(int loopNum=0, 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#a4">Release</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#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_1ZMusic.html#a8">Rewind</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#n0">rMusic</a></td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a10">SetVolume</a>(int volume)</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#a9">Stop</a>(int fadeTime=0)</td><td><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZMusic.html#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#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
<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>
</body>
</html>

View File

@ -0,0 +1,531 @@
<!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>ZE::ZMusic class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZMusic Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZMusic_8h-source.html">ZE_ZMusic.h</a>&gt;</code>
<p>
Inherits <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>.
<p>
<a href="classZE_1_1ZMusic-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classZE_1_1ZMusic.html">ZMusic</a> music class, class wraps common features for SDL_Mixer's Mix_Music. Inherited from <a class="el" href="classZE_1_1ZObject.html">ZObject</a>.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a0">ZMusic</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Default Constructor.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a1">ZMusic</a> (string filename)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Constructor that opens a music file.</em> <a href="#a1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a2">~ZMusic</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Destructor, frees memory.</em> <a href="#a2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a3">Open</a> (string filename)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Opens a music file.</em> <a href="#a3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a4">Release</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Release music.</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a5">Play</a> (int loopNum=0, int fadeTime=0)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Play currently loaded music.</em> <a href="#a5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a6">Pause</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Pause music.</em> <a href="#a6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a7">Unpause</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Unpause music.</em> <a href="#a7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a8">Rewind</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Rewind music.</em> <a href="#a8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a9">Stop</a> (int fadeTime=0)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Stop music.</em> <a href="#a9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a10">SetVolume</a> (int volume)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Change Volume.</em> <a href="#a10"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a11">IsLoaded</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check if file is loaded.</em> <a href="#a11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a12">IsPlaying</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check if music is Playing.</em> <a href="#a12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a13">IsPaused</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check if music is Paused.</em> <a href="#a13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#a14">GetVolume</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Find Current Volume of Music.</em> <a href="#a14"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="p0" doxytag="ZE::ZMusic::LoopInfinite"></a>
const int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#p0">LoopInfinite</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Static Variable For Infinite loop of sound. (Defined as -1).</em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="ZE::ZMusic::rMusic"></a>
<a class="el" href="classZE_1_1MusicData.html">MusicData</a>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html#n0">rMusic</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Class containing music data and music filename.</em></font><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ZE::ZMusic::ZMusic"></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"> ZE::ZMusic::ZMusic </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Default Constructor, does nothing. </td>
</tr>
</table>
<a name="a1" doxytag="ZE::ZMusic::ZMusic"></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"> ZE::ZMusic::ZMusic </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>filename</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Music to open. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a2" doxytag="ZE::ZMusic::~ZMusic"></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"> ZE::ZMusic::~ZMusic </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Destructor calls <a class="el" href="classZE_1_1ZMusic.html#a4">ZMusic::Release()</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a3" doxytag="ZE::ZMusic::Open"></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::ZMusic::Open </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>filename</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Music to open. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a4" doxytag="ZE::ZMusic::Release"></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::ZMusic::Release </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Release memory held by music data. </td>
</tr>
</table>
<a name="a5" doxytag="ZE::ZMusic::Play"></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::ZMusic::Play </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>loopNum</em> = 0, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>fadeTime</em> = 0</td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Number of times to loop song, defaults to zero. </td></tr>
<tr><td valign=top><em>fadeTime</em>&nbsp;</td><td>Milliseconds to fade to full volume, defaults to zero for no fade. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a6" doxytag="ZE::ZMusic::Pause"></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::ZMusic::Pause </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Pause currently playing music. </td>
</tr>
</table>
<a name="a7" doxytag="ZE::ZMusic::Unpause"></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::ZMusic::Unpause </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Unpause currently paused music. </td>
</tr>
</table>
<a name="a8" doxytag="ZE::ZMusic::Rewind"></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::ZMusic::Rewind </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Rewind music to beginning. </td>
</tr>
</table>
<a name="a9" doxytag="ZE::ZMusic::Stop"></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::ZMusic::Stop </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>fadeTime</em> = 0 </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Milliseconds to fade out over, defaults to zero for immediate stop. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a10" doxytag="ZE::ZMusic::SetVolume"></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::ZMusic::SetVolume </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>volume</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Volume to change to, can be in a range from 0 to 128 </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a11" doxytag="ZE::ZMusic::IsLoaded"></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"> bool ZE::ZMusic::IsLoaded </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>
</tr>
</table>
<a name="a12" doxytag="ZE::ZMusic::IsPlaying"></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"> bool ZE::ZMusic::IsPlaying </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>
</tr>
</table>
<a name="a13" doxytag="ZE::ZMusic::IsPaused"></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"> bool ZE::ZMusic::IsPaused </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>
</tr>
</table>
<a name="a14" doxytag="ZE::ZMusic::GetVolume"></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" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get 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>
</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
<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>
</body>
</html>

View File

@ -0,0 +1,18 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZObject Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>, including all inherited members.<table>
<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
<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>
</body>
</html>

View File

@ -0,0 +1,92 @@
<!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>ZE::ZObject class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZObject Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZObject_8h-source.html">ZE_ZObject.h</a>&gt;</code>
<p>
Inherited by <a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a>, <a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a>, <a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a>, <a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a>, <a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a>, and <a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a>.
<p>
<a href="classZE_1_1ZObject-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
This is the base class from which all <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> internal objects are derived from.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZObject.html#a0">ZObject</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> Constructor.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZObject.html#a1">~ZObject</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> Virtual destructor.</em> <a href="#a1"></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::ZObject::rEngine"></a>
<a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> *&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZObject.html#n0">rEngine</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Pointer to <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> Object.</em></font><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ZE::ZObject::ZObject"></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"> ZE::ZObject::ZObject </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> Constructor, gets Engine pointer for Object. </td>
</tr>
</table>
<a name="a1" doxytag="ZE::ZObject::~ZObject"></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"> virtual ZE::ZObject::~ZObject </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap><code> [inline, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> destructor, provided to make class safely inheritable. </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__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
<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>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZRect Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZRect.html#a19">Bottom</a>() const</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#a10">Contains</a>(int x, int y) const</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#a11">Contains</a>(const ZRect &amp;rect) const</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#a21">Height</a>() const</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#a12">Intersection</a>(const ZRect &amp;rect) const</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#a9">Intersects</a>(const ZRect &amp;rect) const</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#a16">Left</a>() const</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#o3">mHeight</a></td><td><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZRect.html#a5">Move</a>(int x, int y)</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#a6">MoveRel</a>(int xMove, int yMove)</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#o2">mWidth</a></td><td><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZRect.html#o0">mX</a></td><td><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZRect.html#o1">mY</a></td><td><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZRect.html#a4">operator&lt;</a>(const ZRect &amp;rhs) const</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#a3">operator=</a>(const ZRect &amp;rhs)</td><td><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZRect.html#a7">Resize</a>(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#a8">ResizeRel</a>(int widthChange, int heightChange)</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#a17">Right</a>() const</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#a13">SDLrect</a>() const</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#a18">Top</a>() const</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#a20">Width</a>() const</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#a14">X</a>() const</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#a15">Y</a>() const</td><td><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZRect.html#a0">ZRect</a>()</td><td><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZRect.html#a1">ZRect</a>(int x, int y, int width, int height)</td><td><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZRect.html#a2">ZRect</a>(const ZRect &amp;rhs)</td><td><a class="el" href="classZE_1_1ZRect.html">ZE::ZRect</a></td><td></td></tr>
</table><hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:06 2002 for ZEngine by
<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>
</body>
</html>

View File

@ -0,0 +1,861 @@
<!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>ZE::ZRect class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZRect Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZRect_8h-source.html">ZE_ZRect.h</a>&gt;</code>
<p>
<a href="classZE_1_1ZRect-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classZE_1_1ZRect.html">ZRect</a> Rectangle class, used to define a rectangular area or perform operations on the defined area.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a0">ZRect</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Default constructor for <a class="el" href="classZE_1_1ZRect.html">ZRect</a>.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a1">ZRect</a> (int x, int y, int width, int height)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Constructor for <a class="el" href="classZE_1_1ZRect.html">ZRect</a> that takes inital values.</em> <a href="#a1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a2">ZRect</a> (const ZRect &amp;rhs)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Copy constructor for <a class="el" href="classZE_1_1ZRect.html">ZRect</a>.</em> <a href="#a2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>const ZRect &amp;&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a3">operator=</a> (const ZRect &amp;rhs)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Overload for = operator with <a class="el" href="classZE_1_1ZRect.html">ZRect</a>.</em> <a href="#a3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a4">operator&lt;</a> (const ZRect &amp;rhs) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Overload for &lt; operator with <a class="el" href="classZE_1_1ZRect.html">ZRect</a>, based upon location then size.</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a5">Move</a> (int x, int y)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Changes the location of the rectangle.</em> <a href="#a5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a6">MoveRel</a> (int xMove, int yMove)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Changes the location of the rectangle based upon the current location.</em> <a href="#a6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a7">Resize</a> (int width, int height)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Resize rectangle.</em> <a href="#a7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a8">ResizeRel</a> (int widthChange, int heightChange)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Grows or shrinks current rectangle.</em> <a href="#a8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a9">Intersects</a> (const ZRect &amp;rect) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check if one <a class="el" href="classZE_1_1ZRect.html">ZRect</a> intersects another.</em> <a href="#a9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a10">Contains</a> (int x, int y) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check if a rectangle contains a given point.</em> <a href="#a10"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a11">Contains</a> (const ZRect &amp;rect) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check if a rectangle contains a given point.</em> <a href="#a11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>ZRect&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a12">Intersection</a> (const ZRect &amp;rect) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Finds intersection of two rectangles.</em> <a href="#a12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>SDL_Rect&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a13">SDLrect</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns an SDL_Rect representing the rectangle.</em> <a href="#a13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a14">X</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns X Location.</em> <a href="#a14"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a15">Y</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns Y Location.</em> <a href="#a15"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a16">Left</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return position of left side.</em> <a href="#a16"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a17">Right</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return position of right side.</em> <a href="#a17"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a18">Top</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return position of top side.</em> <a href="#a18"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a19">Bottom</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return position of bottom side.</em> <a href="#a19"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a20">Width</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns Width.</em> <a href="#a20"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#a21">Height</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns Height.</em> <a href="#a21"></a><em></em></font><br><br></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::ZRect::mX"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#o0">mX</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>X Position of top left corner of rectangle.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="o1" doxytag="ZE::ZRect::mY"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#o1">mY</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Y Position of top left corner of rectangle.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="o2" doxytag="ZE::ZRect::mWidth"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#o2">mWidth</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Width of Rectangle.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="o3" doxytag="ZE::ZRect::mHeight"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html#o3">mHeight</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Height of Rectangle.</em></font><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ZE::ZRect::ZRect"></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"> ZE::ZRect::ZRect </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Default constructor, initializes all values to zero. </td>
</tr>
</table>
<a name="a1" doxytag="ZE::ZRect::ZRect"></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"> ZE::ZRect::ZRect </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>y</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>width</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>height</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Value for x position. </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Value for y position. </td></tr>
<tr><td valign=top><em>width</em>&nbsp;</td><td>Value for width. </td></tr>
<tr><td valign=top><em>height</em>&nbsp;</td><td>Value for height. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a2" doxytag="ZE::ZRect::ZRect"></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"> ZE::ZRect::ZRect </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const ZRect &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>rhs</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Rectangle to construct from. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a3" doxytag="ZE::ZRect::operator="></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"> const ZRect &amp; ZE::ZRect::operator= </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const ZRect &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>rhs</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</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>
</tr>
</table>
<a name="a4" doxytag="ZE::ZRect::operator<"></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"> bool ZE::ZRect::operator&lt; </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const ZRect &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>rhs</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<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>&nbsp;</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>
</tr>
</table>
<a name="a5" doxytag="ZE::ZRect::Move"></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::ZRect::Move </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>y</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>New x position for rectangle. </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>New y position for rectangle. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a6" doxytag="ZE::ZRect::MoveRel"></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::ZRect::MoveRel </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>xMove</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>yMove</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Offset for new x position from current. </td></tr>
<tr><td valign=top><em>yMove</em>&nbsp;</td><td>Offset for new y position from current. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a7" doxytag="ZE::ZRect::Resize"></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::ZRect::Resize </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>width</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>height</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>New width for rectangle. </td></tr>
<tr><td valign=top><em>height</em>&nbsp;</td><td>New height for rectangle. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a8" doxytag="ZE::ZRect::ResizeRel"></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::ZRect::ResizeRel </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>widthChange</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>heightChange</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Amount to add or subtract from width. </td></tr>
<tr><td valign=top><em>heightChange</em>&nbsp;</td><td>Amount to add or subtract from height. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a9" doxytag="ZE::ZRect::Intersects"></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"> bool ZE::ZRect::Intersects </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const ZRect &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>rect</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<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>&nbsp;</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>
</tr>
</table>
<a name="a10" doxytag="ZE::ZRect::Contains"></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"> bool ZE::ZRect::Contains </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>y</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<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>&nbsp;</td><td>X value of point to check. </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</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>
</tr>
</table>
<a name="a11" doxytag="ZE::ZRect::Contains"></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"> bool ZE::ZRect::Contains </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const ZRect &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>rect</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<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>&nbsp;</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>
</tr>
</table>
<a name="a12" doxytag="ZE::ZRect::Intersection"></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"> ZRect ZE::ZRect::Intersection </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const ZRect &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>rect</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<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>&nbsp;</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>
</tr>
</table>
<a name="a13" doxytag="ZE::ZRect::SDLrect"></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_Rect ZE::ZRect::SDLrect </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<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>
</tr>
</table>
<a name="a14" doxytag="ZE::ZRect::X"></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::ZRect::X </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Access private X location member. <dl compact><dt><b>Returns:</b></dt><dd>Value of mX. </dd></dl>
</td>
</tr>
</table>
<a name="a15" doxytag="ZE::ZRect::Y"></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::ZRect::Y </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Access private Y location member. <dl compact><dt><b>Returns:</b></dt><dd>Value of mY. </dd></dl>
</td>
</tr>
</table>
<a name="a16" doxytag="ZE::ZRect::Left"></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::ZRect::Left </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<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>
</tr>
</table>
<a name="a17" doxytag="ZE::ZRect::Right"></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::ZRect::Right </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<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>
</tr>
</table>
<a name="a18" doxytag="ZE::ZRect::Top"></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::ZRect::Top </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<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>
</tr>
</table>
<a name="a19" doxytag="ZE::ZRect::Bottom"></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::ZRect::Bottom </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<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>
</tr>
</table>
<a name="a20" doxytag="ZE::ZRect::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::ZRect::Width </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Access private width member. <dl compact><dt><b>Returns:</b></dt><dd>Value of mWidth. </dd></dl>
</td>
</tr>
</table>
<a name="a21" doxytag="ZE::ZRect::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::ZRect::Height </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Access private height member. <dl compact><dt><b>Returns:</b></dt><dd>Value of mHeight. </dd></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
<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>
</body>
</html>

View File

@ -0,0 +1,35 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZSound Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a>, including all inherited members.<table>
<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>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#p0">LoopInfinite</a></td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a3">Open</a>(string filename)</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a6">Pause</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#a5">Play</a>(int loopNum=0, 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#n1">rChannelID</a></td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a4">Release</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#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_1ZSound.html#n0">rSound</a></td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a9">SetVolume</a>(int volume)</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#a8">Stop</a>(int fadeTime=0)</td><td><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZSound.html#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_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
<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>
</body>
</html>

View File

@ -0,0 +1,504 @@
<!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>ZE::ZSound class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZSound Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZSound_8h-source.html">ZE_ZSound.h</a>&gt;</code>
<p>
Inherits <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>.
<p>
<a href="classZE_1_1ZSound-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classZE_1_1ZSound.html">ZSound</a> music class, class wraps common features for SDL_Mixer's Mix_Chunk. Inherited from <a class="el" href="classZE_1_1ZObject.html">ZObject</a>.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a0">ZSound</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Default Constructor.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a1">ZSound</a> (string filename)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Constructor that opens a sound effect file.</em> <a href="#a1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a2">~ZSound</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Destructor, frees memory.</em> <a href="#a2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a3">Open</a> (string filename)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Opens a sound effect file.</em> <a href="#a3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a4">Release</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Release sound effect.</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a5">Play</a> (int loopNum=0, int fadeTime=0)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Play currently loaded sound effect.</em> <a href="#a5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a6">Pause</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Pause sound.</em> <a href="#a6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a7">Unpause</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Unpause sound.</em> <a href="#a7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a8">Stop</a> (int fadeTime=0)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Stop sound.</em> <a href="#a8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a9">SetVolume</a> (int volume)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Change Volume.</em> <a href="#a9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a10">IsLoaded</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check if file is loaded.</em> <a href="#a10"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a11">IsPlaying</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check if sound is Playing.</em> <a href="#a11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a12">IsPaused</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Check if sound is Paused.</em> <a href="#a12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#a13">GetVolume</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Find Current Volume of Sound Channel.</em> <a href="#a13"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="p0" doxytag="ZE::ZSound::LoopInfinite"></a>
const int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#p0">LoopInfinite</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Static Variable For Infinite loop of sound. (Defined as -1).</em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="ZE::ZSound::rSound"></a>
<a class="el" href="classZE_1_1SoundData.html">SoundData</a>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#n0">rSound</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Class containing music data and music filename.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="ZE::ZSound::rChannelID"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html#n1">rChannelID</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Channel ID Number from SDL_Mixer.</em></font><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ZE::ZSound::ZSound"></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"> ZE::ZSound::ZSound </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Default Constructor, does nothing. </td>
</tr>
</table>
<a name="a1" doxytag="ZE::ZSound::ZSound"></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"> ZE::ZSound::ZSound </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>filename</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Sound effect to open. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a2" doxytag="ZE::ZSound::~ZSound"></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"> ZE::ZSound::~ZSound </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Destructor calls <a class="el" href="classZE_1_1ZSound.html#a4">ZSound::Release()</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a3" doxytag="ZE::ZSound::Open"></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::ZSound::Open </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>filename</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Music to open. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a4" doxytag="ZE::ZSound::Release"></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::ZSound::Release </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Release memory held by sample data. </td>
</tr>
</table>
<a name="a5" doxytag="ZE::ZSound::Play"></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::ZSound::Play </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>loopNum</em> = 0, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>fadeTime</em> = 0</td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Number of times to loop song, defaults to zero. </td></tr>
<tr><td valign=top><em>fadeTime</em>&nbsp;</td><td>Milliseconds to fade to full volume, defaults to zero for no fade. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a6" doxytag="ZE::ZSound::Pause"></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::ZSound::Pause </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Pause currently playing sound. </td>
</tr>
</table>
<a name="a7" doxytag="ZE::ZSound::Unpause"></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::ZSound::Unpause </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Unpause currently playing sound. </td>
</tr>
</table>
<a name="a8" doxytag="ZE::ZSound::Stop"></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::ZSound::Stop </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>fadeTime</em> = 0 </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Milliseconds to fade out over, defaults to zero for immediate stop. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a9" doxytag="ZE::ZSound::SetVolume"></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::ZSound::SetVolume </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>volume</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Volume to change to, can be in a range from 0 to 128. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a10" doxytag="ZE::ZSound::IsLoaded"></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"> bool ZE::ZSound::IsLoaded </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>
</tr>
</table>
<a name="a11" doxytag="ZE::ZSound::IsPlaying"></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"> bool ZE::ZSound::IsPlaying </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>
</tr>
</table>
<a name="a12" doxytag="ZE::ZSound::IsPaused"></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"> bool ZE::ZSound::IsPaused </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>
</tr>
</table>
<a name="a13" doxytag="ZE::ZSound::GetVolume"></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" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get 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>
</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
<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>
</body>
</html>

View File

@ -0,0 +1,29 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZTimer Member List</h1>This is the complete list of members for <a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZTimer.html#b0">GetParentTime</a>()</td><td><a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZTimer.html#a4">GetTime</a>()</td><td><a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZTimer.html#a5">IsPaused</a>()</td><td><a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZTimer.html#a2">Pause</a>()</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#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_1ZTimer.html#a1">Reset</a>()</td><td><a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZTimer.html#n3">rLastPause</a></td><td><a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZTimer.html#n0">rPaused</a></td><td><a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZTimer.html#n2">rPausedTime</a></td><td><a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZTimer.html#n1">rUseZEngine</a></td><td><a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classZE_1_1ZTimer.html#a3">Unpause</a>()</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#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
<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>
</body>
</html>

View File

@ -0,0 +1,262 @@
<!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>ZE::ZTimer class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE::ZTimer Class Reference</h1><code>#include &lt;<a class="el" href="ZE__ZTimer_8h-source.html">ZE_ZTimer.h</a>&gt;</code>
<p>
Inherits <a class="el" href="classZE_1_1ZObject.html">ZE::ZObject</a>.
<p>
<a href="classZE_1_1ZTimer-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classZE_1_1ZTimer.html">ZTimer</a> timing class, class wraps common features of SDL timer. Inherited from <a class="el" href="classZE_1_1ZObject.html">ZObject</a> and tied to <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> main timer.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZTimer.html#a0">ZTimer</a> (bool useZEngine=true)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Constructs a new Timer.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZTimer.html#a1">Reset</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Reset Timer.</em> <a href="#a1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZTimer.html#a2">Pause</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Pause Timer.</em> <a href="#a2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZTimer.html#a3">Unpause</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Unpause Timer.</em> <a href="#a3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>Uint32&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZTimer.html#a4">GetTime</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get Time of Timer.</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZTimer.html#a5">IsPaused</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get paused state.</em> <a href="#a5"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>Uint32&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZTimer.html#b0">GetParentTime</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get time from parent timer.</em> <a href="#b0"></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::ZTimer::rPaused"></a>
bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZTimer.html#n0">rPaused</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Paused / Unpaused state of Timer.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="ZE::ZTimer::rUseZEngine"></a>
bool&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZTimer.html#n1">rUseZEngine</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Using <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> timer or SDL global timer.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="ZE::ZTimer::rPausedTime"></a>
Uint32&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZTimer.html#n2">rPausedTime</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Total time this timer has been paused.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n3" doxytag="ZE::ZTimer::rLastPause"></a>
Uint32&nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZTimer.html#n3">rLastPause</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Time this Timer was paused.</em></font><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ZE::ZTimer::ZTimer"></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"> ZE::ZTimer::ZTimer </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">bool&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>useZEngine</em> = true </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets 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>&nbsp;</td><td>Tells if timer should use <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> or SDL. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="b0" doxytag="ZE::ZTimer::GetParentTime"></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::ZTimer::GetParentTime </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap><code> [protected]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<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>
</tr>
</table>
<a name="a1" doxytag="ZE::ZTimer::Reset"></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::ZTimer::Reset </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set Timer back to Zero, will also unpause timer if it was paused. </td>
</tr>
</table>
<a name="a2" doxytag="ZE::ZTimer::Pause"></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::ZTimer::Pause </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Pause the timer if it is unpaused. </td>
</tr>
</table>
<a name="a3" doxytag="ZE::ZTimer::Unpause"></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::ZTimer::Unpause </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Unpause the timer if it is paused. </td>
</tr>
</table>
<a name="a4" doxytag="ZE::ZTimer::GetTime"></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::ZTimer::GetTime </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get current time accounting for time paused. <dl compact><dt><b>Returns:</b></dt><dd>Current Timer Time. </dd></dl>
</td>
</tr>
</table>
<a name="a5" doxytag="ZE::ZTimer::IsPaused"></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"> bool ZE::ZTimer::IsPaused </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Find out paused state of timer. <dl compact><dt><b>Returns:</b></dt><dd>Paused state for timer. </dd></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
<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>
</body>
</html>

49
doc/html/doxygen.css Normal file
View File

@ -0,0 +1,49 @@
H1 { text-align: center; }
CAPTION { font-weight: bold }
A.qindex {}
A.qindexRef {}
A.el { text-decoration: none; font-weight: bold }
A.elRef { font-weight: bold }
A.code { text-decoration: none; font-weight: normal; color: #4444ee }
A.codeRef { font-weight: normal; color: #4444ee }
A:hover { text-decoration: none; background-color: #f2f2ff }
DL.el { margin-left: -1cm }
DIV.fragment { width: 100%; border: none; background-color: #eeeeee }
DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px }
TD.md { background-color: #f2f2ff; font-weight: bold; }
TD.mdname1 { background-color: #f2f2ff; font-weight: bold; color: #602020; }
TD.mdname { background-color: #f2f2ff; font-weight: bold; color: #602020; width: 600px; }
DIV.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold }
DIV.groupText { margin-left: 16px; font-style: italic; font-size: smaller }
BODY { background: white }
TD.indexkey {
background-color: #eeeeff;
font-weight: bold;
padding-right : 10px;
padding-top : 2px;
padding-left : 10px;
padding-bottom : 2px;
margin-left : 0px;
margin-right : 0px;
margin-top : 2px;
margin-bottom : 2px
}
TD.indexvalue {
background-color: #eeeeff;
font-style: italic;
padding-right : 10px;
padding-top : 2px;
padding-left : 10px;
padding-bottom : 2px;
margin-left : 0px;
margin-right : 0px;
margin-top : 2px;
margin-bottom : 2px
}
span.keyword { color: #008000 }
span.keywordtype { color: #604020 }
span.keywordflow { color: #e08000 }
span.comment { color: #800000 }
span.preprocessor { color: #806020 }
span.stringliteral { color: #002080 }
span.charliteral { color: #008080 }

BIN
doc/html/doxygen.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
doc/html/doxygen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

40
doc/html/files.html Normal file
View File

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

248
doc/html/functions.html Normal file
View File

@ -0,0 +1,248 @@
<!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>Compound Member Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZEngine Compound Members</h1><center>
<a href="#index_a">a</a>&nbsp;|&nbsp;<a href="#index_b">b</a>&nbsp;|&nbsp;<a href="#index_c">c</a>&nbsp;|&nbsp;<a href="#index_d">d</a>&nbsp;|&nbsp;<a href="#index_f">f</a>&nbsp;|&nbsp;<a href="#index_g">g</a>&nbsp;|&nbsp;<a href="#index_h">h</a>&nbsp;|&nbsp;<a href="#index_i">i</a>&nbsp;|&nbsp;<a href="#index_k">k</a>&nbsp;|&nbsp;<a href="#index_l">l</a>&nbsp;|&nbsp;<a href="#index_m">m</a>&nbsp;|&nbsp;<a href="#index_o">o</a>&nbsp;|&nbsp;<a href="#index_p">p</a>&nbsp;|&nbsp;<a href="#index_q">q</a>&nbsp;|&nbsp;<a href="#index_r">r</a>&nbsp;|&nbsp;<a href="#index_s">s</a>&nbsp;|&nbsp;<a href="#index_t">t</a>&nbsp;|&nbsp;<a href="#index_u">u</a>&nbsp;|&nbsp;<a href="#index_w">w</a>&nbsp;|&nbsp;<a href="#index_x">x</a>&nbsp;|&nbsp;<a href="#index_y">y</a>&nbsp;|&nbsp;<a href="#index_z">z</a>&nbsp;|&nbsp;<a href="#index_~">~</a></center>
<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>
</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>
<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#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_1ZEngine.html#a2">ZE::ZEngine</a></ul>
<h3><a name="index_d">- d -</a>
</h3><ul>
<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>
<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_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_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_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>
<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_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()
: <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_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()
: <a class="el" href="classZE_1_1ZSound.html#a11">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a12">ZE::ZMusic</a><li>IsUnderlined()
: <a class="el" href="classZE_1_1ZFont.html#a14">ZE::ZFont</a></ul>
<h3><a name="index_k">- k -</a>
</h3><ul>
<li>KeyIsPressed()
: <a class="el" href="classZE_1_1ZEngine.html#a17">ZE::ZEngine</a></ul>
<h3><a name="index_l">- l -</a>
</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_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_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#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
: <a class="el" href="classZE_1_1ZEngine.html#o3">ZE::ZEngine</a><li>mHeight
: <a class="el" href="classZE_1_1ZRect.html#o3">ZE::ZRect</a>, <a class="el" href="classZE_1_1ZEngine.html#o1">ZE::ZEngine</a><li>mKeyPressed
: <a class="el" href="classZE_1_1ZEngine.html#o15">ZE::ZEngine</a><li>mLastPause
: <a class="el" href="classZE_1_1ZEngine.html#o9">ZE::ZEngine</a><li>mLastTime
: <a class="el" href="classZE_1_1ZEngine.html#o11">ZE::ZEngine</a><li>mMouseB
: <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_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
: <a class="el" href="classZE_1_1ZEngine.html#o10">ZE::ZEngine</a><li>mQuit
: <a class="el" href="classZE_1_1ZEngine.html#o14">ZE::ZEngine</a><li>mRate
: <a class="el" href="classZE_1_1ZEngine.html#o4">ZE::ZEngine</a><li>mScreen
: <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_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>
<h3><a name="index_o">- o -</a>
</h3><ul>
<li>Open()
: <a class="el" href="classZE_1_1ZSound.html#a3">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a3">ZE::ZMusic</a>, <a class="el" href="classZE_1_1ZImage.html#a5">ZE::ZImage</a>, <a class="el" href="classZE_1_1ZFont.html#a3">ZE::ZFont</a><li>OpenFromImage()
: <a class="el" href="classZE_1_1ZImage.html#a6">ZE::ZImage</a><li>operator&lt;()
: <a class="el" href="classZE_1_1ZRect.html#a4">ZE::ZRect</a><li>operator=()
: <a class="el" href="classZE_1_1ZRect.html#a3">ZE::ZRect</a></ul>
<h3><a name="index_p">- p -</a>
</h3><ul>
<li>Pause()
: <a class="el" href="classZE_1_1ZTimer.html#a2">ZE::ZTimer</a>, <a class="el" href="classZE_1_1ZSound.html#a6">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a6">ZE::ZMusic</a><li>PauseTimer()
: <a class="el" href="classZE_1_1ZEngine.html#a10">ZE::ZEngine</a><li>Play()
: <a class="el" href="classZE_1_1ZSound.html#a5">ZE::ZSound</a>, <a class="el" href="classZE_1_1ZMusic.html#a5">ZE::ZMusic</a><li>Process()
: <a class="el" href="classZE_1_1ZConfigFile.html#a3">ZE::ZConfigFile</a></ul>
<h3><a name="index_q">- q -</a>
</h3><ul>
<li>QuitRequested()
: <a class="el" href="classZE_1_1ZEngine.html#a16">ZE::ZEngine</a></ul>
<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_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_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()
: <a class="el" href="classZE_1_1ZEngine.html#a15">ZE::ZEngine</a><li>Reset()
: <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_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_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>
<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_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_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()
: <a class="el" href="classZE_1_1ZEngine.html#a0">ZE::ZEngine</a><li>SetupSound()
: <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>
<h3><a name="index_t">- t -</a>
</h3><ul>
<li>Top()
: <a class="el" href="classZE_1_1ZRect.html#a18">ZE::ZRect</a></ul>
<h3><a name="index_u">- u -</a>
</h3><ul>
<li>Unpause()
: <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_w">- w -</a>
</h3><ul>
<li>Width()
: <a class="el" href="classZE_1_1ZRect.html#a20">ZE::ZRect</a></ul>
<h3><a name="index_x">- x -</a>
</h3><ul>
<li>X()
: <a class="el" href="classZE_1_1ZRect.html#a14">ZE::ZRect</a></ul>
<h3><a name="index_y">- y -</a>
</h3><ul>
<li>Y()
: <a class="el" href="classZE_1_1ZRect.html#a15">ZE::ZRect</a></ul>
<h3><a name="index_z">- z -</a>
</h3><ul>
<li>ZConfigFile()
: <a class="el" href="classZE_1_1ZConfigFile.html#a1">ZE::ZConfigFile</a><li>ZEngine()
: <a class="el" href="classZE_1_1ZEngine.html#c0">ZE::ZEngine</a><li>ZFont()
: <a class="el" href="classZE_1_1ZFont.html#a1">ZE::ZFont</a><li>ZImage()
: <a class="el" href="classZE_1_1ZImage.html#a3">ZE::ZImage</a><li>ZMusic()
: <a class="el" href="classZE_1_1ZMusic.html#a1">ZE::ZMusic</a><li>ZObject()
: <a class="el" href="classZE_1_1ZObject.html#a0">ZE::ZObject</a><li>ZRect()
: <a class="el" href="classZE_1_1ZRect.html#a2">ZE::ZRect</a><li>ZSound()
: <a class="el" href="classZE_1_1ZSound.html#a1">ZE::ZSound</a><li>ZTimer()
: <a class="el" href="classZE_1_1ZTimer.html#a0">ZE::ZTimer</a></ul>
<h3><a name="index_~">- ~ -</a>
</h3><ul>
<li>~ZConfigFile()
: <a class="el" href="classZE_1_1ZConfigFile.html#a2">ZE::ZConfigFile</a><li>~ZFont()
: <a class="el" href="classZE_1_1ZFont.html#a2">ZE::ZFont</a><li>~ZImage()
: <a class="el" href="classZE_1_1ZImage.html#a4">ZE::ZImage</a><li>~ZMusic()
: <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
<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>
</body>
</html>

40
doc/html/globals.html Normal file
View File

@ -0,0 +1,40 @@
<!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>File Member Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZEngine File Members</h1><center>
<a href="#index_d">d</a>&nbsp;|&nbsp;<a href="#index_g">g</a>&nbsp;|&nbsp;<a href="#index_l">l</a>&nbsp;|&nbsp;<a href="#index_u">u</a>&nbsp;|&nbsp;<a href="#index_v">v</a></center>
<p>
Here is a list of all documented file members with links to the documentation:<h3><a name="index_d">- d -</a>
</h3><ul>
<li>DEBUG_STREAM
: <a class="el" href="ZE__Defines_8h.html#a3">ZE_Defines.h</a></ul>
<h3><a name="index_g">- g -</a>
</h3><ul>
<li>GetError
: <a class="el" href="ZE__Error_8h.html#a0">ZE_Error.h</a></ul>
<h3><a name="index_l">- l -</a>
</h3><ul>
<li>LogError
: <a class="el" href="ZE__Error_8h.html#a1">ZE_Error.h</a></ul>
<h3><a name="index_u">- u -</a>
</h3><ul>
<li>USE_SDL_IMAGE
: <a class="el" href="ZE__Defines_8h.html#a1">ZE_Defines.h</a><li>USE_SDL_MIXER
: <a class="el" href="ZE__Defines_8h.html#a2">ZE_Defines.h</a><li>USE_SDL_TTF
: <a class="el" href="ZE__Defines_8h.html#a0">ZE_Defines.h</a></ul>
<h3><a name="index_v">- v -</a>
</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
<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>
</body>
</html>

31
doc/html/hierarchy.html Normal file
View File

@ -0,0 +1,31 @@
<!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>Hierarchical Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZEngine Class Hierarchy</h1>This inheritance list is sorted roughly, but not completely, alphabetically:<ul>
<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_1ZObject.html">ZE::ZObject</a>
<ul>
<li><a class="el" href="classZE_1_1ZConfigFile.html">ZE::ZConfigFile</a>
<li><a class="el" href="classZE_1_1ZFont.html">ZE::ZFont</a>
<li><a class="el" href="classZE_1_1ZImage.html">ZE::ZImage</a>
<li><a class="el" href="classZE_1_1ZMusic.html">ZE::ZMusic</a>
<li><a class="el" href="classZE_1_1ZSound.html">ZE::ZSound</a>
<li><a class="el" href="classZE_1_1ZTimer.html">ZE::ZTimer</a>
</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
<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>
</body>
</html>

35
doc/html/index.html Normal file
View File

@ -0,0 +1,35 @@
<!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>ZEngine Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZEngine Documentation</h1>
<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>
<pre>
This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net</pre>
<p>
Licensed under the BSD License, see licensing.txt.
<p>
The maintainer of this library is James Turk (james.net) and the home of this Library is <a href="http://www.conceptofzero.net/">http://www.conceptofzero.net/</a> <h2><a name="Authors"></a>
Contributing Authors</h2>
James Turk <a href="james@conceptofzero.net"><a href="james@conceptofzero.net">james@conceptofzero.net</a></a> - Core Engine and Classes for Data Types<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

209
doc/html/namespaceZE.html Normal file
View File

@ -0,0 +1,209 @@
<!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>ZE Namespace Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZE Namespace Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
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 &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ImageData.html">ImageData</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Class to wrap SDL_Surface pointers.</em> <a href="classZE_1_1ImageData.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1FontData.html">FontData</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Class to wrap TTF_Font pointers.</em> <a href="classZE_1_1FontData.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1SoundData.html">SoundData</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Class to wrap Mix_Chunk pointers.</em> <a href="classZE_1_1SoundData.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1MusicData.html">MusicData</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Class to wrap Mix_Music pointers.</em> <a href="classZE_1_1MusicData.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classZE_1_1ZConfigFile.html">ZConfigFile</a> Class for use in <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a>.</em> <a href="classZE_1_1ZConfigFile.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><b>ZCF_Variable</b></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><b>ZCF_Section</b></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZEngine.html">ZEngine</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Main <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> Singleton Class.</em> <a href="classZE_1_1ZEngine.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZFont.html">ZFont</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classZE_1_1ZFont.html">ZFont</a> class for basic Font use.</em> <a href="classZE_1_1ZFont.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZImage.html">ZImage</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classZE_1_1ZImage.html">ZImage</a> class for basic Image use.</em> <a href="classZE_1_1ZImage.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZMusic.html">ZMusic</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classZE_1_1ZMusic.html">ZMusic</a> class for playing full length music (eg. ogg or wav).</em> <a href="classZE_1_1ZMusic.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZObject.html">ZObject</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classZE_1_1ZObject.html">ZObject</a> base class for other <a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> objects.</em> <a href="classZE_1_1ZObject.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZRect.html">ZRect</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classZE_1_1ZEngine.html">ZEngine</a> class for simplified rectangle use.</em> <a href="classZE_1_1ZRect.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZSound.html">ZSound</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classZE_1_1ZSound.html">ZSound</a> class for playing sound effects. (WAV).</em> <a href="classZE_1_1ZSound.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classZE_1_1ZTimer.html">ZTimer</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classZE_1_1ZTimer.html">ZTimer</a> class for Timer use.</em> <a href="classZE_1_1ZTimer.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>string&nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html#a0">_GetError</a> (int line, string file, string str)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Error handling Utiltity function.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html#a1">_LogError</a> (int line, string file, string str)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Error handling Utiltity function.</em> <a href="#a1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>string&nbsp;</td><td valign=bottom><a class="el" href="namespaceZE.html#a2">FormatStr</a> (const char *fmtstr,...)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Parses a string and interprets variable arguments, similar to sprintf.</em> <a href="#a2"></a><em></em></font><br><br></td></tr>
</table>
<hr><h2>Function Documentation</h2>
<a name="a0" doxytag="ZE::_GetError"></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::_GetError </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>line</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>file</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>str</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Line error occured on. </td></tr>
<tr><td valign=top><em>file</em>&nbsp;</td><td>Name of file error occured in. </td></tr>
<tr><td valign=top><em>str</em>&nbsp;</td><td>More detail on error. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>String describing error. </dd></dl>
</td>
</tr>
</table>
<a name="a1" doxytag="ZE::_LogError"></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::_LogError </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>line</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>file</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>str</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>Line error occured on. </td></tr>
<tr><td valign=top><em>file</em>&nbsp;</td><td>Name of file error occured in. </td></tr>
<tr><td valign=top><em>str</em>&nbsp;</td><td>More detail on error. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a2" doxytag="ZE::FormatStr"></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::FormatStr </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const char *&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>fmtstr</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>...&nbsp;</td>
<td class="mdname" nowrap>&nbsp;</td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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>&nbsp;</td><td>defines format of resulting string </td></tr>
<tr><td valign=top><em>...</em>&nbsp;</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>
</tr>
</table>
<hr><address style="align: right;"><small>Generated on Wed Nov 20 01:18:05 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>

View File

@ -0,0 +1,27 @@
<!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>Namespace Member Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZEngine Namespace Members</h1><center>
<a href="#index__">_</a>&nbsp;|&nbsp;<a href="#index_f">f</a></center>
<p>
Here is a list of all documented namespace members with links to the namespaces they belong to:<h3><a name="index__">- _ -</a>
</h3><ul>
<li>_GetError()
: <a class="el" href="namespaceZE.html#a0">ZE</a><li>_LogError()
: <a class="el" href="namespaceZE.html#a1">ZE</a></ul>
<h3><a name="index_f">- f -</a>
</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
<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>
</body>
</html>

17
doc/html/namespaces.html Normal file
View File

@ -0,0 +1,17 @@
<!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>Namespace Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ZEngine Namespace List</h1>Here is a list of all documented namespaces with brief descriptions:<table>
<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
<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>
</body>
</html>

View File

@ -0,0 +1,54 @@
<!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>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/external/physfsrwops.h</h1><div class="fragment"><pre>00001 <span class="comment">/*</span>
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>
00005 <span class="comment"> * License: this code is public domain. I make no warranty that it is useful,</span>
00006 <span class="comment"> * correct, harmless, or environmentally safe.</span>
00007 <span class="comment"> *</span>
00008 <span class="comment"> * This particular file may be used however you like, including copying it</span>
00009 <span class="comment"> * verbatim into a closed-source project, exploiting it commercially, and</span>
00010 <span class="comment"> * removing any trace of my name from the source (although I hope you won't</span>
00011 <span class="comment"> * do that). I welcome enhancements and corrections to this file, but I do</span>
00012 <span class="comment"> * not require you to send me patches if you make changes.</span>
00013 <span class="comment"> *</span>
00014 <span class="comment"> * Unless otherwise stated, the rest of PhysicsFS falls under the GNU Lesser</span>
00015 <span class="comment"> * General Public License: http://www.gnu.org/licenses/lgpl.txt</span>
00016 <span class="comment"> *</span>
00017 <span class="comment"> * SDL falls under the LGPL, too. You can get SDL at http://www.libsdl.org/</span>
00018 <span class="comment"> *</span>
00019 <span class="comment"> * This file was written by Ryan C. Gordon. (icculus@clutteredmind.org).</span>
00020 <span class="comment"> */</span>
00021
00022 <span class="preprocessor">#ifndef _INCLUDE_PHYSFSRWOPS_H_</span>
00023 <span class="preprocessor"></span><span class="preprocessor">#define _INCLUDE_PHYSFSRWOPS_H_</span>
00024 <span class="preprocessor"></span>
00025 <span class="preprocessor">#include &lt;physfs.h&gt;</span>
00026 <span class="preprocessor">#include &lt;SDL.h&gt;</span>
00027
00038 SDL_RWops *PHYSFSRWOPS_openRead(<span class="keyword">const</span> <span class="keywordtype">char</span> *fname);
00039
00050 SDL_RWops *PHYSFSRWOPS_openWrite(<span class="keyword">const</span> <span class="keywordtype">char</span> *fname);
00051
00062 SDL_RWops *PHYSFSRWOPS_openAppend(<span class="keyword">const</span> <span class="keywordtype">char</span> *fname);
00063
00074 SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
00075
00076
00077 <span class="preprocessor">#endif </span><span class="comment">/* include-once blocker */</span>
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
<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>
</body>
</html>

127
include/ZE_DataPtr.h Normal file
View File

@ -0,0 +1,127 @@
/*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (jturk@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/
/*!
\par File Header:
File: ZE_DataPtr.h <br>
Description: Header file for ZEngine Data Pointer Classes <br>
Author(s): James Turk <br>
$Id: ZE_DataPtr.h,v 1.1 2002/11/21 05:41:10 cozman Exp $<br>
\file ZE_DataPtr.h
\brief Definition file for ZEngine Data/Pointer Classes. ([Image,Font,Sound,Music]Data/Ptr)
Definition file for ZEngine Data Pointer Classes. ([Image,Font,Sound,Music]Ptr) These classes are used to keep track of the Images (Fonts and Sounds) throughout
the entire ZEngine.
**/
#ifndef __ze_dataptr_h__
#define __ze_dataptr_h__
#include "ZE_Includes.h"
namespace ZE
{
///////////////////////////////////////////
//Utility Classes Used Throughout ZEngine//
///////////////////////////////////////////
/*!
\brief Class to wrap SDL_Surface pointers.
Class used to keep track of loaded data and associate an SDL_Surface with an index number and filename.
**/
class ImageData
{
public:
//! Pointer to SDL_Surface.
SDL_Surface *image;
//! File image was loaded from.
string filename;
/*!
\brief Initialize ImageData.
Sets image pointer to NULL
**/
ImageData() { image = NULL; };
};
#ifdef USE_SDL_TTF
/*!
\brief Class to wrap TTF_Font pointers.
Class used to keep track of loaded data and associate a TTF_Font with an index number and filename.
**/
class FontData
{
public:
//! Pointer to SDL_TTF font data.
TTF_Font *font;
//! File font was loaded from.
string filename;
/*!
\brief Initialize FontData.
Sets font pointer to NULL
**/
FontData() { font = NULL; };
};
#endif //USE_SDL_TTF
#ifdef USE_SDL_MIXER
/*!
\brief Class to wrap Mix_Chunk pointers.
Class used to keep track of loaded data and associate a Mix_Chunk with an index number and filename.
**/
class SoundData
{
public:
//! Pointer to SDL_Mixer sound effect data.
Mix_Chunk *sound;
//! File sound effect was loaded from.
string filename;
/*!
\brief Initialize SoundData.
Sets sound pointer to NULL
**/
SoundData() { sound = NULL; };
};
/*!
\brief Class to wrap Mix_Music pointers.
Class used to keep track of loaded data and associate a Mix_Music with an index number and filename.
**/
class MusicData
{
public:
//! Pointer to SDL_Mixer music data.
Mix_Music *music;
//! File music was loaded from.
string filename;
/*!
\brief Initialize MusicData.
Sets music pointer to NULL
**/
MusicData() { music = NULL; };
};
#endif //USE_SDL_MIXER
}
#endif //__ze_dataptr_h__

41
include/ZE_Defines.h Normal file
View File

@ -0,0 +1,41 @@
/*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (jturk@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/
/*!
\par File Header:
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.1 2002/11/21 05:41:10 cozman Exp $<br>
\file ZE_Defines.h
\brief Define file for ZEngine.
Definition file, holds #define statements describing optional features of ZEngine.
**/
#ifndef __ze_defines_h__
#define __ze_defines_h__
//defines- undefine any of these if you dont have the indicated SDL extension//
//! Define to include font support.
#define USE_SDL_TTF
//! Define to include non-bmp image file support.
#define USE_SDL_IMAGE
//! Define to include sound support.
#define USE_SDL_MIXER
//! Define to use the Physfs file system.
//#define USE_PHYSFS
//! Undefine to disable debug streams for Error Handler.
#define DEBUG_STREAM
//! Version number.
#define VERSION "0.7.3"
#endif //__ze_defines_h__

81
include/ZE_Error.h Normal file
View File

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

55
include/ZE_Includes.h Normal file
View File

@ -0,0 +1,55 @@
/*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (jturk@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/
/*!
\par File Header:
File: ZE_Includes.h <br>
Description: Header file for ZEngine universal includes. <br>
Author(s): James Turk <br>
$Id: ZE_Includes.h,v 1.1 2002/11/21 05:41:10 cozman Exp $<br>
\file ZE_Includes.h
\brief Include file for SDL and C++ Includes that many ZEngine files need.
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.
**/
#ifndef __ze_includes_h__
#define __ze_includes_h__
#include "ZE_Defines.h"
#include "SDL.h"
#ifdef USE_SDL_IMAGE
#include "SDL_image.h"
#endif
#ifdef USE_SDL_TTF
#include "SDL_ttf.h"
#endif
#ifdef USE_SDL_MIXER
#include "SDL_mixer.h"
#endif
#ifdef USE_PHYSFS
#include "physfs.h"
#include "external/physfsrwops.h"
#endif
#include <string>
#include <vector>
#include <fstream>
#include <list>
#include <cstdio>
#include <cstdlib>
#include <cstdarg>
#include <cctype>
using namespace std;
#endif //__ze_includes_h__

192
include/ZE_ZConfigFile.h Normal file
View File

@ -0,0 +1,192 @@
/*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (jturk@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/
/*!
\par File Header:
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>
\file ZE_ZConfigFile.h
\brief Definition file for ZConfigFile.
Definition file for ZConfigFile, an INI-style Config format.
**/
#ifndef __ze_zconfigfile_h__
#define __ze_zconfigfile_h__
#include "ZE_ZObject.h" //included even though ZCF isn't derived (to obtain all other needed headers)
namespace ZE
{
/*!
\brief ZConfigFile Class for use in ZEngine.
ZConfigFile class for INI-style configuration files for games or applications. Inherited from ZObject.
**/
class ZConfigFile : public ZObject
{
private:
/*Private Types*/
class ZCF_Variable
{
public:
string var;
string val;
};
class ZCF_Section
{
public:
string section;
list<ZCF_Variable> varList;
};
//! List of sections of internal type.
list<ZCF_Section> mFileLayout;
//! Filename of file currently open.
string mFilename;
/*!
\brief Reformat a string in a form more suitable to parsing.
Removes whitespace from a string and makes all characters lowercase.
\param str The string to get a clean version of.
\return Cleaned string.
**/
string CleanString(string str);
bool Exists(string sec);
bool Exists(string sec, string var);
void SetVariable(string sec, string var, string val);
string GetVariable(string sec, string var, string defVal);
public:
/*!
\brief Default constructor.
A no-op default constructor.
**/
ZConfigFile();
/*!
\brief Constructor which takes filename.
Constructor takes filename, and calls process on it.
\param filename File to load as ZConfigFile.
**/
ZConfigFile(string filename);
/*!
\brief Destructor, flushes file.
Flushes the file, ensures a flush if the file is left open.
**/
~ZConfigFile();
/*!
\brief Parse a file.
Parses the file, reading the contents into the fileLayout map.
\param filename File to parse and attach this ZDataFile to.
**/
void Process(string filename);
/*!
\brief Get value in integer format from file.
Get the current value of a variable in the file, or defVal if not found in file.
\param section Name of section to seek variable under.
\param var Name of variable to seek value for.
\param defVal Value to return if var does not exist within section.
\return Contents of the variable in integer format.
**/
int GetInt(string section, string var, int defVal);
/*!
\brief Get value in boolean format from file.
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")
\param section Name of section to seek variable under.
\param var Name of variable to seek value for.
\param defVal Value to return if var does not exist within section.
\return Contents of the variable in boolean format.
**/
bool GetBool(string section, string var, bool defVal);
/*!
\brief Get value in string format from file.
Get the current value of a variable in the file, or defVal if not found in file.
\param section Name of section to seek variable under.
\param var Name of variable to seek value for.
\param defVal Value to return if var does not exist within section.
\return Contents of the variable in string format.
**/
string GetString(string section, string var, string defVal);
/*!
\brief Set value in integer format in file.
Set the new value of a variable in the file to val, creating the section and variable
if not already found in file.
\param section Name of section to edit variable under.
\param var Name of variable to set value for.
\param val Integer value to set variable to in file.
**/
void SetInt(string section, string var, int val);
/*!
\brief Set value in boolean format in file.
Set the new value of a variable in the file to val, creating the section and variable
if not already found in file.
\param section Name of section to edit variable under.
\param var Name of variable to set value for.
\param val Boolean value to set variable to in file.
**/
void SetBool(string section, string var, bool val);
/*!
\brief Set value in string format in file.
Set the new value of a variable in the file to val, creating the section and variable
if not already found in file.
\param section Name of section to edit variable under.
\param var Name of variable to set value for.
\param val String value to set variable to in file.
**/
void SetString(string section, string var, string val);
/*!
\brief Write all values to file
Writes all values and sections to file.
**/
void Flush();
/*!
\brief Close the file.
Flush the file and clear the filename.
**/
void Close();
};
}
#endif //__ze_zconfigfile_h__

522
include/ZE_ZEngine.h Normal file
View File

@ -0,0 +1,522 @@
/*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (jturk@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/
/*!
\par File Header:
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.1 2002/11/21 05:41:10 cozman Exp $<br>
\file ZE_ZEngine.h
\brief Definition file for core ZEngine class.
ZEngine Game Engine core Engine definition.
**/
#ifndef __ze_zengine_h__
#define __ze_zengine_h__
#include "ZE_DataPtr.h"
#include "ZE_Error.h"
#include "ZE_Defines.h"
#include "ZE_Includes.h"
/*!
\brief ZEngine Namespace.
Namespace for ZEngine classes and utility functions.
**/
namespace ZE
{
/*!
\brief Main ZEngine Singleton Class
ZEngine 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.
**/
class ZEngine
{
/////////////////////////////////
//Singleton + Memory Management//
/////////////////////////////////
private:
//! Static Pointer to Instance of ZEngine for Singleton.
static ZEngine *sInstance;
/*!
\brief Constructor for ZEngine.
Initialize ZEngine values to defaults. (Private so that only one instance may be created.)
**/
ZEngine();
public:
/*!
\brief Get Instance.
Static function, returns pointer to instance of ZEngine, creating an instance if none exist.
\return Instance to the ZEngine.
**/
static ZEngine* GetInstance();
/*!
\brief Release Instance.
Release memory held by instance of engine and closes window.
**/
static void ReleaseInstance();
/*!
\brief Get Current Version.
Get Version Number of ZEngine. (Major.Minor.Extension#)
\return string containing version number
**/
static string GetVersion();
//////////////////
//Initialization//
//////////////////
private:
//! Width of Display
int mWidth;
//! Height of Display
int mHeight;
//! BPP Setting of Display
int mBPP;
//! Fullscreen setting of Display
bool mFullscreen;
#ifdef USE_SDL_MIXER
//! Sound Bitrate
int mRate;
//! Stereo setting of Sound Subsystem
bool mStereo;
#endif
public:
//add initialization
/*!
\brief Setup Display for SDL.
Sets display parameters to specified parameters. (called before CreateDisplay)
\param width Desired width of screen or window.
\param height Desired height of screen or window.
\param bpp Desired BPP for screen (only works in fullscreen).
\param fullscreen A bool for fullscreen setting.
**/
void SetupDisplay(int width, int height, int bpp, bool fullscreen);
#ifdef USE_SDL_MIXER
/*!
\brief Initialize Sound for SDL.
Set sound settings to specified parameters. (called before CreateDisplay)
\param rate Desired sound bitrate.
\param stereo A bool for stereo setting.
**/
void SetupSound(int rate, bool stereo);
#endif
/*!
\brief Create Window with predefined settings.
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.
\param title Window Title.
\param icon Path to Icon File.
**/
void CreateWindow(string title, string icon="");
/*!
\brief Quit SDL and any Subsystems.
Shut down SDL (and SDL_ttf,SDL_mixer if necessary).
**/
void CloseWindow();
/////////////////
//Screen Access//
/////////////////
private:
//! Pointer to Display
SDL_Surface *mScreen;
public:
/*!
\brief Allow access to Screen Surface.
Get pointer to screen SDL_Surface, allowing direct screen manipulation using SDL.
\return Pointer to Display Surface.
**/
SDL_Surface *GetDisplay();
/*!
\brief Update screen contents.
Flip double buffer in SDL if double buffered, otherwise tell video to refresh entire screen.
**/
void UpdateScreen();
/*!
\brief Create Color in SDL Uint32 Format
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.
**/
Uint32 MapColor(Uint8 r, Uint8 g, Uint8 b, Uint8 a=255);
/*!
\brief Clear screen or portion of screen to a color.
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.
**/
void Clear(Uint32 color=0, SDL_Rect *rect=NULL);
////////////////////////////////////////////
//Timer and Framerate Independent Movement//
////////////////////////////////////////////
private:
//! Keep track of paused state of game.
bool mPaused;
//! Keep track of if ZEngine should unpause on active event.
bool mUnpauseOnActive;
//! Keep track of time game was last paused.
Uint32 mLastPause;
//! Keep track of total globally paused time.
Uint32 mPausedTime;
//! Keep track of last screen update time.
Uint32 mLastTime;
//! Seconds per frame.
double mSecPerFrame;
public:
/*!
\brief Sleep for a certain amount of time.
Freeze everything for given number of milliseconds.
\param milliseconds Number of milliseconds to freeze.
**/
void Sleep(Uint32 milliseconds);
/*!
\brief Get Global ZEngine time.
Get active time since ZEngine initialization in milliseconds, paused time doesn't count.
\return Number of active milliseconds since initialization.
**/
Uint32 GetTime();
/*!
\brief Pause ZEngine.
Pause ZEngine timer and all ZTimer objects that rely on ZEngine.
**/
void PauseTimer();
/*!
\brief Unpause ZEngine.
Unpause ZEngine timer and all ZTimer objects that rely on ZEngine.
**/
void UnpauseTimer();
/*!
\brief Get Seconds Per Frame.
Get double that describes the time passed between screen updates. (used for Framerate Independant Movement)
\return Time between screen updates.
**/
double GetFrameTime();
/*!
\brief Check Engine Paused State.
Find out if engine timer is paused.
\return Paused State of engine.
**/
bool IsPaused();
////////////////////////////
//Event and Input Handling//
////////////////////////////
private:
//! bool describing Active or Inactive State of Game
bool mActive;
//! bool for checking if a Quit event has been detected
bool mQuit;
//! Pointer to array of Keys
Uint8 *mKeyPressed;
//! X Position of Mouse
int mMouseX;
//! Y Position of Mouse
int mMouseY;
//! Mouse Button Information
Uint8 mMouseB;
public:
/*!
\brief Find out if application is active.
Function to find out if application currently has focus.
\return bool telling active/inactive state of application.
**/
bool IsActive();
/*!
\brief Request A Quit.
Tell the engine that it should behave as if a Quit was requested, does not call
any shutdown functions.
**/
void RequestQuit();
/*!
\brief Find out if user has requested to quit.
Function to find out if user or operating system has requested program cease execution, can be
set by Alt-F4, SDL_Quit event or ZEngine::RequestQuit().
\return bool telling if quit has been requested.
**/
bool QuitRequested();
/*!
\brief Find the state of a key.
Function returns true/false based on if key is pressed or not.
\param key code of key to find status of.
\return bool state of requested key.
**/
bool KeyIsPressed(SDLKey key);
/*!
\brief Hide mouse cursor.
Hide the system mouse cursor.
**/
void HideCursor();
/*!
\brief Show mouse cursor.
Show the system mouse cursor.
**/
void ShowCursor();
/*!
\brief Get X Position of Mouse.
Find X Position of Mouse on screen.
\return X Position of Mouse.
**/
int GetMouseX();
/*!
\brief Get Y Position of Mouse.
Find Y Position of Mouse on screen.
\return Y Position of Mouse.
**/
int GetMouseY();
/*!
\brief Get Status of Left Button.
Get pressed status of left button of mouse.
\return true if left button is pressed, false otherwise.
**/
bool LButtonPressed();
/*!
\brief Get Status of Right Button.
Get pressed status of right button of mouse.
\return true if right button is pressed, false otherwise.
**/
bool RButtonPressed();
/*!
\brief Check if mouse is in given rectangle.
Return status of mouse in current rectangle (used for buttons)
\param rect Rectangle to check if mouse is in.
\return true if mouse is in rectangle, false otherwise
**/
bool MouseInRect(SDL_Rect *rect);
/*!
\brief Check for Activation, Window Manager, and Quit Events.
Cycle through event queue, processing events, updating all Event Related variables, should be called once per frame.
**/
void CheckEvents();
#ifdef USE_PHYSFS
////////////////////
//Physfs Utilities//
////////////////////
public:
/*!
\brief Initialize PhysicsFS
Sets up PhysicsFS, must be called when application is started.
\param argv argv[0] from application's main.
**/
void InitPhysFS(string argv);
/*!
\brief Add Directory to PhysFS Search Path.
Add Directory to PhysicsFS search path, the path it looks in for files when attempting to load.
\param dir Directory to add to search path.
**/
void AddPhysFSDir(string dir);
#endif //USE_PHYSFS
////////////////////////////
//Data Loading + Unloading//
////////////////////////////
public:
/*!
\brief Load an Image.
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.
**/
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);
#ifdef USE_SDL_MIXER
/*!
\brief Load a Sound
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.
**/
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);
/*!
\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.
**/
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);
#endif
#ifdef USE_SDL_TTF
/*!
\brief Load a Font.
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.
**/
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);
#endif
/////////////
//Accessors//
/////////////
public:
/*!
\brief Get Current Display Width.
Get Width of Window or Fullscreen mode.
\return Width of Display.
**/
int GetWidth();
/*!
\brief Get Current Display Height.
Get Height of Window or Fullscreen mode.
\return Height of Display.
**/
int GetHeight();
/*!
\brief Get Current Display BPP.
Get BPP of Window or Fullscreen mode.
\return BPP of Display.
**/
int GetBPP();
/*!
\brief Get Fullscreen setting.
Get Fullscreen setting of Display.
\return True if Fullscreen, False if Windowed
**/
bool IsFullscreen();
};
}
#endif //__ze_zengine_h__

230
include/ZE_ZFont.h Normal file
View File

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

201
include/ZE_ZImage.h Normal file
View File

@ -0,0 +1,201 @@
/*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (jturk@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/
/*!
\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>
\file ZE_ZImage.h
\brief Definition file for ZImage.
Definition file for ZImage, the basic Image class for ZEngine.
**/
#ifndef __ze_zimage_h__
#define __ze_zimage_h__
#include "ZE_ZObject.h"
namespace ZE
{
/*!
\brief ZImage class for basic Image use.
ZImage image drawing class, class wraps common features of SDL_Surface. Inherited from ZObject.
**/
class ZImage : public ZObject
{
protected:
//! Class containing image and filename.
ImageData rImage;
public:
/*!
\brief Default Constructor.
Default Constructor, does nothing.
**/
ZImage();
/*!
\brief Constructor to Construct from File.
Constructor is same as calling ZImage::Open() on passed filename.
\param filename File to open as rImage.
**/
ZImage(string filename);
/*!
\brief Constructor to Construct from SDL_Surface*.
Constructor is same as calling ZImage::Attach() on passed SDL_Surface*.
\param surface SDL_Surface* to use as rImage.
**/
ZImage(SDL_Surface *surface);
/*!
\brief Constructor to Construct from part of an SDL_Surface*.
Constructor is same as calling ZImage::OpenFromImage.
\param img Image to take new image from.
\param x X Coordinate in source of top left corner.
\param y Y Coordinate in source of top left corner.
\param w Width of new image.
\param h Height of new image.
**/
ZImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h);
/*!
\brief Destructor, frees memory.
Destructor calls ZImage::Release().
**/
~ZImage();
///////////////////////
//Opening and Closing//
///////////////////////
/*!
\brief Opens a file.
Open a file using ZEngine. Loads into rImage member of class.
\param filename File to open as rImage.
**/
void Open(string filename);
/*!
\brief Cuts part of an existing image to create the new image.
Cut part of an SDL_Surface to create a new Image.
\param img Image to take new image from.
\param x X Coordinate in source of top left corner.
\param y Y Coordinate in source of top left corner.
\param w Width of new image.
\param h Height of new image.
**/
void OpenFromImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h);
/*!
\brief Attach an existing surface to class.
Attach a pointer to instance of ZImage. (NOTE: Should not be used on a surface that is owned elsewhere.)
\param surface SDL_Surface* to use as rImage.
**/
void Attach(SDL_Surface *surface);
/*!
\brief Releases image.
Frees memory via call to SDL_FreeSurface for the image.
**/
void Release();
////////////
//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.
**/
void SetColorKey(Uint32 color);
/*!
\brief Draw Image to Screen.
Draw Image to screen at specified location.
\param x X coord to draw Image to.
\param y Y coord to draw Image to.
**/
void Draw(Sint16 x, Sint16 y);
/////////////
//Accessors//
/////////////
/*!
\brief Check if file is loaded.
Check if file is loaded and pointer to data is non-NULL.
\return Loaded or Unloaded state of data.
**/
bool IsLoaded();
/*!
\brief Get SDL_Surface.
Get SDL_Surface pointer to actual image data.
\return SDL_Surface* of rImage.
**/
SDL_Surface *GetImage();
/*!
\brief Get Width.
Get Width of Image.
\return Image Width.
**/
int GetWidth();
/*!
\brief Get Height.
Get 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();
};
}
#endif //__ze_zimage_h__

183
include/ZE_ZMusic.h Normal file
View File

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

58
include/ZE_ZObject.h Normal file
View File

@ -0,0 +1,58 @@
/*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (jturk@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/
/*!
\par File Header:
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>
\file ZE_ZObject.h
\brief Definition file for ZObject Base Class.
Definition file for ZObject the Virtual Base Class for majority of the ZEngine Objects.
**/
#ifndef __ze_zobject_h__
#define __ze_zobject_h__
#include "ZE_ZEngine.h"
namespace ZE
{
/*!
\brief ZObject base class for other ZEngine objects.
This is the base class from which all ZEngine internal objects are derived from.
**/
class ZObject
{
protected:
//! Pointer to ZEngine Object
ZEngine* rEngine;
public:
/*!
\brief ZEngine Constructor.
ZEngine Constructor, gets Engine pointer for Object.
**/
ZObject() { rEngine = ZEngine::GetInstance(); };
/*!
\brief ZEngine Virtual destructor.
ZEngine destructor, provided to make class safely inheritable.
**/
virtual ~ZObject() {};
};
}
#endif //__ze_zobject_h__

244
include/ZE_ZRect.h Normal file
View File

@ -0,0 +1,244 @@
/*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (jturk@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/
/*!
\par File Header:
File: ZE_ZRect.h <br>
Description: Header file for core ZEngine Rectangle Object. <br>
Author(s): James Turk <br>
$Id: ZE_ZRect.h,v 1.1 2002/11/21 05:41:11 cozman Exp $<br>
\file ZE_ZRect.h
\brief Definition file for ZRect.
Definition file for ZRect, the Rectangle class for ZEngine.
**/
#ifndef __ze_zrect_h__
#define __ze_zrect_h__
#include "ZE_ZObject.h" //included even though ZRect isn't derived (to obtain all other needed headers)
namespace ZE
{
/*!
\brief ZEngine class for simplified rectangle use.
ZRect Rectangle class, used to define a rectangular area or perform operations on the defined area.
**/
class ZRect
{
private:
//! X Position of top left corner of rectangle.
int mX;
//! Y Position of top left corner of rectangle.
int mY;
//! Width of Rectangle.
int mWidth;
//! Height of Rectangle.
int mHeight;
public:
/*!
\brief Default constructor for ZRect.
Default constructor, initializes all values to zero.
**/
ZRect();
/*!
\brief Constructor for ZRect that takes inital values.
Constructor for ZRect that takes inital values for all four members.
\param x Value for x position.
\param y Value for y position.
\param width Value for width.
\param height Value for height.
**/
ZRect(int x, int y, int width, int height);
/*!
\brief Copy constructor for ZRect.
Takes a ZRect and constructs a new identical rectangle.
\param rhs Rectangle to construct from.
**/
ZRect(const ZRect &rhs);
/*!
\brief Overload for = operator with ZRect.
Copies all values from one ZRect into another.
\param rhs Rectangle to copy values from.
\return New value of the ZRect.
**/
const ZRect& operator=(const ZRect &rhs);
/*!
\brief Overload for < operator with ZRect, based upon location then size.
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.
\param rhs Rectangle to compare.
\return True if this rectangle is smaller than the rhs rectangle, false otherwise.
**/
bool operator<(const ZRect &rhs) const;
/*!
\brief Changes the location of the rectangle.
Changes the current x,y position of the rectangle.
\param x New x position for rectangle.
\param y New y position for rectangle.
**/
void Move(int x, int y);
/*!
\brief Changes the location of the rectangle based upon the current location.
Changes the current x,y position of the rectangle relative to the current location.
\param xMove Offset for new x position from current.
\param yMove Offset for new y position from current.
**/
void MoveRel(int xMove, int yMove);
/*!
\brief Resize rectangle.
Changes the current width and height of the rectangle.
\param width New width for rectangle.
\param height New height for rectangle.
**/
void Resize(int width, int height);
/*!
\brief Grows or shrinks current rectangle.
Changes the current width and height of the rectangle based upon current values.
\param widthChange Amount to add or subtract from width.
\param heightChange Amount to add or subtract from height.
**/
void ResizeRel(int widthChange, int heightChange);
/*!
\brief Check if one ZRect intersects another.
Checks for overlap and returns boolean value based on if overlap exists.
\param rect Rectangle to check for intersection with.
\return True if intersection occured, false otherwise.
**/
bool Intersects(const ZRect &rect) const;
/*!
\brief Check if a rectangle contains a given point.
Checks point against boundaries of rectangle and returns result.
\param x X value of point to check.
\param y Y value of poitn to check.
\return Boolean variable, true if point is inside rectangle, false otherwise.
**/
bool Contains(int x, int y) const;
/*!
\brief Check if a rectangle contains a given point.
Checks point against boundaries of rectangle and returns result.
\param rect Rectangle to check for point.
\return Boolean variable, true if point is inside rectangle, false otherwise.
**/
bool Contains(const ZRect &rect) const;
/*!
\brief Finds intersection of two rectangles.
Checks for intersection, and returns rectangle where the two rectangles intersect.
\param rect Rectangle to check intersection with.
\return ZRect describing intersection area.
**/
ZRect Intersection(const ZRect &rect) const;
/*!
\brief Returns an SDL_Rect representing the rectangle.
Makes a SDL_Rect representing the rectangle, for use where functions require an SDL_Rect.
\return SDL_Rect representing the ZRect.
**/
SDL_Rect SDLrect() const;
/*!
\brief Returns X Location.
Access private X location member.
\return Value of mX.
**/
int X() const;
/*!
\brief Returns Y Location.
Access private Y location member.
\return Value of mY.
**/
int Y() const;
/*!
\brief Return position of left side.
Find X position of left side of rectangle.
\return X position of left side.
**/
int Left() const;
/*!
\brief Return position of right side.
Find X position of right side of rectangle.
\return X position of right side.
**/
int Right() const;
/*!
\brief Return position of top side.
Find Y position of top side of rectangle.
\return Y position of top side.
**/
int Top() const;
/*!
\brief Return position of bottom side.
Find Y position of left side of rectangle.
\return Y position of bottom side.
**/
int Bottom() const;
/*!
\brief Returns Width.
Access private width member.
\return Value of mWidth.
**/
int Width() const;
/*!
\brief Returns Height.
Access private height member.
\return Value of mHeight.
**/
int Height() const;
};
} //namspace ZE
#endif //__ze_zrect_h__

178
include/ZE_ZSound.h Normal file
View File

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

107
include/ZE_ZTimer.h Normal file
View File

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

54
include/ZEngine.h Normal file
View File

@ -0,0 +1,54 @@
/*!
\par File Header:
File: ZEngine.h <br>
Description: Public Header File for ZEngine. <br>
Author(s): James Turk <br>
$Id: ZEngine.h,v 1.1 2002/11/21 05:41:10 cozman Exp $<br>
\file ZEngine.h
\brief Header file for ZEngine.
Header file for ZEngine Game Engine from Concept of Zero, this is the file that programs that wish to
utilize ZEngine should include.
**/
/*!
\mainpage ZEngine Documentation
\author James Turk
\version 0.7.5
\date 21 November, 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.
\section Licensing Licensing
<br><pre>
This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (james@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/
</pre>
\section Authors Contributing Authors
James Turk <a href="james@conceptofzero.net">james@conceptofzero.net</a> - Core Engine and Classes for Data Types
**/
#include "ZE_ZEngine.h"
#include "ZE_ZImage.h"
#include "ZE_ZTimer.h"
#include "ZE_ZConfigFile.h"
#include "ZE_ZRect.h"
#ifdef USE_SDL_TTF
#include "ZE_ZFont.h"
#endif
#ifdef USE_SDL_MIXER
#include "ZE_ZSound.h"
#include "ZE_ZMusic.h"
#endif

80
include/external/physfsrwops.h vendored Normal file
View File

@ -0,0 +1,80 @@
/*
* This code provides a glue layer between PhysicsFS and Simple Directmedia
* Layer's (SDL) RWops i/o abstraction.
*
* License: this code is public domain. I make no warranty that it is useful,
* correct, harmless, or environmentally safe.
*
* This particular file may be used however you like, including copying it
* verbatim into a closed-source project, exploiting it commercially, and
* removing any trace of my name from the source (although I hope you won't
* do that). I welcome enhancements and corrections to this file, but I do
* not require you to send me patches if you make changes.
*
* Unless otherwise stated, the rest of PhysicsFS falls under the GNU Lesser
* General Public License: http://www.gnu.org/licenses/lgpl.txt
*
* SDL falls under the LGPL, too. You can get SDL at http://www.libsdl.org/
*
* This file was written by Ryan C. Gordon. (icculus@clutteredmind.org).
*/
#ifndef _INCLUDE_PHYSFSRWOPS_H_
#define _INCLUDE_PHYSFSRWOPS_H_
#include <physfs.h>
#include <SDL.h>
/**
* Open a platform-independent filename for reading, and make it accessible
* via an SDL_RWops structure. The file will be closed in PhysicsFS when the
* RWops is closed. PhysicsFS should be configured to your liking before
* opening files through this method.
*
* @param filename File to open in platform-independent notation.
* @return A valid SDL_RWops structure on success, NULL on error. Specifics
* of the error can be gleaned from PHYSFS_getLastError().
*/
SDL_RWops *PHYSFSRWOPS_openRead(const char *fname);
/**
* Open a platform-independent filename for writing, and make it accessible
* via an SDL_RWops structure. The file will be closed in PhysicsFS when the
* RWops is closed. PhysicsFS should be configured to your liking before
* opening files through this method.
*
* @param filename File to open in platform-independent notation.
* @return A valid SDL_RWops structure on success, NULL on error. Specifics
* of the error can be gleaned from PHYSFS_getLastError().
*/
SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname);
/**
* Open a platform-independent filename for appending, and make it accessible
* via an SDL_RWops structure. The file will be closed in PhysicsFS when the
* RWops is closed. PhysicsFS should be configured to your liking before
* opening files through this method.
*
* @param filename File to open in platform-independent notation.
* @return A valid SDL_RWops structure on success, NULL on error. Specifics
* of the error can be gleaned from PHYSFS_getLastError().
*/
SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname);
/**
* Make a SDL_RWops from an existing PhysicsFS file handle. You should
* dispose of any references to the handle after successful creation of
* the RWops. The actual PhysicsFS handle will be destroyed when the
* RWops is closed.
*
* @param handle a valid PhysicsFS file handle.
* @return A valid SDL_RWops structure on success, NULL on error. Specifics
* of the error can be gleaned from PHYSFS_getLastError().
*/
SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
#endif /* include-once blocker */
/* end of physfsrwops.h ... */

38
licensing.txt Normal file
View File

@ -0,0 +1,38 @@
Copyright (c) James Turk, 2002
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the Concept of Zero nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
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.
In this distribution all files which fall under the license are marked as such with
the following notice:
/*******************************************************************************
This file is Part of the ZEngine Library for SDL Game Development.
Copyright (C) 2002 ConceptOfZero.net
Licensed under the BSD License, see licensing.txt.
The maintainer of this library is James Turk (james@conceptofzero.net)
and the home of this Library is http://www.conceptofzero.net/
*******************************************************************************/

22
makefile Normal file
View File

@ -0,0 +1,22 @@
CC=g++
CFLAGS=-O2 -W -Wall -I"/usr/include/SDL" -I"/home/James/ZEngine-dev/include" -L"/usr/lib/SDL" -L"/home/James/ZEngine-dev/lib"
LIBS=-lZEngineS -lSDL_mixer -lSDL_image -lSDL_ttf -lSDLmain -lSDL
ZEngineS.a: src/ZE_ZTimer.cpp src/ZE_ZImage.cpp src/ZE_ZFont.cpp src/ZE_ZMusic.cpp src/ZE_ZConfigFile.cpp src/ZE_ZSound.cpp src/ZE_ZMusic.cpp src/ZE_ZRect.cpp src/ZE_Error.cpp src/ZE_ZEngine.cpp
$(CC) $(CFLAGS) -c src/ZE_ZTimer.cpp src/ZE_ZImage.cpp src/ZE_ZFont.cpp src/ZE_ZMusic.cpp src/ZE_ZConfigFile.cpp src/ZE_ZSound.cpp src/ZE_ZMusic.cpp src/ZE_ZRect.cpp src/ZE_Error.cpp src/ZE_ZEngine.cpp
ar rcs lib/libZEngineS.a ZE_ZTimer.o ZE_ZImage.o ZE_ZFont.o ZE_ZMusic.o ZE_ZConfigFile.o ZE_ZSound.o ZE_ZMusic.o ZE_Error.o ZE_ZRect.o ZE_ZEngine.o
tests: test/ZFontTest.cpp test/ZMouseTest.cpp test/ZMusicTest.cpp test/ZSoundTest.cpp test/ZTimerTest.cpp test/ZImageTest.cpp test/ZRectTest.cpp
$(CC) $(CFLAGS) test/ZFontTest.cpp -o test/bin/ZFontTest $(LIBS)
$(CC) $(CFLAGS) test/ZMouseTest.cpp -o test/bin/ZMouseTest $(LIBS)
$(CC) $(CFLAGS) test/ZMusicTest.cpp -o test/bin/ZMusicTest $(LIBS)
$(CC) $(CFLAGS) test/ZSoundTest.cpp -o test/bin/ZSoundTest $(LIBS)
$(CC) $(CFLAGS) test/ZTimerTest.cpp -o test/bin/ZTimerTest $(LIBS)
$(CC) $(CFLAGS) test/ZImageTest.cpp -o test/bin/ZImageTest $(LIBS)
$(CC) $(CFLAGS) test/ZRectTest.cpp -o test/bin/ZRectTest $(LIBS)
.PHONY: clean
clean:
rm *.o

20
makefile.mingw32 Normal file
View File

@ -0,0 +1,20 @@
CC=g++
CFLAGS=-O2 -W -Wall -pedantic -I"c:/zengine-dev/include/" -L"c:/zengine-dev/lib/"
LIBS=-lmingw32 -mwindows -lZEngine -lSDL_mixer -lSDL_ttf -lSDLmain -lSDL
zengine.a: src/ZE_ZTimer.cpp src/ZE_ZImage.cpp src/ZE_ZFont.cpp src/ZE_ZMusic.cpp src/ZE_ZConfigFile.cpp src/ZE_ZSound.cpp src/ZE_ZMusic.cpp src/ZE_Error.cpp src/ZE_ZEngine.cpp
$(CC) $(CFLAGS) -c src/ZE_ZTimer.cpp src/ZE_ZImage.cpp src/ZE_ZFont.cpp src/ZE_ZMusic.cpp src/ZE_ZConfigFile.cpp src/ZE_ZSound.cpp src/ZE_ZMusic.cpp src/ZE_Error.cpp src/ZE_ZEngine.cpp
ar rcs lib/libZEngine.a ZE_ZTimer.o ZE_ZImage.o ZE_ZFont.o ZE_ZMusic.o ZE_ZConfigFile.o ZE_ZSound.o ZE_ZMusic.o ZE_Error.o ZE_ZEngine.o
tests: test/ZFontTest.cpp test/ZMouseTest.cpp test/ZMusicTest.cpp test/ZSoundTest.cpp test/ZTimerTest.cpp test/ZImageTest.cpp
$(CC) $(CFLAGS) test/ZFontTest.cpp -o test/bin/ZFontTest.exe $(LIBS)
$(CC) $(CFLAGS) test/ZMouseTest.cpp -o test/bin/ZMouseTest.exe $(LIBS)
$(CC) $(CFLAGS) test/ZMusicTest.cpp -o test/bin/ZMusicTest.exe $(LIBS)
$(CC) $(CFLAGS) test/ZSoundTest.cpp -o test/bin/ZSoundTest.exe $(LIBS)
$(CC) $(CFLAGS) test/ZTimerTest.cpp -o test/bin/ZTimerTest.exe $(LIBS)
$(CC) $(CFLAGS) test/ZImageTest.cpp -o test/bin/ZImageTest.exe $(LIBS)
.PHONY: clean
clean:
rm *.o

1
readme-external.txt Normal file
View File

@ -0,0 +1 @@
Files in the src/external and include/external directories are not part of ZEngine, but may be used by ZEngine to interface with external libraries. Such files are only modified to be compatible with ZEngine and marked where such modifcations occur.

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