123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <title>UAS2: E:/uas2/Server/Shared.h File Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <link href="doxygen.css" rel="stylesheet" type="text/css"/>
- </head>
- <body>
- <!-- Generated by Doxygen 1.6.2 -->
- <div class="navigation" id="top">
- <div class="tabs">
- <ul>
- <li><a href="main.html"><span>Main Page</span></a></li>
- <li><a href="annotated.html"><span>Classes</span></a></li>
- <li class="current"><a href="files.html"><span>Files</span></a></li>
- </ul>
- </div>
- <div class="tabs">
- <ul>
- <li><a href="files.html"><span>File List</span></a></li>
- <li><a href="globals.html"><span>File Members</span></a></li>
- </ul>
- </div>
- </div>
- <div class="contents">
- <h1>E:/uas2/Server/Shared.h File Reference</h1><code>#include <winsock2.h></code><br/>
- <code>#include <time.h></code><br/>
- <code>#include <list></code><br/>
- <code>#include <math.h></code><br/>
- <p><a href="_shared_8h_source.html">Go to the source code of this file.</a></p>
- <table border="0" cellpadding="0" cellspacing="0">
- <tr><td colspan="2"><h2>Classes</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structc_transport_header.html">cTransportHeader</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structc_fragment_header.html">cFragmentHeader</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structc_location.html">cLocation</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structc_velocity.html">cVelocity</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structlb.html">lb</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structs_palette_change.html">sPaletteChange</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structs_texture_change.html">sTextureChange</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structs_model_change.html">sModelChange</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structc_mon_stats.html">cMonStats</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structc_avatar_list.html">cAvatarList</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_confirm_panel.html">ConfirmPanel</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structc_tele_town_list.html">cTeleTownList</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structc_dungeon_list.html">cDungeonList</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structc_animates.html">cAnimates</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structc_spell_book.html">cSpellBook</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structc_spell_tab.html">cSpellTab</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structcs___cast_magic.html">cs_CastMagic</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structv_inventory.html">vInventory</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structs_monsters.html">sMonsters</a></td></tr>
- <tr><td colspan="2"><h2>Defines</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac2da720c824909575551bc521a369db8"></a><!-- doxytag: member="Shared.h::WM_CLEAROBJECTS" ref="ac2da720c824909575551bc521a369db8" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>WM_CLEAROBJECTS</b> WM_APP+1</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a879456c3b8e2853f7044d764e9c180d4"></a><!-- doxytag: member="Shared.h::MAX_PACKET_SIZE" ref="a879456c3b8e2853f7044d764e9c180d4" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>MAX_PACKET_SIZE</b> 0x1E4</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7eba0312b8e55653b691a4627f6c79ca"></a><!-- doxytag: member="Shared.h::MAX_FRAGMENT_SIZE" ref="a7eba0312b8e55653b691a4627f6c79ca" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>MAX_FRAGMENT_SIZE</b> 0x1D0</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a87f68e96fb938eddc39ad1f19d923a96"></a><!-- doxytag: member="Shared.h::MAX_DATA_SIZE" ref="a87f68e96fb938eddc39ad1f19d923a96" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>MAX_DATA_SIZE</b> 0x1C0</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aee69124b7b4cf3ab165bae10ab70fe2d"></a><!-- doxytag: member="Shared.h::MAX_CORPSES" ref="aee69124b7b4cf3ab165bae10ab70fe2d" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>MAX_CORPSES</b> 1000</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a66b9ef6d40f3b297ca107a30fb2f1d57"></a><!-- doxytag: member="Shared.h::MAX_MONSTERS" ref="a66b9ef6d40f3b297ca107a30fb2f1d57" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>MAX_MONSTERS</b> 5000</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9fb383fc1cfc5a52520222eb8df13d08"></a><!-- doxytag: member="Shared.h::MAX_PETS" ref="a9fb383fc1cfc5a52520222eb8df13d08" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>MAX_PETS</b> 5000</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62249e384b997229a3e2ae74ade334e2"></a><!-- doxytag: member="Shared.h::DELAY" ref="a62249e384b997229a3e2ae74ade334e2" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>DELAY</b> 120</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6eb497a01afec5d649211ffe92ad42f6"></a><!-- doxytag: member="Shared.h::CORPSE_DELAY" ref="a6eb497a01afec5d649211ffe92ad42f6" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>CORPSE_DELAY</b> 60</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a999c636a7c1949052a023472d486d44c"></a><!-- doxytag: member="Shared.h::ACTION_DELAY" ref="a999c636a7c1949052a023472d486d44c" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>ACTION_DELAY</b> 1</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a0c770328891d8916c1142a26481e4a"></a><!-- doxytag: member="Shared.h::TICKS_PER_SEC" ref="a4a0c770328891d8916c1142a26481e4a" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>TICKS_PER_SEC</b> 10</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5bb4257ca9fa4bfcf9391b7895b97761"></a><!-- doxytag: member="Shared.h::MAX_LEVEL" ref="a5bb4257ca9fa4bfcf9391b7895b97761" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>MAX_LEVEL</b> 126</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2611c05939039c01d1b3fa96b2ac91a2"></a><!-- doxytag: member="Shared.h::OLD_PASSUP" ref="a2611c05939039c01d1b3fa96b2ac91a2" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>OLD_PASSUP</b> true</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a27aadd8b8edb141a98a27324e6e2031f"></a><!-- doxytag: member="Shared.h::PASSED_XP_MULT" ref="a27aadd8b8edb141a98a27324e6e2031f" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>PASSED_XP_MULT</b> 1</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3f36e3cfd29a1f2e7c34921086fff990"></a><!-- doxytag: member="Shared.h::RECEIVED_XP_MULT" ref="a3f36e3cfd29a1f2e7c34921086fff990" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>RECEIVED_XP_MULT</b> 1</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0bc71d1968b652e2cc05a15ba4f139f0"></a><!-- doxytag: member="Shared.h::MAX_VASSALS" ref="a0bc71d1968b652e2cc05a15ba4f139f0" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>MAX_VASSALS</b> 12</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4aba8ef9337124115b106eb7dcab5f8e"></a><!-- doxytag: member="Shared.h::MAX_RANK" ref="a4aba8ef9337124115b106eb7dcab5f8e" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>MAX_RANK</b> 10</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab270e649f99931de06b9f88692ad6313"></a><!-- doxytag: member="Shared.h::OLD_PASSTHROUGH" ref="ab270e649f99931de06b9f88692ad6313" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>OLD_PASSTHROUGH</b> true</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d7714fc010b9a275c4d9134ba18ab9f"></a><!-- doxytag: member="Shared.h::SHARED_XP_MULT" ref="a9d7714fc010b9a275c4d9134ba18ab9f" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>SHARED_XP_MULT</b> 1</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7960b40868f4f6dc402d8ca04afe2bf7"></a><!-- doxytag: member="Shared.h::OLD_FELLOW_RANGE" ref="a7960b40868f4f6dc402d8ca04afe2bf7" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>OLD_FELLOW_RANGE</b> true</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9c48cb8d91d71f0b05591998a5a5b99c"></a><!-- doxytag: member="Shared.h::FELLOW_RANGE_MULT" ref="a9c48cb8d91d71f0b05591998a5a5b99c" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>FELLOW_RANGE_MULT</b> 1</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa73f2b9f0b6398feea017d3432200f25"></a><!-- doxytag: member="Shared.h::MAX_FELLOW_SIZE" ref="aa73f2b9f0b6398feea017d3432200f25" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>MAX_FELLOW_SIZE</b> 9</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><b>SAFEDELETE</b>(p)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><b>SAFEDELETE_ARRAY</b>(a)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><b>CHECKRETURN</b>(ExitOnError, hType, hName, ReturnOnError)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad34fc0cfeb1a5b123fd9236a822a28be"></a><!-- doxytag: member="Shared.h::Race" ref="ad34fc0cfeb1a5b123fd9236a822a28be" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>Race</b> 3</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a911230dd71f14315afc31a294e96aa3a"></a><!-- doxytag: member="Shared.h::Gender" ref="a911230dd71f14315afc31a294e96aa3a" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>Gender</b> 2</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a90bc171baa166cadf0d83eace0ad27b5"></a><!-- doxytag: member="Shared.h::TexType" ref="a90bc171baa166cadf0d83eace0ad27b5" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>TexType</b> 3</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acd18ba2b06cb81ddf42c06bfa8df7504"></a><!-- doxytag: member="Shared.h::TexIndex" ref="acd18ba2b06cb81ddf42c06bfa8df7504" args="" -->
- #define </td><td class="memItemRight" valign="bottom"><b>TexIndex</b> 45</td></tr>
- <tr><td colspan="2"><h2>Typedefs</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0539713f7b572807d6e912489eee7320"></a><!-- doxytag: member="Shared.h::iterClient_lst" ref="a0539713f7b572807d6e912489eee7320" args="" -->
- typedef std::list< <a class="el" href="classc_client.html">cClient</a> * ><br class="typebreak"/>
- ::iterator </td><td class="memItemRight" valign="bottom"><b>iterClient_lst</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a36ceb624471fdf60c691a6ea7fd1a8ad"></a><!-- doxytag: member="Shared.h::iterObject_lst" ref="a36ceb624471fdf60c691a6ea7fd1a8ad" args="" -->
- typedef std::list< <a class="el" href="classc_object.html">cObject</a> * ><br class="typebreak"/>
- ::iterator </td><td class="memItemRight" valign="bottom"><b>iterObject_lst</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1fdbe6a6f87dd07498953c74bfd0a3b0"></a><!-- doxytag: member="Shared.h::iterModel_lst" ref="a1fdbe6a6f87dd07498953c74bfd0a3b0" args="" -->
- typedef std::list< cModels * ><br class="typebreak"/>
- ::iterator </td><td class="memItemRight" valign="bottom"><b>iterModel_lst</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2bdafbd199120c9d9b1f432258be7112"></a><!-- doxytag: member="Shared.h::iterMagicModel_lst" ref="a2bdafbd199120c9d9b1f432258be7112" args="" -->
- typedef std::list<br class="typebreak"/>
- < cMagicModels * >::iterator </td><td class="memItemRight" valign="bottom"><b>iterMagicModel_lst</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a82ab3253cf783b81d617157b729ad862"></a><!-- doxytag: member="Shared.h::iterEnchantment_lst" ref="a82ab3253cf783b81d617157b729ad862" args="" -->
- typedef std::list<br class="typebreak"/>
- < cEnchantment * >::iterator </td><td class="memItemRight" valign="bottom"><b>iterEnchantment_lst</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a98a7307e028e71f13e4d213ad336625d"></a><!-- doxytag: member="Shared.h::iterNPCs_lst" ref="a98a7307e028e71f13e4d213ad336625d" args="" -->
- typedef std::list< <a class="el" href="classc_n_p_c.html">cNPC</a> * ><br class="typebreak"/>
- ::iterator </td><td class="memItemRight" valign="bottom"><b>iterNPCs_lst</b></td></tr>
- <tr><td colspan="2"><h2>Enumerations</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b>eColors</b> { <br/>
- <b>ColorGreen</b> = 1,
- <b>ColorWhite</b> = 2,
- <b>ColorYellow</b> = 3,
- <b>ColorBrown</b> = 4,
- <br/>
- <b>ColorMagenta</b> = 5,
- <b>ColorRed</b> = 6,
- <b>ColorGreen2</b> = 7,
- <b>ColorPink</b> = 8,
- <br/>
- <b>ColorLightPink</b> = 9,
- <b>ColorYellow2</b> = 10,
- <b>ColorBrown2</b> = 11,
- <b>ColorGrey</b> = 12,
- <br/>
- <b>ColorCyan</b> = 13,
- <b>ColorAquamarine</b> = 14,
- <b>ColorRed2</b> = 15,
- <b>ColorGreen3</b> = 16,
- <br/>
- <b>ColorBlue</b> = 17,
- <b>ColorGreen4</b> = 18
- <br/>
- }</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b>eAccessLevels</b> { <br/>
- <b>eDeveloper</b> = 0,
- <b>eAdmin</b> = 1,
- <b>eSentinel</b> = 2,
- <b>eAdvocate</b> = 3,
- <br/>
- <b>eStaff</b> = 4,
- <b>eUeber</b> = 5,
- <b>eVIP</b> = 6,
- <b>eNormal</b> = 7
- <br/>
- }</td></tr>
- <tr><td colspan="2"><h2>Functions</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a553ed836edd52503ec73e37f50b00581"></a><!-- doxytag: member="Shared.h::UpdateConsole" ref="a553ed836edd52503ec73e37f50b00581" args="(const char *szBuff)" -->
- void </td><td class="memItemRight" valign="bottom"><b>UpdateConsole</b> (const char *szBuff)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b16f477f34821bfd7f5eaebf492f3d2"></a><!-- doxytag: member="Shared.h::UpdateConsole" ref="a8b16f477f34821bfd7f5eaebf492f3d2" args="(char *szBuff, long nErr)" -->
- long </td><td class="memItemRight" valign="bottom"><b>UpdateConsole</b> (char *szBuff, long nErr)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9aa9ead98b03fbf8ebe67434d5b6ecd5"></a><!-- doxytag: member="Shared.h::UpdateConsole" ref="a9aa9ead98b03fbf8ebe67434d5b6ecd5" args="(char *szMessage,...)" -->
- void </td><td class="memItemRight" valign="bottom"><b>UpdateConsole</b> (char *szMessage,...)</td></tr>
- <tr><td colspan="2"><h2>Variables</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac021bc624c4e884a98f7ffe969562e76"></a><!-- doxytag: member="Shared.h::g_nCharPort" ref="ac021bc624c4e884a98f7ffe969562e76" args="" -->
- short </td><td class="memItemRight" valign="bottom"><b>g_nCharPort</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad40209534b14ed5b535e4c35084d2927"></a><!-- doxytag: member="Shared.h::g_nWorldPort" ref="ad40209534b14ed5b535e4c35084d2927" args="" -->
- short </td><td class="memItemRight" valign="bottom"><b>g_nWorldPort</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7dbec4f4aff2b92f818bff66ec49b0b"></a><!-- doxytag: member="Shared.h::g_hWndMain" ref="ad7dbec4f4aff2b92f818bff66ec49b0b" args="" -->
- HWND </td><td class="memItemRight" valign="bottom"><b>g_hWndMain</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8e69f81a6949897d5ce387d87c035791"></a><!-- doxytag: member="Shared.h::g_szLocalIP" ref="a8e69f81a6949897d5ce387d87c035791" args="[16]" -->
- char </td><td class="memItemRight" valign="bottom"><b>g_szLocalIP</b> [16]</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afdb0ccea0cdba6468ee487c11996ab98"></a><!-- doxytag: member="Shared.h::g_wAvatarTexturesList" ref="afdb0ccea0cdba6468ee487c11996ab98" args="[Race][Gender][TexType][TexIndex]" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>g_wAvatarTexturesList</b> [Race][Gender][TexType][TexIndex]</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa88be7fdab9285b3f7cab636a16bcba4"></a><!-- doxytag: member="Shared.h::g_wAvatarTexturesBaldList" ref="aa88be7fdab9285b3f7cab636a16bcba4" args="[Race][Gender][TexIndex]" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>g_wAvatarTexturesBaldList</b> [Race][Gender][TexIndex]</td></tr>
- </table>
- <hr/><a name="_details"></a><h2>Detailed Description</h2>
- <p>Defines shared structures and variables. </p>
- <hr/><h2>Define Documentation</h2>
- <a class="anchor" id="a97f84e36624e6c14de506bf7e826eabd"></a><!-- doxytag: member="Shared.h::CHECKRETURN" ref="a97f84e36624e6c14de506bf7e826eabd" args="(ExitOnError, hType, hName, ReturnOnError)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define CHECKRETURN</td>
- <td>(</td>
- <td class="paramtype">ExitOnError, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">hType, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">hName, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">ReturnOnError </td>
- <td class="paramname"></td>
- <td> ) </td>
- <td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">if</span> (!(retcode == SQL_SUCCESS || retcode == SQL_SUCCESS_WITH_INFO || retcode == SQL_NO_DATA)) \
- { \
- UpdateConsole( <span class="stringliteral">" <SQL> %s: Error on line %lu: "</span>, __FILE__, __LINE__ );\
- cDatabase::GetError(hType, &hName); \
- <span class="keywordflow">if</span> (ExitOnError) \
- { \
- UpdateConsole(<span class="stringliteral">" <SQL> Function has been aborted.\r\n"</span>); \
- <span class="comment">/*return ReturnOnError; */</span> \
- } \
- <span class="keywordflow">else</span> \
- UpdateConsole(<span class="stringliteral">" <SQL> Function has been continued normally.\r\n"</span>); \
- }
- </pre></div>
- </div>
- </div>
- <a class="anchor" id="aa2d3b3c29eb274b74a102ff6f641bdf9"></a><!-- doxytag: member="Shared.h::SAFEDELETE" ref="aa2d3b3c29eb274b74a102ff6f641bdf9" args="(p)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define SAFEDELETE</td>
- <td>(</td>
- <td class="paramtype">p </td>
- <td class="paramname"></td>
- <td> ) </td>
- <td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <b>Value:</b><div class="fragment"><pre class="fragment">{ \
- <span class="keyword">delete</span> (p); \
- (p) = NULL; \
- }
- </pre></div>
- </div>
- </div>
- <a class="anchor" id="aa6db34c37554e13917163030ea2a3e73"></a><!-- doxytag: member="Shared.h::SAFEDELETE_ARRAY" ref="aa6db34c37554e13917163030ea2a3e73" args="(a)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define SAFEDELETE_ARRAY</td>
- <td>(</td>
- <td class="paramtype">a </td>
- <td class="paramname"></td>
- <td> ) </td>
- <td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <b>Value:</b><div class="fragment"><pre class="fragment">{ \
- <span class="keyword">delete</span>[] (a); \
- (a) = NULL; \
- }
- </pre></div>
- </div>
- </div>
- </div>
- <hr size="1"/><address style="text-align: right;"><small>Generated by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
- </body>
- </html>
|