00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
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 
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