2002-12-01 08:02:50 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< html > < head > < meta http-equiv = "Content-Type" content = "text/html;charset=iso-8859-1" >
< title > ZE_Macros.h File Reference< / title >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" >
< / head > < body >
2002-12-22 04:31:15 +00:00
<!-- Generated by Doxygen 1.3 - rc2 -->
2002-12-01 08:02:50 +00:00
< center >
< a class = "qindex" href = "index.html" > Main Page< / a > < a class = "qindex" href = "namespaces.html" > Namespace List< / a > < a class = "qindex" href = "hierarchy.html" > Class Hierarchy< / a > < a class = "qindex" href = "annotated.html" > Compound List< / a > < a class = "qindex" href = "files.html" > File List< / a > < a class = "qindex" href = "namespacemembers.html" > Namespace Members< / a > < a class = "qindex" href = "functions.html" > Compound Members< / a > < a class = "qindex" href = "globals.html" > File Members< / a > < / center >
2002-12-22 04:31:15 +00:00
< hr > < h1 > /include/ZE_Macros.h File Reference< / h1 > < hr > < a name = "_details" > < / a > < h2 > Detailed Description< / h2 >
< dl compact > < dt > < b > File Header: < / b > < / dt > < dd > File: < a class = "el" href = "ZE__Macros_8h.html" > ZE_Macros.h< / a > < br >
2002-12-01 08:02:50 +00:00
Description: Header file for ZEngine Macros. < br >
Author(s): James Turk < br >
2002-12-22 04:31:15 +00:00
< dl compact > < dt > < b > Id< / b > < / dt > < dd > < a class = "el" href = "ZE__Macros_8h.html" > ZE_Macros.h< / a > ,v 1.3 2002/12/04 23:51:22 cozman Exp < / dd > < / dl >
< br >
2002-12-05 00:05:06 +00:00
< / dd > < / dl >
< p >
Definition file for ZEngine Macros which are used throughout the engine.
2002-12-01 08:02:50 +00:00
< p >
< code > #include "< a class = "el" href = "ZE__Includes_8h-source.html" > ZE_Includes.h< / a > "< / code > < br >
< p >
< a href = "ZE__Macros_8h-source.html" > Go to the source code of this file.< / a > < table border = 0 cellpadding = 0 cellspacing = 0 >
< tr > < td > < / td > < / tr >
< tr > < td colspan = 2 > < br > < h2 > Namespaces< / h2 > < / td > < / tr >
< tr > < td nowrap align = right valign = top > namespace < / td > < td valign = bottom > < a class = "el" href = "namespaceZE.html" > ZE< / a > < / td > < / tr >
2002-12-05 00:05:06 +00:00
< tr > < td colspan = 2 > < br > < h2 > Defines< / h2 > < / td > < / tr >
< tr > < td nowrap align = right valign = top > #define < / td > < td valign = bottom > < a class = "el" href = "ZE__Macros_8h.html#a0" > FreeImage< / a > (image) if(image){SDL_FreeSurface(image); image = NULL;}< / td > < / tr >
< tr > < td nowrap align = right valign = top > #define < / td > < td valign = bottom > < a class = "el" href = "ZE__Macros_8h.html#a1" > FreeSound< / a > (sound) if(sound){Mix_FreeChunk(sound); sound = NULL;}< / td > < / tr >
< tr > < td nowrap align = right valign = top > #define < / td > < td valign = bottom > < a class = "el" href = "ZE__Macros_8h.html#a2" > FreeMusic< / a > (music) if(music){Mix_FreeMusic(music); music = NULL;}< / td > < / tr >
< tr > < td nowrap align = right valign = top > #define < / td > < td valign = bottom > < a class = "el" href = "ZE__Macros_8h.html#a3" > FreeFont< / a > (font) if(font){TTF_CloseFont(font); font = NULL;}< / td > < / tr >
< / table >
< hr > < h2 > Define Documentation< / h2 >
< a name = "a0" doxytag = "ZE_Macros.h::FreeImage" > < / a > < p >
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > #define FreeImage< / td >
< td class = "md" valign = "top" > ( < / td >
< td class = "md" nowrap valign = "top" > image < / td >
< td class = "mdname1" valign = "top" nowrap > < / td >
< td class = "md" valign = "top" > ) < / td >
< td class = "md" nowrap > if(image){SDL_FreeSurface(image); image = NULL;}
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
Safely free an SDL_Surface* and set it to NULL. < / td >
< / tr >
< / table >
< a name = "a1" doxytag = "ZE_Macros.h::FreeSound" > < / a > < p >
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > #define FreeSound< / td >
< td class = "md" valign = "top" > ( < / td >
< td class = "md" nowrap valign = "top" > sound < / td >
< td class = "mdname1" valign = "top" nowrap > < / td >
< td class = "md" valign = "top" > ) < / td >
< td class = "md" nowrap > if(sound){Mix_FreeChunk(sound); sound = NULL;}
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
Safely free a Mix_Chunk* and set it to NULL. < / td >
< / tr >
< / table >
< a name = "a2" doxytag = "ZE_Macros.h::FreeMusic" > < / a > < p >
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > #define FreeMusic< / td >
< td class = "md" valign = "top" > ( < / td >
< td class = "md" nowrap valign = "top" > music < / td >
< td class = "mdname1" valign = "top" nowrap > < / td >
< td class = "md" valign = "top" > ) < / td >
< td class = "md" nowrap > if(music){Mix_FreeMusic(music); music = NULL;}
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
Safely free a Mix_Music* and set it to NULL. < / td >
< / tr >
< / table >
< a name = "a3" doxytag = "ZE_Macros.h::FreeFont" > < / a > < p >
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > #define FreeFont< / td >
< td class = "md" valign = "top" > ( < / td >
< td class = "md" nowrap valign = "top" > font < / td >
< td class = "mdname1" valign = "top" nowrap > < / td >
< td class = "md" valign = "top" > ) < / td >
< td class = "md" nowrap > if(font){TTF_CloseFont(font); font = NULL;}
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
Safely free a TTF_Font and set it to NULL. < / td >
< / tr >
2002-12-01 08:02:50 +00:00
< / table >
2002-12-22 04:31:15 +00:00
< hr > < address style = "align: right;" > < small > Generated on Sat Dec 21 23:20:23 2002 for ZEngine by
2002-12-01 08:02:50 +00:00
< a href = "http://www.doxygen.org/index.html" >
< img src = "doxygen.png" alt = "doxygen" align = "middle" border = 0
2002-12-22 04:31:15 +00:00
width=110 height=53>< / a > 1.3-rc2 < / small > < / address >
2002-12-01 08:02:50 +00:00
< / body >
< / html >