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 
00025 #ifndef __ze_utility_h__
00026 #define __ze_utility_h__
00027 
00028 #include "ZE_Includes.h"
00029 
00030 namespace ZE
00031 {
00032 
00042 string FormatStr(const char *fmtstr, ...);
00043 
00045 //Memory//
00047 
00054 void FreeImage(SDL_Surface *&image);
00055 
00056 #ifdef USE_SDL_MIXER
00057 
00064 void FreeSound(Mix_Chunk *&chunk);
00065 
00072 void FreeMusic(Mix_Music *&music);
00073 
00074 #endif
00075 
00076 #ifdef USE_SDL_TTF
00077 
00083 void FreeFont(TTF_Font *&font);
00084 #endif
00085 
00086 
00087 }
00088 
00089 #endif //__ze_utility_h__
00090 

Generated on Sun Apr 27 21:57:34 2003 for ZEngine by doxygen1.3-rc2