Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/ZE_Utility.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002         This file is Part of the ZEngine Library for 2D game development.
00003                    Copyright (C) 2002, 2003 James Turk
00004 
00005                      Licensed under a BSD-style license.
00006 
00007     The maintainer of this library is James Turk (james@conceptofzero.net) 
00008      and the home of this Library is http://www.zengine.sourceforge.net
00009 *******************************************************************************/
00010 
00022 #ifndef __ze_utility_h__
00023 #define __ze_utility_h__
00024 
00025 #include "ZE_Includes.h"
00026 
00027 namespace ZE
00028 {
00029 
00039 std::string FormatStr(const char *fmtstr, ...);
00040 
00042 //Memory//
00044 
00051 void FreeImage(SDL_Surface *&image);
00052 
00053 #ifdef USE_SDL_MIXER
00054 
00061 void FreeSound(Mix_Chunk *&chunk);
00062 
00069 void FreeMusic(Mix_Music *&music);
00070 
00071 #endif
00072 
00073 #ifdef USE_SDL_TTF
00074 
00080 void FreeFont(TTF_Font *&font);
00081 #endif
00082 
00083 }
00084 
00085 #endif //__ze_utility_h__
00086 

Generated on Sun Jun 29 14:13:50 2003 for ZEngine by doxygen1.3