Mercurial > hg > Members > kono > Cerium
changeset 288:92df9fd8210d
doxygen
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/Ball_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,27 @@ +<!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: Ball.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>Ball.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define Ball scene_graph</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/Button_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,45 @@ +<!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: Button.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>Button.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_BUTTON</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_BUTTON</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="keyword">class </span>Button { +<a name="l00005"></a>00005 <span class="keyword">public</span>: +<a name="l00006"></a>00006 <span class="keywordtype">int</span> push; +<a name="l00007"></a>00007 <span class="keywordtype">int</span> hold; +<a name="l00008"></a>00008 <span class="keywordtype">int</span> release; +<a name="l00009"></a>00009 +<a name="l00010"></a>00010 Button(<span class="keywordtype">void</span>) : push(0), hold(0), release(0) {} +<a name="l00011"></a>00011 +<a name="l00012"></a>00012 <span class="keywordtype">void</span> push_work(<span class="keywordtype">void</span>); +<a name="l00013"></a>00013 <span class="keywordtype">void</span> release_work(<span class="keywordtype">void</span>); +<a name="l00014"></a>00014 <span class="keywordtype">int</span> isPush(<span class="keywordtype">void</span>); +<a name="l00015"></a>00015 <span class="keywordtype">int</span> isHold(<span class="keywordtype">void</span>); +<a name="l00016"></a>00016 <span class="keywordtype">int</span> isRelease(<span class="keywordtype">void</span>); +<a name="l00017"></a>00017 }; +<a name="l00018"></a>00018 +<a name="l00019"></a>00019 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/Camera_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,59 @@ +<!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: Camera.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>Camera.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_CAMERA</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_CAMERA</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCENE_GRAPH</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SceneGraph.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>Camera : <span class="keyword">public</span> SceneGraph { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 Camera(<span class="keywordtype">float</span> w = 640, <span class="keywordtype">float</span> h = 480); +<a name="l00011"></a>00011 ~Camera(<span class="keywordtype">void</span>); +<a name="l00012"></a>00012 +<a name="l00013"></a>00013 <span class="keywordtype">float</span> zd[4]; <span class="comment">// direction z</span> +<a name="l00014"></a>00014 <span class="keywordtype">float</span> yd[4]; <span class="comment">// direction y</span> +<a name="l00015"></a>00015 <span class="keywordtype">float</span> fov; +<a name="l00016"></a>00016 <span class="keywordtype">float</span> near; +<a name="l00017"></a>00017 <span class="keywordtype">float</span> far; +<a name="l00018"></a>00018 +<a name="l00019"></a>00019 <span class="keywordtype">float</span> *m_view; +<a name="l00020"></a>00020 <span class="keywordtype">float</span> *m_pers; +<a name="l00021"></a>00021 <span class="keywordtype">float</span> *m_screen; +<a name="l00022"></a>00022 +<a name="l00023"></a>00023 <span class="keywordtype">void</span> updateView(<span class="keywordtype">void</span>); +<a name="l00024"></a>00024 <span class="keywordtype">void</span> updatePerspective(<span class="keywordtype">float</span> w, <span class="keywordtype">float</span> h); +<a name="l00025"></a>00025 <span class="keywordtype">void</span> updateScreen(<span class="keywordtype">float</span> w, <span class="keywordtype">float</span> h); +<a name="l00026"></a>00026 +<a name="l00027"></a>00027 <span class="keywordtype">void</span> setCamera(<span class="keywordtype">float</span> *pose); +<a name="l00028"></a>00028 <span class="keywordtype">void</span> update(<span class="keywordtype">float</span> screen_w, <span class="keywordtype">float</span> screen_h); +<a name="l00029"></a>00029 }; +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="keyword">typedef</span> Camera *CameraPtr; +<a name="l00032"></a>00032 +<a name="l00033"></a>00033 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/CreatePolygonFromSceneGraph_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: CreatePolygonFromSceneGraph.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>CreatePolygonFromSceneGraph.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_CREATE_POLYGON</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_CREATE_POLYGON</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>CreatePolygonFromSceneGraph : <span class="keyword">public</span> SchedTask { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 SchedConstructor(CreatePolygonFromSceneGraph); +<a name="l00011"></a>00011 +<a name="l00012"></a>00012 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *rbuf, <span class="keywordtype">void</span> *wbuf); +<a name="l00013"></a>00013 }; +<a name="l00014"></a>00014 +<a name="l00015"></a>00015 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/CreatePolygonPack_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,48 @@ +<!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: CreatePolygonPack.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>CreatePolygonPack.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TASK_CREATE_POLYGON_PACK</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TASK_CREATE_POLYGON_PACK</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>CreatePolygonPack : <span class="keyword">public</span> SchedTask { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 CreatePolygonPack(TaskListPtr _tlist, TaskPtr _task, +<a name="l00011"></a>00011 <span class="keywordtype">void</span>* _rbuf, <span class="keywordtype">void</span>* _wbuf, DmaManager* _con) +<a name="l00012"></a>00012 :SchedTask(_tlist, _task, _rbuf, _wbuf, _con) {} +<a name="l00013"></a>00013 <span class="keywordtype">void</span> read(<span class="keywordtype">void</span>); +<a name="l00014"></a>00014 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *readbuf, <span class="keywordtype">void</span> *writebuf); +<a name="l00015"></a>00015 <span class="keywordtype">void</span> write(<span class="keywordtype">void</span>); +<a name="l00016"></a>00016 +<a name="l00017"></a>00017 <span class="keyword">private</span>: +<a name="l00018"></a>00018 <span class="keywordtype">void</span> rotate(<span class="keywordtype">float</span> *xyz, <span class="keywordtype">float</span> *matrix); +<a name="l00019"></a>00019 <span class="keyword">inline</span> <span class="keywordtype">float</span> sum_across_float4(vector <span class="keywordtype">float</span> v); +<a name="l00020"></a>00020 }; +<a name="l00021"></a>00021 +<a name="l00022"></a>00022 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/Finish_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: Finish.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>Finish.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SYSTASK_FINISH</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SYSTASK_FINISH</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>Finish : <span class="keyword">public</span> SchedTask { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 SchedConstructor(Finish); +<a name="l00011"></a>00011 +<a name="l00012"></a>00012 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *r, <span class="keywordtype">void</span> *w); +<a name="l00013"></a>00013 }; +<a name="l00014"></a>00014 +<a name="l00015"></a>00015 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/Joystick_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,47 @@ +<!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: Joystick.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>Joystick.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_JOYSTICK</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_JOYSTICK</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#include "SDL.h"</span> +<a name="l00005"></a>00005 +<a name="l00006"></a>00006 <span class="preprocessor">#ifndef INCLUDED_PAD</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span><span class="preprocessor"># include "Pad.h"</span> +<a name="l00008"></a>00008 <span class="preprocessor">#endif</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span> +<a name="l00010"></a>00010 <span class="keyword">class </span>Joystick : <span class="keyword">public</span> Pad { +<a name="l00011"></a>00011 <span class="keyword">public</span>: +<a name="l00012"></a>00012 SDL_Joystick *joy; +<a name="l00013"></a>00013 Sint16 axis; +<a name="l00014"></a>00014 +<a name="l00015"></a>00015 Joystick(SDL_Joystick *j); +<a name="l00016"></a>00016 ~Joystick(<span class="keywordtype">void</span>); +<a name="l00017"></a>00017 +<a name="l00018"></a>00018 <span class="keywordtype">void</span> check(<span class="keywordtype">void</span>); +<a name="l00019"></a>00019 }; +<a name="l00020"></a>00020 +<a name="l00021"></a>00021 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/Keyboard_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,39 @@ +<!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: Keyboard.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>Keyboard.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_KEYBOARD</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_KEYBOARD</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_PAD</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "Pad.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>Keyboard : <span class="keyword">public</span> Pad { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 <span class="keywordtype">void</span> check(<span class="keywordtype">void</span>); +<a name="l00011"></a>00011 }; +<a name="l00012"></a>00012 +<a name="l00013"></a>00013 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/LongCube_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,27 @@ +<!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: LongCube.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>LongCube.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define LongCube scene_graph</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/Pad_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,62 @@ +<!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: Pad.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>Pad.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_PAD</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_PAD</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_BUTTON</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "Button.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>Pad { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 Button count; +<a name="l00011"></a>00011 Button cross; +<a name="l00012"></a>00012 Button circle; +<a name="l00013"></a>00013 Button square; +<a name="l00014"></a>00014 Button triangle; +<a name="l00015"></a>00015 Button l1; +<a name="l00016"></a>00016 Button r1; +<a name="l00017"></a>00017 Button l2; +<a name="l00018"></a>00018 Button r2; +<a name="l00019"></a>00019 Button start; +<a name="l00020"></a>00020 Button select; +<a name="l00021"></a>00021 Button l3; +<a name="l00022"></a>00022 Button r3; +<a name="l00023"></a>00023 Button up; +<a name="l00024"></a>00024 Button down; +<a name="l00025"></a>00025 Button right; +<a name="l00026"></a>00026 Button left; +<a name="l00027"></a>00027 Button escape; +<a name="l00028"></a>00028 Button space; +<a name="l00029"></a>00029 +<a name="l00030"></a>00030 <span class="keyword">virtual</span> ~Pad(<span class="keywordtype">void</span>) {} +<a name="l00031"></a>00031 <span class="keyword">virtual</span> <span class="keywordtype">void</span> check(<span class="keywordtype">void</span>) = 0; +<a name="l00032"></a>00032 }; +<a name="l00033"></a>00033 +<a name="l00034"></a>00034 <span class="preprocessor">#endif</span> +<a name="l00035"></a>00035 <span class="preprocessor"></span> +<a name="l00036"></a>00036 <span class="keyword">extern</span> Pad *create_controller(<span class="keywordtype">void</span>); +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/SGList_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,133 @@ +<!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: SGList.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>SGList.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SGLIST</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SGLIST</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="comment">/* xml_file/Ball.xml */</span> +<a name="l00005"></a>00005 <span class="preprocessor">#define Ball 0</span> +<a name="l00006"></a>00006 <span class="preprocessor"></span> +<a name="l00007"></a>00007 <span class="comment">/* xml_file/LongCube.xml */</span> +<a name="l00008"></a>00008 <span class="preprocessor">#define LongCube 1</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span> +<a name="l00010"></a>00010 <span class="comment">/* xml_file/Venus.xml */</span> +<a name="l00011"></a>00011 <span class="preprocessor">#define Venus000 2</span> +<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define Venus001 3</span> +<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#define Venus002 4</span> +<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define Venus008 5</span> +<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define Venus003 6</span> +<a name="l00016"></a>00016 <span class="preprocessor"></span><span class="preprocessor">#define Venus007 7</span> +<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor">#define Venus006 8</span> +<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define Venus004 9</span> +<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define Venus005 10</span> +<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define Venus009 11</span> +<a name="l00021"></a>00021 <span class="preprocessor"></span> +<a name="l00022"></a>00022 <span class="comment">/* xml_file/blast.xml */</span> +<a name="l00023"></a>00023 <span class="preprocessor">#define BLAST8 12</span> +<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define BLAST7 13</span> +<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#define BLAST6 14</span> +<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#define BLAST5 15</span> +<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#define BLAST4 16</span> +<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#define BLAST3 17</span> +<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define BLAST2 18</span> +<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#define BLAST1 19</span> +<a name="l00031"></a>00031 <span class="preprocessor"></span> +<a name="l00032"></a>00032 <span class="comment">/* xml_file/boss1.xml */</span> +<a name="l00033"></a>00033 <span class="preprocessor">#define BOSS1 20</span> +<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#define BOSS1_L 21</span> +<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor">#define BOSS1_R 22</span> +<a name="l00036"></a>00036 <span class="preprocessor"></span> +<a name="l00037"></a>00037 <span class="comment">/* xml_file/cube.xml */</span> +<a name="l00038"></a>00038 <span class="preprocessor">#define Cube 23</span> +<a name="l00039"></a>00039 <span class="preprocessor"></span> +<a name="l00040"></a>00040 <span class="comment">/* xml_file/cube_big.xml */</span> +<a name="l00041"></a>00041 <span class="preprocessor">#define BigCube 24</span> +<a name="l00042"></a>00042 <span class="preprocessor"></span> +<a name="l00043"></a>00043 <span class="comment">/* xml_file/cube_split.xml */</span> +<a name="l00044"></a>00044 <span class="preprocessor">#define Plane 25</span> +<a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">#define SmallCube 26</span> +<a name="l00046"></a>00046 <span class="preprocessor"></span> +<a name="l00047"></a>00047 <span class="comment">/* xml_file/direction.xml */</span> +<a name="l00048"></a>00048 <span class="preprocessor">#define Diry 27</span> +<a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor">#define Dirz 28</span> +<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor">#define Dirx 29</span> +<a name="l00051"></a>00051 <span class="preprocessor"></span> +<a name="l00052"></a>00052 <span class="comment">/* xml_file/ieboss.xml */</span> +<a name="l00053"></a>00053 <span class="preprocessor">#define IEBOSS 30</span> +<a name="l00054"></a>00054 <span class="preprocessor"></span> +<a name="l00055"></a>00055 <span class="comment">/* xml_file/iejiki.xml */</span> +<a name="l00056"></a>00056 <span class="preprocessor">#define IEJIKI 31</span> +<a name="l00057"></a>00057 <span class="preprocessor"></span> +<a name="l00058"></a>00058 <span class="comment">/* xml_file/ietama.xml */</span> +<a name="l00059"></a>00059 <span class="preprocessor">#define IETAMA 32</span> +<a name="l00060"></a>00060 <span class="preprocessor"></span> +<a name="l00061"></a>00061 <span class="comment">/* xml_file/mcube.xml */</span> +<a name="l00062"></a>00062 <span class="preprocessor">#define MCUBE_BACK 33</span> +<a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor">#define MCUBE 34</span> +<a name="l00064"></a>00064 <span class="preprocessor"></span><span class="preprocessor">#define BIGMCUBE 35</span> +<a name="l00065"></a>00065 <span class="preprocessor"></span><span class="preprocessor">#define CUBE 36</span> +<a name="l00066"></a>00066 <span class="preprocessor"></span> +<a name="l00067"></a>00067 <span class="comment">/* xml_file/p_shot.xml */</span> +<a name="l00068"></a>00068 <span class="preprocessor">#define P_SHOT1 37</span> +<a name="l00069"></a>00069 <span class="preprocessor"></span> +<a name="l00070"></a>00070 <span class="comment">/* xml_file/panel_1024.xml */</span> +<a name="l00071"></a>00071 <span class="preprocessor">#define PANEL_1024 38</span> +<a name="l00072"></a>00072 <span class="preprocessor"></span> +<a name="l00073"></a>00073 <span class="comment">/* xml_file/panel_2048.xml */</span> +<a name="l00074"></a>00074 <span class="preprocessor">#define PANEL_2048 39</span> +<a name="l00075"></a>00075 <span class="preprocessor"></span> +<a name="l00076"></a>00076 <span class="comment">/* xml_file/panel_512.xml */</span> +<a name="l00077"></a>00077 <span class="preprocessor">#define PANEL_512 40</span> +<a name="l00078"></a>00078 <span class="preprocessor"></span> +<a name="l00079"></a>00079 <span class="comment">/* xml_file/player.xml */</span> +<a name="l00080"></a>00080 <span class="preprocessor">#define PLAYER 41</span> +<a name="l00081"></a>00081 <span class="preprocessor"></span><span class="preprocessor">#define PLAYER_L 42</span> +<a name="l00082"></a>00082 <span class="preprocessor"></span><span class="preprocessor">#define PLAYER_LL 43</span> +<a name="l00083"></a>00083 <span class="preprocessor"></span><span class="preprocessor">#define PLAYER_R 44</span> +<a name="l00084"></a>00084 <span class="preprocessor"></span><span class="preprocessor">#define PLAYER_RR 45</span> +<a name="l00085"></a>00085 <span class="preprocessor"></span> +<a name="l00086"></a>00086 <span class="comment">/* xml_file/sphere.xml */</span> +<a name="l00087"></a>00087 <span class="preprocessor">#define Sphere 46</span> +<a name="l00088"></a>00088 <span class="preprocessor"></span> +<a name="l00089"></a>00089 <span class="comment">/* xml_file/sphere_big.xml */</span> +<a name="l00090"></a>00090 <span class="preprocessor">#define BigSphere 47</span> +<a name="l00091"></a>00091 <span class="preprocessor"></span> +<a name="l00092"></a>00092 <span class="comment">/* xml_file/universe.xml */</span> +<a name="l00093"></a>00093 <span class="preprocessor">#define Earth 48</span> +<a name="l00094"></a>00094 <span class="preprocessor"></span><span class="preprocessor">#define Moon 49</span> +<a name="l00095"></a>00095 <span class="preprocessor"></span> +<a name="l00096"></a>00096 <span class="preprocessor">#define BACK 50</span> +<a name="l00097"></a>00097 <span class="preprocessor"></span><span class="preprocessor">#define BULEBULLET 51</span> +<a name="l00098"></a>00098 <span class="preprocessor"></span><span class="preprocessor">#define E_PLANE 52</span> +<a name="l00099"></a>00099 <span class="preprocessor"></span><span class="preprocessor">#define IDLE 53</span> +<a name="l00100"></a>00100 <span class="preprocessor"></span> +<a name="l00101"></a>00101 <span class="comment">/* Number of Scene */</span> +<a name="l00102"></a>00102 <span class="preprocessor">#define SGLIST_LENGTH 54</span> +<a name="l00103"></a>00103 <span class="preprocessor"></span> +<a name="l00104"></a>00104 <span class="comment">/* Scene Table */</span> +<a name="l00105"></a>00105 <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *sglist_table[SGLIST_LENGTH]; +<a name="l00106"></a>00106 +<a name="l00107"></a>00107 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/SceneGraphArray_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,62 @@ +<!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: SceneGraphArray.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>SceneGraphArray.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCUDED_SCENE_GRAPH_ARRAY</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCUDED_SCENE_GRAPH_ARRAY</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCENE_GRAPH</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SceneGraph.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="comment">// 筝с #undef 障</span> +<a name="l00009"></a>00009 <span class="preprocessor">#define MAX_SIZE 32</span> +<a name="l00010"></a>00010 <span class="preprocessor"></span> +<a name="l00011"></a>00011 <span class="keyword">class </span>SceneGraphArray { +<a name="l00012"></a>00012 <span class="keyword">public</span>: +<a name="l00013"></a>00013 SceneGraph buf[MAX_SIZE]; +<a name="l00014"></a>00014 <span class="keywordtype">int</span> size; +<a name="l00015"></a>00015 <span class="keywordtype">int</span> pad[3]; +<a name="l00016"></a>00016 +<a name="l00017"></a>00017 SceneGraphArray(<span class="keywordtype">void</span>) : size(0) {} +<a name="l00018"></a>00018 +<a name="l00022"></a>00022 <span class="keywordtype">void</span> init(<span class="keywordtype">void</span>) { +<a name="l00023"></a>00023 size = 0; +<a name="l00024"></a>00024 } +<a name="l00025"></a>00025 +<a name="l00032"></a>00032 SceneGraphPtr getNext(<span class="keywordtype">void</span>) { +<a name="l00033"></a>00033 <span class="keywordflow">if</span> (size >= MAX_SIZE) { +<a name="l00034"></a>00034 <span class="keywordflow">return</span> NULL; +<a name="l00035"></a>00035 } <span class="keywordflow">else</span> { +<a name="l00036"></a>00036 <span class="keywordflow">return</span> &buf[size++]; +<a name="l00037"></a>00037 } +<a name="l00038"></a>00038 } +<a name="l00039"></a>00039 }; +<a name="l00040"></a>00040 +<a name="l00041"></a>00041 <span class="keyword">typedef</span> SceneGraphArray *SceneGraphArrayPtr; +<a name="l00042"></a>00042 +<a name="l00043"></a>00043 <span class="preprocessor">#undef MAX_SIZE</span> +<a name="l00044"></a>00044 <span class="preprocessor"></span> +<a name="l00045"></a>00045 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/SceneGraphIterator_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,53 @@ +<!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: SceneGraphIterator.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>SceneGraphIterator.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SCENE_GRAPH_ITERATOR</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SCENE_GRAPH_ITERATOR</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCENE_GRAPH</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SceneGraph.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>SceneGraphIterator { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 <span class="comment">// 莎井祉 SceneGraphList</span> +<a name="l00011"></a>00011 SceneGraphPtr list; +<a name="l00012"></a>00012 +<a name="l00013"></a>00013 <span class="comment">// 憜т賢 SceneGraph</span> +<a name="l00014"></a>00014 SceneGraphPtr cur; +<a name="l00015"></a>00015 +<a name="l00016"></a>00016 <span class="keywordtype">void</span> <span class="keyword">set</span>(SceneGraphPtr list); +<a name="l00017"></a>00017 <span class="keywordtype">int</span> hasNext(<span class="keywordtype">void</span>); +<a name="l00018"></a>00018 <span class="keywordtype">int</span> hasNext(<span class="keywordtype">int</span> <span class="keywordtype">id</span>); +<a name="l00019"></a>00019 <span class="keywordtype">void</span> next(<span class="keywordtype">void</span>); +<a name="l00020"></a>00020 <span class="keywordtype">void</span> next(<span class="keywordtype">int</span> <span class="keywordtype">id</span>); +<a name="l00021"></a>00021 <span class="keywordtype">void</span> <span class="keyword">remove</span>(void); +<a name="l00022"></a>00022 SceneGraphPtr <span class="keyword">get</span>(void); +<a name="l00023"></a>00023 }; +<a name="l00024"></a>00024 +<a name="l00025"></a>00025 <span class="keyword">typedef</span> SceneGraphIterator *SceneGraphIteratorPtr; +<a name="l00026"></a>00026 +<a name="l00027"></a>00027 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/SceneGraphRoot_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,109 @@ +<!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: SceneGraphRoot.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>SceneGraphRoot.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SCENE_GRAPH_ROOT</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SCENE_GRAPH_ROOT</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCENE_GRAPH</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SceneGraph.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#ifndef INCLUDED_SCENE_GRAPH_ARRAY</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor"># include "SceneGraphArray.h"</span> +<a name="l00010"></a>00010 <span class="preprocessor">#endif</span> +<a name="l00011"></a>00011 <span class="preprocessor"></span> +<a name="l00012"></a>00012 <span class="preprocessor">#ifndef INCLUDED_CAMERA</span> +<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor"># include "Camera.h"</span> +<a name="l00014"></a>00014 <span class="preprocessor">#endif</span> +<a name="l00015"></a>00015 <span class="preprocessor"></span> +<a name="l00016"></a>00016 <span class="preprocessor">#ifndef INCLUDED_SCENE_GRAPH_ITERATOR</span> +<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor"># include "SceneGraphIterator.h"</span> +<a name="l00018"></a>00018 <span class="preprocessor">#endif</span> +<a name="l00019"></a>00019 <span class="preprocessor"></span> +<a name="l00020"></a>00020 <span class="keyword">class </span>SceneGraphRoot { +<a name="l00021"></a>00021 <span class="keyword">public</span>: +<a name="l00022"></a>00022 <span class="comment">/* Constructor, Destructor */</span> +<a name="l00023"></a>00023 SceneGraphRoot(<span class="keywordtype">float</span> w, <span class="keywordtype">float</span> h); +<a name="l00024"></a>00024 ~SceneGraphRoot(<span class="keywordtype">void</span>); +<a name="l00025"></a>00025 +<a name="l00026"></a>00026 <span class="comment">/* Variables */</span> +<a name="l00027"></a>00027 <span class="comment">// xml 茯粋昭吾 SceneGraph</span> +<a name="l00028"></a>00028 SceneGraphPtr *sg_src; +<a name="l00029"></a>00029 +<a name="l00030"></a>00030 <span class="comment">// move, collision SceneGraph (tree)</span> +<a name="l00031"></a>00031 SceneGraphPtr sg_exec_tree; +<a name="l00032"></a>00032 +<a name="l00033"></a>00033 <span class="comment">// 紫 SceneGraph List (tree)</span> +<a name="l00034"></a>00034 SceneGraphPtr sg_draw_tree; +<a name="l00035"></a>00035 +<a name="l00036"></a>00036 <span class="comment">// sg_exec_tree 絲上 list</span> +<a name="l00037"></a>00037 SceneGraphPtr sg_available_list; +<a name="l00038"></a>00038 +<a name="l00039"></a>00039 <span class="comment">// sg_draw_tree 絲上 list</span> +<a name="l00040"></a>00040 <span class="comment">// draw_tree 糸ゃ</span> +<a name="l00041"></a>00041 SceneGraphPtr sg_remove_list; +<a name="l00042"></a>00042 +<a name="l00043"></a>00043 SceneGraphArrayPtr sg_array1; +<a name="l00044"></a>00044 SceneGraphArrayPtr sg_array2; +<a name="l00045"></a>00045 SceneGraphArrayPtr sg_curArray; +<a name="l00046"></a>00046 +<a name="l00047"></a>00047 <span class="comment">// 潟潟若若吾с (Keyboard, Joystick, ..)</span> +<a name="l00048"></a>00048 Pad *controller; +<a name="l00049"></a>00049 +<a name="l00050"></a>00050 <span class="comment">// <吾с</span> +<a name="l00051"></a>00051 Camera *camera; +<a name="l00052"></a>00052 +<a name="l00053"></a>00053 <span class="comment">// SceneGraphIterator</span> +<a name="l00054"></a>00054 SceneGraphIteratorPtr iterator; +<a name="l00055"></a>00055 +<a name="l00059"></a>00059 <span class="comment">/* User API */</span> +<a name="l00060"></a>00060 <span class="keywordtype">void</span> createFromXMLfile(<span class="keyword">const</span> <span class="keywordtype">char</span> *); +<a name="l00061"></a>00061 SceneGraphPtr createSceneGraph(<span class="keywordtype">int</span> <span class="keywordtype">id</span>); +<a name="l00062"></a>00062 SceneGraphPtr createSceneGraph(<span class="keywordtype">void</span>); +<a name="l00063"></a>00063 <span class="keywordtype">void</span> setSceneData(SceneGraphPtr sg); +<a name="l00064"></a>00064 Pad *getController(<span class="keywordtype">void</span>); +<a name="l00065"></a>00065 SceneGraphIteratorPtr getIterator(<span class="keywordtype">void</span>); +<a name="l00066"></a>00066 SceneGraphIteratorPtr getIterator(SceneGraphPtr list); +<a name="l00067"></a>00067 CameraPtr getCamera(<span class="keywordtype">void</span>); +<a name="l00068"></a>00068 +<a name="l00069"></a>00069 <span class="comment">/* Other System API */</span> +<a name="l00070"></a>00070 <span class="keywordtype">void</span> allExecute(<span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +<a name="l00071"></a>00071 <span class="keywordtype">void</span> checkRemove(<span class="keywordtype">void</span>); +<a name="l00072"></a>00072 SceneGraphPtr getExecuteSceneGraph(<span class="keywordtype">void</span>); +<a name="l00073"></a>00073 SceneGraphPtr getDrawSceneGraph(<span class="keywordtype">void</span>); +<a name="l00074"></a>00074 <span class="keywordtype">void</span> updateControllerState(<span class="keywordtype">void</span>); +<a name="l00075"></a>00075 +<a name="l00076"></a>00076 <span class="comment">/* System API */</span> +<a name="l00077"></a>00077 <span class="keywordtype">void</span> registSceneGraph(SceneGraphPtr sg); +<a name="l00078"></a>00078 <span class="keywordtype">void</span> addNext(SceneGraphPtr sg); +<a name="l00079"></a>00079 <span class="keywordtype">void</span> allRemove(SceneGraphPtr list); +<a name="l00080"></a>00080 }; +<a name="l00081"></a>00081 +<a name="l00082"></a>00082 <span class="keyword">typedef</span> SceneGraphRoot *SceneGraphRootPtr; +<a name="l00083"></a>00083 +<a name="l00084"></a>00084 <span class="preprocessor">#endif</span> +<a name="l00085"></a>00085 <span class="preprocessor"></span> +<a name="l00086"></a>00086 <span class="keyword">extern</span> SceneGraphRootPtr sgroot; +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/SceneGraph_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,129 @@ +<!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: SceneGraph.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>SceneGraph.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SCENE_GRAPH</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SCENE_GRAPH</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_POLYGON</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "polygon.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#ifndef INCLUDED_PAD</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor"># include "Pad.h"</span> +<a name="l00010"></a>00010 <span class="preprocessor">#endif</span> +<a name="l00011"></a>00011 <span class="preprocessor"></span> +<a name="l00012"></a>00012 <span class="keyword">class </span>SceneGraph; +<a name="l00013"></a>00013 +<a name="l00014"></a>00014 <span class="keyword">typedef</span> void (*move_func)(SceneGraph* node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +<a name="l00015"></a>00015 <span class="keyword">typedef</span> void (*collision_func)(SceneGraph* node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h, +<a name="l00016"></a>00016 SceneGraph* tree); +<a name="l00017"></a>00017 <span class="keyword">typedef</span> SceneGraph* SceneGraphPtr; +<a name="l00018"></a>00018 +<a name="l00019"></a>00019 <span class="keyword">class </span>SceneGraph : <span class="keyword">public</span> Polygon { +<a name="l00020"></a>00020 <span class="keyword">public</span>: +<a name="l00021"></a>00021 SceneGraph(<span class="keywordtype">void</span>); +<a name="l00022"></a>00022 SceneGraph(xmlNodePtr surface); +<a name="l00023"></a>00023 SceneGraph(SceneGraphPtr orig); +<a name="l00024"></a>00024 ~SceneGraph(<span class="keywordtype">void</span>); +<a name="l00025"></a>00025 +<a name="l00026"></a>00026 <span class="comment">// Node ょ倶紊(鴻</span> +<a name="l00027"></a>00027 <span class="comment">// xyz,angle 違k鐚</span> +<a name="l00028"></a>00028 <span class="keywordtype">float</span> stack_xyz[3]; +<a name="l00029"></a>00029 <span class="keywordtype">float</span> stack_angle[3]; +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="comment">// xml <ゃ吾с鴻</span> +<a name="l00032"></a>00032 SceneGraphPtr next; +<a name="l00033"></a>00033 SceneGraphPtr prev; +<a name="l00034"></a>00034 SceneGraphPtr last; +<a name="l00035"></a>00035 +<a name="l00036"></a>00036 <span class="comment">// Tree Structure</span> +<a name="l00037"></a>00037 SceneGraphPtr parent; +<a name="l00038"></a>00038 SceneGraphPtr brother; +<a name="l00039"></a>00039 SceneGraphPtr children; +<a name="l00040"></a>00040 SceneGraphPtr lastChild; +<a name="l00041"></a>00041 +<a name="l00042"></a>00042 <span class="comment">// Tree ゃ 1 祉default = 0</span> +<a name="l00043"></a>00043 <span class="keywordtype">int</span> flag_remove; +<a name="l00044"></a>00044 +<a name="l00045"></a>00045 <span class="comment">// SceneGraph ID (SGList.h)</span> +<a name="l00046"></a>00046 <span class="keywordtype">int</span> sgid; +<a name="l00047"></a>00047 +<a name="l00048"></a>00048 <span class="comment">// SceneGraph 祉 (0: 1:</span> +<a name="l00049"></a>00049 <span class="keywordtype">int</span> flag_drawable; +<a name="l00050"></a>00050 +<a name="l00051"></a>00051 <span class="comment">// anime frame num</span> +<a name="l00052"></a>00052 <span class="keywordtype">int</span> frame; +<a name="l00053"></a>00053 +<a name="l00054"></a>00054 <span class="comment">// ∽違ゃ潟</span> +<a name="l00055"></a>00055 move_func move; +<a name="l00056"></a>00056 collision_func collision; +<a name="l00057"></a>00057 +<a name="l00058"></a>00058 <span class="comment">// desutroctor у若違</span> +<a name="l00059"></a>00059 void (SceneGraph::*finalize)(void); +<a name="l00060"></a>00060 +<a name="l00061"></a>00061 <span class="keywordtype">void</span> init(<span class="keywordtype">void</span>); +<a name="l00062"></a>00062 <span class="keywordtype">void</span> finalize_original(<span class="keywordtype">void</span>); +<a name="l00063"></a>00063 <span class="keywordtype">void</span> finalize_copy(<span class="keywordtype">void</span>); +<a name="l00064"></a>00064 <span class="keywordtype">void</span> move_execute(<span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +<a name="l00065"></a>00065 <span class="keywordtype">void</span> collision_check(<span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h, SceneGraphPtr tree); +<a name="l00066"></a>00066 <span class="keywordtype">void</span> all_execute(<span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +<a name="l00067"></a>00067 +<a name="l00068"></a>00068 <span class="keywordtype">void</span> add_next(SceneGraphPtr next); +<a name="l00069"></a>00069 SceneGraphPtr addChild(SceneGraphPtr child); +<a name="l00070"></a>00070 SceneGraphPtr addBrother(SceneGraphPtr bro); +<a name="l00071"></a>00071 SceneGraphPtr clone(<span class="keywordtype">void</span>); +<a name="l00072"></a>00072 SceneGraphPtr clone(<span class="keywordtype">void</span> *buf); +<a name="l00073"></a>00073 SceneGraphPtr searchSceneGraph(<span class="keyword">const</span> <span class="keywordtype">char</span> *name); +<a name="l00074"></a>00074 <span class="keywordtype">void</span> set_move_collision(SceneGraphPtr node, +<a name="l00075"></a>00075 move_func new_move, collision_func new_collision); +<a name="l00076"></a>00076 <span class="keywordtype">void</span> set_move_collision(move_func new_move, collision_func new_collision); +<a name="l00077"></a>00077 <span class="keywordtype">void</span> <span class="keyword">remove</span>(void); +<a name="l00078"></a>00078 SceneGraphPtr realRemoveFromTree(SceneGraphPtr tree); +<a name="l00079"></a>00079 SceneGraphPtr realRemoveFromList(SceneGraphPtr list); +<a name="l00080"></a>00080 <span class="keywordtype">int</span> isRemoved(<span class="keywordtype">void</span>); +<a name="l00081"></a>00081 +<a name="l00082"></a>00082 <span class="keyword">static</span> <span class="keywordtype">void</span> createFromXMLfile(<span class="keyword">const</span> <span class="keywordtype">char</span> *); +<a name="l00083"></a>00083 <span class="keyword">static</span> SceneGraphPtr createSceneGraph(<span class="keywordtype">int</span> <span class="keywordtype">id</span>); +<a name="l00084"></a>00084 +<a name="l00085"></a>00085 <span class="keywordtype">void</span> translate(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> z); +<a name="l00086"></a>00086 <span class="keywordtype">void</span> translateX(<span class="keywordtype">float</span> x); +<a name="l00087"></a>00087 <span class="keywordtype">void</span> translateY(<span class="keywordtype">float</span> y); +<a name="l00088"></a>00088 <span class="keywordtype">void</span> translateZ(<span class="keywordtype">float</span> z); +<a name="l00089"></a>00089 +<a name="l00090"></a>00090 +<a name="l00091"></a>00091 <span class="keywordtype">void</span> tree_check(<span class="keywordtype">void</span>); +<a name="l00092"></a>00092 <span class="keywordtype">void</span> print_member(<span class="keywordtype">void</span>); +<a name="l00093"></a>00093 <span class="keywordtype">void</span> get_data(xmlNodePtr cur); +<a name="l00094"></a>00094 <span class="keywordtype">void</span> delete_data(<span class="keywordtype">void</span>); +<a name="l00095"></a>00095 }; +<a name="l00096"></a>00096 +<a name="l00097"></a>00097 <span class="preprocessor">#endif</span> +<a name="l00098"></a>00098 <span class="preprocessor"></span> +<a name="l00099"></a>00099 <span class="comment">// 吾 (Linked List)</span> +<a name="l00100"></a>00100 <span class="keyword">extern</span> SceneGraphPtr scene_graph; +<a name="l00101"></a>00101 +<a name="l00102"></a>00102 <span class="comment">// 紫 (吾с茲違) Tree</span> +<a name="l00103"></a>00103 <span class="keyword">extern</span> SceneGraphPtr scene_graph_view; +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/SpanPackList_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,51 @@ +<!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: SpanPackList.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>SpanPackList.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SPAN_PACK_LIST</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SPAN_PACK_LIST</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_VIEWER_TYPES</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "viewer_types.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#ifndef INCLUDED_SPAN_PACK</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#include "SpanPack.h"</span> +<a name="l00010"></a>00010 <span class="preprocessor">#endif</span> +<a name="l00011"></a>00011 <span class="preprocessor"></span> +<a name="l00012"></a>00012 <span class="comment">// if window_height = 480 (480/8/6 = 10)</span> +<a name="l00013"></a>00013 <span class="comment">// if window_height = 1080 (1080/8/6 = 22.5 => 23)</span> +<a name="l00014"></a>00014 <span class="preprocessor">#define MAX_SIZE_SPAN_PACK \</span> +<a name="l00015"></a>00015 <span class="preprocessor"> ((MAX_HEIGHT / TEXTURE_SPLIT_PIXEL / SPE_NUM_MAX) + 1)</span> +<a name="l00016"></a>00016 <span class="preprocessor"></span> +<a name="l00017"></a>00017 <span class="keyword">class </span>SpanPackList { +<a name="l00018"></a>00018 <span class="keyword">public</span>: +<a name="l00019"></a>00019 SpanPack packs[MAX_SIZE_SPAN_PACK]; +<a name="l00020"></a>00020 <span class="keywordtype">int</span> length; +<a name="l00021"></a>00021 SpanPackList *next; +<a name="l00022"></a>00022 }; +<a name="l00023"></a>00023 +<a name="l00024"></a>00024 +<a name="l00025"></a>00025 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/SpuDraw_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,69 @@ +<!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: SpuDraw.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>SpuDraw.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TASK_SPU_DRAW</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TASK_SPU_DRAW</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="comment">//#define IMG_MAX_X 1920</span> +<a name="l00009"></a>00009 <span class="comment">//#define IMG_MAX_X 640</span> +<a name="l00010"></a>00010 +<a name="l00011"></a>00011 <span class="keyword">typedef</span> int8_t Sint8; +<a name="l00012"></a>00012 <span class="keyword">typedef</span> uint8_t Uint8; +<a name="l00013"></a>00013 <span class="keyword">typedef</span> int16_t Sint16; +<a name="l00014"></a>00014 <span class="keyword">typedef</span> uint16_t Uint16; +<a name="l00015"></a>00015 <span class="keyword">typedef</span> int32_t Sint32; +<a name="l00016"></a>00016 <span class="keyword">typedef</span> uint32_t Uint32; +<a name="l00017"></a>00017 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> GLushort; +<a name="l00018"></a>00018 +<a name="l00019"></a>00019 <span class="keyword">class </span>SpuDraw : <span class="keyword">public</span> SchedTask { +<a name="l00020"></a>00020 <span class="keyword">public</span>: +<a name="l00021"></a>00021 SpuDraw(TaskListPtr _tlist, TaskPtr _task, +<a name="l00022"></a>00022 <span class="keywordtype">void</span>* _rbuf, <span class="keywordtype">void</span>* _wbuf, DmaManager* _con) +<a name="l00023"></a>00023 :SchedTask(_tlist, _task, _rbuf, _wbuf, _con) {} +<a name="l00024"></a>00024 +<a name="l00025"></a>00025 ~SpuDraw(<span class="keywordtype">void</span>); +<a name="l00026"></a>00026 +<a name="l00027"></a>00027 <span class="keywordtype">int</span> *linebuf; +<a name="l00028"></a>00028 <span class="keywordtype">float</span> *zRow; +<a name="l00029"></a>00029 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> dma_tags; +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *readbuf, <span class="keywordtype">void</span> *writebuf); +<a name="l00032"></a>00032 <span class="keywordtype">void</span> write(<span class="keywordtype">void</span>); +<a name="l00033"></a>00033 +<a name="l00034"></a>00034 <span class="keyword">private</span>: +<a name="l00035"></a>00035 <span class="keywordtype">void</span> zRow_init(<span class="keywordtype">void</span>); +<a name="l00036"></a>00036 <span class="keywordtype">void</span> linebuf_init(<span class="keywordtype">int</span> rgb = 0xffffff); +<a name="l00037"></a>00037 <span class="keywordtype">void</span> writebuffer(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> fbdev_addr, <span class="keywordtype">int</span> y); +<a name="l00038"></a>00038 +<a name="l00039"></a>00039 <span class="keywordtype">char</span>* get_pixel(<span class="keywordtype">int</span> tx, <span class="keywordtype">int</span> ty, <span class="keywordtype">void</span> *texture_image); +<a name="l00040"></a>00040 Uint32 get_rgb(<span class="keywordtype">int</span> tx, <span class="keywordtype">int</span> ty, <span class="keywordtype">void</span> *texture); +<a name="l00041"></a>00041 }; +<a name="l00042"></a>00042 +<a name="l00043"></a>00043 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/SpuSpan_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,46 @@ +<!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: SpuSpan.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>SpuSpan.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SPU_SPAN</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SPU_SPAN</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_VIEWER_TYPES</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "viewer_types.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#ifndef INCLUDED_SPAN_PACK</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor"># include "SpanPackList.h"</span> +<a name="l00010"></a>00010 <span class="preprocessor">#endif</span> +<a name="l00011"></a>00011 <span class="preprocessor"></span> +<a name="l00012"></a>00012 <span class="keyword">class </span>SpuSpan { +<a name="l00013"></a>00013 <span class="keyword">public</span>: <span class="comment">/* fields */</span> +<a name="l00014"></a>00014 SpanPackList list[SPE_NUM_MAX]; +<a name="l00015"></a>00015 +<a name="l00016"></a>00016 <span class="keyword">public</span>: <span class="comment">/* methods */</span> +<a name="l00017"></a>00017 <span class="keywordtype">void</span> init(<span class="keywordtype">void</span>); +<a name="l00018"></a>00018 }; +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/Start_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: Start.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>Start.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SYSTASK_START</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SYSTASK_START</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>Start : <span class="keyword">public</span> SchedTask { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 SchedConstructor(Start); +<a name="l00011"></a>00011 +<a name="l00012"></a>00012 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *r, <span class="keywordtype">void</span> *w); +<a name="l00013"></a>00013 }; +<a name="l00014"></a>00014 +<a name="l00015"></a>00015 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/SysTask_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,34 @@ +<!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: SysTask.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>SysTask.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include "Scheduler.h"</span> +<a name="l00002"></a>00002 +<a name="l00003"></a>00003 <span class="keyword">enum</span> SysTask_ID{ +<a name="l00004"></a>00004 SYSTASK_START = MAX_USER_TASK, +<a name="l00005"></a>00005 SYSTASK_FINISH, +<a name="l00006"></a>00006 }; +<a name="l00007"></a>00007 +<a name="l00008"></a>00008 <span class="keyword">extern</span> <span class="keywordtype">void</span> systask_register(<span class="keywordtype">void</span>); +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/Tapestry_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,73 @@ +<!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: Tapestry.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>Tapestry.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TAPESTRY</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TAPESTRY</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_TYPES</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "types.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#ifndef INCLUDED_VIEWER_TYPES</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor"># include "viewer_types.h"</span> +<a name="l00010"></a>00010 <span class="preprocessor">#endif</span> +<a name="l00011"></a>00011 <span class="preprocessor"></span> +<a name="l00073"></a><a class="code" href="structtexture__block.html">00073</a> <span class="keyword">struct </span><a class="code" href="structtexture__block.html">texture_block</a> { +<a name="l00074"></a>00074 +<a name="l00075"></a>00075 }; +<a name="l00076"></a>00076 +<a name="l00077"></a>00077 <span class="keyword">typedef</span> <span class="keyword">struct </span>{ +<a name="l00078"></a>00078 uint32 pixel[TEXTURE_BLOCK_SIZE]; <span class="comment">// 8*8</span> +<a name="l00079"></a>00079 uint32 *texture_addr; +<a name="l00080"></a>00080 <span class="keywordtype">int</span> pad[3]; +<a name="l00081"></a>00081 } Tile, *TilePtr; +<a name="l00082"></a>00082 +<a name="l00083"></a>00083 <span class="preprocessor">#define MAX_TILE 128</span> +<a name="l00084"></a>00084 <span class="preprocessor"></span> +<a name="l00088"></a><a class="code" href="classTileList.html">00088</a> <span class="keyword">class </span><a class="code" href="classTileList.html">TileList</a> { +<a name="l00089"></a>00089 <span class="keyword">public</span>: +<a name="l00090"></a>00090 <span class="keywordtype">int</span> curIndex; +<a name="l00091"></a>00091 <span class="keywordtype">int</span> pad[3]; +<a name="l00092"></a>00092 Tile tile[MAX_TILE]; +<a name="l00093"></a>00093 +<a name="l00094"></a>00094 <a class="code" href="classTileList.html">TileList</a>(<span class="keywordtype">void</span>) { +<a name="l00095"></a>00095 curIndex = 0; +<a name="l00096"></a>00096 } +<a name="l00097"></a>00097 +<a name="l00106"></a><a class="code" href="classTileList.html#e74c2d4e781fdde223961c00d75a791c">00106</a> TilePtr <a class="code" href="classTileList.html#e74c2d4e781fdde223961c00d75a791c">nextTile</a>(<span class="keywordtype">void</span>) { +<a name="l00107"></a>00107 TilePtr t = &tile[curIndex]; +<a name="l00108"></a>00108 curIndex = (curIndex + 1) % MAX_TILE; +<a name="l00109"></a>00109 <span class="keywordflow">return</span> t; +<a name="l00110"></a>00110 } +<a name="l00111"></a>00111 +<a name="l00117"></a><a class="code" href="classTileList.html#81f144e0c87ba9a92c8e4a10990caeb5">00117</a> <span class="keywordtype">void</span> <a class="code" href="classTileList.html#81f144e0c87ba9a92c8e4a10990caeb5">clear</a>(<span class="keywordtype">void</span>) { +<a name="l00118"></a>00118 curIndex = 0; +<a name="l00119"></a>00119 } +<a name="l00120"></a>00120 }; +<a name="l00121"></a>00121 +<a name="l00122"></a>00122 <span class="keyword">typedef</span> <a class="code" href="classTileList.html">TileList</a>* <a class="code" href="classTileList.html">TileListPtr</a>; +<a name="l00123"></a>00123 +<a name="l00124"></a>00124 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/TextureHash_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,47 @@ +<!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: TextureHash.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>TextureHash.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TEXTURE_HASH</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TEXTURE_HASH</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="keyword">const</span> <span class="keywordtype">int</span> TABLE_SIZE = 8192; +<a name="l00005"></a>00005 +<a name="l00006"></a>00006 <span class="keyword">struct </span>hashtable{ +<a name="l00007"></a>00007 <span class="keywordtype">int</span> tx_id; +<a name="l00008"></a>00008 <span class="keywordtype">char</span>* key; +<a name="l00009"></a>00009 }; +<a name="l00010"></a>00010 +<a name="l00011"></a>00011 <span class="keyword">class </span>TextureHash { +<a name="l00012"></a>00012 <span class="keyword">public</span>: +<a name="l00013"></a>00013 hashtable *table; +<a name="l00014"></a>00014 +<a name="l00015"></a>00015 TextureHash(<span class="keywordtype">void</span>); +<a name="l00016"></a>00016 ~TextureHash(<span class="keywordtype">void</span>); +<a name="l00017"></a>00017 <span class="keywordtype">int</span> hash_function(<span class="keyword">const</span> <span class="keywordtype">char</span>*); +<a name="l00018"></a>00018 <span class="keywordtype">int</span> hash_regist(<span class="keyword">const</span> <span class="keywordtype">char</span>*); +<a name="l00019"></a>00019 }; +<a name="l00020"></a>00020 +<a name="l00021"></a>00021 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/Venus_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,36 @@ +<!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: Venus.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>Venus.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define Venus000 scene_graph</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define Venus001 scene_graph->next</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define Venus002 scene_graph->next->next</span> +<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define Venus008 scene_graph->next->next->next</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#define Venus003 scene_graph->next->next->next->next</span> +<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define Venus007 scene_graph->next->next->next->next->next</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span><span class="preprocessor">#define Venus006 scene_graph->next->next->next->next->next->next</span> +<a name="l00008"></a>00008 <span class="preprocessor"></span><span class="preprocessor">#define Venus004 scene_graph->next->next->next->next->next->next->next</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define Venus005 scene_graph->next->next->next->next->next->next->next->next</span> +<a name="l00010"></a>00010 <span class="preprocessor"></span><span class="preprocessor">#define Venus009 scene_graph->next->next->next->next->next->next->next->next->next</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/annotated.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,33 @@ +<!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: Class List</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 class="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul> + </div> + <div class="tabs"> + <ul> + <li class="current"><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul> + </div> +</div> +<div class="contents"> +<h1>Class List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table> + <tr><td class="indexkey"><a class="el" href="structtexture__block.html">texture_block</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classTileList.html">TileList</a></td><td class="indexvalue"></td></tr> +</table> +</div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/blast_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,34 @@ +<!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: blast.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>blast.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define BLAST8 scene_graph</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define BLAST7 scene_graph->next</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define BLAST6 scene_graph->next->next</span> +<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define BLAST5 scene_graph->next->next->next</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#define BLAST4 scene_graph->next->next->next->next</span> +<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define BLAST3 scene_graph->next->next->next->next->next</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span><span class="preprocessor">#define BLAST2 scene_graph->next->next->next->next->next->next</span> +<a name="l00008"></a>00008 <span class="preprocessor"></span><span class="preprocessor">#define BLAST1 scene_graph->next->next->next->next->next->next->next</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/boss1_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,29 @@ +<!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: boss1.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>boss1.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define BOSS1 scene_graph</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define BOSS1_L scene_graph->next</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define BOSS1_R scene_graph->next->next</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/boss1__action_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,87 @@ +<!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: boss1_action.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>boss1_action.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include <math.h></span> +<a name="l00002"></a>00002 <span class="preprocessor">#include "SceneGraphRoot.h"</span> +<a name="l00003"></a>00003 <span class="preprocessor">#include "SGList.h"</span> +<a name="l00004"></a>00004 +<a name="l00005"></a>00005 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> player_speed = 10.0f; +<a name="l00006"></a>00006 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> player_radius = 42.0f; +<a name="l00007"></a>00007 +<a name="l00008"></a>00008 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> boss_radius_x = 65.4f; +<a name="l00009"></a>00009 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> boss_radius_y = 130.8f; +<a name="l00010"></a>00010 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> first_boss1_speed = 10.0; +<a name="l00011"></a>00011 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> first_boss1_depth = 500.0; +<a name="l00012"></a>00012 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> return_boss1_depth_speed = 10.0; +<a name="l00013"></a>00013 +<a name="l00014"></a>00014 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> shot_speed = 30.0f; +<a name="l00015"></a>00015 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> shot_radius = 42.4f; +<a name="l00016"></a>00016 +<a name="l00017"></a>00017 +<a name="l00018"></a>00018 <span class="comment">/*</span> +<a name="l00019"></a>00019 <span class="comment">static void</span> +<a name="l00020"></a>00020 <span class="comment">null_move(SceneGraphPtr node, int screen_w, int screen_h);</span> +<a name="l00021"></a>00021 <span class="comment">*/</span> +<a name="l00022"></a>00022 +<a name="l00023"></a>00023 <span class="keyword">static</span> <span class="keywordtype">void</span> +<a name="l00024"></a>00024 null_collision(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h, +<a name="l00025"></a>00025 SceneGraphPtr tree); +<a name="l00026"></a>00026 +<a name="l00027"></a>00027 <span class="keyword">static</span> <span class="keywordtype">void</span> +<a name="l00028"></a>00028 boss1_move_right(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +<a name="l00029"></a>00029 +<a name="l00030"></a>00030 <span class="keyword">static</span> <span class="keywordtype">void</span> +<a name="l00031"></a>00031 boss1_move_left(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +<a name="l00032"></a>00032 +<a name="l00033"></a>00033 <span class="comment">/*</span> +<a name="l00034"></a>00034 <span class="comment">static void</span> +<a name="l00035"></a>00035 <span class="comment">boss1_move_return(SceneGraphPtr node, int screen_w, int screen_h);</span> +<a name="l00036"></a>00036 <span class="comment">*/</span> +<a name="l00037"></a>00037 +<a name="l00038"></a>00038 <span class="comment">/*</span> +<a name="l00039"></a>00039 <span class="comment">static void</span> +<a name="l00040"></a>00040 <span class="comment">boss1_first_move(SceneGraphPtr node, int screen_w, int screen_h);</span> +<a name="l00041"></a>00041 <span class="comment">*/</span> +<a name="l00042"></a>00042 +<a name="l00043"></a>00043 <span class="keyword">static</span> <span class="keywordtype">void</span> +<a name="l00044"></a>00044 player_move(SceneGraphPtr node,<span class="keywordtype">int</span> screen_2, <span class="keywordtype">int</span> screen_h); +<a name="l00045"></a>00045 +<a name="l00046"></a>00046 <span class="comment">/*</span> +<a name="l00047"></a>00047 <span class="comment">static void</span> +<a name="l00048"></a>00048 <span class="comment">player_move_left(SceneGraphPtr node,int screen_2, int screen_h);</span> +<a name="l00049"></a>00049 <span class="comment">*/</span> +<a name="l00050"></a>00050 +<a name="l00051"></a>00051 <span class="keyword">static</span> <span class="keywordtype">void</span> +<a name="l00052"></a>00052 player_collision(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h, +<a name="l00053"></a>00053 SceneGraphPtr tree); +<a name="l00054"></a>00054 <span class="keyword">static</span> <span class="keywordtype">void</span> +<a name="l00055"></a>00055 shot_move(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +<a name="l00056"></a>00056 +<a name="l00057"></a>00057 <span class="keyword">static</span> <span class="keywordtype">void</span> +<a name="l00058"></a>00058 shot_collision(SceneGraphPtr node, <span class="keywordtype">int</span> screen_2, <span class="keywordtype">int</span> screen_h, +<a name="l00059"></a>00059 SceneGraphPtr tree); +<a name="l00060"></a>00060 <span class="keyword">static</span> <span class="keywordtype">void</span> +<a name="l00061"></a>00061 blast_move(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/bullet__action_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,29 @@ +<!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: bullet_action.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>bullet_action.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keywordtype">void</span> bullet_init(SceneGraphPtr scene_graph, SceneGraphPtr node); +<a name="l00002"></a>00002 <span class="keywordtype">void</span> bluebullet_move(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +<a name="l00003"></a>00003 <span class="keywordtype">void</span> bullet_collision(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h ,SceneGraphPtr tree); +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/camera__action_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,29 @@ +<!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: camera_action.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>camera_action.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keywordtype">void</span> camera_init(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +<a name="l00002"></a>00002 <span class="keywordtype">void</span> c_movet(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +<a name="l00003"></a>00003 <span class="keywordtype">void</span> camera_collision(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h, SceneGraphPtr tree); +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/classTileList-members.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,36 @@ +<!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: Member List</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 class="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul> + </div> + <div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul> + </div> +</div> +<div class="contents"> +<h1>TileList Member List</h1>This is the complete list of members for <a class="el" href="classTileList.html">TileList</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classTileList.html#81f144e0c87ba9a92c8e4a10990caeb5">clear</a>(void)</td><td><a class="el" href="classTileList.html">TileList</a></td><td><code> [inline]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><b>curIndex</b> (defined in <a class="el" href="classTileList.html">TileList</a>)</td><td><a class="el" href="classTileList.html">TileList</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classTileList.html#e74c2d4e781fdde223961c00d75a791c">nextTile</a>(void)</td><td><a class="el" href="classTileList.html">TileList</a></td><td><code> [inline]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><b>pad</b> (defined in <a class="el" href="classTileList.html">TileList</a>)</td><td><a class="el" href="classTileList.html">TileList</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><b>tile</b> (defined in <a class="el" href="classTileList.html">TileList</a>)</td><td><a class="el" href="classTileList.html">TileList</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><b>TileList</b>(void) (defined in <a class="el" href="classTileList.html">TileList</a>)</td><td><a class="el" href="classTileList.html">TileList</a></td><td><code> [inline]</code></td></tr> +</table></div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/classTileList.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,97 @@ +<!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: TileList Class Reference</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 class="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul> + </div> + <div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul> + </div> +</div> +<div class="contents"> +<h1>TileList Class Reference</h1><!-- doxytag: class="TileList" --><code>#include <<a class="el" href="Tapestry_8h-source.html">Tapestry.h</a>></code> +<p> + +<p> +<a href="classTileList-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">TilePtr </td><td class="memItemRight" valign="bottom"><a class="el" href="classTileList.html#e74c2d4e781fdde223961c00d75a791c">nextTile</a> (void)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTileList.html#81f144e0c87ba9a92c8e4a10990caeb5">clear</a> (void)</td></tr> + +<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fcef291840fc807c0cb73529b3463b4a"></a><!-- doxytag: member="TileList::curIndex" ref="fcef291840fc807c0cb73529b3463b4a" args="" --> +int </td><td class="memItemRight" valign="bottom"><b>curIndex</b></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ea1ddb40e5ad54fa127e51c17739e8a"></a><!-- doxytag: member="TileList::pad" ref="9ea1ddb40e5ad54fa127e51c17739e8a" args="[3]" --> +int </td><td class="memItemRight" valign="bottom"><b>pad</b> [3]</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8d1b857c654fe5856959a07a82a098ea"></a><!-- doxytag: member="TileList::tile" ref="8d1b857c654fe5856959a07a82a098ea" args="[MAX_TILE]" --> +Tile </td><td class="memItemRight" valign="bottom"><b>tile</b> [MAX_TILE]</td></tr> + +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="classTileList.html">TileList</a> 筝 Tile 菴純冴憜 FIFO у茖 <hr><h2>Member Function Documentation</h2> +<a class="anchor" name="81f144e0c87ba9a92c8e4a10990caeb5"></a><!-- doxytag: member="TileList::clear" ref="81f144e0c87ba9a92c8e4a10990caeb5" args="(void)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void TileList::clear </td> + <td>(</td> + <td class="paramtype">void </td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +<a class="el" href="classTileList.html">TileList</a> //tile 篏 clear 綽荀< +</div> +</div><p> +<a class="anchor" name="e74c2d4e781fdde223961c00d75a791c"></a><!-- doxytag: member="TileList::nextTile" ref="e74c2d4e781fdde223961c00d75a791c" args="(void)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">TilePtr TileList::nextTile </td> + <td>(</td> + <td class="paramtype">void </td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +罨<宴 tile 緇<p> +<dl class="return" compact><dt><b>Returns:</b></dt><dd>tile</dd></dl> +tile[] 潟違鴻c純宴 FIFO 絎憗 +</div> +</div><p> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="Tapestry_8h-source.html">Tapestry.h</a></ul> +</div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/classes.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,33 @@ +<!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: Alphabetical List</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 class="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul> + </div> + <div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul> + </div> +</div> +<div class="contents"> +<h1>Class Index</h1><p><div class="qindex"><a class="qindex" href="#letter_T">T</a></div><p> +<table align="center" width="95%" border="0" cellspacing="0" cellpadding="0"> +<tr><td><a name="letter_T"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> T </div></td></tr></table> +</td><td><a class="el" href="structtexture__block.html">texture_block</a> </td><td><a class="el" href="classTileList.html">TileList</a> </td></tr></table><p><div class="qindex"><a class="qindex" href="#letter_T">T</a></div><p> +</div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/cube__split_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,28 @@ +<!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: cube_split.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>cube_split.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define Plane scene_graph</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define SmallCube scene_graph->next</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/direction_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,29 @@ +<!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: direction.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>direction.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define Diry scene_graph</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define Dirx.001 scene_graph->next</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define Dirx scene_graph->next->next</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/enemy__action_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,28 @@ +<!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: enemy_action.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>enemy_action.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keyword">extern</span> <span class="keywordtype">void</span> enemy_move(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +<a name="l00002"></a>00002 <span class="keyword">extern</span> <span class="keywordtype">void</span> enemy_collision(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h, SceneGraphPtr tree); +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/files.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,154 @@ +<!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: File Index</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 class="current"><a href="files.html"><span>File List</span></a></li> + </ul> + </div> +</div> +<div class="contents"> +<h1>File List</h1>Here is a list of all documented files with brief descriptions:<table> + <tr><td class="indexkey"><b>Ball.h</b> <a href="Ball_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>blast.h</b> <a href="blast_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>boss1.h</b> <a href="boss1_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>boss1_action.h</b> <a href="boss1__action_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>bullet_action.h</b> <a href="bullet__action_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>Button.h</b> <a href="Button_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>Camera.h</b> <a href="Camera_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>camera_action.h</b> <a href="camera__action_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>task/CreatePolygon.h</b> <a href="task_2CreatePolygon_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>spe/CreatePolygon.h</b> <a href="spe_2CreatePolygon_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>CreatePolygonFromSceneGraph.h</b> <a href="CreatePolygonFromSceneGraph_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>CreatePolygonPack.h</b> <a href="CreatePolygonPack_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>task/CreateSpan.h</b> <a href="task_2CreateSpan_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>spe/CreateSpan.h</b> <a href="spe_2CreateSpan_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/xml_file/cube.h</b> <a href="test__render_2xml__file_2cube_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/cube.h</b> <a href="simple__render_2cube_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_pack/cube.h</b> <a href="simple__pack_2cube_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/xml_file/cube_big.h</b> <a href="test__render_2xml__file_2cube__big_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/cube_big.h</b> <a href="simple__render_2cube__big_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>cube_split.h</b> <a href="cube__split_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/demonstration.h</b> <a href="test__render_2demonstration_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/demonstration.h</b> <a href="simple__render_2demonstration_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_pack/demonstration.h</b> <a href="simple__pack_2demonstration_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>direction.h</b> <a href="direction_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>task/DrawBack.h</b> <a href="task_2DrawBack_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>spe/DrawBack.h</b> <a href="spe_2DrawBack_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>task/DrawSpan.h</b> <a href="task_2DrawSpan_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>spe/DrawSpan.h</b> <a href="spe_2DrawSpan_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>task/DrawSpanRenew.h</b> <a href="task_2DrawSpanRenew_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>spe/DrawSpanRenew.h</b> <a href="spe_2DrawSpanRenew_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>enemy_action.h</b> <a href="enemy__action_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/fb.h</b> <a href="test__render_2fb_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/fb.h</b> <a href="simple__render_2fb_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>Finish.h</b> <a href="Finish_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/Func.h</b> <a href="test__render_2Func_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/Func.h</b> <a href="simple__render_2Func_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>hash_texture.h</b> <a href="hash__texture_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>hit_judge.h</b> <a href="hit__judge_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>ieboss.h</b> <a href="ieboss_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>iejiki.h</b> <a href="iejiki_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>ietama.h</b> <a href="ietama_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>Joystick.h</b> <a href="Joystick_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>Keyboard.h</b> <a href="Keyboard_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/task/Load_Texture.h</b> <a href="test__render_2task_2Load__Texture_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/spe/Load_Texture.h</b> <a href="test__render_2spe_2Load__Texture_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/test/LoadTexture/spe/Load_Texture.h</b> <a href="simple__render_2test_2LoadTexture_2spe_2Load__Texture_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/spe/Load_Texture.h</b> <a href="simple__render_2spe_2Load__Texture_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>LongCube.h</b> <a href="LongCube_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>p_shot.h</b> <a href="p__shot_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/pad.h</b> <a href="simple__render_2pad_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_pack/pad.h</b> <a href="simple__pack_2pad_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>Pad.h</b> <a href="Pad_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>panel_1024.h</b> <a href="panel__1024_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>panel_2048.h</b> <a href="panel__2048_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>panel_512.h</b> <a href="panel__512_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>player.h</b> <a href="player_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>player_action.h</b> <a href="player__action_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/polygon.h</b> <a href="test__render_2polygon_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/polygon.h</b> <a href="simple__render_2polygon_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/test/LoadTexture/polygon.h</b> <a href="simple__render_2test_2LoadTexture_2polygon_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_pack/polygon.h</b> <a href="simple__pack_2polygon_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/polygon_pack.h</b> <a href="test__render_2polygon__pack_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/polygon_pack.h</b> <a href="simple__render_2polygon__pack_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_pack/polygon_pack.h</b> <a href="simple__pack_2polygon__pack_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/scene.h</b> <a href="test__render_2scene_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/scene.h</b> <a href="simple__render_2scene_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_pack/scene.h</b> <a href="simple__pack_2scene_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/scene_graph_pack.h</b> <a href="test__render_2scene__graph__pack_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/scene_graph_pack.h</b> <a href="simple__render_2scene__graph__pack_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_pack/scene_graph_pack.h</b> <a href="simple__pack_2scene__graph__pack_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>SceneGraph.h</b> <a href="SceneGraph_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>SceneGraphArray.h</b> <a href="SceneGraphArray_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>SceneGraphIterator.h</b> <a href="SceneGraphIterator_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>SceneGraphRoot.h</b> <a href="SceneGraphRoot_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>task/Set_Texture.h</b> <a href="task_2Set__Texture_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>spe/Set_Texture.h</b> <a href="spe_2Set__Texture_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>SGList.h</b> <a href="SGList_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>span.h</b> <a href="span_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/Span.h</b> <a href="test__render_2Span_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/Span.h</b> <a href="simple__render_2Span_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>span_pack.h</b> <a href="span__pack_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/SpanC.h</b> <a href="test__render_2SpanC_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/SpanC.h</b> <a href="simple__render_2SpanC_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/SpanPack.h</b> <a href="test__render_2SpanPack_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/SpanPack.h</b> <a href="simple__render_2SpanPack_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>SpanPackList.h</b> <a href="SpanPackList_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>sphere.h</b> <a href="sphere_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>sphere_big.h</b> <a href="sphere__big_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>spu_span.h</b> <a href="spu__span_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>SpuDraw.h</b> <a href="SpuDraw_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>SpuSpan.h</b> <a href="SpuSpan_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>Start.h</b> <a href="Start_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/sys.h</b> <a href="test__render_2sys_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/sys.h</b> <a href="simple__render_2sys_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_pack/sys.h</b> <a href="simple__pack_2sys_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>SysTask.h</b> <a href="SysTask_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>Tapestry.h</b> <a href="Tapestry_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/texture.h</b> <a href="test__render_2texture_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/task/texture.h</b> <a href="test__render_2task_2texture_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/spe/texture.h</b> <a href="test__render_2spe_2texture_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/texture.h</b> <a href="simple__render_2texture_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_pack/texture.h</b> <a href="simple__pack_2texture_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>TextureHash.h</b> <a href="TextureHash_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>task/TileHash.h</b> <a href="task_2TileHash_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>spe/TileHash.h</b> <a href="spe_2TileHash_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/triangle.h</b> <a href="test__render_2triangle_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/triangle.h</b> <a href="simple__render_2triangle_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_pack/triangle.h</b> <a href="simple__pack_2triangle_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>universe.h</b> <a href="universe_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>Venus.h</b> <a href="Venus_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/vertex.h</b> <a href="test__render_2vertex_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/vertex.h</b> <a href="simple__render_2vertex_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_pack/vertex.h</b> <a href="simple__pack_2vertex_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/viewer.h</b> <a href="test__render_2viewer_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/viewer.h</b> <a href="simple__render_2viewer_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/test/LoadTexture/viewer.h</b> <a href="simple__render_2test_2LoadTexture_2viewer_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_pack/viewer.h</b> <a href="simple__pack_2viewer_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/viewer_types.h</b> <a href="test__render_2viewer__types_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/viewer_types.h</b> <a href="simple__render_2viewer__types_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>viewerFB.h</b> <a href="viewerFB_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>viewerSDL.h</b> <a href="viewerSDL_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>test_render/xml.h</b> <a href="test__render_2xml_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_render/xml.h</b> <a href="simple__render_2xml_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><b>simple_pack/xml.h</b> <a href="simple__pack_2xml_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> +</table> +</div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/functions.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,43 @@ +<!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: Class Members</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 class="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul> + </div> + <div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li class="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul> + </div> + <div class="tabs"> + <ul> + <li class="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + </ul> + </div> +</div> +<div class="contents"> +Here is a list of all documented class members with links to the class documentation for each member: +<p> +<ul> +<li>clear() +: <a class="el" href="classTileList.html#81f144e0c87ba9a92c8e4a10990caeb5">TileList</a> +<li>nextTile() +: <a class="el" href="classTileList.html#e74c2d4e781fdde223961c00d75a791c">TileList</a> +</ul> +</div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/functions_func.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,43 @@ +<!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: Class Members - Functions</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 class="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul> + </div> + <div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li class="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul> + </div> + <div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li class="current"><a href="functions_func.html"><span>Functions</span></a></li> + </ul> + </div> +</div> +<div class="contents"> + +<p> +<ul> +<li>clear() +: <a class="el" href="classTileList.html#81f144e0c87ba9a92c8e4a10990caeb5">TileList</a> +<li>nextTile() +: <a class="el" href="classTileList.html#e74c2d4e781fdde223961c00d75a791c">TileList</a> +</ul> +</div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/hit__judge_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,33 @@ +<!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: hit_judge.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>hit_judge.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define TOUCH_LOWER 1</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define TOUCH_TOP 2</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define TOUCH_RIGHT 3</span> +<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define TOUCH_LEFT 4</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#define HIT 5</span> +<a name="l00006"></a>00006 <span class="preprocessor"></span> +<a name="l00007"></a>00007 <span class="keyword">extern</span> <span class="keywordtype">int</span> square_judge(SceneGraphPtr oneself, SceneGraphPtr partner); +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/ieboss_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,27 @@ +<!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: ieboss.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>ieboss.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define IEBOSS scene_graph</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/iejiki_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,27 @@ +<!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: iejiki.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>iejiki.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define IEJIKI scene_graph</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/ietama_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,27 @@ +<!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: ietama.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>ietama.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define IETAMA scene_graph</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/p__shot_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,27 @@ +<!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: p_shot.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>p_shot.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define P_SHOT1 scene_graph</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/panel__1024_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,27 @@ +<!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: panel_1024.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>panel_1024.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define PANEL_1024 scene_graph</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/panel__2048_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,27 @@ +<!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: panel_2048.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>panel_2048.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define PANEL_2048 scene_graph</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/panel__512_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,27 @@ +<!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: panel_512.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>panel_512.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define PANEL_512 scene_graph</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/player_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,31 @@ +<!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: player.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>player.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define PLAYER scene_graph</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define PLAYER_L scene_graph->next</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define PLAYER_LL scene_graph->next->next</span> +<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define PLAYER_R scene_graph->next->next->next</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#define PLAYER_RR scene_graph->next->next->next->next</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/player__action_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,33 @@ +<!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: player_action.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>player_action.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keywordtype">void</span> player_move_right(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +<a name="l00002"></a>00002 <span class="keywordtype">void</span> player_move_left(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +<a name="l00003"></a>00003 <span class="keywordtype">void</span> player_move_up(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +<a name="l00004"></a>00004 <span class="keywordtype">void</span> player_move_down(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +<a name="l00005"></a>00005 <span class="keywordtype">void</span> player_move_idle(SceneGraphPtr node); +<a name="l00006"></a>00006 <span class="keywordtype">void</span> player_move_all(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h); +<a name="l00007"></a>00007 <span class="keywordtype">void</span> player_collision(SceneGraphPtr node, <span class="keywordtype">int</span> screen_w, <span class="keywordtype">int</span> screen_h ,SceneGraphPtr tree); +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__pack_2cube_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,27 @@ +<!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: cube.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>cube.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define Cube scene_graph</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__pack_2demonstration_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,46 @@ +<!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: demonstration.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>demonstration.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_DEMONSTRATION</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_DEMONSTRATION</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_POLYGON</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#include "polygon.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>Demonstration{ +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 Polygon *list; +<a name="l00011"></a>00011 void (Demonstration::*action_demo)(); +<a name="l00012"></a>00012 +<a name="l00013"></a>00013 Demonstration(); +<a name="l00014"></a>00014 <span class="comment">//~Demonstration();</span> +<a name="l00015"></a>00015 <span class="keywordtype">void</span> test_init(); +<a name="l00016"></a>00016 <span class="keywordtype">void</span> test_play(); +<a name="l00017"></a>00017 <span class="keywordtype">void</span> test_end(); +<a name="l00018"></a>00018 }; +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__pack_2pad_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,44 @@ +<!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: pad.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>pad.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keyword">const</span> <span class="keywordtype">int</span> CROSS = 0; +<a name="l00002"></a>00002 <span class="keyword">const</span> <span class="keywordtype">int</span> CIRCLE = 1; +<a name="l00003"></a>00003 <span class="keyword">const</span> <span class="keywordtype">int</span> SQUARE = 2; +<a name="l00004"></a>00004 <span class="keyword">const</span> <span class="keywordtype">int</span> TRIANGLE = 3; +<a name="l00005"></a>00005 <span class="keyword">const</span> <span class="keywordtype">int</span> L1 = 4; +<a name="l00006"></a>00006 <span class="keyword">const</span> <span class="keywordtype">int</span> R1 = 5; +<a name="l00007"></a>00007 <span class="keyword">const</span> <span class="keywordtype">int</span> L2 = 6; +<a name="l00008"></a>00008 <span class="keyword">const</span> <span class="keywordtype">int</span> R2 = 7; +<a name="l00009"></a>00009 <span class="keyword">const</span> <span class="keywordtype">int</span> START = 8; +<a name="l00010"></a>00010 <span class="keyword">const</span> <span class="keywordtype">int</span> SELECT = 9; +<a name="l00011"></a>00011 <span class="keyword">const</span> <span class="keywordtype">int</span> L3 = 10; +<a name="l00012"></a>00012 <span class="keyword">const</span> <span class="keywordtype">int</span> R3 = 11; +<a name="l00013"></a>00013 <span class="keyword">const</span> <span class="keywordtype">int</span> UP = 12; +<a name="l00014"></a>00014 <span class="keyword">const</span> <span class="keywordtype">int</span> DOWN = 13; +<a name="l00015"></a>00015 <span class="keyword">const</span> <span class="keywordtype">int</span> RIGHT = 14; +<a name="l00016"></a>00016 <span class="keyword">const</span> <span class="keywordtype">int</span> LEFT = 15; +<a name="l00017"></a>00017 +<a name="l00018"></a>00018 <span class="keywordtype">int</span> pad(<span class="keywordtype">int</span> button); +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__pack_2polygon_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,99 @@ +<!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: polygon.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>polygon.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include <libxml/parser.h></span> +<a name="l00002"></a>00002 +<a name="l00003"></a>00003 <span class="preprocessor">#ifndef INCLUDED_POLYGON</span> +<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_POLYGON</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span> +<a name="l00006"></a>00006 <span class="preprocessor">#ifndef INCLUDED_VIEWER</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span><span class="preprocessor">#include "viewer.h"</span> +<a name="l00008"></a>00008 <span class="preprocessor">#endif</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span> +<a name="l00010"></a>00010 <span class="preprocessor">#ifndef INCLUDED_SCENE_GRAPH_PACK</span> +<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#include "scene_graph_pack.h"</span> +<a name="l00012"></a>00012 <span class="preprocessor">#endif</span> +<a name="l00013"></a>00013 <span class="preprocessor"></span> +<a name="l00014"></a>00014 <span class="preprocessor">#ifndef INCLUDED_POLYGON_PACK</span> +<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#include "polygon_pack.h"</span> +<a name="l00016"></a>00016 <span class="preprocessor">#endif</span> +<a name="l00017"></a>00017 <span class="preprocessor"></span> +<a name="l00018"></a>00018 +<a name="l00019"></a>00019 <span class="preprocessor">#ifndef INCLUDED_SPAN_PACK</span> +<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#include "span_pack.h"</span> +<a name="l00021"></a>00021 <span class="preprocessor">#endif</span> +<a name="l00022"></a>00022 <span class="preprocessor"></span> +<a name="l00023"></a>00023 +<a name="l00024"></a>00024 <span class="keyword">class </span>Polygon{ +<a name="l00025"></a>00025 <span class="keyword">public</span>: +<a name="l00026"></a>00026 <span class="keywordtype">int</span> size; +<a name="l00027"></a>00027 <span class="keywordtype">char</span> *name; +<a name="l00028"></a>00028 <span class="keywordtype">char</span> *parent_name; +<a name="l00029"></a>00029 <span class="keywordtype">float</span> *data; <span class="comment">//"vertex" and "normal" and "texture"</span> +<a name="l00030"></a>00030 <span class="keywordtype">float</span> xyz[4]; <span class="comment">// position</span> +<a name="l00031"></a>00031 <span class="keywordtype">float</span> angle[4]; <span class="comment">// angle</span> +<a name="l00032"></a>00032 <span class="keywordtype">float</span> c_xyz[4]; <span class="comment">// center of rotation</span> +<a name="l00033"></a>00033 <span class="keywordtype">float</span> matrix[16]; +<a name="l00034"></a>00034 <span class="keywordtype">float</span> *anim; +<a name="l00035"></a>00035 <span class="keywordtype">int</span> frame; <span class="comment">// anime frame num</span> +<a name="l00036"></a>00036 <span class="comment">//int *texture; // pointer of this surface's texture</span> +<a name="l00037"></a>00037 SDL_Surface *texture_image; <span class="comment">// pointer of this surface's texture</span> +<a name="l00038"></a>00038 <span class="comment">//SDL_Surface *screen;</span> +<a name="l00039"></a>00039 <span class="comment">//char image_name[20]; // texture image name</span> +<a name="l00040"></a>00040 Polygon *next; +<a name="l00041"></a>00041 Polygon *child; +<a name="l00042"></a>00042 Polygon *parent; +<a name="l00043"></a>00043 Polygon *brother; +<a name="l00044"></a>00044 Viewer *viewer; +<a name="l00045"></a>00045 <span class="comment">//SceneGraphPack *sgp;</span> +<a name="l00046"></a>00046 +<a name="l00047"></a>00047 Polygon(); +<a name="l00048"></a>00048 <span class="keywordtype">void</span> tree_check(); +<a name="l00049"></a>00049 <span class="keywordtype">void</span> print_member(); +<a name="l00050"></a>00050 <span class="keywordtype">void</span> parameter_change(<span class="keywordtype">char</span> *name, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> z, <span class="keywordtype">float</span> ax, <span class="keywordtype">float</span> ay, <span class="keywordtype">float</span> az); +<a name="l00051"></a>00051 <span class="comment">//void load_texture(char *image_name);</span> +<a name="l00052"></a>00052 <span class="keywordtype">void</span> draw(<span class="keywordtype">float</span> *stack); +<a name="l00053"></a>00053 <span class="keywordtype">void</span> draw(SceneGraphPack *sgp); +<a name="l00054"></a>00054 <span class="keywordtype">void</span> draw(PolygonPack *pp); +<a name="l00055"></a>00055 <span class="keywordtype">void</span> draw(SPANPACK *sp); +<a name="l00056"></a>00056 <span class="keywordtype">void</span> tree_draw(); +<a name="l00057"></a>00057 <span class="comment">//void sgp_update();</span> +<a name="l00058"></a>00058 <span class="comment">//void sgp_draw();</span> +<a name="l00059"></a>00059 <span class="keywordtype">void</span> add_next(); +<a name="l00060"></a>00060 <span class="keywordtype">void</span> create_tree(); +<a name="l00061"></a>00061 <span class="comment">//void create_scene_graph_pack();</span> +<a name="l00062"></a>00062 <span class="keywordtype">void</span> pickup_coordinate(<span class="keywordtype">char</span> *cont); +<a name="l00063"></a>00063 <span class="keywordtype">void</span> pickup_normal(<span class="keywordtype">char</span> *cont); +<a name="l00064"></a>00064 <span class="keywordtype">void</span> pickup_model(<span class="keywordtype">char</span> *cont); +<a name="l00065"></a>00065 <span class="keywordtype">void</span> pickup_texture(<span class="keywordtype">char</span> *cont); +<a name="l00066"></a>00066 Uint32 get_rgb(<span class="keywordtype">int</span> tx, <span class="keywordtype">int</span> ty); +<a name="l00067"></a>00067 <span class="keywordtype">void</span> get_data(xmlNodePtr cur); +<a name="l00068"></a>00068 <span class="keywordtype">void</span> create_data(xmlNodePtr doc); +<a name="l00069"></a>00069 <span class="keywordtype">void</span> set_data(<span class="keywordtype">char</span> *file_name); +<a name="l00070"></a>00070 <span class="keywordtype">void</span> delete_data(); +<a name="l00071"></a>00071 }; +<a name="l00072"></a>00072 +<a name="l00073"></a>00073 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__pack_2polygon__pack_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,68 @@ +<!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: polygon_pack.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>polygon_pack.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_POLYGON_PACK</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_POLYGON_PACK</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SPU_SPAN</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#include "spu_span.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">typedef</span> <span class="keyword">struct </span>VertexPack { +<a name="l00009"></a>00009 <span class="keywordtype">float</span> x; +<a name="l00010"></a>00010 <span class="keywordtype">float</span> y; +<a name="l00011"></a>00011 <span class="keywordtype">float</span> z; +<a name="l00012"></a>00012 <span class="keywordtype">float</span> tex_x; +<a name="l00013"></a>00013 <span class="keywordtype">float</span> tex_y; +<a name="l00014"></a>00014 }VertexPack, *VertexPack_ptr; +<a name="l00015"></a>00015 +<a name="l00016"></a>00016 +<a name="l00017"></a>00017 <span class="keyword">typedef</span> <span class="keyword">struct </span>TrianglePack { +<a name="l00018"></a>00018 <span class="keywordtype">long</span> *tex_addr, tex_width, tex_height; +<a name="l00019"></a>00019 VertexPack ver1; +<a name="l00020"></a>00020 VertexPack ver2; +<a name="l00021"></a>00021 VertexPack ver3; +<a name="l00022"></a>00022 } TrianglePack; +<a name="l00023"></a>00023 +<a name="l00024"></a>00024 +<a name="l00025"></a>00025 <span class="keyword">typedef</span> <span class="keyword">struct </span>PolygonPack { +<a name="l00026"></a>00026 <span class="keyword">struct </span>PORIGON_info { +<a name="l00027"></a>00027 <span class="keywordtype">int</span> size; +<a name="l00028"></a>00028 <span class="keywordtype">int</span> light_pos[3]; +<a name="l00029"></a>00029 <span class="keywordtype">int</span> light_rgb[3]; +<a name="l00030"></a>00030 }info; +<a name="l00031"></a>00031 <span class="comment">//SPANPACKLIST *spl;</span> +<a name="l00032"></a>00032 SPUSPANLIST *ssl; +<a name="l00033"></a>00033 TrianglePack tri[128]; <span class="comment">// Variable length array</span> +<a name="l00034"></a>00034 } PolygonPack, *PolygonPackPtr; +<a name="l00035"></a>00035 +<a name="l00036"></a>00036 <span class="keyword">typedef</span> <span class="keyword">struct </span>PolygonPackList { +<a name="l00037"></a>00037 <span class="keywordtype">int</span> size; +<a name="l00038"></a>00038 <span class="comment">//PolygonPack *list[6];</span> +<a name="l00039"></a>00039 PolygonPack *list; +<a name="l00040"></a>00040 } PolygonPackList; +<a name="l00041"></a>00041 +<a name="l00042"></a>00042 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__pack_2scene_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,46 @@ +<!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: scene.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>scene.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SCENE</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SCENE</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_POLYGON</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#include "polygon.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>Scene{ +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 Polygon *list; +<a name="l00011"></a>00011 Demonstration *demo; +<a name="l00012"></a>00012 void (Scene::*action_scene)(); +<a name="l00013"></a>00013 +<a name="l00014"></a>00014 Scene(); +<a name="l00015"></a>00015 <span class="keywordtype">void</span> title_init(); +<a name="l00016"></a>00016 <span class="keywordtype">void</span> title(); +<a name="l00017"></a>00017 <span class="keywordtype">void</span> title_end(); +<a name="l00018"></a>00018 }; +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__pack_2scene__graph__pack_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,68 @@ +<!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: scene_graph_pack.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>scene_graph_pack.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SCENE_GRAPH_PACK</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SCENE_GRAPH_PACK</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SPU_SPAN</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#include "spu_span.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="comment">/*</span> +<a name="l00009"></a>00009 <span class="comment">enum Tree{</span> +<a name="l00010"></a>00010 <span class="comment"> PUSH,</span> +<a name="l00011"></a>00011 <span class="comment"> POP,</span> +<a name="l00012"></a>00012 <span class="comment"> SHIFT</span> +<a name="l00013"></a>00013 <span class="comment">};</span> +<a name="l00014"></a>00014 <span class="comment">*/</span> +<a name="l00015"></a>00015 +<a name="l00016"></a>00016 <span class="keyword">typedef</span> <span class="keyword">struct </span>SceneGraphNode { +<a name="l00017"></a>00017 <span class="keywordtype">int</span> size; +<a name="l00018"></a>00018 <span class="keywordtype">float</span> vertex[36*3]; +<a name="l00019"></a>00019 <span class="keywordtype">float</span> texture[36*2]; +<a name="l00020"></a>00020 <span class="keywordtype">float</span> obj_pos[4]; +<a name="l00021"></a>00021 <span class="keywordtype">float</span> angle[4]; +<a name="l00022"></a>00022 <span class="keywordtype">float</span> translation[16]; +<a name="l00023"></a>00023 <span class="keywordtype">long</span> *tex_addr, tex_width, tex_height; +<a name="l00024"></a>00024 <span class="keywordtype">int</span> id; +<a name="l00025"></a>00025 <span class="keywordtype">int</span> move, interaction; +<a name="l00026"></a>00026 <span class="comment">//void (*move)();</span> +<a name="l00027"></a>00027 <span class="comment">//int op[32]; // push pop shift => enum</span> +<a name="l00028"></a>00028 <span class="keywordtype">int</span> pn; +<a name="l00029"></a>00029 }SceneGraphNode, *SceneGraphNodePtr; +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="keyword">typedef</span> <span class="keyword">struct </span>SceneGraphInfo { +<a name="l00032"></a>00032 <span class="keywordtype">int</span> size; +<a name="l00033"></a>00033 }SceneGraphInfo; +<a name="l00034"></a>00034 +<a name="l00035"></a>00035 <span class="keyword">typedef</span> <span class="keyword">struct </span>SceneGraphPack { +<a name="l00036"></a>00036 SPUSPANLIST *ssl; +<a name="l00037"></a>00037 SceneGraphInfo info; +<a name="l00038"></a>00038 SceneGraphNode node[16]; <span class="comment">// variable length array</span> +<a name="l00039"></a>00039 }SceneGraphPack; +<a name="l00040"></a>00040 +<a name="l00041"></a>00041 +<a name="l00042"></a>00042 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__pack_2sys_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,34 @@ +<!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: sys.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>sys.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keywordtype">void</span> noMoreMemory(); +<a name="l00002"></a>00002 <span class="keywordtype">void</span> get_matrix(<span class="keywordtype">float</span> *matrix, <span class="keywordtype">float</span> *rxyz, <span class="keywordtype">float</span> *txyz, <span class="keywordtype">float</span> *stack); +<a name="l00003"></a>00003 <span class="keywordtype">void</span> rotate_x(<span class="keywordtype">float</span> *xyz, <span class="keywordtype">float</span> r); +<a name="l00004"></a>00004 <span class="keywordtype">void</span> rotate_y(<span class="keywordtype">float</span> *xyz, <span class="keywordtype">float</span> r); +<a name="l00005"></a>00005 <span class="keywordtype">void</span> rotate_z(<span class="keywordtype">float</span> *xyz, <span class="keywordtype">float</span> r); +<a name="l00006"></a>00006 <span class="comment">//void rotate(float *xyz, float *matrix, float *rxyz, float *txyz, float *stack[]);</span> +<a name="l00007"></a>00007 <span class="keywordtype">void</span> rotate(<span class="keywordtype">float</span> *xyz, <span class="keywordtype">float</span> *matrix); +<a name="l00008"></a>00008 <span class="keywordtype">void</span> translate(<span class="keywordtype">float</span> *xyz, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> z); +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__pack_2texture_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,30 @@ +<!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: 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>texture.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include <SDL.h></span> +<a name="l00002"></a>00002 <span class="preprocessor">#include <SDL_opengl.h></span> +<a name="l00003"></a>00003 +<a name="l00004"></a>00004 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord); +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__pack_2triangle_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,39 @@ +<!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: triangle.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>triangle.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDE_Triangle</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDE_Triangle</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#include "vertex.h"</span> +<a name="l00005"></a>00005 +<a name="l00006"></a>00006 <span class="keyword">class </span>Triangle { +<a name="l00007"></a>00007 <span class="keyword">public</span>: +<a name="l00008"></a>00008 Vertex *vertex1,*vertex2,*vertex3; +<a name="l00009"></a>00009 +<a name="l00010"></a>00010 Triangle(Vertex *tmp_vertex1,Vertex *tmp_vertex2,Vertex *tmp_vertex3); +<a name="l00011"></a>00011 }; +<a name="l00012"></a>00012 +<a name="l00013"></a>00013 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__pack_2vertex_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,37 @@ +<!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: vertex.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>vertex.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDE_VERTEX</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDE_VERTEX</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="keyword">class </span>Vertex { +<a name="l00005"></a>00005 <span class="keyword">public</span>: +<a name="l00006"></a>00006 <span class="keywordtype">float</span> x,y,z,tex_x,tex_y; +<a name="l00007"></a>00007 +<a name="l00008"></a>00008 Vertex(<span class="keywordtype">float</span> tmp_x, <span class="keywordtype">float</span> tmp_y, <span class="keywordtype">float</span> tmp_z,<span class="keywordtype">float</span> tmp_tex_x, <span class="keywordtype">float</span> tmp_tex_y); +<a name="l00009"></a>00009 }; +<a name="l00010"></a>00010 +<a name="l00011"></a>00011 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__pack_2viewer_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,84 @@ +<!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: viewer.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>viewer.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include <SDL.h></span> +<a name="l00002"></a>00002 +<a name="l00003"></a>00003 <span class="preprocessor">#ifndef INCLUDED_VIEWER</span> +<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_VIEWER</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span> +<a name="l00006"></a>00006 <span class="preprocessor">#include "TaskManager.h"</span> +<a name="l00007"></a>00007 +<a name="l00008"></a>00008 <span class="keyword">extern</span> TaskManager *manager; +<a name="l00009"></a>00009 +<a name="l00010"></a>00010 <span class="comment">/*</span> +<a name="l00011"></a>00011 <span class="comment">#ifndef INCLUDED_DEMONSTRATION</span> +<a name="l00012"></a>00012 <span class="comment">#include "demonstration.h"</span> +<a name="l00013"></a>00013 <span class="comment">#endif</span> +<a name="l00014"></a>00014 <span class="comment"></span> +<a name="l00015"></a>00015 <span class="comment">#ifndef INCLUDED_SCENE</span> +<a name="l00016"></a>00016 <span class="comment">#include "scene.h"</span> +<a name="l00017"></a>00017 <span class="comment">#endif</span> +<a name="l00018"></a>00018 <span class="comment">*/</span> +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="keyword">class </span>Viewer{ +<a name="l00021"></a>00021 <span class="keyword">public</span>: +<a name="l00022"></a>00022 +<a name="l00023"></a>00023 <span class="keywordtype">int</span> width; +<a name="l00024"></a>00024 <span class="keywordtype">int</span> height; +<a name="l00025"></a>00025 <span class="keywordtype">int</span> bpp; +<a name="l00026"></a>00026 <span class="keywordtype">int</span> rgb_size[3]; +<a name="l00027"></a>00027 Uint32 video_flags; +<a name="l00028"></a>00028 <span class="comment">//Demonstration *play_demo;</span> +<a name="l00029"></a>00029 <span class="comment">//Scene *scene;</span> +<a name="l00030"></a>00030 SDL_Surface *screen; +<a name="l00031"></a>00031 Uint32 *pixels; +<a name="l00032"></a>00032 <span class="keywordtype">float</span> zRow[1920][1080]; +<a name="l00033"></a>00033 <span class="comment">//float **zRow;</span> +<a name="l00034"></a>00034 +<a name="l00035"></a>00035 Viewer(<span class="keywordtype">int</span> b=32, <span class="keywordtype">int</span> w=640, <span class="keywordtype">int</span> h=480); +<a name="l00036"></a>00036 <span class="keywordtype">void</span> sdl_init(); +<a name="l00037"></a>00037 <span class="keywordtype">void</span> init(); +<a name="l00038"></a>00038 <span class="keywordtype">int</span> get_ticks(); +<a name="l00039"></a>00039 <span class="keywordtype">bool</span> quit_check(); +<a name="l00040"></a>00040 <span class="keywordtype">void</span> quit(); +<a name="l00041"></a>00041 <span class="keywordtype">void</span> screen_clear(); +<a name="l00042"></a>00042 <span class="keywordtype">void</span> swap_buffers(); +<a name="l00043"></a>00043 <span class="keywordtype">void</span> write_pixel(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y,<span class="keywordtype">float</span> z, Uint32 rgb); +<a name="l00044"></a>00044 <span class="keywordtype">void</span> write_line(<span class="keywordtype">float</span> x1, <span class="keywordtype">float</span> y1, <span class="keywordtype">float</span> x2, <span class="keywordtype">float</span> y2, Uint32 rgb); +<a name="l00045"></a>00045 <span class="keywordtype">void</span> write_triangle(<span class="keywordtype">float</span> x1, <span class="keywordtype">float</span> y1, <span class="keywordtype">float</span> x2, <span class="keywordtype">float</span> y2, <span class="keywordtype">float</span> x3, <span class="keywordtype">float</span> y3, Uint32 rgb); +<a name="l00046"></a>00046 <span class="keywordtype">void</span> clean_pixels(); +<a name="l00047"></a>00047 <span class="keywordtype">void</span> graph_line(); +<a name="l00048"></a>00048 +<a name="l00049"></a>00049 <span class="comment">//void run();</span> +<a name="l00050"></a>00050 <span class="keywordtype">void</span> run_init(); +<a name="l00051"></a>00051 <span class="keywordtype">void</span> run_loop(); +<a name="l00052"></a>00052 <span class="keywordtype">void</span> run_finish(); +<a name="l00053"></a>00053 <span class="keywordtype">void</span> run_draw(); +<a name="l00054"></a>00054 +<a name="l00055"></a>00055 <span class="keywordtype">void</span> zRow_init(); +<a name="l00056"></a>00056 }; +<a name="l00057"></a>00057 +<a name="l00058"></a>00058 <span class="preprocessor">#endif</span> +</pre></div></div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__pack_2xml_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,28 @@ +<!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: xml.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>xml.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keywordtype">char</span> *skip_to_number(<span class="keywordtype">char</span> *cont); +<a name="l00002"></a>00002 <span class="keywordtype">char</span> *pickup_float(<span class="keywordtype">char</span> *cont, <span class="keywordtype">float</span> *index); +</pre></div></div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2Func_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,42 @@ +<!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: Func.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>Func.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keyword">enum</span> { +<a name="l00002"></a>00002 INIT, +<a name="l00003"></a>00003 SDL_INIT, +<a name="l00004"></a>00004 FINISH, +<a name="l00005"></a>00005 VIEWER_RUN_INIT, +<a name="l00006"></a>00006 VIEWER_RUN_LOOP, +<a name="l00007"></a>00007 VIEWER_RUN_DRAW, +<a name="l00008"></a>00008 VIEWER_RUN_FINISH, +<a name="l00009"></a>00009 +<a name="l00010"></a>00010 TASK_INIT_TEXTURE, +<a name="l00011"></a>00011 TASK_CREATE_SGP, +<a name="l00012"></a>00012 TASK_UPDATE_SGP, +<a name="l00013"></a>00013 TASK_CREATE_PP, +<a name="l00014"></a>00014 TASK_CREATE_SPAN, +<a name="l00015"></a>00015 TASK_DRAW +<a name="l00016"></a>00016 }; +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2SpanC_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,46 @@ +<!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: SpanC.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>SpanC.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDE_Span</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDE_Span</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#include "triangle.h"</span> +<a name="l00005"></a>00005 <span class="preprocessor">#include "viewer.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#include "polygon.h"</span> +<a name="l00007"></a>00007 +<a name="l00008"></a>00008 <span class="keyword">class </span>Span_c { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 <span class="keywordtype">int</span> x,y,end; +<a name="l00011"></a>00011 <span class="keywordtype">float</span> z,zpos; +<a name="l00012"></a>00012 <span class="keywordtype">float</span> tex1,tex2,tey1,tey2; +<a name="l00013"></a>00013 <span class="keywordtype">void</span> create_span(Triangle *tri,SDL_Surface *image); +<a name="l00014"></a>00014 <span class="comment">// float calc(float f1, float f2,int i, float base);</span> +<a name="l00015"></a>00015 <span class="keywordtype">void</span> half_triangle(Vertex*, Vertex*, Vertex*, SDL_Surface *image); +<a name="l00016"></a>00016 Viewer *viewer; +<a name="l00017"></a>00017 Polygon *p; +<a name="l00018"></a>00018 }; +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2SpanPack_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,51 @@ +<!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: SpanPack.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>SpanPack.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SPAN_PACK</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SPAN_PACK</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SPAN</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "Span.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#define MAX_SIZE_SPAN 70</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span> +<a name="l00010"></a>00010 <span class="keyword">class </span>SpanPack { +<a name="l00011"></a>00011 <span class="keyword">public</span>: <span class="comment">/* fields */</span> +<a name="l00012"></a>00012 <span class="keyword">struct </span>SpanInfo { +<a name="l00013"></a>00013 <span class="keywordtype">int</span> size; +<a name="l00014"></a>00014 <span class="keywordtype">int</span> light_pos[3]; +<a name="l00015"></a>00015 <span class="keywordtype">int</span> light_rgb[3]; +<a name="l00016"></a>00016 } info; +<a name="l00017"></a>00017 +<a name="l00018"></a>00018 Span span[MAX_SIZE_SPAN]; +<a name="l00019"></a>00019 SpanPack *next; +<a name="l00020"></a>00020 +<a name="l00021"></a>00021 <span class="keyword">public</span>: <span class="comment">/* methods */</span> +<a name="l00022"></a>00022 <span class="keywordtype">void</span> init(<span class="keywordtype">void</span>); +<a name="l00023"></a>00023 }; +<a name="l00024"></a>00024 +<a name="l00025"></a>00025 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2Span_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,46 @@ +<!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: Span.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>Span.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SPAN</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SPAN</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="keyword">class </span>Span { +<a name="l00005"></a>00005 <span class="keyword">public</span>: +<a name="l00006"></a>00006 <span class="keywordtype">long</span> *tex_addr; +<a name="l00007"></a>00007 <span class="keywordtype">long</span> tex_width; +<a name="l00008"></a>00008 <span class="keywordtype">long</span> tex_height; +<a name="l00009"></a>00009 <span class="keywordtype">int</span> x; +<a name="l00010"></a>00010 <span class="keywordtype">int</span> y; +<a name="l00011"></a>00011 <span class="keywordtype">int</span> length_x; +<a name="l00012"></a>00012 <span class="keywordtype">float</span> start_z; +<a name="l00013"></a>00013 <span class="keywordtype">float</span> end_z; +<a name="l00014"></a>00014 <span class="keywordtype">float</span> tex_x1; +<a name="l00015"></a>00015 <span class="keywordtype">float</span> tex_x2; +<a name="l00016"></a>00016 <span class="keywordtype">float</span> tex_y1; +<a name="l00017"></a>00017 <span class="keywordtype">float</span> tex_y2; +<a name="l00018"></a>00018 }; +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2cube_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,27 @@ +<!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: cube.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>cube.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define Cube scene_graph</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2cube__big_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,27 @@ +<!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: cube_big.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>cube_big.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define Cube scene_graph</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2demonstration_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,46 @@ +<!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: demonstration.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>demonstration.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_DEMONSTRATION</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_DEMONSTRATION</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_POLYGON</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#include "polygon.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>Demonstration{ +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 Polygon *list; +<a name="l00011"></a>00011 void (Demonstration::*action_demo)(); +<a name="l00012"></a>00012 +<a name="l00013"></a>00013 Demonstration(); +<a name="l00014"></a>00014 <span class="comment">//~Demonstration();</span> +<a name="l00015"></a>00015 <span class="keywordtype">void</span> test_init(); +<a name="l00016"></a>00016 <span class="keywordtype">void</span> test_play(); +<a name="l00017"></a>00017 <span class="keywordtype">void</span> test_end(); +<a name="l00018"></a>00018 }; +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2fb_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,130 @@ +<!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: fb.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>fb.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keyword">extern</span> <span class="keywordtype">int</span> get_fbdev_addr(<span class="keywordtype">void</span>); +<a name="l00002"></a>00002 +<a name="l00003"></a>00003 <span class="preprocessor">#if defined(__linux__)</span> +<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#include <unistd.h></span> +<a name="l00005"></a>00005 <span class="preprocessor">#include <stdio.h></span> +<a name="l00006"></a>00006 <span class="preprocessor">#include <fcntl.h></span> +<a name="l00007"></a>00007 <span class="preprocessor">#include <linux/fb.h></span> +<a name="l00008"></a>00008 <span class="preprocessor">#include <linux/fs.h></span> +<a name="l00009"></a>00009 <span class="preprocessor">#include <sys/mman.h></span> +<a name="l00010"></a>00010 <span class="preprocessor">#include <sys/ioctl.h></span> +<a name="l00011"></a>00011 <span class="preprocessor">#include <stdlib.h></span> +<a name="l00012"></a>00012 <span class="preprocessor">#include <iostream></span> +<a name="l00013"></a>00013 <span class="keyword">using namespace </span>std; +<a name="l00014"></a>00014 +<a name="l00015"></a>00015 <span class="preprocessor">#define DEVICE_NAME "/dev/fb0"</span> +<a name="l00016"></a>00016 <span class="preprocessor"></span><span class="preprocessor">#define DIV_BYTE 8</span> +<a name="l00017"></a>00017 <span class="preprocessor"></span> +<a name="l00018"></a>00018 <span class="preprocessor">#define X_PIXEL_MAX 320</span> +<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define Y_LINE_MAX 240</span> +<a name="l00020"></a>00020 <span class="preprocessor"></span> +<a name="l00021"></a>00021 <span class="preprocessor">#define BORDER1 80</span> +<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define BORDER2 160</span> +<a name="l00023"></a>00023 <span class="preprocessor"></span> +<a name="l00024"></a>00024 <span class="preprocessor">#define COLOR_RED 0xf800</span> +<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#define COLOR_GREEN 0x07e0</span> +<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#define COLOR_BLUE 0x001f</span> +<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#define COLOR_WHITE 0xffff</span> +<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#define COLOR_BLACK 0x0000</span> +<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define COLOR_YELLOW 0xffe0</span> +<a name="l00030"></a>00030 <span class="preprocessor"></span> +<a name="l00031"></a>00031 <span class="comment">/* function prototype */</span> +<a name="l00032"></a>00032 <span class="keywordtype">void</span> send_current_error_msg(<span class="keywordtype">char</span> *ptr); +<a name="l00033"></a>00033 <span class="keywordtype">void</span> send_current_information(<span class="keywordtype">char</span> *ptr); +<a name="l00034"></a>00034 +<a name="l00035"></a>00035 <span class="keywordtype">int</span> get_fbdev_addr(<span class="keywordtype">void</span>) +<a name="l00036"></a>00036 { +<a name="l00037"></a>00037 <span class="keywordtype">int</span> fd_framebuffer ; +<a name="l00038"></a>00038 <span class="keyword">struct </span>fb_var_screeninfo vinfo; +<a name="l00039"></a>00039 <span class="keyword">struct </span>fb_fix_screeninfo finfo; +<a name="l00040"></a>00040 <span class="keywordtype">long</span> <span class="keywordtype">int</span> screensize ; +<a name="l00041"></a>00041 <span class="comment">//long int location;</span> +<a name="l00042"></a>00042 <span class="keywordtype">char</span> *fbptr ; +<a name="l00043"></a>00043 <span class="keywordtype">char</span> tmp[DIV_BYTE*10]; +<a name="l00044"></a>00044 +<a name="l00045"></a>00045 <span class="comment">//int x , y ;</span> +<a name="l00046"></a>00046 <span class="keywordtype">int</span> xres,yres,vbpp,line_len; +<a name="l00047"></a>00047 <span class="comment">//unsigned short tcolor ;</span> +<a name="l00048"></a>00048 +<a name="l00049"></a>00049 <span class="comment">/* 読み書き用にファイルを開く */</span> +<a name="l00050"></a>00050 fd_framebuffer = open( DEVICE_NAME , O_RDWR); +<a name="l00051"></a>00051 <span class="keywordflow">if</span> ( !fd_framebuffer ) { +<a name="l00052"></a>00052 send_current_error_msg(<span class="stringliteral">"Framebuffer device open error !"</span>); +<a name="l00053"></a>00053 exit(1); +<a name="l00054"></a>00054 } +<a name="l00055"></a>00055 send_current_information(<span class="stringliteral">"The framebuffer device was opened !"</span>); +<a name="l00056"></a>00056 +<a name="l00057"></a>00057 <span class="comment">/* 固定スクリーン情報取得 */</span> +<a name="l00058"></a>00058 <span class="keywordflow">if</span> ( ioctl( fd_framebuffer , FBIOGET_FSCREENINFO , &finfo ) ) { +<a name="l00059"></a>00059 send_current_error_msg(<span class="stringliteral">"Fixed information not gotton !"</span>); +<a name="l00060"></a>00060 exit(2); +<a name="l00061"></a>00061 } +<a name="l00062"></a>00062 +<a name="l00063"></a>00063 <span class="comment">/* 変動スクリーン情報取得 */</span> +<a name="l00064"></a>00064 <span class="keywordflow">if</span> ( ioctl( fd_framebuffer , FBIOGET_VSCREENINFO , &vinfo ) ) { +<a name="l00065"></a>00065 send_current_error_msg(<span class="stringliteral">"Variable information not gotton !"</span>); +<a name="l00066"></a>00066 exit(3); +<a name="l00067"></a>00067 } +<a name="l00068"></a>00068 xres = vinfo.xres ; +<a name="l00069"></a>00069 yres = vinfo.yres ; +<a name="l00070"></a>00070 vbpp = vinfo.bits_per_pixel ; +<a name="l00071"></a>00071 line_len = finfo.line_length ; +<a name="l00072"></a>00072 sprintf( tmp , <span class="stringliteral">"%d(pixel)x%d(line), %dbpp(bits per pixel)"</span>,xres,yres,vbpp); +<a name="l00073"></a>00073 send_current_information( tmp ); +<a name="l00074"></a>00074 +<a name="l00075"></a>00075 <span class="comment">/* バイト単位でのスクリーンのサイズを計算 */</span> +<a name="l00076"></a>00076 screensize = xres * yres * vbpp / DIV_BYTE ; +<a name="l00077"></a>00077 +<a name="l00078"></a>00078 <span class="comment">/* デバイスをメモリにマップする */</span> +<a name="l00079"></a>00079 fbptr = (<span class="keywordtype">char</span> *)mmap(0,screensize,PROT_READ | PROT_WRITE,MAP_SHARED,fd_framebuffer,0); +<a name="l00080"></a>00080 <span class="keywordflow">if</span> ( (<span class="keywordtype">int</span>)fbptr == -1 ) { +<a name="l00081"></a>00081 send_current_error_msg(<span class="stringliteral">"Don't get framebuffer device to memory !"</span>); +<a name="l00082"></a>00082 exit(4); +<a name="l00083"></a>00083 } +<a name="l00084"></a>00084 send_current_information(<span class="stringliteral">"The framebuffer device was mapped !"</span>); +<a name="l00085"></a>00085 +<a name="l00086"></a>00086 printf(<span class="stringliteral">"fb: 0x%x \n"</span>, (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)fbptr); +<a name="l00087"></a>00087 <span class="keywordflow">return</span> (<span class="keywordtype">int</span>)fbptr; +<a name="l00088"></a>00088 <span class="comment">//munmap(fbptr,screensize);</span> +<a name="l00089"></a>00089 <span class="comment">//close(fd_framebuffer);</span> +<a name="l00090"></a>00090 <span class="comment">//return 0;</span> +<a name="l00091"></a>00091 } +<a name="l00092"></a>00092 +<a name="l00093"></a>00093 <span class="keywordtype">void</span> send_current_error_msg(<span class="keywordtype">char</span> *ptr) +<a name="l00094"></a>00094 { +<a name="l00095"></a>00095 fprintf( stderr , <span class="stringliteral">"%s\n"</span> , ptr ); +<a name="l00096"></a>00096 } +<a name="l00097"></a>00097 +<a name="l00098"></a>00098 <span class="keywordtype">void</span> send_current_information(<span class="keywordtype">char</span> *ptr) +<a name="l00099"></a>00099 { +<a name="l00100"></a>00100 fprintf( stdout , <span class="stringliteral">"%s\n"</span> , ptr ); +<a name="l00101"></a>00101 } +<a name="l00102"></a>00102 <span class="preprocessor">#else </span><span class="comment">/* __linux__ */</span> +<a name="l00103"></a>00103 <span class="keywordtype">int</span> get_fbdev_addr(<span class="keywordtype">void</span>) {<span class="keywordflow">return</span> 0;} +<a name="l00104"></a>00104 <span class="preprocessor">#endif </span><span class="comment">/* __linux__ */</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2pad_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,44 @@ +<!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: pad.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>pad.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keyword">const</span> <span class="keywordtype">int</span> CROSS = 0; +<a name="l00002"></a>00002 <span class="keyword">const</span> <span class="keywordtype">int</span> CIRCLE = 1; +<a name="l00003"></a>00003 <span class="keyword">const</span> <span class="keywordtype">int</span> SQUARE = 2; +<a name="l00004"></a>00004 <span class="keyword">const</span> <span class="keywordtype">int</span> TRIANGLE = 3; +<a name="l00005"></a>00005 <span class="keyword">const</span> <span class="keywordtype">int</span> L1 = 4; +<a name="l00006"></a>00006 <span class="keyword">const</span> <span class="keywordtype">int</span> R1 = 5; +<a name="l00007"></a>00007 <span class="keyword">const</span> <span class="keywordtype">int</span> L2 = 6; +<a name="l00008"></a>00008 <span class="keyword">const</span> <span class="keywordtype">int</span> R2 = 7; +<a name="l00009"></a>00009 <span class="keyword">const</span> <span class="keywordtype">int</span> START = 8; +<a name="l00010"></a>00010 <span class="keyword">const</span> <span class="keywordtype">int</span> SELECT = 9; +<a name="l00011"></a>00011 <span class="keyword">const</span> <span class="keywordtype">int</span> L3 = 10; +<a name="l00012"></a>00012 <span class="keyword">const</span> <span class="keywordtype">int</span> R3 = 11; +<a name="l00013"></a>00013 <span class="keyword">const</span> <span class="keywordtype">int</span> UP = 12; +<a name="l00014"></a>00014 <span class="keyword">const</span> <span class="keywordtype">int</span> DOWN = 13; +<a name="l00015"></a>00015 <span class="keyword">const</span> <span class="keywordtype">int</span> RIGHT = 14; +<a name="l00016"></a>00016 <span class="keyword">const</span> <span class="keywordtype">int</span> LEFT = 15; +<a name="l00017"></a>00017 +<a name="l00018"></a>00018 <span class="keywordtype">int</span> pad(<span class="keywordtype">int</span> button); +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2polygon_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,107 @@ +<!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: polygon.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>polygon.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include <libxml/parser.h></span> +<a name="l00002"></a>00002 +<a name="l00003"></a>00003 <span class="preprocessor">#ifndef INCLUDED_POLYGON</span> +<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_POLYGON</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span> +<a name="l00006"></a>00006 <span class="preprocessor">#ifndef INCLUDED_VIEWER</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span><span class="preprocessor">#include "viewer.h"</span> +<a name="l00008"></a>00008 <span class="preprocessor">#endif</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span> +<a name="l00010"></a>00010 <span class="preprocessor">#ifndef INCLUDED_SCENE_GRAPH_PACK</span> +<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#include "scene_graph_pack.h"</span> +<a name="l00012"></a>00012 <span class="preprocessor">#endif</span> +<a name="l00013"></a>00013 <span class="preprocessor"></span> +<a name="l00014"></a>00014 <span class="preprocessor">#ifndef INCLUDED_POLYGON_PACK</span> +<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#include "polygon_pack.h"</span> +<a name="l00016"></a>00016 <span class="preprocessor">#endif</span> +<a name="l00017"></a>00017 <span class="preprocessor"></span> +<a name="l00018"></a>00018 +<a name="l00019"></a>00019 <span class="preprocessor">#ifndef INCLUDED_SPAN_PACK</span> +<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#include "SpanPack.h"</span> +<a name="l00021"></a>00021 <span class="preprocessor">#endif</span> +<a name="l00022"></a>00022 <span class="preprocessor"></span> +<a name="l00023"></a>00023 +<a name="l00024"></a>00024 <span class="keyword">class </span>Polygon{ +<a name="l00025"></a>00025 <span class="keyword">public</span>: +<a name="l00026"></a>00026 <span class="keywordtype">int</span> size; +<a name="l00027"></a>00027 <span class="keywordtype">char</span> *name; +<a name="l00028"></a>00028 <span class="keywordtype">char</span> *parent_name; +<a name="l00029"></a>00029 <span class="keywordtype">float</span> *data; <span class="comment">//"vertex" and "normal" and "texture"</span> +<a name="l00030"></a>00030 <span class="keywordtype">float</span> xyz[4]; <span class="comment">// position</span> +<a name="l00031"></a>00031 <span class="keywordtype">float</span> angle[4]; <span class="comment">// angle</span> +<a name="l00032"></a>00032 <span class="keywordtype">float</span> c_xyz[4]; <span class="comment">// center of rotation</span> +<a name="l00033"></a>00033 <span class="keywordtype">float</span> matrix[16]; +<a name="l00034"></a>00034 <span class="keywordtype">float</span> *anim; +<a name="l00035"></a>00035 <span class="keywordtype">int</span> frame; <span class="comment">// anime frame num</span> +<a name="l00036"></a>00036 <span class="comment">//int *texture; // pointer of this surface's texture</span> +<a name="l00037"></a>00037 <span class="keyword">static</span> SDL_Surface* texture_image; <span class="comment">// pointer of this surface's texture</span> +<a name="l00038"></a>00038 <span class="comment">//SDL_Surface *screen;</span> +<a name="l00039"></a>00039 <span class="comment">//char image_name[20]; // texture image name</span> +<a name="l00040"></a>00040 Polygon *next; +<a name="l00041"></a>00041 Polygon *child; +<a name="l00042"></a>00042 Polygon *parent; +<a name="l00043"></a>00043 Polygon *brother; +<a name="l00044"></a>00044 Viewer *viewer; +<a name="l00045"></a>00045 <span class="comment">//SceneGraphPack *sgp;</span> +<a name="l00046"></a>00046 +<a name="l00047"></a>00047 Polygon(); +<a name="l00048"></a>00048 <span class="keywordtype">void</span> tree_check(); +<a name="l00049"></a>00049 <span class="keywordtype">void</span> print_member(); +<a name="l00050"></a>00050 <span class="keywordtype">void</span> parameter_change(<span class="keywordtype">char</span> *name, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> z, <span class="keywordtype">float</span> ax, <span class="keywordtype">float</span> ay, <span class="keywordtype">float</span> az); +<a name="l00051"></a>00051 <span class="comment">//void load_texture(char *image_name);</span> +<a name="l00052"></a>00052 <span class="keywordtype">void</span> draw(<span class="keywordtype">float</span> *stack); +<a name="l00053"></a>00053 <span class="keywordtype">void</span> draw(SceneGraphPack *sgp); +<a name="l00054"></a>00054 <span class="keywordtype">void</span> draw(PolygonPack *pp); +<a name="l00055"></a>00055 <span class="keywordtype">void</span> draw(SpanPack *sp); +<a name="l00056"></a>00056 <span class="keywordtype">void</span> draw(SpanPackList *sp); +<a name="l00057"></a>00057 <span class="keywordtype">void</span> delete_data(); +<a name="l00058"></a>00058 <span class="keywordtype">void</span> tree_draw(); +<a name="l00059"></a>00059 <span class="keywordtype">void</span> get_data(xmlNodePtr cur); +<a name="l00060"></a>00060 <span class="keywordtype">void</span> pickup_coordinate(<span class="keywordtype">char</span> *cont); +<a name="l00061"></a>00061 <span class="keywordtype">void</span> pickup_normal(<span class="keywordtype">char</span> *cont); +<a name="l00062"></a>00062 <span class="keywordtype">void</span> pickup_model(<span class="keywordtype">char</span> *cont); +<a name="l00063"></a>00063 <span class="keywordtype">void</span> pickup_texture(<span class="keywordtype">char</span> *cont); +<a name="l00064"></a>00064 Uint32 get_rgb(<span class="keywordtype">int</span> tx, <span class="keywordtype">int</span> ty); +<a name="l00065"></a>00065 <span class="comment">//void sgp_update();</span> +<a name="l00066"></a>00066 <span class="comment">//void sgp_draw();</span> +<a name="l00067"></a>00067 <span class="comment">//void create_scene_graph_pack();</span> +<a name="l00068"></a>00068 <span class="keywordtype">void</span> create_data(xmlNodePtr doc); +<a name="l00069"></a>00069 <span class="keywordtype">void</span> set_data(<span class="keywordtype">char</span> *file_name); +<a name="l00070"></a>00070 <span class="keywordtype">void</span> add_next(); +<a name="l00071"></a>00071 <span class="keywordtype">void</span> create_tree(); +<a name="l00072"></a>00072 +<a name="l00073"></a>00073 <span class="comment">/* added by kent. */</span> +<a name="l00074"></a>00074 Polygon(xmlNodePtr); +<a name="l00075"></a>00075 Polygon *addChild(Polygon *); +<a name="l00076"></a>00076 Polygon *children; +<a name="l00077"></a>00077 Polygon *lastChild; +<a name="l00078"></a>00078 Polygon *searchPolygon(<span class="keywordtype">char</span> *); +<a name="l00079"></a>00079 <span class="keyword">static</span> Polygon *createFromXMLfile(<span class="keywordtype">char</span> *); +<a name="l00080"></a>00080 }; +<a name="l00081"></a>00081 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2polygon__pack_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,67 @@ +<!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: polygon_pack.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>polygon_pack.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_POLYGON_PACK</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_POLYGON_PACK</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SPAN_PACK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#include "SpuSpan.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">typedef</span> <span class="keyword">struct </span>VertexPack { +<a name="l00009"></a>00009 <span class="keywordtype">float</span> x; +<a name="l00010"></a>00010 <span class="keywordtype">float</span> y; +<a name="l00011"></a>00011 <span class="keywordtype">float</span> z; +<a name="l00012"></a>00012 <span class="keywordtype">float</span> tex_x; +<a name="l00013"></a>00013 <span class="keywordtype">float</span> tex_y; +<a name="l00014"></a>00014 }VertexPack, *VertexPack_ptr; +<a name="l00015"></a>00015 +<a name="l00016"></a>00016 +<a name="l00017"></a>00017 <span class="keyword">typedef</span> <span class="keyword">struct </span>TrianglePack { +<a name="l00018"></a>00018 <span class="keywordtype">long</span> *tex_addr, tex_width, tex_height; +<a name="l00019"></a>00019 VertexPack ver1; +<a name="l00020"></a>00020 VertexPack ver2; +<a name="l00021"></a>00021 VertexPack ver3; +<a name="l00022"></a>00022 } TrianglePack; +<a name="l00023"></a>00023 +<a name="l00024"></a>00024 +<a name="l00025"></a>00025 <span class="keyword">typedef</span> <span class="keyword">struct </span>PolygonPack { +<a name="l00026"></a>00026 <span class="keyword">struct </span>PORIGON_info { +<a name="l00027"></a>00027 <span class="keywordtype">int</span> size; +<a name="l00028"></a>00028 <span class="keywordtype">int</span> light_pos[3]; +<a name="l00029"></a>00029 <span class="keywordtype">int</span> light_rgb[3]; +<a name="l00030"></a>00030 }info; +<a name="l00031"></a>00031 SpuSpan *ssl; +<a name="l00032"></a>00032 TrianglePack tri[128]; <span class="comment">// Variable length array</span> +<a name="l00033"></a>00033 } PolygonPack, *PolygonPackPtr; +<a name="l00034"></a>00034 +<a name="l00035"></a>00035 <span class="keyword">typedef</span> <span class="keyword">struct </span>PolygonPackList { +<a name="l00036"></a>00036 <span class="keywordtype">int</span> size; +<a name="l00037"></a>00037 <span class="comment">//PolygonPack *list[6];</span> +<a name="l00038"></a>00038 PolygonPack *list; +<a name="l00039"></a>00039 } PolygonPackList; +<a name="l00040"></a>00040 +<a name="l00041"></a>00041 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2scene_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,46 @@ +<!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: scene.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>scene.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SCENE</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SCENE</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_POLYGON</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#include "polygon.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>Scene{ +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 Polygon *list; +<a name="l00011"></a>00011 Demonstration *demo; +<a name="l00012"></a>00012 void (Scene::*action_scene)(); +<a name="l00013"></a>00013 +<a name="l00014"></a>00014 Scene(); +<a name="l00015"></a>00015 <span class="keywordtype">void</span> title_init(); +<a name="l00016"></a>00016 <span class="keywordtype">void</span> title(); +<a name="l00017"></a>00017 <span class="keywordtype">void</span> title_end(); +<a name="l00018"></a>00018 }; +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2scene__graph__pack_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,68 @@ +<!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: scene_graph_pack.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>scene_graph_pack.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SCENE_GRAPH_PACK</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SCENE_GRAPH_PACK</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SPU_SPAN</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#include "SpuSpan.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="comment">/*</span> +<a name="l00009"></a>00009 <span class="comment">enum Tree{</span> +<a name="l00010"></a>00010 <span class="comment"> PUSH,</span> +<a name="l00011"></a>00011 <span class="comment"> POP,</span> +<a name="l00012"></a>00012 <span class="comment"> SHIFT</span> +<a name="l00013"></a>00013 <span class="comment">};</span> +<a name="l00014"></a>00014 <span class="comment">*/</span> +<a name="l00015"></a>00015 +<a name="l00016"></a>00016 <span class="keyword">typedef</span> <span class="keyword">struct </span>SceneGraphNode { +<a name="l00017"></a>00017 <span class="keywordtype">int</span> size; +<a name="l00018"></a>00018 <span class="keywordtype">float</span> vertex[36*3]; +<a name="l00019"></a>00019 <span class="keywordtype">float</span> texture[36*2]; +<a name="l00020"></a>00020 <span class="keywordtype">float</span> obj_pos[4]; +<a name="l00021"></a>00021 <span class="keywordtype">float</span> angle[4]; +<a name="l00022"></a>00022 <span class="keywordtype">float</span> translation[16]; +<a name="l00023"></a>00023 <span class="keywordtype">long</span> *tex_addr, tex_width, tex_height; +<a name="l00024"></a>00024 <span class="keywordtype">int</span> id; +<a name="l00025"></a>00025 <span class="keywordtype">int</span> move, interaction; +<a name="l00026"></a>00026 <span class="comment">//void (*move)();</span> +<a name="l00027"></a>00027 <span class="comment">//int op[32]; // push pop shift => enum</span> +<a name="l00028"></a>00028 <span class="keywordtype">int</span> pn; +<a name="l00029"></a>00029 }SceneGraphNode, *SceneGraphNodePtr; +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="keyword">typedef</span> <span class="keyword">struct </span>SceneGraphInfo { +<a name="l00032"></a>00032 <span class="keywordtype">int</span> size; +<a name="l00033"></a>00033 }SceneGraphInfo; +<a name="l00034"></a>00034 +<a name="l00035"></a>00035 <span class="keyword">typedef</span> <span class="keyword">struct </span>SceneGraphPack { +<a name="l00036"></a>00036 SpuSpan *ssl; +<a name="l00037"></a>00037 SceneGraphInfo info; +<a name="l00038"></a>00038 SceneGraphNode node[16]; <span class="comment">// variable length array</span> +<a name="l00039"></a>00039 }SceneGraphPack; +<a name="l00040"></a>00040 +<a name="l00041"></a>00041 +<a name="l00042"></a>00042 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2spe_2Load__Texture_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,47 @@ +<!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: Load_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>Load_Texture.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TASK_LOAD_TEXTURE</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TASK_LOAD_TEXTURE</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 +<a name="l00005"></a>00005 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#include "SchedTask.h"</span> +<a name="l00007"></a>00007 <span class="preprocessor">#endif</span> +<a name="l00008"></a>00008 <span class="preprocessor"></span> +<a name="l00009"></a>00009 <span class="preprocessor">#define LOAD_TEXTURE 2</span> +<a name="l00010"></a>00010 <span class="preprocessor"></span> +<a name="l00011"></a>00011 <span class="keyword">class </span>LoadTexture: <span class="keyword">public</span> SchedTask { +<a name="l00012"></a>00012 <span class="keyword">public</span>: +<a name="l00013"></a>00013 LoadTexture(TaskListPtr _tlist, TaskPtr _task, +<a name="l00014"></a>00014 <span class="keywordtype">void</span>* _rbuf, <span class="keywordtype">void</span>* _wbuf, DmaManager* _con) +<a name="l00015"></a>00015 :SchedTask(_tlist, _task, _rbuf, _wbuf, _con) {} +<a name="l00016"></a>00016 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *readbuf, <span class="keywordtype">void</span> *writebuf); +<a name="l00017"></a>00017 <span class="keywordtype">void</span> read(<span class="keywordtype">void</span>); +<a name="l00018"></a>00018 <span class="keywordtype">void</span> write(<span class="keywordtype">void</span>); +<a name="l00019"></a>00019 }; +<a name="l00020"></a>00020 +<a name="l00021"></a>00021 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2sys_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,34 @@ +<!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: sys.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>sys.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keywordtype">void</span> noMoreMemory(); +<a name="l00002"></a>00002 <span class="keywordtype">void</span> get_matrix(<span class="keywordtype">float</span> *matrix, <span class="keywordtype">float</span> *rxyz, <span class="keywordtype">float</span> *txyz, <span class="keywordtype">float</span> *stack); +<a name="l00003"></a>00003 <span class="keywordtype">void</span> rotate_x(<span class="keywordtype">float</span> *xyz, <span class="keywordtype">float</span> r); +<a name="l00004"></a>00004 <span class="keywordtype">void</span> rotate_y(<span class="keywordtype">float</span> *xyz, <span class="keywordtype">float</span> r); +<a name="l00005"></a>00005 <span class="keywordtype">void</span> rotate_z(<span class="keywordtype">float</span> *xyz, <span class="keywordtype">float</span> r); +<a name="l00006"></a>00006 <span class="comment">//void rotate(float *xyz, float *matrix, float *rxyz, float *txyz, float *stack[]);</span> +<a name="l00007"></a>00007 <span class="keywordtype">void</span> rotate(<span class="keywordtype">float</span> *xyz, <span class="keywordtype">float</span> *matrix); +<a name="l00008"></a>00008 <span class="keywordtype">void</span> translate(<span class="keywordtype">float</span> *xyz, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> z); +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2test_2LoadTexture_2polygon_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,54 @@ +<!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: polygon.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>polygon.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include <libxml/parser.h></span> +<a name="l00002"></a>00002 <span class="preprocessor">#ifndef INCLUDED_POLYGON</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_POLYGON</span> +<a name="l00004"></a>00004 <span class="preprocessor"></span> +<a name="l00005"></a>00005 <span class="preprocessor">#ifndef INCLUDED_VIEWER</span> +<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#include "viewer.h"</span> +<a name="l00007"></a>00007 <span class="preprocessor">#endif</span> +<a name="l00008"></a>00008 <span class="preprocessor"></span> +<a name="l00009"></a>00009 <span class="preprocessor">#include "TaskManager.h"</span> +<a name="l00010"></a>00010 +<a name="l00011"></a>00011 <span class="keyword">extern</span> TaskManager *manager; +<a name="l00012"></a>00012 +<a name="l00013"></a>00013 <span class="keyword">class </span>Polygon { +<a name="l00014"></a>00014 <span class="keyword">public</span>: +<a name="l00015"></a>00015 <span class="keywordtype">int</span> size; +<a name="l00016"></a>00016 <span class="keywordtype">char</span> *name; +<a name="l00017"></a>00017 <span class="keywordtype">char</span> *parent_name; +<a name="l00018"></a>00018 <span class="keywordtype">float</span> *data; +<a name="l00019"></a>00019 SDL_Surface *texture_image; +<a name="l00020"></a>00020 Viewer *viewer; +<a name="l00021"></a>00021 Polygon *next; +<a name="l00022"></a>00022 <span class="keywordtype">void</span> set_data(<span class="keywordtype">char</span>*); +<a name="l00023"></a>00023 <span class="keywordtype">void</span> create_data(xmlNodePtr); +<a name="l00024"></a>00024 <span class="keywordtype">void</span> add_next(); +<a name="l00025"></a>00025 <span class="keywordtype">void</span> get_data(xmlNodePtr); +<a name="l00026"></a>00026 }; +<a name="l00027"></a>00027 +<a name="l00028"></a>00028 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2test_2LoadTexture_2spe_2Load__Texture_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,47 @@ +<!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: Load_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>Load_Texture.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TASK_LOAD_TEXTURE</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TASK_LOAD_TEXTURE</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 +<a name="l00005"></a>00005 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#include "SchedTask.h"</span> +<a name="l00007"></a>00007 <span class="preprocessor">#endif</span> +<a name="l00008"></a>00008 <span class="preprocessor"></span> +<a name="l00009"></a>00009 <span class="preprocessor">#define LOAD_TEXTURE 2</span> +<a name="l00010"></a>00010 <span class="preprocessor"></span> +<a name="l00011"></a>00011 <span class="keyword">class </span>LoadTexture: <span class="keyword">public</span> SchedTask { +<a name="l00012"></a>00012 <span class="keyword">public</span>: +<a name="l00013"></a>00013 LoadTexture(TaskListPtr _tlist, TaskPtr _task, +<a name="l00014"></a>00014 <span class="keywordtype">void</span>* _rbuf, <span class="keywordtype">void</span>* _wbuf, DmaManager* _con) +<a name="l00015"></a>00015 :SchedTask(_tlist, _task, _rbuf, _wbuf, _con) {} +<a name="l00016"></a>00016 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *readbuf, <span class="keywordtype">void</span> *writebuf); +<a name="l00017"></a>00017 <span class="keywordtype">void</span> read(<span class="keywordtype">void</span>); +<a name="l00018"></a>00018 <span class="keywordtype">void</span> write(<span class="keywordtype">void</span>); +<a name="l00019"></a>00019 }; +<a name="l00020"></a>00020 +<a name="l00021"></a>00021 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2test_2LoadTexture_2viewer_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,49 @@ +<!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: viewer.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>viewer.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include <SDL.h></span> +<a name="l00002"></a>00002 +<a name="l00003"></a>00003 <span class="preprocessor">#ifndef INCLUDED_VIEWER</span> +<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_VIEWER</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span> +<a name="l00006"></a>00006 <span class="preprocessor">#include "TaskManager.h"</span> +<a name="l00007"></a>00007 +<a name="l00008"></a>00008 <span class="keyword">class </span>Viewer { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 +<a name="l00011"></a>00011 <span class="keywordtype">int</span> width; +<a name="l00012"></a>00012 <span class="keywordtype">int</span> height; +<a name="l00013"></a>00013 <span class="keywordtype">int</span> bpp; +<a name="l00014"></a>00014 SDL_Surface *screen; +<a name="l00015"></a>00015 Uint32 *pixels; +<a name="l00016"></a>00016 +<a name="l00017"></a>00017 Viewer(<span class="keywordtype">int</span> b, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h); +<a name="l00018"></a>00018 <span class="keywordtype">void</span> sdl_init(); +<a name="l00019"></a>00019 <span class="keywordtype">void</span> run_init(); +<a name="l00020"></a>00020 +<a name="l00021"></a>00021 }; +<a name="l00022"></a>00022 +<a name="l00023"></a>00023 <span class="preprocessor">#endif</span> +</pre></div></div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2texture_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,30 @@ +<!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: 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>texture.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include <SDL.h></span> +<a name="l00002"></a>00002 <span class="preprocessor">#include <SDL_opengl.h></span> +<a name="l00003"></a>00003 +<a name="l00004"></a>00004 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord); +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2triangle_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,39 @@ +<!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: triangle.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>triangle.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDE_Triangle</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDE_Triangle</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#include "vertex.h"</span> +<a name="l00005"></a>00005 +<a name="l00006"></a>00006 <span class="keyword">class </span>Triangle { +<a name="l00007"></a>00007 <span class="keyword">public</span>: +<a name="l00008"></a>00008 Vertex *vertex1,*vertex2,*vertex3; +<a name="l00009"></a>00009 +<a name="l00010"></a>00010 Triangle(Vertex *tmp_vertex1,Vertex *tmp_vertex2,Vertex *tmp_vertex3); +<a name="l00011"></a>00011 }; +<a name="l00012"></a>00012 +<a name="l00013"></a>00013 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2vertex_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,37 @@ +<!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: vertex.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>vertex.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDE_VERTEX</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDE_VERTEX</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="keyword">class </span>Vertex { +<a name="l00005"></a>00005 <span class="keyword">public</span>: +<a name="l00006"></a>00006 <span class="keywordtype">float</span> x,y,z,tex_x,tex_y; +<a name="l00007"></a>00007 +<a name="l00008"></a>00008 Vertex(<span class="keywordtype">float</span> tmp_x, <span class="keywordtype">float</span> tmp_y, <span class="keywordtype">float</span> tmp_z,<span class="keywordtype">float</span> tmp_tex_x, <span class="keywordtype">float</span> tmp_tex_y); +<a name="l00009"></a>00009 }; +<a name="l00010"></a>00010 +<a name="l00011"></a>00011 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2viewer_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,78 @@ +<!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: viewer.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>viewer.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include <SDL.h></span> +<a name="l00002"></a>00002 +<a name="l00003"></a>00003 <span class="preprocessor">#ifndef INCLUDED_VIEWER</span> +<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_VIEWER</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span> +<a name="l00006"></a>00006 <span class="preprocessor">#ifndef INCLUDED_VIEWER_TYPES</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span><span class="preprocessor"># include "viewer_types.h"</span> +<a name="l00008"></a>00008 <span class="preprocessor">#endif</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span> +<a name="l00010"></a>00010 <span class="preprocessor">#include "TaskManager.h"</span> +<a name="l00011"></a>00011 +<a name="l00012"></a>00012 <span class="keyword">extern</span> TaskManager *manager; +<a name="l00013"></a>00013 +<a name="l00014"></a>00014 <span class="keyword">class </span>Viewer{ +<a name="l00015"></a>00015 <span class="keyword">public</span>: +<a name="l00016"></a>00016 +<a name="l00017"></a>00017 <span class="keyword">static</span> <span class="keywordtype">int</span> width; +<a name="l00018"></a>00018 <span class="keyword">static</span> <span class="keywordtype">int</span> height; +<a name="l00019"></a>00019 <span class="keyword">static</span> <span class="keywordtype">int</span> bpp; +<a name="l00020"></a>00020 <span class="keyword">static</span> <span class="keywordtype">int</span> spe_num; +<a name="l00021"></a>00021 <span class="keywordtype">int</span> rgb_size[3]; +<a name="l00022"></a>00022 Uint32 video_flags; +<a name="l00023"></a>00023 SDL_Surface *screen; +<a name="l00024"></a>00024 Uint32 *pixels; +<a name="l00025"></a>00025 <span class="comment">//float zRow[1920][1080];</span> +<a name="l00026"></a>00026 <span class="keywordtype">float</span> zRow[MAX_WIDTH][MAX_HEIGHT]; +<a name="l00027"></a>00027 +<a name="l00028"></a>00028 Viewer(<span class="keywordtype">int</span> b=32, <span class="keywordtype">int</span> w=640, <span class="keywordtype">int</span> h=480); +<a name="l00029"></a>00029 Viewer(<span class="keywordtype">int</span> b=32, <span class="keywordtype">int</span> w=640, <span class="keywordtype">int</span> h=480, <span class="keywordtype">int</span> spenum = 1); +<a name="l00030"></a>00030 <span class="keywordtype">void</span> sdl_init(); +<a name="l00031"></a>00031 <span class="keywordtype">void</span> init(); +<a name="l00032"></a>00032 <span class="keywordtype">int</span> get_ticks(); +<a name="l00033"></a>00033 <span class="keywordtype">bool</span> quit_check(); +<a name="l00034"></a>00034 <span class="keywordtype">void</span> quit(); +<a name="l00035"></a>00035 <span class="keywordtype">void</span> screen_clear(); +<a name="l00036"></a>00036 <span class="keywordtype">void</span> swap_buffers(); +<a name="l00037"></a>00037 <span class="keywordtype">void</span> write_pixel(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y,<span class="keywordtype">float</span> z, Uint32 rgb); +<a name="l00038"></a>00038 <span class="keywordtype">void</span> write_line(<span class="keywordtype">float</span> x1, <span class="keywordtype">float</span> y1, <span class="keywordtype">float</span> x2, <span class="keywordtype">float</span> y2, Uint32 rgb); +<a name="l00039"></a>00039 <span class="keywordtype">void</span> write_triangle(<span class="keywordtype">float</span> x1, <span class="keywordtype">float</span> y1, <span class="keywordtype">float</span> x2, <span class="keywordtype">float</span> y2, <span class="keywordtype">float</span> x3, <span class="keywordtype">float</span> y3, Uint32 rgb); +<a name="l00040"></a>00040 <span class="keywordtype">void</span> clean_pixels(); +<a name="l00041"></a>00041 <span class="keywordtype">void</span> graph_line(); +<a name="l00042"></a>00042 +<a name="l00043"></a>00043 <span class="comment">//void run();</span> +<a name="l00044"></a>00044 <span class="keywordtype">void</span> run_init(<span class="keywordtype">char</span> *xml); +<a name="l00045"></a>00045 <span class="keywordtype">void</span> run_loop(); +<a name="l00046"></a>00046 <span class="keywordtype">void</span> run_finish(); +<a name="l00047"></a>00047 <span class="keywordtype">void</span> run_draw(); +<a name="l00048"></a>00048 +<a name="l00049"></a>00049 <span class="keywordtype">void</span> zRow_init(); +<a name="l00050"></a>00050 }; +<a name="l00051"></a>00051 +<a name="l00052"></a>00052 <span class="preprocessor">#endif</span> +</pre></div></div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2viewer__types_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,51 @@ +<!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: viewer_types.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>viewer_types.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_VIEWER_TYPES</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_VIEWER_TYPES</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#define SPE_NUM_MAX 6</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span> +<a name="l00006"></a>00006 <span class="comment">// texture は 8x8 に分割</span> +<a name="l00007"></a>00007 <span class="comment">// なんか変数名、これでいいんかい?</span> +<a name="l00008"></a>00008 <span class="preprocessor">#define TEXTURE_SPLIT_PIXEL 8</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="comment">//#define TEXTURE_SPLIT_PIXEL 4</span> +<a name="l00010"></a>00010 +<a name="l00011"></a>00011 <span class="preprocessor">#define MAX_WIDTH 1920</span> +<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define MAX_HEIGHT 1080</span> +<a name="l00013"></a>00013 <span class="preprocessor"></span> +<a name="l00014"></a>00014 <span class="preprocessor">#if 0</span> +<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define MEMORY_ALLOCATION(dest, align, size) \</span> +<a name="l00016"></a>00016 <span class="preprocessor"> posix_memalign((void**)(dest), (align), (size))</span> +<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="comment">//void posix_memalign(void** dest, size_t align, size_t size){</span> +<a name="l00018"></a>00018 <span class="comment">//*dest = malloc(size);</span> +<a name="l00019"></a>00019 <span class="comment">//}</span> +<a name="l00020"></a>00020 <span class="preprocessor">#else</span> +<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define MEMORY_ALLOCATION(dest, align, size) \</span> +<a name="l00022"></a>00022 <span class="preprocessor"> *((void**)dest) = malloc((size))</span> +<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#endif</span> +<a name="l00024"></a>00024 <span class="preprocessor"></span> +<a name="l00025"></a>00025 <span class="preprocessor">#endif</span> +</pre></div></div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/simple__render_2xml_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,28 @@ +<!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: xml.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>xml.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keywordtype">char</span> *skip_to_number(<span class="keywordtype">char</span> *cont); +<a name="l00002"></a>00002 <span class="keywordtype">char</span> *pickup_float(<span class="keywordtype">char</span> *cont, <span class="keywordtype">float</span> *index); +</pre></div></div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/span_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,46 @@ +<!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: span.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>span.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDE_Span</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDE_Span</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#include "triangle.h"</span> +<a name="l00005"></a>00005 <span class="preprocessor">#include "viewer.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#include "polygon.h"</span> +<a name="l00007"></a>00007 +<a name="l00008"></a>00008 <span class="keyword">class </span>Span_c { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 <span class="keywordtype">int</span> x,y,end; +<a name="l00011"></a>00011 <span class="keywordtype">float</span> z,zpos; +<a name="l00012"></a>00012 <span class="keywordtype">float</span> tex1,tex2,tey1,tey2; +<a name="l00013"></a>00013 <span class="keywordtype">void</span> create_span(Triangle *tri,SDL_Surface *image); +<a name="l00014"></a>00014 <span class="comment">// float calc(float f1, float f2,int i, float base);</span> +<a name="l00015"></a>00015 <span class="keywordtype">void</span> half_triangle(Vertex*, Vertex*, Vertex*, SDL_Surface *image); +<a name="l00016"></a>00016 Viewer *viewer; +<a name="l00017"></a>00017 Polygon *p; +<a name="l00018"></a>00018 }; +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/span__pack_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,56 @@ +<!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: span_pack.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>span_pack.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SPAN_PACK</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SPAN_PACK</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="keyword">typedef</span> <span class="keyword">struct </span>Span { +<a name="l00005"></a>00005 <span class="keywordtype">long</span> *tex_addr, tex_width, tex_height; +<a name="l00006"></a>00006 <span class="keywordtype">int</span> x, y, length_x; +<a name="l00007"></a>00007 <span class="keywordtype">float</span> start_z, end_z; +<a name="l00008"></a>00008 <span class="keywordtype">float</span> tex_x1, tex_x2, tex_y1, tex_y2; +<a name="l00009"></a>00009 } SPAN, *SPNA_PTR; +<a name="l00010"></a>00010 +<a name="l00011"></a>00011 <span class="keyword">typedef</span> <span class="keyword">struct </span>SpanPack { +<a name="l00012"></a>00012 <span class="keyword">struct </span>SPAN_INFO { +<a name="l00013"></a>00013 <span class="keywordtype">int</span> size; +<a name="l00014"></a>00014 <span class="keywordtype">int</span> light_pos[3]; +<a name="l00015"></a>00015 <span class="keywordtype">int</span> light_rgb[3]; +<a name="l00016"></a>00016 } info; +<a name="l00017"></a>00017 SPAN span[70]; +<a name="l00018"></a>00018 <span class="comment">//SPAN *span;</span> +<a name="l00019"></a>00019 } SPANPACK, *SPANPACK_PTR; +<a name="l00020"></a>00020 +<a name="l00021"></a>00021 <span class="comment">/*</span> +<a name="l00022"></a>00022 <span class="comment">typedef struct SpanPackList {</span> +<a name="l00023"></a>00023 <span class="comment"> int size;</span> +<a name="l00024"></a>00024 <span class="comment"> SPANPACK dline[60];</span> +<a name="l00025"></a>00025 <span class="comment"> //SPANPACK dline[135];</span> +<a name="l00026"></a>00026 <span class="comment"> //SPANPACK *dline;</span> +<a name="l00027"></a>00027 <span class="comment">} SPANPACKLIST;</span> +<a name="l00028"></a>00028 <span class="comment">*/</span> +<a name="l00029"></a>00029 +<a name="l00030"></a>00030 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/spe_2CreatePolygon_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: CreatePolygon.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>CreatePolygon.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_CREATE_POLYGON</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_CREATE_POLYGON</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>CreatePolygon : <span class="keyword">public</span> SchedTask { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 SchedConstructor(CreatePolygon); +<a name="l00011"></a>00011 +<a name="l00012"></a>00012 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *rbuf, <span class="keywordtype">void</span> *wbuf); +<a name="l00013"></a>00013 }; +<a name="l00014"></a>00014 +<a name="l00015"></a>00015 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/spe_2CreateSpan_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,54 @@ +<!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: CreateSpan.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>CreateSpan.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_CREATE_SPAN</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_CREATE_SPAN</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#ifndef INCLUDED_POLYGON_PACK</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor"># include "polygon_pack.h"</span> +<a name="l00010"></a>00010 <span class="preprocessor">#endif</span> +<a name="l00011"></a>00011 <span class="preprocessor"></span> +<a name="l00012"></a>00012 <span class="preprocessor">#ifndef INCLUDED_SPAN_PACK</span> +<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor"># include "SpanPack.h"</span> +<a name="l00014"></a>00014 <span class="preprocessor">#endif</span> +<a name="l00015"></a>00015 <span class="preprocessor"></span> +<a name="l00016"></a>00016 <span class="keyword">class </span>CreateSpan : <span class="keyword">public</span> SchedTask { +<a name="l00017"></a>00017 <span class="keyword">public</span>: +<a name="l00018"></a>00018 SchedConstructor(CreateSpan); +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *rbuf, <span class="keywordtype">void</span> *wbuf); +<a name="l00021"></a>00021 <span class="keywordtype">void</span> half_triangle(SpanPackPtr *spackList, +<a name="l00022"></a>00022 <span class="keywordtype">int</span> charge_y_top, <span class="keywordtype">int</span> charge_y_end, +<a name="l00023"></a>00023 TriangleTexInfoPtr tex_info, +<a name="l00024"></a>00024 VertexPack *vMin,VertexPack *vMid,VertexPack *vMid1, +<a name="l00025"></a>00025 <span class="keywordtype">int</span> length_y, <span class="keywordtype">float</span> tex_y_len); +<a name="l00026"></a>00026 }; +<a name="l00027"></a>00027 +<a name="l00028"></a>00028 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/spe_2DrawBack_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,43 @@ +<!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: DrawBack.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>DrawBack.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TASK_DRAW_BACK</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TASK_DRAW_BACK</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>DrawBack : <span class="keyword">public</span> SchedTask { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 SchedConstructor(DrawBack); +<a name="l00011"></a>00011 +<a name="l00012"></a>00012 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *rbuf, <span class="keywordtype">void</span> *wbuf); +<a name="l00013"></a>00013 +<a name="l00014"></a>00014 <span class="keywordtype">void</span> linebuf_init(<span class="keywordtype">int</span> *buf, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> rgb); +<a name="l00015"></a>00015 }; +<a name="l00016"></a>00016 +<a name="l00017"></a>00017 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/spe_2DrawSpanRenew_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,46 @@ +<!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: DrawSpanRenew.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>DrawSpanRenew.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TASK_DRAW_SPAN2</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TASK_DRAW_SPAN2</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_TASK_DRAW_SPAN</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "DrawSpan.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>DrawSpanRenew : <span class="keyword">public</span> DrawSpan { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 SchedConstructor(DrawSpanRenew); +<a name="l00011"></a>00011 +<a name="l00012"></a>00012 DrawSpanArgPtr args; +<a name="l00013"></a>00013 +<a name="l00014"></a>00014 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *rbuf, <span class="keywordtype">void</span> *wbuf); +<a name="l00015"></a>00015 +<a name="l00016"></a>00016 <span class="comment">// override</span> +<a name="l00017"></a>00017 <span class="keywordtype">void</span> reboot(SpanPackPtr spack, <span class="keywordtype">int</span> cur_span_x); +<a name="l00018"></a>00018 }; +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/spe_2DrawSpan_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,90 @@ +<!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: DrawSpan.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>DrawSpan.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TASK_DRAW_SPAN</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TASK_DRAW_SPAN</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#ifndef INCLUDED_TAPESTRY</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor"># include "Tapestry.h"</span> +<a name="l00010"></a>00010 <span class="preprocessor">#endif</span> +<a name="l00011"></a>00011 <span class="preprocessor"></span> +<a name="l00012"></a>00012 <span class="preprocessor">#ifndef INCLUDED_SPAN_PACK</span> +<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor"># include "SpanPack.h"</span> +<a name="l00014"></a>00014 <span class="preprocessor">#endif</span> +<a name="l00015"></a>00015 <span class="preprocessor"></span> +<a name="l00016"></a>00016 <span class="preprocessor">#ifndef INCLUDED_TEXTURE_HASH</span> +<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor"># include "TileHash.h"</span> +<a name="l00018"></a>00018 <span class="preprocessor">#endif</span> +<a name="l00019"></a>00019 <span class="preprocessor"></span> +<a name="l00020"></a>00020 <span class="keyword">class </span>DrawSpan : <span class="keyword">public</span> SchedTask { +<a name="l00021"></a>00021 <span class="keyword">public</span>: +<a name="l00022"></a>00022 SchedConstructor(DrawSpan); +<a name="l00023"></a>00023 +<a name="l00024"></a>00024 <span class="keywordtype">int</span> *linebuf; +<a name="l00025"></a>00025 <span class="keywordtype">float</span> *zRow; +<a name="l00026"></a>00026 TileHashPtr hash; +<a name="l00027"></a>00027 <a class="code" href="classTileList.html">TileListPtr</a> tileList; +<a name="l00028"></a>00028 <span class="keywordtype">int</span> doneWrite; +<a name="l00029"></a>00029 +<a name="l00030"></a>00030 ~DrawSpan(<span class="keywordtype">void</span>); +<a name="l00031"></a>00031 +<a name="l00032"></a>00032 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *rbuf, <span class="keywordtype">void</span> *wbuf); +<a name="l00033"></a>00033 +<a name="l00034"></a>00034 <span class="keywordtype">int</span>* linebuf_init(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> rgb); +<a name="l00035"></a>00035 <span class="keywordtype">float</span>* zRow_init(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height); +<a name="l00036"></a>00036 <span class="keywordtype">void</span> set_rgb(uint32 *addr, <span class="keywordtype">int</span> wait_tag); +<a name="l00037"></a>00037 <span class="keywordtype">void</span> set_rgbs(uint32 *addr, uint32 *max_addr, <span class="keywordtype">int</span> wait_tag); +<a name="l00038"></a>00038 uint32 get_rgb(<span class="keywordtype">int</span> tx, <span class="keywordtype">int</span> ty, uint32 *addr); +<a name="l00039"></a>00039 TilePtr isAvailableTile(uint32 *addr); +<a name="l00040"></a>00040 uint32* getTile(<span class="keywordtype">int</span> tx, <span class="keywordtype">int</span> ty, <span class="keywordtype">int</span> tw, uint32 *tex_addr_top); +<a name="l00041"></a>00041 <span class="keywordtype">int</span> getTexBlock(<span class="keywordtype">int</span> tx, <span class="keywordtype">int</span> ty, <span class="keywordtype">int</span> twidth); +<a name="l00042"></a>00042 <span class="keywordtype">void</span> writebuffer(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> display, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, +<a name="l00043"></a>00043 <span class="keywordtype">int</span> screen_width); +<a name="l00044"></a>00044 <span class="keywordtype">void</span> updateBuffer(<span class="keywordtype">float</span> zpos, <span class="keywordtype">int</span> rangex, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, +<a name="l00045"></a>00045 <span class="keywordtype">int</span> tex_x, <span class="keywordtype">int</span> tex_y, uint32 *tex_addr); +<a name="l00046"></a>00046 +<a name="l00047"></a>00047 +<a name="l00048"></a>00048 <span class="keywordtype">void</span> reboot(SpanPackPtr spack, <span class="keywordtype">int</span> cur_span_x); +<a name="l00049"></a>00049 +<a name="l00050"></a>00050 <span class="keywordtype">int</span> drawDot1(SpanPtr span, <span class="keywordtype">int</span> startx, <span class="keywordtype">int</span> endx, <span class="keywordtype">int</span> wait_tag); +<a name="l00051"></a>00051 <span class="keywordtype">void</span> drawDot2(SpanPtr span, <span class="keywordtype">int</span> startx, <span class="keywordtype">int</span> endx, <span class="keywordtype">int</span> js, <span class="keywordtype">int</span> wait_tag); +<a name="l00052"></a>00052 <span class="keywordtype">int</span> drawLine1(SpanPtr span, <span class="keywordtype">int</span> startx, <span class="keywordtype">int</span> endx, <span class="keywordtype">int</span> wait_tag); +<a name="l00053"></a>00053 <span class="keywordtype">void</span> drawLine2(SpanPtr span, <span class="keywordtype">int</span> startx, <span class="keywordtype">int</span> endx, <span class="keywordtype">int</span> js, <span class="keywordtype">int</span> wait_tag); +<a name="l00054"></a>00054 }; +<a name="l00055"></a>00055 +<a name="l00056"></a>00056 <span class="keyword">typedef</span> <span class="keyword">struct </span>{ +<a name="l00057"></a>00057 uint32 display; +<a name="l00058"></a>00058 <span class="keywordtype">int</span> screen_width; +<a name="l00059"></a>00059 <span class="keywordtype">int</span> rangex_start; +<a name="l00060"></a>00060 <span class="keywordtype">int</span> rangex_end; +<a name="l00061"></a>00061 <span class="keywordtype">int</span> rangey; +<a name="l00062"></a>00062 } DrawSpanArg, *DrawSpanArgPtr; +<a name="l00063"></a>00063 +<a name="l00064"></a>00064 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/spe_2Set__Texture_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,42 @@ +<!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: Set_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>Set_Texture.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TASK_LOAD_TEXTURE</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TASK_LOAD_TEXTURE</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>SetTexture : <span class="keyword">public</span> SchedTask { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 SchedConstructor(SetTexture); +<a name="l00011"></a>00011 +<a name="l00012"></a>00012 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *rbuf, <span class="keywordtype">void</span> *wbuf); +<a name="l00013"></a>00013 }; +<a name="l00014"></a>00014 +<a name="l00015"></a>00015 <span class="preprocessor">#endif</span> +<a name="l00016"></a>00016 <span class="preprocessor"></span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/spe_2TileHash_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,56 @@ +<!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: TileHash.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>TileHash.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TEXTURE_HASH</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TEXTURE_HASH</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_TAPESTRY</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "Tapestry.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>TileHash { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 TileHash(<span class="keywordtype">void</span>); +<a name="l00011"></a>00011 +<a name="l00012"></a>00012 <span class="keyword">private</span>: +<a name="l00013"></a>00013 TilePtr *table; +<a name="l00014"></a>00014 <span class="keywordtype">int</span> hashSize; +<a name="l00015"></a>00015 <span class="keywordtype">int</span> tableSize; +<a name="l00016"></a>00016 +<a name="l00017"></a>00017 <span class="keyword">public</span>: +<a name="l00018"></a>00018 <span class="keywordtype">void</span> clear(<span class="keywordtype">void</span>); +<a name="l00019"></a>00019 <span class="keywordtype">int</span> hash(uint32 data); +<a name="l00020"></a>00020 <span class="keywordtype">int</span> put(uint32 *addr, TilePtr tile); +<a name="l00021"></a>00021 TilePtr <span class="keyword">get</span>(uint32 *addr); +<a name="l00022"></a>00022 <span class="keywordtype">void</span> <span class="keyword">remove</span>(uint32 *addr); +<a name="l00023"></a>00023 }; +<a name="l00024"></a>00024 +<a name="l00025"></a>00025 <span class="keyword">typedef</span> TileHash* TileHashPtr; +<a name="l00026"></a>00026 +<a name="l00027"></a>00027 <span class="preprocessor">#endif</span> +<a name="l00028"></a>00028 <span class="preprocessor"></span> +<a name="l00029"></a>00029 <span class="keyword">const</span> <span class="keywordtype">int</span> GLOBAL_TEXTURE_HASH = 0; +<a name="l00030"></a>00030 <span class="keyword">const</span> <span class="keywordtype">int</span> GLOBAL_TILE_LIST = 1; +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/sphere_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,27 @@ +<!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: sphere.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>sphere.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define Sphere scene_graph</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/sphere__big_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,27 @@ +<!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: sphere_big.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>sphere_big.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define BigSphere scene_graph</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/spu__span_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,62 @@ +<!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: spu_span.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>spu_span.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SPU_SPAN</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SPU_SPAN</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SPAN_PACK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#include "span_pack.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">typedef</span> <span class="keyword">struct </span>SPUSPAN { +<a name="l00009"></a>00009 <<<<<<< spu_span.h +<a name="l00010"></a>00010 <span class="keywordtype">int</span> length; +<a name="l00011"></a>00011 SPUSPAN *next; +<a name="l00012"></a>00012 <span class="comment">//SPANPACK_PTR spp[64];</span> +<a name="l00013"></a>00013 SPANPACK sp[1]; +<a name="l00014"></a>00014 ======= +<a name="l00015"></a>00015 <span class="keywordtype">int</span> length; +<a name="l00016"></a>00016 <span class="comment">//SPANPACK spp[23]; // window_height = 1080 ( 1080/8/6 = 22.5 )</span> +<a name="l00017"></a>00017 SPANPACK spp[10]; <span class="comment">// window_height = 480 ( 480/8/6 = 10 )</span> +<a name="l00018"></a>00018 <span class="comment">//SPUSPAN *next;</span> +<a name="l00019"></a>00019 >>>>>>> 1.2 +<a name="l00020"></a>00020 } SPUSPAN; +<a name="l00021"></a>00021 +<a name="l00022"></a>00022 <span class="keyword">typedef</span> <span class="keyword">struct </span>SPUSPANLIST { +<a name="l00023"></a>00023 <<<<<<< spu_span.h +<a name="l00024"></a>00024 SPUSPAN ss[6]; +<a name="l00025"></a>00025 ======= +<a name="l00026"></a>00026 SPUSPAN ss[6]; <span class="comment">// 6 = number of SPU</span> +<a name="l00027"></a>00027 >>>>>>> 1.2 +<a name="l00028"></a>00028 } SPUSPANLIST; +<a name="l00029"></a>00029 +<a name="l00030"></a>00030 <span class="comment">/*</span> +<a name="l00031"></a>00031 <span class="comment">typedef struct SPLSSL {</span> +<a name="l00032"></a>00032 <span class="comment"> SPUSPANLIST *ssl;</span> +<a name="l00033"></a>00033 <span class="comment"> SPANPACKLIST *spl;</span> +<a name="l00034"></a>00034 <span class="comment">} SPLSSL;</span> +<a name="l00035"></a>00035 <span class="comment">*/</span> +<a name="l00036"></a>00036 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/structtexture__block.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,49 @@ +<!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: texture_block Struct Reference</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 class="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul> + </div> + <div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul> + </div> +</div> +<div class="contents"> +<h1>texture_block Struct Reference</h1><!-- doxytag: class="texture_block" --><code>#include <<a class="el" href="Tapestry_8h-source.html">Tapestry.h</a>></code> +<p> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +image file name tapestry DB binary tree<p> +// PPE main memory tapestry DB (Array) tapestry DB 吾 accessor<p> +TapestryPtr getTapestry(int TapestryID); TilePtr getTile(TapestryPtr tapsetry, int tx, int ty, int scale);<p> +SPE tapestry List (in CreateSpan) (no texture image) TapestryDBPtr, Tapestry ID, x, y, tx, ty, px, py x, y : polygon 筝綛渇√婚罔 tx, ty : texture 綺ф px, py : texture 我<p> +(TilePtr, tix1, tiy1, tix2, tiy2)*<p> +SPE 羝< tapestry List Tile<p> +// SPE SPE с tapestry DB (Hash) TapestryID, scale, TilePtr, Tile<p> +SPE с tapestry DB 吾 accessor TileEntryPtr getTile(int TapestryID, int tx, int ty, int scale);<p> +if (TileEntry == NULL) { DMA read }<p> +Rendering 1pass Zbuffer Texture <ゅ if (zbuffer ok) { if (texture ) { zbuffer linebunf 吾莨若 } else { texture load list zbuffer 贋違 } } else { ∴ }<p> +1pass texture 筝c筝 障с吾莨若<p> +2pass rgb 吾莨若<p> +if (zbuffer ゃ筝膩) { read texture 帥 吾莨若鐚 } <hr>The documentation for this struct was generated from the following file:<ul> +<li><a class="el" href="Tapestry_8h-source.html">Tapestry.h</a></ul> +</div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/task_2CreatePolygon_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: CreatePolygon.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>CreatePolygon.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_CREATE_POLYGON</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_CREATE_POLYGON</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>CreatePolygon : <span class="keyword">public</span> SchedTask { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 SchedConstructor(CreatePolygon); +<a name="l00011"></a>00011 +<a name="l00012"></a>00012 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *rbuf, <span class="keywordtype">void</span> *wbuf); +<a name="l00013"></a>00013 }; +<a name="l00014"></a>00014 +<a name="l00015"></a>00015 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/task_2CreateSpan_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,54 @@ +<!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: CreateSpan.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>CreateSpan.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_CREATE_SPAN</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_CREATE_SPAN</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#ifndef INCLUDED_POLYGON_PACK</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor"># include "polygon_pack.h"</span> +<a name="l00010"></a>00010 <span class="preprocessor">#endif</span> +<a name="l00011"></a>00011 <span class="preprocessor"></span> +<a name="l00012"></a>00012 <span class="preprocessor">#ifndef INCLUDED_SPAN_PACK</span> +<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor"># include "SpanPack.h"</span> +<a name="l00014"></a>00014 <span class="preprocessor">#endif</span> +<a name="l00015"></a>00015 <span class="preprocessor"></span> +<a name="l00016"></a>00016 <span class="keyword">class </span>CreateSpan : <span class="keyword">public</span> SchedTask { +<a name="l00017"></a>00017 <span class="keyword">public</span>: +<a name="l00018"></a>00018 SchedConstructor(CreateSpan); +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *rbuf, <span class="keywordtype">void</span> *wbuf); +<a name="l00021"></a>00021 <span class="keywordtype">void</span> half_triangle(SpanPackPtr *spackList, +<a name="l00022"></a>00022 <span class="keywordtype">int</span> charge_y_top, <span class="keywordtype">int</span> charge_y_end, +<a name="l00023"></a>00023 TriangleTexInfoPtr tex_info, +<a name="l00024"></a>00024 VertexPack *vMin,VertexPack *vMid,VertexPack *vMid1, +<a name="l00025"></a>00025 <span class="keywordtype">int</span> length_y, <span class="keywordtype">float</span> tex_y_len); +<a name="l00026"></a>00026 }; +<a name="l00027"></a>00027 +<a name="l00028"></a>00028 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/task_2DrawBack_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,43 @@ +<!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: DrawBack.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>DrawBack.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TASK_DRAW_BACK</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TASK_DRAW_BACK</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>DrawBack : <span class="keyword">public</span> SchedTask { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 SchedConstructor(DrawBack); +<a name="l00011"></a>00011 +<a name="l00012"></a>00012 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *rbuf, <span class="keywordtype">void</span> *wbuf); +<a name="l00013"></a>00013 +<a name="l00014"></a>00014 <span class="keywordtype">void</span> linebuf_init(<span class="keywordtype">int</span> *buf, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> rgb); +<a name="l00015"></a>00015 }; +<a name="l00016"></a>00016 +<a name="l00017"></a>00017 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/task_2DrawSpanRenew_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,46 @@ +<!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: DrawSpanRenew.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>DrawSpanRenew.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TASK_DRAW_SPAN2</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TASK_DRAW_SPAN2</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_TASK_DRAW_SPAN</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "DrawSpan.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>DrawSpanRenew : <span class="keyword">public</span> DrawSpan { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 SchedConstructor(DrawSpanRenew); +<a name="l00011"></a>00011 +<a name="l00012"></a>00012 DrawSpanArgPtr args; +<a name="l00013"></a>00013 +<a name="l00014"></a>00014 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *rbuf, <span class="keywordtype">void</span> *wbuf); +<a name="l00015"></a>00015 +<a name="l00016"></a>00016 <span class="comment">// override</span> +<a name="l00017"></a>00017 <span class="keywordtype">void</span> reboot(SpanPackPtr spack, <span class="keywordtype">int</span> cur_span_x); +<a name="l00018"></a>00018 }; +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/task_2DrawSpan_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,90 @@ +<!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: DrawSpan.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>DrawSpan.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TASK_DRAW_SPAN</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TASK_DRAW_SPAN</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#ifndef INCLUDED_TAPESTRY</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor"># include "Tapestry.h"</span> +<a name="l00010"></a>00010 <span class="preprocessor">#endif</span> +<a name="l00011"></a>00011 <span class="preprocessor"></span> +<a name="l00012"></a>00012 <span class="preprocessor">#ifndef INCLUDED_SPAN_PACK</span> +<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor"># include "SpanPack.h"</span> +<a name="l00014"></a>00014 <span class="preprocessor">#endif</span> +<a name="l00015"></a>00015 <span class="preprocessor"></span> +<a name="l00016"></a>00016 <span class="preprocessor">#ifndef INCLUDED_TEXTURE_HASH</span> +<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor"># include "TileHash.h"</span> +<a name="l00018"></a>00018 <span class="preprocessor">#endif</span> +<a name="l00019"></a>00019 <span class="preprocessor"></span> +<a name="l00020"></a>00020 <span class="keyword">class </span>DrawSpan : <span class="keyword">public</span> SchedTask { +<a name="l00021"></a>00021 <span class="keyword">public</span>: +<a name="l00022"></a>00022 SchedConstructor(DrawSpan); +<a name="l00023"></a>00023 +<a name="l00024"></a>00024 <span class="keywordtype">int</span> *linebuf; +<a name="l00025"></a>00025 <span class="keywordtype">float</span> *zRow; +<a name="l00026"></a>00026 TileHashPtr hash; +<a name="l00027"></a>00027 <a class="code" href="classTileList.html">TileListPtr</a> tileList; +<a name="l00028"></a>00028 <span class="keywordtype">int</span> doneWrite; +<a name="l00029"></a>00029 +<a name="l00030"></a>00030 ~DrawSpan(<span class="keywordtype">void</span>); +<a name="l00031"></a>00031 +<a name="l00032"></a>00032 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *rbuf, <span class="keywordtype">void</span> *wbuf); +<a name="l00033"></a>00033 +<a name="l00034"></a>00034 <span class="keywordtype">int</span>* linebuf_init(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> rgb); +<a name="l00035"></a>00035 <span class="keywordtype">float</span>* zRow_init(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height); +<a name="l00036"></a>00036 <span class="keywordtype">void</span> set_rgb(uint32 *addr, <span class="keywordtype">int</span> wait_tag); +<a name="l00037"></a>00037 <span class="keywordtype">void</span> set_rgbs(uint32 *addr, uint32 *max_addr, <span class="keywordtype">int</span> wait_tag); +<a name="l00038"></a>00038 uint32 get_rgb(<span class="keywordtype">int</span> tx, <span class="keywordtype">int</span> ty, uint32 *addr); +<a name="l00039"></a>00039 TilePtr isAvailableTile(uint32 *addr); +<a name="l00040"></a>00040 uint32* getTile(<span class="keywordtype">int</span> tx, <span class="keywordtype">int</span> ty, <span class="keywordtype">int</span> tw, uint32 *tex_addr_top); +<a name="l00041"></a>00041 <span class="keywordtype">int</span> getTexBlock(<span class="keywordtype">int</span> tx, <span class="keywordtype">int</span> ty, <span class="keywordtype">int</span> twidth); +<a name="l00042"></a>00042 <span class="keywordtype">void</span> writebuffer(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> display, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, +<a name="l00043"></a>00043 <span class="keywordtype">int</span> screen_width); +<a name="l00044"></a>00044 <span class="keywordtype">void</span> updateBuffer(<span class="keywordtype">float</span> zpos, <span class="keywordtype">int</span> rangex, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, +<a name="l00045"></a>00045 <span class="keywordtype">int</span> tex_x, <span class="keywordtype">int</span> tex_y, uint32 *tex_addr); +<a name="l00046"></a>00046 +<a name="l00047"></a>00047 +<a name="l00048"></a>00048 <span class="keywordtype">void</span> reboot(SpanPackPtr spack, <span class="keywordtype">int</span> cur_span_x); +<a name="l00049"></a>00049 +<a name="l00050"></a>00050 <span class="keywordtype">int</span> drawDot1(SpanPtr span, <span class="keywordtype">int</span> startx, <span class="keywordtype">int</span> endx, <span class="keywordtype">int</span> wait_tag); +<a name="l00051"></a>00051 <span class="keywordtype">void</span> drawDot2(SpanPtr span, <span class="keywordtype">int</span> startx, <span class="keywordtype">int</span> endx, <span class="keywordtype">int</span> js, <span class="keywordtype">int</span> wait_tag); +<a name="l00052"></a>00052 <span class="keywordtype">int</span> drawLine1(SpanPtr span, <span class="keywordtype">int</span> startx, <span class="keywordtype">int</span> endx, <span class="keywordtype">int</span> wait_tag); +<a name="l00053"></a>00053 <span class="keywordtype">void</span> drawLine2(SpanPtr span, <span class="keywordtype">int</span> startx, <span class="keywordtype">int</span> endx, <span class="keywordtype">int</span> js, <span class="keywordtype">int</span> wait_tag); +<a name="l00054"></a>00054 }; +<a name="l00055"></a>00055 +<a name="l00056"></a>00056 <span class="keyword">typedef</span> <span class="keyword">struct </span>{ +<a name="l00057"></a>00057 uint32 display; +<a name="l00058"></a>00058 <span class="keywordtype">int</span> screen_width; +<a name="l00059"></a>00059 <span class="keywordtype">int</span> rangex_start; +<a name="l00060"></a>00060 <span class="keywordtype">int</span> rangex_end; +<a name="l00061"></a>00061 <span class="keywordtype">int</span> rangey; +<a name="l00062"></a>00062 } DrawSpanArg, *DrawSpanArgPtr; +<a name="l00063"></a>00063 +<a name="l00064"></a>00064 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/task_2Set__Texture_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,42 @@ +<!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: Set_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>Set_Texture.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TASK_LOAD_TEXTURE</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TASK_LOAD_TEXTURE</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>SetTexture : <span class="keyword">public</span> SchedTask { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 SchedConstructor(SetTexture); +<a name="l00011"></a>00011 +<a name="l00012"></a>00012 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *rbuf, <span class="keywordtype">void</span> *wbuf); +<a name="l00013"></a>00013 }; +<a name="l00014"></a>00014 +<a name="l00015"></a>00015 <span class="preprocessor">#endif</span> +<a name="l00016"></a>00016 <span class="preprocessor"></span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/task_2TileHash_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,56 @@ +<!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: TileHash.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>TileHash.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TEXTURE_HASH</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TEXTURE_HASH</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_TAPESTRY</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "Tapestry.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>TileHash { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 TileHash(<span class="keywordtype">void</span>); +<a name="l00011"></a>00011 +<a name="l00012"></a>00012 <span class="keyword">private</span>: +<a name="l00013"></a>00013 TilePtr *table; +<a name="l00014"></a>00014 <span class="keywordtype">int</span> hashSize; +<a name="l00015"></a>00015 <span class="keywordtype">int</span> tableSize; +<a name="l00016"></a>00016 +<a name="l00017"></a>00017 <span class="keyword">public</span>: +<a name="l00018"></a>00018 <span class="keywordtype">void</span> clear(<span class="keywordtype">void</span>); +<a name="l00019"></a>00019 <span class="keywordtype">int</span> hash(uint32 data); +<a name="l00020"></a>00020 <span class="keywordtype">int</span> put(uint32 *addr, TilePtr tile); +<a name="l00021"></a>00021 TilePtr <span class="keyword">get</span>(uint32 *addr); +<a name="l00022"></a>00022 <span class="keywordtype">void</span> <span class="keyword">remove</span>(uint32 *addr); +<a name="l00023"></a>00023 }; +<a name="l00024"></a>00024 +<a name="l00025"></a>00025 <span class="keyword">typedef</span> TileHash* TileHashPtr; +<a name="l00026"></a>00026 +<a name="l00027"></a>00027 <span class="preprocessor">#endif</span> +<a name="l00028"></a>00028 <span class="preprocessor"></span> +<a name="l00029"></a>00029 <span class="keyword">const</span> <span class="keywordtype">int</span> GLOBAL_TEXTURE_HASH = 0; +<a name="l00030"></a>00030 <span class="keyword">const</span> <span class="keywordtype">int</span> GLOBAL_TILE_LIST = 1; +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2Func_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,49 @@ +<!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: Func.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>Func.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keyword">enum</span> { +<a name="l00002"></a>00002 INIT, +<a name="l00003"></a>00003 SDL_INIT, +<a name="l00004"></a>00004 FINISH, +<a name="l00005"></a>00005 VIEWER_RUN_INIT, +<a name="l00006"></a>00006 VIEWER_RUN_LOOP, +<a name="l00007"></a>00007 VIEWER_RUN_DRAW, +<a name="l00008"></a>00008 VIEWER_RUN_FINISH, +<a name="l00009"></a>00009 +<a name="l00010"></a>00010 TASK_INIT_TEXTURE, +<a name="l00011"></a>00011 TASK_CREATE_SGP, +<a name="l00012"></a>00012 TASK_UPDATE_SGP, +<a name="l00013"></a>00013 TASK_CREATE_PP, +<a name="l00014"></a>00014 TASK_CREATE_PP2, +<a name="l00015"></a>00015 TASK_CREATE_SPAN, +<a name="l00016"></a>00016 TASK_CS_START, +<a name="l00017"></a>00017 TASK_CS_RUN, +<a name="l00018"></a>00018 TASK_DRAW_SPAN, +<a name="l00019"></a>00019 TASK_DRAW_SPAN2, +<a name="l00020"></a>00020 TASK_DRAW_BACK, +<a name="l00021"></a>00021 TASK_SET_TEXTURE, +<a name="l00022"></a>00022 TASK_DUMMY, +<a name="l00023"></a>00023 }; +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2SpanC_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,46 @@ +<!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: SpanC.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>SpanC.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDE_Span</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDE_Span</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#include "triangle.h"</span> +<a name="l00005"></a>00005 <span class="preprocessor">#include "viewer.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#include "polygon.h"</span> +<a name="l00007"></a>00007 +<a name="l00008"></a>00008 <span class="keyword">class </span>Span_c { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 <span class="keywordtype">int</span> x,y,end; +<a name="l00011"></a>00011 <span class="keywordtype">float</span> z,zpos; +<a name="l00012"></a>00012 <span class="keywordtype">float</span> tex1,tex2,tey1,tey2; +<a name="l00013"></a>00013 <span class="keywordtype">void</span> create_span(Triangle *tri,SDL_Surface *image); +<a name="l00014"></a>00014 <span class="comment">// float calc(float f1, float f2,int i, float base);</span> +<a name="l00015"></a>00015 <span class="keywordtype">void</span> half_triangle(Vertex*, Vertex*, Vertex*, SDL_Surface *image); +<a name="l00016"></a>00016 Viewer *viewer; +<a name="l00017"></a>00017 Polygon *p; +<a name="l00018"></a>00018 }; +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2SpanPack_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,79 @@ +<!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: SpanPack.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>SpanPack.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SPAN_PACK</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SPAN_PACK</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SPAN</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "Span.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#define MAX_SIZE_SPAN 64</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span> +<a name="l00010"></a>00010 <span class="keyword">class </span>SpanPack { +<a name="l00011"></a>00011 <span class="keyword">public</span>: <span class="comment">/* fields */</span> +<a name="l00012"></a>00012 <span class="keyword">struct </span>SpanInfo { +<a name="l00013"></a>00013 <span class="keywordtype">int</span> start; +<a name="l00014"></a>00014 <span class="keywordtype">int</span> size; +<a name="l00015"></a>00015 <span class="keywordtype">int</span> y_top; +<a name="l00016"></a>00016 <span class="keywordtype">int</span> light_pos[3]; +<a name="l00017"></a>00017 <span class="keywordtype">int</span> light_rgb[3]; +<a name="l00018"></a>00018 } info; <span class="comment">// 36</span> +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 Span span[MAX_SIZE_SPAN]; <span class="comment">// 48*MAX_SIZE_SPAN = 3072</span> +<a name="l00021"></a>00021 SpanPack *next; <span class="comment">// 4</span> +<a name="l00022"></a>00022 +<a name="l00023"></a>00023 <span class="keywordtype">int</span> pad[2]; <span class="comment">// 8</span> +<a name="l00024"></a>00024 +<a name="l00025"></a>00025 <span class="keywordtype">void</span> init(<span class="keywordtype">int</span> ytop) { +<a name="l00026"></a>00026 this->info.start = 0; +<a name="l00027"></a>00027 this->info.size = 0; +<a name="l00028"></a>00028 this->info.y_top = ytop; +<a name="l00029"></a>00029 this->next = NULL; +<a name="l00030"></a>00030 } +<a name="l00031"></a>00031 +<a name="l00032"></a>00032 <span class="keywordtype">void</span> reinit(<span class="keywordtype">int</span> ytop) { +<a name="l00033"></a>00033 SpanPack* top = <span class="keyword">this</span>; +<a name="l00034"></a>00034 SpanPack* p; +<a name="l00035"></a>00035 SpanPack* p1; +<a name="l00036"></a>00036 +<a name="l00037"></a>00037 p = top->next; +<a name="l00038"></a>00038 <span class="keywordflow">while</span> (p != NULL) { +<a name="l00039"></a>00039 p1 = p->next; +<a name="l00040"></a>00040 free(p); +<a name="l00041"></a>00041 p = p1; +<a name="l00042"></a>00042 } +<a name="l00043"></a>00043 +<a name="l00044"></a>00044 this->info.start = 0; +<a name="l00045"></a>00045 this->info.size = 0; +<a name="l00046"></a>00046 this->info.y_top = ytop; +<a name="l00047"></a>00047 this->next = NULL; +<a name="l00048"></a>00048 } +<a name="l00049"></a>00049 }; +<a name="l00050"></a>00050 +<a name="l00051"></a>00051 <span class="keyword">typedef</span> SpanPack* SpanPackPtr; +<a name="l00052"></a>00052 +<a name="l00053"></a>00053 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2Span_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,101 @@ +<!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: Span.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>Span.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SPAN</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SPAN</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_TAPESTRY</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "Tapestry.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#ifndef INCLUDED_TYPES</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor"># include "types.h"</span> +<a name="l00010"></a>00010 <span class="preprocessor">#endif</span> +<a name="l00011"></a>00011 <span class="preprocessor"></span> +<a name="l00012"></a>00012 <span class="preprocessor">#define MAX_TILE_LIST 64</span> +<a name="l00013"></a>00013 <span class="preprocessor"></span> +<a name="l00014"></a>00014 <span class="preprocessor">#if 0</span> +<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>tile { +<a name="l00016"></a>00016 <span class="keywordtype">void</span> *tile; +<a name="l00017"></a>00017 <span class="keywordtype">int</span> tix, tiy; +<a name="l00018"></a>00018 <span class="comment">//int padding; // 16ゃ違</span> +<a name="l00019"></a>00019 } TileInfo, *TileInfoPtr; +<a name="l00020"></a>00020 +<a name="l00021"></a>00021 <span class="keyword">typedef</span> <span class="keyword">struct </span>tile_list { +<a name="l00022"></a>00022 <span class="keywordtype">int</span> size; +<a name="l00023"></a>00023 <span class="keyword">struct </span>tile_list *next; +<a name="l00024"></a>00024 <span class="keywordtype">int</span> pad[2]; +<a name="l00025"></a>00025 TileInfo tileinfo[MAX_TILE_LIST]; +<a name="l00026"></a>00026 +<a name="l00027"></a>00027 <span class="keywordtype">void</span> init(<span class="keywordtype">void</span>) { +<a name="l00028"></a>00028 size = 0; +<a name="l00029"></a>00029 next = 0; +<a name="l00030"></a>00030 } +<a name="l00031"></a>00031 } TileInfoList, *TileInfoListPtr; <span class="comment">// 4*4+64*sizeof(Tile) = 16+768</span> +<a name="l00032"></a>00032 <span class="preprocessor">#endif</span> +<a name="l00033"></a>00033 <span class="preprocessor"></span> +<a name="l00034"></a>00034 <span class="keyword">class </span>Span { +<a name="l00035"></a>00035 <span class="keyword">public</span>: +<a name="l00036"></a>00036 uint32 *tex_addr; +<a name="l00037"></a>00037 <span class="keywordtype">int</span> tex_width; +<a name="l00038"></a>00038 <span class="keywordtype">int</span> tex_height; +<a name="l00039"></a>00039 <span class="keywordtype">int</span> x; +<a name="l00040"></a>00040 <span class="keywordtype">int</span> y; +<a name="l00041"></a>00041 <span class="keywordtype">int</span> length_x; +<a name="l00042"></a>00042 <span class="keywordtype">float</span> start_z; +<a name="l00043"></a>00043 <span class="keywordtype">float</span> end_z; +<a name="l00044"></a>00044 <span class="keywordtype">float</span> tex_x1; +<a name="l00045"></a>00045 <span class="keywordtype">float</span> tex_x2; +<a name="l00046"></a>00046 <span class="keywordtype">float</span> tex_y1; +<a name="l00047"></a>00047 <span class="keywordtype">float</span> tex_y2; +<a name="l00048"></a>00048 +<a name="l00049"></a>00049 <span class="preprocessor">#if 0</span> +<a name="l00050"></a>00050 <span class="preprocessor"></span> TileInfoListPtr tilelist; +<a name="l00051"></a>00051 <span class="preprocessor">#endif</span> +<a name="l00052"></a>00052 <span class="preprocessor"></span> +<a name="l00053"></a>00053 <span class="preprocessor">#if 0</span> +<a name="l00054"></a>00054 <span class="preprocessor"></span> <span class="keywordtype">void</span> init(<span class="keywordtype">void</span>) { +<a name="l00055"></a>00055 tilelist = 0; +<a name="l00056"></a>00056 } +<a name="l00057"></a>00057 +<a name="l00058"></a>00058 <span class="keywordtype">void</span> reinit(<span class="keywordtype">void</span>) { +<a name="l00059"></a>00059 TileInfoListPtr tlist = this->tilelist; +<a name="l00060"></a>00060 TileInfoListPtr t; +<a name="l00061"></a>00061 +<a name="l00062"></a>00062 <span class="keywordflow">while</span> (tlist) { +<a name="l00063"></a>00063 t = tlist->next; +<a name="l00064"></a>00064 free(tlist); +<a name="l00065"></a>00065 tlist = t; +<a name="l00066"></a>00066 } +<a name="l00067"></a>00067 +<a name="l00068"></a>00068 tilelist = 0; +<a name="l00069"></a>00069 } +<a name="l00070"></a>00070 <span class="preprocessor">#endif</span> +<a name="l00071"></a>00071 <span class="preprocessor"></span>}; +<a name="l00072"></a>00072 +<a name="l00073"></a>00073 <span class="keyword">typedef</span> Span* SpanPtr; +<a name="l00074"></a>00074 +<a name="l00075"></a>00075 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2demonstration_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,46 @@ +<!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: demonstration.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>demonstration.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_DEMONSTRATION</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_DEMONSTRATION</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_POLYGON</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#include "polygon.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>Demonstration{ +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 Polygon *list; +<a name="l00011"></a>00011 void (Demonstration::*action_demo)(); +<a name="l00012"></a>00012 +<a name="l00013"></a>00013 Demonstration(); +<a name="l00014"></a>00014 <span class="comment">//~Demonstration();</span> +<a name="l00015"></a>00015 <span class="keywordtype">void</span> test_init(); +<a name="l00016"></a>00016 <span class="keywordtype">void</span> test_play(); +<a name="l00017"></a>00017 <span class="keywordtype">void</span> test_end(); +<a name="l00018"></a>00018 }; +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2fb_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,117 @@ +<!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: fb.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>fb.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#if defined(__linux__)</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#include <unistd.h></span> +<a name="l00003"></a>00003 <span class="preprocessor">#include <stdio.h></span> +<a name="l00004"></a>00004 <span class="preprocessor">#include <fcntl.h></span> +<a name="l00005"></a>00005 <span class="preprocessor">#include <linux/fb.h></span> +<a name="l00006"></a>00006 <span class="preprocessor">#include <linux/fs.h></span> +<a name="l00007"></a>00007 <span class="preprocessor">#include <sys/mman.h></span> +<a name="l00008"></a>00008 <span class="preprocessor">#include <sys/ioctl.h></span> +<a name="l00009"></a>00009 <span class="preprocessor">#include <stdlib.h></span> +<a name="l00010"></a>00010 <span class="preprocessor">#include <iostream></span> +<a name="l00011"></a>00011 <span class="keyword">using namespace </span>std; +<a name="l00012"></a>00012 +<a name="l00013"></a>00013 <span class="preprocessor">#define DEVICE_NAME "/dev/fb0"</span> +<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define DIV_BYTE 8</span> +<a name="l00015"></a>00015 <span class="preprocessor"></span> +<a name="l00016"></a>00016 <span class="comment">/* function prototype */</span> +<a name="l00017"></a>00017 <span class="keywordtype">void</span> send_current_error_msg(<span class="keyword">const</span> <span class="keywordtype">char</span> *ptr); +<a name="l00018"></a>00018 <span class="keywordtype">void</span> send_current_information(<span class="keyword">const</span> <span class="keywordtype">char</span> *ptr); +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="keywordtype">int</span> get_fbdev_addr(<span class="keywordtype">void</span>) +<a name="l00021"></a>00021 { +<a name="l00022"></a>00022 <span class="keywordtype">int</span> fd_framebuffer ; +<a name="l00023"></a>00023 <span class="keyword">struct </span>fb_var_screeninfo vinfo; +<a name="l00024"></a>00024 <span class="keyword">struct </span>fb_fix_screeninfo finfo; +<a name="l00025"></a>00025 <span class="keywordtype">long</span> <span class="keywordtype">int</span> screensize ; +<a name="l00026"></a>00026 <span class="comment">//long int location;</span> +<a name="l00027"></a>00027 <span class="keywordtype">char</span> *fbptr ; +<a name="l00028"></a>00028 <span class="keywordtype">char</span> tmp[DIV_BYTE*10]; +<a name="l00029"></a>00029 +<a name="l00030"></a>00030 <span class="comment">//int x , y ;</span> +<a name="l00031"></a>00031 <span class="keywordtype">int</span> xres,yres,vbpp,line_len; +<a name="l00032"></a>00032 <span class="comment">//unsigned short tcolor ;</span> +<a name="l00033"></a>00033 +<a name="l00034"></a>00034 <span class="comment">/* 読み書き用にファイルを開く */</span> +<a name="l00035"></a>00035 fd_framebuffer = open( DEVICE_NAME , O_RDWR); +<a name="l00036"></a>00036 <span class="keywordflow">if</span> ( !fd_framebuffer ) { +<a name="l00037"></a>00037 send_current_error_msg(<span class="stringliteral">"Framebuffer device open error !"</span>); +<a name="l00038"></a>00038 exit(1); +<a name="l00039"></a>00039 } +<a name="l00040"></a>00040 send_current_information(<span class="stringliteral">"The framebuffer device was opened !"</span>); +<a name="l00041"></a>00041 +<a name="l00042"></a>00042 <span class="comment">/* 固定スクリーン情報取得 */</span> +<a name="l00043"></a>00043 <span class="keywordflow">if</span> ( ioctl( fd_framebuffer , FBIOGET_FSCREENINFO , &finfo ) ) { +<a name="l00044"></a>00044 send_current_error_msg(<span class="stringliteral">"Fixed information not gotton !"</span>); +<a name="l00045"></a>00045 exit(2); +<a name="l00046"></a>00046 } +<a name="l00047"></a>00047 +<a name="l00048"></a>00048 <span class="comment">/* 変動スクリーン情報取得 */</span> +<a name="l00049"></a>00049 <span class="keywordflow">if</span> ( ioctl( fd_framebuffer , FBIOGET_VSCREENINFO , &vinfo ) ) { +<a name="l00050"></a>00050 send_current_error_msg(<span class="stringliteral">"Variable information not gotton !"</span>); +<a name="l00051"></a>00051 exit(3); +<a name="l00052"></a>00052 } +<a name="l00053"></a>00053 xres = vinfo.xres ; +<a name="l00054"></a>00054 yres = vinfo.yres ; +<a name="l00055"></a>00055 vbpp = vinfo.bits_per_pixel ; +<a name="l00056"></a>00056 line_len = finfo.line_length ; +<a name="l00057"></a>00057 sprintf( tmp , <span class="stringliteral">"%d(pixel)x%d(line), %dbpp(bits per pixel)"</span>,xres,yres,vbpp); +<a name="l00058"></a>00058 send_current_information( tmp ); +<a name="l00059"></a>00059 +<a name="l00060"></a>00060 <span class="comment">/* バイト単位でのスクリーンのサイズを計算 */</span> +<a name="l00061"></a>00061 screensize = xres * yres * vbpp / DIV_BYTE ; +<a name="l00062"></a>00062 +<a name="l00063"></a>00063 <span class="comment">/* デバイスをメモリにマップする */</span> +<a name="l00064"></a>00064 fbptr = (<span class="keywordtype">char</span> *)mmap(0,screensize,PROT_READ | PROT_WRITE,MAP_SHARED,fd_framebuffer,0); +<a name="l00065"></a>00065 <span class="keywordflow">if</span> ( (<span class="keywordtype">int</span>)fbptr == -1 ) { +<a name="l00066"></a>00066 send_current_error_msg(<span class="stringliteral">"Don't get framebuffer device to memory !"</span>); +<a name="l00067"></a>00067 exit(4); +<a name="l00068"></a>00068 } +<a name="l00069"></a>00069 send_current_information(<span class="stringliteral">"The framebuffer device was mapped !"</span>); +<a name="l00070"></a>00070 +<a name="l00071"></a>00071 printf(<span class="stringliteral">"fb: 0x%x \n"</span>, (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)fbptr); +<a name="l00072"></a>00072 <span class="keywordflow">return</span> (<span class="keywordtype">int</span>)fbptr; +<a name="l00073"></a>00073 <span class="comment">//munmap(fbptr,screensize);</span> +<a name="l00074"></a>00074 <span class="comment">//close(fd_framebuffer);</span> +<a name="l00075"></a>00075 <span class="comment">//return 0;</span> +<a name="l00076"></a>00076 } +<a name="l00077"></a>00077 +<a name="l00078"></a>00078 <span class="keywordtype">void</span> send_current_error_msg(<span class="keyword">const</span> <span class="keywordtype">char</span> *ptr) +<a name="l00079"></a>00079 { +<a name="l00080"></a>00080 fprintf( stderr , <span class="stringliteral">"%s\n"</span> , ptr ); +<a name="l00081"></a>00081 } +<a name="l00082"></a>00082 +<a name="l00083"></a>00083 <span class="keywordtype">void</span> send_current_information(<span class="keyword">const</span> <span class="keywordtype">char</span> *ptr) +<a name="l00084"></a>00084 { +<a name="l00085"></a>00085 fprintf( stdout , <span class="stringliteral">"%s\n"</span> , ptr ); +<a name="l00086"></a>00086 } +<a name="l00087"></a>00087 <span class="preprocessor">#else </span><span class="comment">/* !defined(__linux__) */</span> +<a name="l00088"></a>00088 <span class="keywordtype">int</span> get_fbdev_addr(<span class="keywordtype">void</span>) {<span class="keywordflow">return</span> 0;} +<a name="l00089"></a>00089 <span class="preprocessor">#endif </span><span class="comment">/* defined(__linux__) */</span> +<a name="l00090"></a>00090 +<a name="l00091"></a>00091 <span class="keyword">extern</span> <span class="keywordtype">int</span> get_fbdev_addr(<span class="keywordtype">void</span>); +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2polygon_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,88 @@ +<!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: polygon.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>polygon.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_POLYGON</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_POLYGON</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_VIEWER</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "viewer.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#include <libxml/parser.h></span> +<a name="l00009"></a>00009 +<a name="l00010"></a>00010 <span class="preprocessor">#ifndef INCLUDED_POLYGON_PACK</span> +<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor"># include "polygon_pack.h"</span> +<a name="l00012"></a>00012 <span class="preprocessor">#endif</span> +<a name="l00013"></a>00013 <span class="preprocessor"></span> +<a name="l00014"></a>00014 <span class="preprocessor">#ifndef INCLUDED_SPAN_PACK</span> +<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor"># include "SpanPack.h"</span> +<a name="l00016"></a>00016 <span class="preprocessor">#endif</span> +<a name="l00017"></a>00017 <span class="preprocessor"></span> +<a name="l00018"></a>00018 <span class="preprocessor">#ifndef INCLUDED_TEXTURE</span> +<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor"># include "texture.h"</span> +<a name="l00020"></a>00020 <span class="preprocessor">#endif</span> +<a name="l00021"></a>00021 <span class="preprocessor"></span> +<a name="l00022"></a>00022 <span class="keyword">class </span>Polygon { +<a name="l00023"></a>00023 <span class="keyword">public</span>: +<a name="l00024"></a>00024 <span class="keywordtype">long</span> <span class="keywordtype">long</span> size; +<a name="l00025"></a>00025 <span class="keyword">const</span> <span class="keywordtype">char</span> *name; +<a name="l00026"></a>00026 <span class="keyword">const</span> <span class="keywordtype">char</span> *parent_name; +<a name="l00027"></a>00027 +<a name="l00028"></a>00028 <span class="comment">//float *data; //"vertex" and "normal" and "texture"</span> +<a name="l00029"></a>00029 <span class="keywordtype">float</span> *coord_xyz; <span class="comment">// vertex coordinate array</span> +<a name="l00030"></a>00030 <span class="keywordtype">float</span> *coord_tex; <span class="comment">// texture coordinate array</span> +<a name="l00031"></a>00031 <span class="keywordtype">float</span> *normal; <span class="comment">// normal vector array</span> +<a name="l00032"></a>00032 <span class="keywordtype">float</span> xyz[4]; <span class="comment">// position</span> +<a name="l00033"></a>00033 <span class="keywordtype">float</span> angle[4]; <span class="comment">// angle</span> +<a name="l00034"></a>00034 <span class="keywordtype">float</span> c_xyz[4]; <span class="comment">// center of rotation</span> +<a name="l00035"></a>00035 <span class="keywordtype">float</span> matrix[16]; +<a name="l00036"></a>00036 <span class="keywordtype">float</span> *anim; +<a name="l00037"></a>00037 <span class="keywordtype">int</span> texture_id; <span class="comment">//texture id number</span> +<a name="l00038"></a>00038 <span class="keyword">struct </span>texture_list texture_info; +<a name="l00039"></a>00039 +<a name="l00040"></a>00040 <span class="keyword">static</span> SDL_Surface* texture_image; <span class="comment">// pointer of this surface's texture</span> +<a name="l00041"></a>00041 +<a name="l00042"></a>00042 Polygon(<span class="keywordtype">void</span>); +<a name="l00043"></a>00043 +<a name="l00044"></a>00044 <span class="keywordtype">void</span> parameter_change(<span class="keywordtype">char</span> *name, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> z, <span class="keywordtype">float</span> ax, <span class="keywordtype">float</span> ay, <span class="keywordtype">float</span> az); +<a name="l00045"></a>00045 <span class="comment">//void load_texture(char *image_name);</span> +<a name="l00046"></a>00046 <span class="comment">//void draw(float *stack);</span> +<a name="l00047"></a>00047 <span class="comment">//void draw(SceneGraphPack *sgp);</span> +<a name="l00048"></a>00048 <span class="comment">//void draw(PolygonPack *pp);</span> +<a name="l00049"></a>00049 <span class="comment">//void draw(SpanPack *sp);</span> +<a name="l00050"></a>00050 Uint32 get_rgb(<span class="keywordtype">int</span> tx, <span class="keywordtype">int</span> ty); +<a name="l00051"></a>00051 +<a name="l00052"></a>00052 <span class="keyword">public</span>: +<a name="l00053"></a>00053 <span class="keywordtype">void</span> position_init(<span class="keywordtype">void</span>); +<a name="l00054"></a>00054 +<a name="l00055"></a>00055 <span class="keywordtype">void</span> tree_draw(); +<a name="l00056"></a>00056 <span class="keywordtype">void</span> pickup_coordinate(<span class="keywordtype">char</span> *cont); +<a name="l00057"></a>00057 <span class="keywordtype">void</span> pickup_normal(<span class="keywordtype">char</span> *cont); +<a name="l00058"></a>00058 <span class="keywordtype">void</span> pickup_model(<span class="keywordtype">char</span> *cont); +<a name="l00059"></a>00059 <span class="keywordtype">void</span> pickup_texture(<span class="keywordtype">char</span> *cont); +<a name="l00060"></a>00060 }; +<a name="l00061"></a>00061 +<a name="l00062"></a>00062 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2polygon__pack_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,94 @@ +<!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: polygon_pack.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>polygon_pack.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_POLYGON_PACK</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_POLYGON_PACK</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_TYPES</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "types.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#define MAX_SIZE_TRIANGLE 128</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span> +<a name="l00010"></a>00010 <span class="keyword">typedef</span> <span class="keyword">struct </span>VertexPack { +<a name="l00011"></a>00011 <span class="keywordtype">float</span> x; +<a name="l00012"></a>00012 <span class="keywordtype">float</span> y; +<a name="l00013"></a>00013 <span class="keywordtype">float</span> z; +<a name="l00014"></a>00014 <span class="keywordtype">float</span> tex_x; +<a name="l00015"></a>00015 <span class="keywordtype">float</span> tex_y; +<a name="l00016"></a>00016 } VertexPack, *VertexPackPtr; <span class="comment">// 20</span> +<a name="l00017"></a>00017 +<a name="l00018"></a>00018 <span class="keyword">typedef</span> <span class="keyword">struct </span>TriTexInfo { +<a name="l00019"></a>00019 uint32 *addr; +<a name="l00020"></a>00020 <span class="keywordtype">int</span> width; +<a name="l00021"></a>00021 <span class="keywordtype">int</span> height; +<a name="l00022"></a>00022 <span class="keywordtype">int</span> scale_max; +<a name="l00023"></a>00023 } TriangleTexInfo, *TriangleTexInfoPtr; <span class="comment">// 16</span> +<a name="l00024"></a>00024 +<a name="l00025"></a>00025 <span class="keyword">typedef</span> <span class="keyword">struct </span>TrianglePack { +<a name="l00026"></a>00026 TriTexInfo tex_info; +<a name="l00027"></a>00027 VertexPack ver1; +<a name="l00028"></a>00028 VertexPack ver2; +<a name="l00029"></a>00029 VertexPack ver3; +<a name="l00030"></a>00030 } TrianglePack, *TrianglePackPtr; +<a name="l00031"></a>00031 +<a name="l00032"></a>00032 +<a name="l00033"></a>00033 <span class="keyword">typedef</span> <span class="keyword">struct </span>PolygonPack { +<a name="l00034"></a>00034 <span class="keyword">struct </span>PORIGON_info { +<a name="l00035"></a>00035 <span class="keywordtype">int</span> size; +<a name="l00036"></a>00036 <span class="keywordtype">int</span> light_pos[3]; +<a name="l00037"></a>00037 <span class="keywordtype">int</span> light_rgb[3]; +<a name="l00038"></a>00038 }info; +<a name="l00039"></a>00039 +<a name="l00040"></a>00040 TrianglePack tri[MAX_SIZE_TRIANGLE]; +<a name="l00041"></a>00041 +<a name="l00042"></a>00042 PolygonPack* next; +<a name="l00043"></a>00043 +<a name="l00044"></a>00044 <span class="keywordtype">void</span> init(<span class="keywordtype">void</span>) { +<a name="l00045"></a>00045 info.size = 0; +<a name="l00046"></a>00046 next = 0; +<a name="l00047"></a>00047 } +<a name="l00048"></a>00048 +<a name="l00049"></a>00049 <span class="keywordtype">void</span> clear(<span class="keywordtype">void</span>) { +<a name="l00050"></a>00050 PolygonPack *q = 0; +<a name="l00051"></a>00051 PolygonPack *q1 = 0; +<a name="l00052"></a>00052 +<a name="l00053"></a>00053 q = this->next; +<a name="l00054"></a>00054 <span class="keywordflow">while</span> (q) { +<a name="l00055"></a>00055 q1 = q->next; +<a name="l00056"></a>00056 <span class="keyword">delete</span>(q); +<a name="l00057"></a>00057 q = q1; +<a name="l00058"></a>00058 } +<a name="l00059"></a>00059 this->init(); +<a name="l00060"></a>00060 } +<a name="l00061"></a>00061 } PolygonPack, *PolygonPackPtr; <span class="comment">// 4*7 + 76*128 + 4 = 9760</span> +<a name="l00062"></a>00062 +<a name="l00063"></a>00063 <span class="keyword">typedef</span> <span class="keyword">struct </span>PolygonPackList { +<a name="l00064"></a>00064 <span class="keywordtype">int</span> size; +<a name="l00065"></a>00065 PolygonPack *list; +<a name="l00066"></a>00066 } PolygonPackList; +<a name="l00067"></a>00067 +<a name="l00068"></a>00068 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2scene_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,46 @@ +<!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: scene.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>scene.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SCENE</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SCENE</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_POLYGON</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#include "polygon.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>Scene{ +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 Polygon *list; +<a name="l00011"></a>00011 Demonstration *demo; +<a name="l00012"></a>00012 void (Scene::*action_scene)(); +<a name="l00013"></a>00013 +<a name="l00014"></a>00014 Scene(); +<a name="l00015"></a>00015 <span class="keywordtype">void</span> title_init(); +<a name="l00016"></a>00016 <span class="keywordtype">void</span> title(); +<a name="l00017"></a>00017 <span class="keywordtype">void</span> title_end(); +<a name="l00018"></a>00018 }; +<a name="l00019"></a>00019 +<a name="l00020"></a>00020 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2scene__graph__pack_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,103 @@ +<!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: scene_graph_pack.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>scene_graph_pack.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_SCENE_GRAPH_PACK</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_SCENE_GRAPH_PACK</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCENE_GRAPH</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "SceneGraph.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#ifndef INCLUDED_TYPES</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor"># include "types.h"</span> +<a name="l00010"></a>00010 <span class="preprocessor">#endif</span> +<a name="l00011"></a>00011 <span class="preprocessor"></span> +<a name="l00012"></a>00012 <span class="preprocessor">#define MAX_NODE 16</span> +<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#define MAX_POLYGON 36</span> +<a name="l00014"></a>00014 <span class="preprocessor"></span> +<a name="l00015"></a>00015 <span class="keyword">typedef</span> <span class="keyword">struct </span>SceneGraphNode { +<a name="l00016"></a>00016 <span class="keywordtype">int</span> size; <span class="comment">// Node т戎c眼潟違с</span> +<a name="l00017"></a>00017 <span class="keywordtype">float</span> vertex[MAX_POLYGON*3]; +<a name="l00018"></a>00018 <span class="keywordtype">float</span> texture[MAX_POLYGON*2]; +<a name="l00019"></a>00019 <span class="keywordtype">float</span> obj_pos[4]; +<a name="l00020"></a>00020 <span class="keywordtype">float</span> angle[4]; +<a name="l00021"></a>00021 <span class="keywordtype">float</span> translation[16]; +<a name="l00022"></a>00022 uint32 *tex_addr; +<a name="l00023"></a>00023 <span class="keywordtype">int</span> tex_width, tex_height; +<a name="l00024"></a>00024 <span class="keywordtype">int</span> id; +<a name="l00025"></a>00025 <span class="keywordtype">int</span> move, interaction; +<a name="l00026"></a>00026 <span class="keywordtype">int</span> pn; <span class="comment">// parent number?</span> +<a name="l00027"></a>00027 SceneGraphNode *next; +<a name="l00028"></a>00028 <span class="keywordtype">int</span> pad[3]; +<a name="l00029"></a>00029 SceneGraphPtr <span class="keyword">self</span>; +<a name="l00030"></a>00030 SceneGraphPtr tree; +<a name="l00031"></a>00031 +<a name="l00032"></a>00032 <span class="keywordtype">void</span> init(<span class="keywordtype">void</span>) { +<a name="l00033"></a>00033 size = 0; +<a name="l00034"></a>00034 next = 0; +<a name="l00035"></a>00035 } +<a name="l00036"></a>00036 +<a name="l00037"></a>00037 <span class="keywordtype">void</span> finish(<span class="keywordtype">void</span>) { +<a name="l00038"></a>00038 SceneGraphNode *p = this->next, *p1; +<a name="l00039"></a>00039 +<a name="l00040"></a>00040 <span class="keywordflow">while</span> (p) { +<a name="l00041"></a>00041 p1 = p->next; +<a name="l00042"></a>00042 free(p); +<a name="l00043"></a>00043 p = p1; +<a name="l00044"></a>00044 } +<a name="l00045"></a>00045 } +<a name="l00046"></a>00046 }SceneGraphNode, *SceneGraphNodePtr; +<a name="l00047"></a>00047 +<a name="l00048"></a>00048 <span class="keyword">typedef</span> <span class="keyword">struct </span>SceneGraphInfo { +<a name="l00049"></a>00049 <span class="keywordtype">int</span> size; +<a name="l00050"></a>00050 <span class="keywordtype">int</span> pad[2]; +<a name="l00051"></a>00051 }SceneGraphInfo; +<a name="l00052"></a>00052 +<a name="l00053"></a>00053 <span class="keyword">typedef</span> <span class="keyword">struct </span>SceneGraphPack { +<a name="l00054"></a>00054 SceneGraphInfo info; +<a name="l00055"></a>00055 SceneGraphNode node[MAX_NODE]; +<a name="l00056"></a>00056 SceneGraphPack *next; +<a name="l00057"></a>00057 +<a name="l00058"></a>00058 <span class="keywordtype">void</span> init(<span class="keywordtype">void</span>){ +<a name="l00059"></a>00059 next = 0; +<a name="l00060"></a>00060 info.size = 0; +<a name="l00061"></a>00061 +<a name="l00062"></a>00062 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < MAX_NODE; i++) { +<a name="l00063"></a>00063 node[i].size = 0; +<a name="l00064"></a>00064 } +<a name="l00065"></a>00065 } +<a name="l00066"></a>00066 +<a name="l00067"></a>00067 <span class="keywordtype">void</span> finish(<span class="keywordtype">void</span>) { +<a name="l00068"></a>00068 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < info.size; i++) { +<a name="l00069"></a>00069 node[i].finish(); +<a name="l00070"></a>00070 } +<a name="l00071"></a>00071 +<a name="l00072"></a>00072 next = 0; +<a name="l00073"></a>00073 info.size = 0; +<a name="l00074"></a>00074 } +<a name="l00075"></a>00075 } SceneGraphPack, *SceneGraphPackPtr; +<a name="l00076"></a>00076 +<a name="l00077"></a>00077 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2spe_2Load__Texture_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,45 @@ +<!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: Load_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>Load_Texture.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TASK_LOAD_TEXTURE</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TASK_LOAD_TEXTURE</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#ifndef INCLUDED_TAPESTRY</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor"># include "Tapestry.h"</span> +<a name="l00010"></a>00010 <span class="preprocessor">#endif</span> +<a name="l00011"></a>00011 <span class="preprocessor"></span> +<a name="l00012"></a>00012 <span class="keyword">class </span>LoadTexture : <span class="keyword">public</span> SchedTask { +<a name="l00013"></a>00013 <span class="keyword">public</span>: +<a name="l00014"></a>00014 SchedConstructor(LoadTexture); +<a name="l00015"></a>00015 +<a name="l00016"></a>00016 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *rbuf, <span class="keywordtype">void</span> *wbuf); +<a name="l00017"></a>00017 }; +<a name="l00018"></a>00018 +<a name="l00019"></a>00019 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2spe_2texture_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,29 @@ +<!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: 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>texture.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define MAX_LOAD_SIZE 16384</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define TEXTURE_ID 0</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define TEXTURE2_ID 13</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2sys_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,45 @@ +<!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: sys.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>sys.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keywordtype">void</span> noMoreMemory(); +<a name="l00002"></a>00002 <span class="keywordtype">void</span> get_matrix(<span class="keywordtype">float</span> *matrix, <span class="keywordtype">float</span> *rxyz, <span class="keywordtype">float</span> *txyz, <span class="keywordtype">float</span> *stack); +<a name="l00003"></a>00003 <span class="keywordtype">void</span> rotate_x(<span class="keywordtype">float</span> *xyz, <span class="keywordtype">float</span> r); +<a name="l00004"></a>00004 <span class="keywordtype">void</span> rotate_y(<span class="keywordtype">float</span> *xyz, <span class="keywordtype">float</span> r); +<a name="l00005"></a>00005 <span class="keywordtype">void</span> rotate_z(<span class="keywordtype">float</span> *xyz, <span class="keywordtype">float</span> r); +<a name="l00006"></a>00006 <span class="comment">//void rotate(float *xyz, float *matrix, float *rxyz, float *txyz, float *stack[]);</span> +<a name="l00007"></a>00007 <span class="keywordtype">void</span> rotate(<span class="keywordtype">float</span> *xyz, <span class="keywordtype">float</span> *matrix); +<a name="l00008"></a>00008 <span class="keywordtype">void</span> translate(<span class="keywordtype">float</span> *xyz, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> z); +<a name="l00009"></a>00009 <span class="keywordtype">void</span> matrix4x4(<span class="keywordtype">float</span> *, <span class="keywordtype">float</span> *, <span class="keywordtype">float</span> *); +<a name="l00010"></a>00010 +<a name="l00011"></a>00011 <span class="keywordtype">void</span> normalize(<span class="keywordtype">float</span> *v0, <span class="keywordtype">float</span> *v1); +<a name="l00012"></a>00012 <span class="keywordtype">void</span> subVector(<span class="keywordtype">float</span> *v0, <span class="keywordtype">float</span> *v1, <span class="keywordtype">float</span> *v2); +<a name="l00013"></a>00013 <span class="keywordtype">void</span> outerProduct(<span class="keywordtype">float</span> *v0, <span class="keywordtype">float</span> *v1, <span class="keywordtype">float</span> *v2); +<a name="l00014"></a>00014 <span class="keywordtype">float</span> innerProduct(<span class="keywordtype">float</span> *v0, <span class="keywordtype">float</span> *v1); +<a name="l00015"></a>00015 <span class="keywordtype">void</span> applyMatrix(<span class="keywordtype">float</span> *v0, <span class="keywordtype">float</span> *m, <span class="keywordtype">float</span> *v1); +<a name="l00016"></a>00016 <span class="keywordtype">void</span> inversMatrix(<span class="keywordtype">float</span> *m0, <span class="keywordtype">float</span> *m1); +<a name="l00017"></a>00017 <span class="keywordtype">void</span> transposeMatrix(<span class="keywordtype">float</span> *m0, <span class="keywordtype">float</span> *m1); +<a name="l00018"></a>00018 <span class="keywordtype">void</span> unitMatrix(<span class="keywordtype">float</span> *m); +<a name="l00019"></a>00019 <span class="keywordtype">void</span> transMatrix(<span class="keywordtype">float</span> *m0, <span class="keywordtype">float</span> *m1, <span class="keywordtype">float</span> *v); +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2task_2Load__Texture_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,45 @@ +<!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: Load_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>Load_Texture.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TASK_LOAD_TEXTURE</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TASK_LOAD_TEXTURE</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_SCHED_TASK</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#include "SchedTask.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="preprocessor">#ifndef INCLUDED_TAPESTRY</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor"># include "Tapestry.h"</span> +<a name="l00010"></a>00010 <span class="preprocessor">#endif</span> +<a name="l00011"></a>00011 <span class="preprocessor"></span> +<a name="l00012"></a>00012 <span class="keyword">class </span>LoadTexture : <span class="keyword">public</span> SchedTask { +<a name="l00013"></a>00013 <span class="keyword">public</span>: +<a name="l00014"></a>00014 SchedConstructor(LoadTexture); +<a name="l00015"></a>00015 +<a name="l00016"></a>00016 <span class="keywordtype">int</span> run(<span class="keywordtype">void</span> *rbuf, <span class="keywordtype">void</span> *wbuf); +<a name="l00017"></a>00017 }; +<a name="l00018"></a>00018 +<a name="l00019"></a>00019 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2task_2texture_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,29 @@ +<!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: 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>texture.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define MAX_LOAD_SIZE 16384</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define TEXTURE_ID 0</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define TEXTURE2_ID 13</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2texture_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,43 @@ +<!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: 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>texture.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_TEXTURE</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_TEXTURE</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#if 0 // c純 OpenGL 篏睡榊</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#include <SDL.h></span> +<a name="l00006"></a>00006 <span class="preprocessor">#include <SDL_opengl.h></span> +<a name="l00007"></a>00007 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord) +<a name="l00008"></a>00008 <span class="preprocessor">#endif</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span> +<a name="l00010"></a>00010 <span class="keyword">struct </span>texture_list { +<a name="l00011"></a>00011 <span class="keywordtype">int</span> t_w, t_h; +<a name="l00012"></a>00012 Uint32 *pixels_orig; +<a name="l00013"></a>00013 Uint32 *pixels; +<a name="l00014"></a>00014 <span class="keywordtype">int</span> scale_max; +<a name="l00015"></a>00015 }; +<a name="l00016"></a>00016 +<a name="l00017"></a>00017 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2triangle_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,39 @@ +<!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: triangle.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>triangle.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDE_Triangle</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDE_Triangle</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#include "vertex.h"</span> +<a name="l00005"></a>00005 +<a name="l00006"></a>00006 <span class="keyword">class </span>Triangle { +<a name="l00007"></a>00007 <span class="keyword">public</span>: +<a name="l00008"></a>00008 Vertex *vertex1,*vertex2,*vertex3; +<a name="l00009"></a>00009 +<a name="l00010"></a>00010 Triangle(Vertex *tmp_vertex1,Vertex *tmp_vertex2,Vertex *tmp_vertex3); +<a name="l00011"></a>00011 }; +<a name="l00012"></a>00012 +<a name="l00013"></a>00013 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2vertex_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,37 @@ +<!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: vertex.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>vertex.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDE_VERTEX</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDE_VERTEX</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="keyword">class </span>Vertex { +<a name="l00005"></a>00005 <span class="keyword">public</span>: +<a name="l00006"></a>00006 <span class="keywordtype">float</span> x,y,z,tex_x,tex_y; +<a name="l00007"></a>00007 +<a name="l00008"></a>00008 Vertex(<span class="keywordtype">float</span> tmp_x, <span class="keywordtype">float</span> tmp_y, <span class="keywordtype">float</span> tmp_z,<span class="keywordtype">float</span> tmp_tex_x, <span class="keywordtype">float</span> tmp_tex_y); +<a name="l00009"></a>00009 }; +<a name="l00010"></a>00010 +<a name="l00011"></a>00011 <span class="preprocessor">#endif</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2viewer_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,71 @@ +<!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: viewer.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>viewer.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_VIEWER</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_VIEWER</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#include <SDL.h></span> +<a name="l00005"></a>00005 +<a name="l00006"></a>00006 <span class="preprocessor">#ifndef INCLUDED_VIEWER_TYPES</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span><span class="preprocessor"># include "viewer_types.h"</span> +<a name="l00008"></a>00008 <span class="preprocessor">#endif</span> +<a name="l00009"></a>00009 <span class="preprocessor"></span> +<a name="l00010"></a>00010 <span class="keyword">class </span>Viewer { +<a name="l00011"></a>00011 <span class="keyword">public</span>: +<a name="l00012"></a>00012 Viewer(<span class="keywordtype">int</span> bpp, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> spenum); +<a name="l00013"></a>00013 +<a name="l00014"></a>00014 <span class="keyword">virtual</span> ~Viewer(<span class="keywordtype">void</span>) {} +<a name="l00015"></a>00015 +<a name="l00016"></a>00016 <span class="comment">/* screen info */</span> +<a name="l00017"></a>00017 <span class="keywordtype">int</span> width; +<a name="l00018"></a>00018 <span class="keywordtype">int</span> height; +<a name="l00019"></a>00019 <span class="keywordtype">int</span> bpp; +<a name="l00020"></a>00020 +<a name="l00021"></a>00021 <span class="keywordtype">int</span> spe_num; +<a name="l00022"></a>00022 +<a name="l00023"></a>00023 <span class="keywordtype">int</span> rgb_size[3]; +<a name="l00024"></a>00024 Uint32 video_flags; +<a name="l00025"></a>00025 Uint32 *pixels; +<a name="l00026"></a>00026 +<a name="l00027"></a>00027 <span class="keyword">virtual</span> <span class="keywordtype">void</span> video_init(<span class="keywordtype">void</span>) = 0; +<a name="l00028"></a>00028 <span class="keywordtype">void</span> init(); +<a name="l00029"></a>00029 +<a name="l00030"></a>00030 <span class="keywordtype">int</span> get_ticks(); +<a name="l00031"></a>00031 <span class="keywordtype">bool</span> quit_check(); +<a name="l00032"></a>00032 <span class="keywordtype">void</span> quit(); +<a name="l00033"></a>00033 +<a name="l00034"></a>00034 <span class="keyword">virtual</span> <span class="keywordtype">void</span> swap_buffers(); +<a name="l00035"></a>00035 <span class="keyword">virtual</span> <span class="keywordtype">void</span> clean_pixels() {} +<a name="l00036"></a>00036 +<a name="l00037"></a>00037 <span class="keyword">virtual</span> <span class="keywordtype">void</span> run_init(<span class="keyword">const</span> <span class="keywordtype">char</span> *xml, <span class="keywordtype">int</span> sg_number); +<a name="l00038"></a>00038 <span class="keyword">virtual</span> <span class="keywordtype">void</span> run_loop(<span class="keywordtype">void</span>); +<a name="l00039"></a>00039 <span class="keyword">virtual</span> <span class="keywordtype">void</span> run_draw(<span class="keywordtype">void</span>); +<a name="l00040"></a>00040 <span class="keyword">virtual</span> <span class="keywordtype">void</span> run_finish(<span class="keywordtype">void</span>); +<a name="l00041"></a>00041 }; +<a name="l00042"></a>00042 +<a name="l00043"></a>00043 <span class="preprocessor">#endif</span> +<a name="l00044"></a>00044 <span class="preprocessor"></span> +<a name="l00045"></a>00045 <span class="preprocessor">#define default_sdl_flag SDL_INIT_TIMER | SDL_INIT_JOYSTICK</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2viewer__types_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,59 @@ +<!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: viewer_types.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>viewer_types.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_VIEWER_TYPES</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_VIEWER_TYPES</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="comment">// texture は 8x8 に分割</span> +<a name="l00005"></a>00005 <span class="comment">// この値は、SpanPack にも使う</span> +<a name="l00006"></a>00006 <span class="keyword">const</span> <span class="keywordtype">int</span> TEXTURE_SPLIT_PIXEL = 8; +<a name="l00007"></a>00007 <span class="keyword">const</span> <span class="keywordtype">int</span> TEXTURE_BLOCK_SIZE = TEXTURE_SPLIT_PIXEL*TEXTURE_SPLIT_PIXEL; +<a name="l00008"></a>00008 +<a name="l00009"></a>00009 <span class="comment">// 一個の SPE が描画担当する width, height (pixel)</span> +<a name="l00010"></a>00010 <span class="keyword">const</span> <span class="keywordtype">int</span> split_screen_w = 256; +<a name="l00011"></a>00011 <span class="keyword">const</span> <span class="keywordtype">int</span> split_screen_h = 8; +<a name="l00012"></a>00012 +<a name="l00013"></a>00013 <span class="keyword">enum</span> video_type { +<a name="l00014"></a>00014 VTYPE_SDL, +<a name="l00015"></a>00015 VTYPE_FB, +<a name="l00016"></a>00016 }; +<a name="l00017"></a>00017 +<a name="l00018"></a>00018 <span class="preprocessor">#if defined(__LITTLE_ENDIAN__) </span> +<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="keyword">const</span> <span class="keywordtype">int</span> redMask = 0x0000ff00; +<a name="l00020"></a>00020 <span class="keyword">const</span> <span class="keywordtype">int</span> greenMask = 0x00ff0000; +<a name="l00021"></a>00021 <span class="keyword">const</span> <span class="keywordtype">int</span> blueMask = 0xff000000; +<a name="l00022"></a>00022 <span class="keyword">const</span> <span class="keywordtype">int</span> alphaMask = 0x000000ff; +<a name="l00023"></a>00023 <span class="preprocessor">#else</span> +<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="keyword">const</span> <span class="keywordtype">int</span> redMask = 0x00ff0000; +<a name="l00025"></a>00025 <span class="keyword">const</span> <span class="keywordtype">int</span> greenMask = 0x0000ff00; +<a name="l00026"></a>00026 <span class="keyword">const</span> <span class="keywordtype">int</span> blueMask = 0x000000ff; +<a name="l00027"></a>00027 <span class="keyword">const</span> <span class="keywordtype">int</span> alphaMask = 0xff000000; +<a name="l00028"></a>00028 <span class="preprocessor">#endif</span> +<a name="l00029"></a>00029 <span class="preprocessor"></span> +<a name="l00030"></a>00030 <span class="keyword">extern</span> <span class="keywordtype">int</span> getLocalX(<span class="keywordtype">int</span> x); +<a name="l00031"></a>00031 <span class="keyword">extern</span> <span class="keywordtype">int</span> getLocalY(<span class="keywordtype">int</span> y); +<a name="l00032"></a>00032 +<a name="l00033"></a>00033 <span class="preprocessor">#endif</span> +</pre></div></div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2xml_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,28 @@ +<!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: xml.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>xml.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keywordtype">char</span> *skip_to_number(<span class="keywordtype">char</span> *cont); +<a name="l00002"></a>00002 <span class="keywordtype">char</span> *pickup_float(<span class="keywordtype">char</span> *cont, <span class="keywordtype">float</span> *index); +</pre></div></div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2xml__file_2cube_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,27 @@ +<!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: cube.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>cube.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define Cube scene_graph</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/test__render_2xml__file_2cube__big_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,27 @@ +<!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: cube_big.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>cube_big.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define BigCube scene_graph</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/universe_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,28 @@ +<!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: universe.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>universe.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#define Earth scene_graph</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define Moon scene_graph->next</span> +</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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/viewerFB_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,44 @@ +<!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: viewerFB.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>viewerFB.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_VIEWER_FB</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_VIEWER_FB</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_VIEWER</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "viewer.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>ViewerFB : <span class="keyword">public</span> Viewer { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 ViewerFB(<span class="keywordtype">int</span> bpp, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> spenum) +<a name="l00011"></a>00011 :Viewer(bpp, width, height, spenum) {} +<a name="l00012"></a>00012 +<a name="l00013"></a>00013 <span class="comment">/* override function */</span> +<a name="l00014"></a>00014 <span class="keywordtype">void</span> video_init(<span class="keywordtype">void</span>); +<a name="l00015"></a>00015 <span class="keywordtype">void</span> clean_pixels(<span class="keywordtype">void</span>); +<a name="l00016"></a>00016 }; +<a name="l00017"></a>00017 +<a name="l00018"></a>00018 <span class="preprocessor">#endif</span> +</pre></div></div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/html/viewerSDL_8h-source.html Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,49 @@ +<!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: viewerSDL.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>viewerSDL.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef INCLUDED_VIEWER_SDL</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define INCLUDED_VIEWER_SDL</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00004"></a>00004 <span class="preprocessor">#ifndef INCLUDED_VIEWER</span> +<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor"># include "viewer.h"</span> +<a name="l00006"></a>00006 <span class="preprocessor">#endif</span> +<a name="l00007"></a>00007 <span class="preprocessor"></span> +<a name="l00008"></a>00008 <span class="keyword">class </span>ViewerSDL : <span class="keyword">public</span> Viewer { +<a name="l00009"></a>00009 <span class="keyword">public</span>: +<a name="l00010"></a>00010 ViewerSDL(<span class="keywordtype">int</span> bpp, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> spenum) +<a name="l00011"></a>00011 :Viewer(bpp, width, height, spenum) {} +<a name="l00012"></a>00012 +<a name="l00013"></a>00013 SDL_Surface *screen; +<a name="l00014"></a>00014 SDL_Surface *bitmap; +<a name="l00015"></a>00015 +<a name="l00016"></a>00016 <span class="comment">/* override function */</span> +<a name="l00017"></a>00017 <span class="keywordtype">void</span> video_init(<span class="keywordtype">void</span>); +<a name="l00018"></a>00018 <span class="keywordtype">void</span> clean_pixels(); +<a name="l00019"></a>00019 <span class="keywordtype">void</span> run_loop(<span class="keywordtype">void</span>); +<a name="l00020"></a>00020 <span class="keywordtype">void</span> run_finish(<span class="keywordtype">void</span>); +<a name="l00021"></a>00021 }; +<a name="l00022"></a>00022 +<a name="l00023"></a>00023 <span class="preprocessor">#endif</span> +</pre></div></div> +<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 17:51:28 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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/latex/annotated.tex Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,5 @@ +\section{Class List} +Here are the classes, structs, unions and interfaces with brief descriptions:\begin{CompactList} +\item\contentsline{section}{\hyperlink{structtexture__block}{texture\_\-block} }{\pageref{structtexture__block}}{} +\item\contentsline{section}{\hyperlink{classTileList}{TileList} }{\pageref{classTileList}}{} +\end{CompactList}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/latex/classTileList.tex Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,60 @@ +\hypertarget{classTileList}{ +\section{TileList Class Reference} +\label{classTileList}\index{TileList@{TileList}} +} +{\tt \#include $<$Tapestry.h$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +TilePtr \hyperlink{classTileList_e74c2d4e781fdde223961c00d75a791c}{nextTile} (void) +\item +void \hyperlink{classTileList_81f144e0c87ba9a92c8e4a10990caeb5}{clear} (void) +\end{CompactItemize} +\subsection*{Public Attributes} +\begin{CompactItemize} +\item +\hypertarget{classTileList_fcef291840fc807c0cb73529b3463b4a}{ +int \textbf{curIndex}} +\label{classTileList_fcef291840fc807c0cb73529b3463b4a} + +\item +\hypertarget{classTileList_9ea1ddb40e5ad54fa127e51c17739e8a}{ +int \textbf{pad} \mbox{[}3\mbox{]}} +\label{classTileList_9ea1ddb40e5ad54fa127e51c17739e8a} + +\item +\hypertarget{classTileList_8d1b857c654fe5856959a07a82a098ea}{ +Tile \textbf{tile} \mbox{[}MAX\_\-TILE\mbox{]}} +\label{classTileList_8d1b857c654fe5856959a07a82a098ea} + +\end{CompactItemize} + + +\subsection{Detailed Description} +\hyperlink{classTileList}{TileList} 筝 Tile 菴純冴憜 FIFO у茖 + +\subsection{Member Function Documentation} +\hypertarget{classTileList_81f144e0c87ba9a92c8e4a10990caeb5}{ +\index{TileList@{TileList}!clear@{clear}} +\index{clear@{clear}!TileList@{TileList}} +\subsubsection[{clear}]{\setlength{\rightskip}{0pt plus 5cm}void TileList::clear (void)\hspace{0.3cm}{\tt \mbox{[}inline\mbox{]}}}} +\label{classTileList_81f144e0c87ba9a92c8e4a10990caeb5} + + +\hyperlink{classTileList}{TileList} //tile 篏 clear 綽荀< \hypertarget{classTileList_e74c2d4e781fdde223961c00d75a791c}{ +\index{TileList@{TileList}!nextTile@{nextTile}} +\index{nextTile@{nextTile}!TileList@{TileList}} +\subsubsection[{nextTile}]{\setlength{\rightskip}{0pt plus 5cm}TilePtr TileList::nextTile (void)\hspace{0.3cm}{\tt \mbox{[}inline\mbox{]}}}} +\label{classTileList_e74c2d4e781fdde223961c00d75a791c} + + +罨<宴 tile 緇 + +\begin{Desc} +\item[Returns:]tile\end{Desc} +tile\mbox{[}\mbox{]} 潟違鴻c純宴 FIFO 絎憗 + +The documentation for this class was generated from the following file:\begin{CompactItemize} +\item +Tapestry.h\end{CompactItemize}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Document/document/latex/structtexture__block.tex Fri Jun 05 17:53:28 2009 +0900 @@ -0,0 +1,38 @@ +\hypertarget{structtexture__block}{ +\section{texture\_\-block Struct Reference} +\label{structtexture__block}\index{texture\_\-block@{texture\_\-block}} +} +{\tt \#include $<$Tapestry.h$>$} + + + +\subsection{Detailed Description} +image file name tapestry DB binary tree + +// PPE main memory tapestry DB (Array) tapestry DB 吾 accessor + +TapestryPtr getTapestry(int TapestryID); TilePtr getTile(TapestryPtr tapsetry, int tx, int ty, int scale); + +SPE tapestry List (in CreateSpan) (no texture image) TapestryDBPtr, Tapestry ID, x, y, tx, ty, px, py x, y : polygon 筝綛渇√婚罔 tx, ty : texture 綺ф px, py : texture 我 + +(TilePtr, tix1, tiy1, tix2, tiy2)$\ast$ + +SPE 羝< tapestry List Tile + +// SPE SPE с tapestry DB (Hash) TapestryID, scale, TilePtr, Tile + +SPE с tapestry DB 吾 accessor TileEntryPtr getTile(int TapestryID, int tx, int ty, int scale); + +if (TileEntry == NULL) \{ DMA read \} + +Rendering 1pass Zbuffer Texture <ゅ if (zbuffer ok) \{ if (texture ) \{ zbuffer linebunf 吾莨若 \} else \{ texture load list zbuffer 贋違 \} \} else \{ ∴ \} + +1pass texture 筝c筝 障с吾莨若 + +2pass rgb 吾莨若 + +if (zbuffer ゃ筝膩) \{ read texture 帥 吾莨若鐚 \} + +The documentation for this struct was generated from the following file:\begin{CompactItemize} +\item +Tapestry.h\end{CompactItemize}