SpaghettiKart/blue__and__red__shells_2ren...

148 lines
11 KiB
HTML

<!-- HTML header for doxygen 1.10.0-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Mario Kart 64: src/actors/blue_and_red_shells/render.inc.c Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="doxygen-awesome-sidebar-only.css" rel="stylesheet" type="text/css"/>
<link href="doxygen-awesome-sidebar-only-darkmode-toggle.css" rel="stylesheet" type="text/css"/>
<link href="docs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="doxygen-awesome-darkmode-toggle.js"></script>
<script type="text/javascript">
DoxygenAwesomeDarkModeToggle.init()
</script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">Mario Kart 64
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search',true);
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('blue__and__red__shells_2render_8inc_8c_source.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="headertitle"><div class="title">render.inc.c</div></div>
</div><!--header-->
<div class="contents">
<a href="blue__and__red__shells_2render_8inc_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#include &lt;<a class="code" href="actors_8h.html">actors.h</a>&gt;</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#include &lt;libultra/gbi.h&gt;</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span></div>
<div class="foldopen" id="foldopen00011" data-start="{" data-end="}">
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="blue__and__red__shells_2render_8inc_8c.html#aad2583aa98831d6ef751cf57d0ec166a"> 11</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="blue__and__red__shells_2render_8inc_8c.html#aad2583aa98831d6ef751cf57d0ec166a">render_actor_red_shell</a>(<a class="code hl_struct" href="structCamera.html">Camera</a>* camera, <a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a> matrix, <span class="keyword">struct</span> <a class="code hl_struct" href="structShellActor.html">ShellActor</a>* shell) {</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> gDPLoadTLUT_pal256(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, &amp;<a class="code hl_variable" href="actors_8c.html#afddce2fe9d53b73eb98b25e6d354dd50">gTLUTRedShell</a>); <span class="comment">// set texture</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// Set up color combiner for channel swapping</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> <a class="code hl_function" href="actors_8c.html#a244363eb20e950ed94944be1c768a37c">render_actor_shell</a>(camera, matrix, shell);</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span>}</div>
</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span></div>
<div class="foldopen" id="foldopen00024" data-start="{" data-end="}">
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="blue__and__red__shells_2render_8inc_8c.html#a516dec1dd3d7c2d39294a1ab4edcff4a"> 24</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="blue__and__red__shells_2render_8inc_8c.html#a516dec1dd3d7c2d39294a1ab4edcff4a">render_actor_blue_shell</a>(<a class="code hl_struct" href="structCamera.html">Camera</a>* camera, <a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a> matrix, <span class="keyword">struct</span> <a class="code hl_struct" href="structShellActor.html">ShellActor</a>* shell) {</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> gDPLoadTLUT_pal256(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, common_tlut_blue_shell); <span class="comment">// set texture</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> <a class="code hl_function" href="actors_8c.html#a244363eb20e950ed94944be1c768a37c">render_actor_shell</a>(camera, matrix, shell);</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span>}</div>
</div>
<div class="ttc" id="aactors_8c_html_a244363eb20e950ed94944be1c768a37c"><div class="ttname"><a href="actors_8c.html#a244363eb20e950ed94944be1c768a37c">render_actor_shell</a></div><div class="ttdeci">void render_actor_shell(Camera *camera, Mat4 matrix, struct ShellActor *shell)</div><div class="ttdef"><b>Definition</b> actors.c:738</div></div>
<div class="ttc" id="aactors_8c_html_afddce2fe9d53b73eb98b25e6d354dd50"><div class="ttname"><a href="actors_8c.html#afddce2fe9d53b73eb98b25e6d354dd50">gTLUTRedShell</a></div><div class="ttdeci">s8 gTLUTRedShell[512]</div><div class="ttdef"><b>Definition</b> actors.c:59</div></div>
<div class="ttc" id="aactors_8h_html"><div class="ttname"><a href="actors_8h.html">actors.h</a></div></div>
<div class="ttc" id="ablue__and__red__shells_2render_8inc_8c_html_a516dec1dd3d7c2d39294a1ab4edcff4a"><div class="ttname"><a href="blue__and__red__shells_2render_8inc_8c.html#a516dec1dd3d7c2d39294a1ab4edcff4a">render_actor_blue_shell</a></div><div class="ttdeci">void render_actor_blue_shell(Camera *camera, Mat4 matrix, struct ShellActor *shell)</div><div class="ttdoc">Render the blue shell actor.</div><div class="ttdef"><b>Definition</b> render.inc.c:24</div></div>
<div class="ttc" id="ablue__and__red__shells_2render_8inc_8c_html_aad2583aa98831d6ef751cf57d0ec166a"><div class="ttname"><a href="blue__and__red__shells_2render_8inc_8c.html#aad2583aa98831d6ef751cf57d0ec166a">render_actor_red_shell</a></div><div class="ttdeci">void render_actor_red_shell(Camera *camera, Mat4 matrix, struct ShellActor *shell)</div><div class="ttdoc">Render the red shell actor.</div><div class="ttdef"><b>Definition</b> render.inc.c:11</div></div>
<div class="ttc" id="acommon__structs_8h_html_ab7160f77e736961cfa2aff581aeee005"><div class="ttname"><a href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a></div><div class="ttdeci">f32 Mat4[4][4]</div><div class="ttdef"><b>Definition</b> common_structs.h:20</div></div>
<div class="ttc" id="amain_8c_html_a126651d46f16435589024505d8aef7b7"><div class="ttname"><a href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a></div><div class="ttdeci">Gfx * gDisplayListHead</div><div class="ttdef"><b>Definition</b> main.c:133</div></div>
<div class="ttc" id="astructCamera_html"><div class="ttname"><a href="structCamera.html">Camera</a></div><div class="ttdef"><b>Definition</b> camera.h:35</div></div>
<div class="ttc" id="astructShellActor_html"><div class="ttname"><a href="structShellActor.html">ShellActor</a></div><div class="ttdef"><b>Definition</b> actor_types.h:322</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_520494cf19be961f9d881ed04931ae5b.html">actors</a></li><li class="navelem"><a class="el" href="dir_74937bb8182fa56f297a3fd9c5a72781.html">blue_and_red_shells</a></li><li class="navelem"><a class="el" href="blue__and__red__shells_2render_8inc_8c.html">render.inc.c</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2 </li>
</ul>
</div>
</body>
</html>