Compounds | |
| class | ZClient |
| ZEngine class for a simplified TCP client. More... | |
| class | ZConfigFile |
| ZConfigFile Class for use in ZEngine. More... | |
| class | ZCF_Variable |
| ZConfigFile Variable class. More... | |
| class | ZCF_Section |
| ZConfigFile Section class. More... | |
| class | ZEngine |
| Main ZEngine Singleton Class. More... | |
| class | ZError |
| ZError class for describing errors. More... | |
| class | ZFont |
| ZFont class for basic Font use. More... | |
| class | ZImage |
| ZImage class for basic Image use. More... | |
| class | ZMusic |
| ZMusic class for playing full length music (eg. ogg or wav). More... | |
| class | ZRect |
| ZEngine class for simplified rectangle use. More... | |
| class | ZServer |
| ZEngine class for simplified TCP server. More... | |
| class | ZSound |
| ZSound class for playing sound effects. (WAV). More... | |
| class | ZTimer |
| ZTimer class for Timer use. More... | |
Enumerations | |
| enum | ZErrorCode { ZERR_NONE, ZERR_SDL_INTERNAL, ZERR_SDL_INIT, ZERR_MIX_INIT, ZERR_TTF_INIT, ZERR_NET_INIT, ZERR_VIDMODE, ZERR_LOAD_IMAGE, ZERR_LOAD_SOUND, ZERR_LOAD_MUSIC, ZERR_LOAD_FONT, ZERR_NOIMAGE, ZERR_NOSOUND, ZERR_NOMUSIC, ZERR_NOFONT, ZERR_NOSOCKET, ZERR_NET_CLIENT, ZERR_NET_SERVER, ZERR_LAST } |
| Enumeration of ZEngine error codes. More... | |
Functions | |
| string | FormatStr (const char *fmtstr,...) |
| Parses a string and interprets variable arguments, similar to sprintf. | |
| void | FreeImage (SDL_Surface *&image) |
| Properly free SDL_Surface. | |
| void | FreeSound (Mix_Chunk *&chunk) |
| Properly free Mix_Chunk. | |
| void | FreeMusic (Mix_Music *&music) |
| Properly free Mix_Music. | |
| void | FreeFont (TTF_Font *&font) |
| Properly free TTF_Font. | |
|
|
All the error codes currently possibly by ZEngine, note that ZERR_LAST is not used as an error code, but instead as a range check on the others.
|
|
||||||||||||
|
Takes identifiers out of fmtstr and parses them, replacing them with cooresponding values in the variable arguments list. For more detail view stdarg documentation.
|
|
|
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