<!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>/include/ZE_Utility.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3-rc2 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>/include/ZE_Utility.h</h1><a href="ZE__Utility_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 2D game development.</span> 00003 <span class="comment"> Copyright (C) 2002, 2003 James Turk</span> 00004 <span class="comment"></span> 00005 <span class="comment"> Licensed under a BSD-style license.</span> 00006 <span class="comment"></span> 00007 <span class="comment"> The maintainer of this library is James Turk (james@conceptofzero.net) </span> 00008 <span class="comment"> and the home of this Library is http://www.zengine.sourceforge.net</span> 00009 <span class="comment">*******************************************************************************/</span> 00010 00025 <span class="preprocessor">#ifndef __ze_utility_h__</span> 00026 <span class="preprocessor"></span><span class="preprocessor">#define __ze_utility_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 <a name="l00030"></a><a class="code" href="namespaceZE.html">00030</a> <span class="keyword">namespace </span>ZE 00031 { 00032 00042 string <a class="code" href="namespaceZE.html#a19">FormatStr</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *fmtstr, ...); 00043 00045 <span class="comment">//Memory//</span> 00047 <span class="comment"></span> 00054 <span class="comment"></span><span class="keywordtype">void</span> <a class="code" href="namespaceZE.html#a20">FreeImage</a>(SDL_Surface *&image); 00055 00056 <span class="preprocessor">#ifdef USE_SDL_MIXER</span> 00057 <span class="preprocessor"></span> 00064 <span class="keywordtype">void</span> <a class="code" href="namespaceZE.html#a21">FreeSound</a>(Mix_Chunk *&chunk); 00065 00072 <span class="keywordtype">void</span> <a class="code" href="namespaceZE.html#a22">FreeMusic</a>(Mix_Music *&music); 00073 00074 <span class="preprocessor">#endif</span> 00075 <span class="preprocessor"></span> 00076 <span class="preprocessor">#ifdef USE_SDL_TTF</span> 00077 <span class="preprocessor"></span> 00083 <span class="keywordtype">void</span> <a class="code" href="namespaceZE.html#a23">FreeFont</a>(TTF_Font *&font); 00084 <span class="preprocessor">#endif</span> 00085 <span class="preprocessor"></span> 00086 00087 } 00088 00089 <span class="preprocessor">#endif //__ze_utility_h__</span> 00090 <span class="preprocessor"></span> </pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 27 22:34:35 2003 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-rc2 </small></address> </body> </html>