Mercurial > hg > Game > Cerium
diff Document/document/html/hash__texture_8h-source.html @ 288:e57427a7500b draft
doxygen
author | e065746@localhost.localdomain |
---|---|
date | Fri, 05 Jun 2009 17:53:28 +0900 |
parents | |
children | cf5196a16021 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/hash__texture_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,41 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> +<title>Cerium: hash_texture.h Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.7.1 --> +<div class="navigation" id="top"> + <div class="tabs"> + <ul> + <li><a href="index.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> + </ul> + </div> +<h1>hash_texture.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keyword">const</span> <span class="keywordtype">int</span> N = 8192; +<a name="l00002"></a>00002 +<a name="l00003"></a>00003 <span class="keyword">struct</span> +<a name="l00004"></a>00004 hashtable{ +<a name="l00005"></a>00005 <span class="keywordtype">int</span> tx_id; +<a name="l00006"></a>00006 <span class="keywordtype">char</span>* key; +<a name="l00007"></a>00007 }; +<a name="l00008"></a>00008 +<a name="l00009"></a>00009 <span class="keyword">class </span>TextureHash { +<a name="l00010"></a>00010 hashtable table[N]; +<a name="l00011"></a>00011 <span class="keyword">public</span>: +<a name="l00012"></a>00012 hash(<span class="keywordtype">void</span>); +<a name="l00013"></a>00013 <span class="keywordtype">int</span> hash_function(<span class="keyword">const</span> <span class="keywordtype">char</span>*); +<a name="l00014"></a>00014 <span class="keywordtype">int</span> hash_regist(<span class="keyword">const</span> <span class="keywordtype">char</span>*); +<a name="l00015"></a>00015 }; +</pre></div></div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:27 2009 for Cerium by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.7.1 </small></address> +</body> +</html>