SpaghettiKart/blue__and__red__shells_2upd...

312 lines
18 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/update.inc.c File Reference</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_2update_8inc_8c.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="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">update.inc.c File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="actors_8h_source.html">actors.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="waypoints_8h_source.html">waypoints.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="defines_8h_source.html">defines.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="main_8h_source.html">main.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="actors__extended_8h_source.html">actors_extended.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="code__800029B0_8h_source.html">code_800029B0.h</a>&gt;</code><br />
<code>#include &quot;<a class="el" href="Game_8h_source.html">port/Game.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for update.inc.c:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="blue__and__red__shells_2update_8inc_8c__incl.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="blue__and__red__shells_2update_8inc_8c__dep__incl.svg" width="219" height="124"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
<p><a href="blue__and__red__shells_2update_8inc_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a10550a4f6cb14493d6b16ac44a3c9484" id="r_a10550a4f6cb14493d6b16ac44a3c9484"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a10550a4f6cb14493d6b16ac44a3c9484">func_802B3B44</a> (struct <a class="el" href="structShellActor.html">ShellActor</a> *shell)</td></tr>
<tr class="separator:a10550a4f6cb14493d6b16ac44a3c9484"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cc339b71fb81e84d30eb55dc05b1a04" id="r_a0cc339b71fb81e84d30eb55dc05b1a04"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0cc339b71fb81e84d30eb55dc05b1a04">func_802B3E7C</a> (struct <a class="el" href="structShellActor.html">ShellActor</a> *shell, <a class="el" href="structPlayer.html">Player</a> *player)</td></tr>
<tr class="separator:a0cc339b71fb81e84d30eb55dc05b1a04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e2174a63721c801f8a932d74e8c3be9" id="r_a7e2174a63721c801f8a932d74e8c3be9"><td class="memItemLeft" align="right" valign="top">s16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7e2174a63721c801f8a932d74e8c3be9">func_802B3FD0</a> (<a class="el" href="structPlayer.html">Player</a> *owner, struct <a class="el" href="structShellActor.html">ShellActor</a> *shell)</td></tr>
<tr class="separator:a7e2174a63721c801f8a932d74e8c3be9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a334de9136224947ca20e7d31fb009a82" id="r_a334de9136224947ca20e7d31fb009a82"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a334de9136224947ca20e7d31fb009a82">func_802B4104</a> (struct <a class="el" href="structShellActor.html">ShellActor</a> *shell)</td></tr>
<tr class="separator:a334de9136224947ca20e7d31fb009a82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e281ad692a9ccd329fa6840ad38afbc" id="r_a6e281ad692a9ccd329fa6840ad38afbc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6e281ad692a9ccd329fa6840ad38afbc">update_actor_red_blue_shell</a> (struct <a class="el" href="structShellActor.html">ShellActor</a> *shell)</td></tr>
<tr class="memdesc:a6e281ad692a9ccd329fa6840ad38afbc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the red and blue shell actors. <br /></td></tr>
<tr class="separator:a6e281ad692a9ccd329fa6840ad38afbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a10550a4f6cb14493d6b16ac44a3c9484" name="a10550a4f6cb14493d6b16ac44a3c9484"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10550a4f6cb14493d6b16ac44a3c9484">&#9670;&#160;</a></span>func_802B3B44()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void func_802B3B44 </td>
<td>(</td>
<td class="paramtype">struct <a class="el" href="structShellActor.html">ShellActor</a> *</td> <td class="paramname"><span class="paramname"><em>shell</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="blue__and__red__shells_2update_8inc_8c_a10550a4f6cb14493d6b16ac44a3c9484_cgraph.svg" width="587" height="200"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="blue__and__red__shells_2update_8inc_8c_a10550a4f6cb14493d6b16ac44a3c9484_icgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
</div>
</div>
<a id="a0cc339b71fb81e84d30eb55dc05b1a04" name="a0cc339b71fb81e84d30eb55dc05b1a04"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cc339b71fb81e84d30eb55dc05b1a04">&#9670;&#160;</a></span>func_802B3E7C()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void func_802B3E7C </td>
<td>(</td>
<td class="paramtype">struct <a class="el" href="structShellActor.html">ShellActor</a> *</td> <td class="paramname"><span class="paramname"><em>shell</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structPlayer.html">Player</a> *</td> <td class="paramname"><span class="paramname"><em>player</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="blue__and__red__shells_2update_8inc_8c_a0cc339b71fb81e84d30eb55dc05b1a04_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="blue__and__red__shells_2update_8inc_8c_a0cc339b71fb81e84d30eb55dc05b1a04_icgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
</div>
</div>
<a id="a7e2174a63721c801f8a932d74e8c3be9" name="a7e2174a63721c801f8a932d74e8c3be9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e2174a63721c801f8a932d74e8c3be9">&#9670;&#160;</a></span>func_802B3FD0()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">s16 func_802B3FD0 </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structPlayer.html">Player</a> *</td> <td class="paramname"><span class="paramname"><em>owner</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">struct <a class="el" href="structShellActor.html">ShellActor</a> *</td> <td class="paramname"><span class="paramname"><em>shell</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Only used in Battle mode Likely trying to find the nearest player that is not the shell's owner and is not dead </p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="blue__and__red__shells_2update_8inc_8c_a7e2174a63721c801f8a932d74e8c3be9_cgraph.svg" width="306" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="blue__and__red__shells_2update_8inc_8c_a7e2174a63721c801f8a932d74e8c3be9_icgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
</div>
</div>
<a id="a334de9136224947ca20e7d31fb009a82" name="a334de9136224947ca20e7d31fb009a82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a334de9136224947ca20e7d31fb009a82">&#9670;&#160;</a></span>func_802B4104()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void func_802B4104 </td>
<td>(</td>
<td class="paramtype">struct <a class="el" href="structShellActor.html">ShellActor</a> *</td> <td class="paramname"><span class="paramname"><em>shell</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="blue__and__red__shells_2update_8inc_8c_a334de9136224947ca20e7d31fb009a82_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="blue__and__red__shells_2update_8inc_8c_a334de9136224947ca20e7d31fb009a82_icgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
</div>
</div>
<a id="a6e281ad692a9ccd329fa6840ad38afbc" name="a6e281ad692a9ccd329fa6840ad38afbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e281ad692a9ccd329fa6840ad38afbc">&#9670;&#160;</a></span>update_actor_red_blue_shell()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void update_actor_red_blue_shell </td>
<td>(</td>
<td class="paramtype">struct <a class="el" href="structShellActor.html">ShellActor</a> *</td> <td class="paramname"><span class="paramname"><em>shell</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Update the red and blue shell actors. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">shell</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000001">Bug</a></b></dt><dd>commented out code results in cpus controlling player1 items and other glitches </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="blue__and__red__shells_2update_8inc_8c_a6e281ad692a9ccd329fa6840ad38afbc_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="blue__and__red__shells_2update_8inc_8c_a6e281ad692a9ccd329fa6840ad38afbc_icgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
</div>
</div>
</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_2update_8inc_8c.html">update.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>