Definition file for ZEngine Utilities which are used throughout the engine and can be used in conjunction with ZEngine.
#include "ZE_Includes.h"
Go to the source code of this file.
| Namespaces | |
| namespace | ZE | 
| Defines | |
| #define | FreeImage(image) if(image){SDL_FreeSurface(image); image = NULL;} | 
| #define | FreeSound(sound) if(sound){Mix_FreeChunk(sound); sound = NULL;} | 
| #define | FreeMusic(music) if(music){Mix_FreeMusic(music); music = NULL;} | 
| #define | FreeFont(font) if(font){TTF_CloseFont(font); font = NULL;} | 
| 
 | 
| Safely free an SDL_Surface* and set it to NULL. | 
| 
 | 
| Safely free a Mix_Chunk* and set it to NULL. | 
| 
 | 
| Safely free a Mix_Music* and set it to NULL. | 
| 
 | 
| Safely free a TTF_Font and set it to NULL. | 
 1.3-rc2
1.3-rc2