This commit is contained in:
MegaMech
2025-07-10 00:11:00 +00:00
parent 7e548a4aa0
commit a4ba5ccf13
51 changed files with 311 additions and 300 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ $(function(){initNavTree('actorsmenu.html',''); initResizable(true); });
</div>
</p>
<p><a class="el" href="actors.html#actors">Actors</a> <a class="el" href="objects.html#objects">Objects</a> <a class="el" href="vehicles.html">Vehicles</a> <a class="el" href="items.html">Items</a> </p>
<p><a class="el" href="actors.html#actors">Actors</a> <a class="el" href="controlflow.html#objects">Objects</a> <a class="el" href="vehicles.html">Vehicles</a> <a class="el" href="items.html">Items</a> </p>
</div></div><!-- contents -->
</div><!-- PageDoc -->
</div><!-- doc-content -->
+1 -1
View File
@@ -4,7 +4,7 @@ var actorsmenu =
[ "Actors", "actors.html#actors", null ]
] ],
[ "Objects", "objects.html", [
[ "Objects", "objects.html#objects", null ]
[ "Objects", "objects.html#objects-1", null ]
] ],
[ "Vehicles", "vehicles.html", [
[ "Trains", "vehicles.html#trains", null ],
+1 -1
View File
@@ -25,7 +25,7 @@ var basics =
[ "Menus", "controlflow.html#menus", null ],
[ "Players", "controlflow.html#players", null ],
[ "Actors", "controlflow.html#actors-1", null ],
[ "Objects", "controlflow.html#objects-1", null ],
[ "Objects", "controlflow.html#objects", null ],
[ "Courses", "controlflow.html#courses", [
[ "Course Folder", "controlflow.html#course-folder", null ]
] ],
@@ -284,6 +284,7 @@ Here is the caller graph for this function:</div>
</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">
+224 -216
View File
@@ -373,224 +373,232 @@ $(function(){initNavTree('blue__and__red__shells_2update_8inc_8c_source.html',''
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1] = pad7;</div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> }</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span> </div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span> <span class="keywordflow">if</span> ((player-&gt;<a class="code hl_variable" href="structPlayer.html#a71c4ebed7633cd2330dec792fcf24f1f">type</a> &amp; <a class="code hl_define" href="defines_8h.html#ab30d6efeb8601088397fff50c25c2424">PLAYER_HUMAN</a>) != 0) {</div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="main_8c.html#ad0d02d334a85a918cd9504a24db19f61">gDemoMode</a>) {</div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> controller = <a class="code hl_variable" href="main_8c.html#af41a5bd042fce7f6b01a713e5e141013">gControllerOne</a>;</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> controller = &amp;<a class="code hl_variable" href="main_8c.html#a977a26348d9f8d421d2f927f19d50693">gControllers</a>[shell-&gt;<a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>];</div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> }</div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> controller = <a class="code hl_variable" href="main_8c.html#af41a5bd042fce7f6b01a713e5e141013">gControllerOne</a>;</div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> }</div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> </div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> <span class="keywordflow">if</span> ((controller-&gt;<a class="code hl_variable" href="structController.html#af68b8dc9459d69a7dfdf57dabf8dbae5">buttonDepressed</a> &amp; Z_TRIG) != 0) {</div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> controller-&gt;<a class="code hl_variable" href="structController.html#af68b8dc9459d69a7dfdf57dabf8dbae5">buttonDepressed</a> &amp;= ~Z_TRIG;</div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba6bccf5be381532660e62c226008d6382">RELEASED_SHELL</a>;</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> <span class="keywordflow">if</span> (player-&gt;<a class="code hl_variable" href="structPlayer.html#a0dae7ee727c1fd1f3d07b2b7231e85cf">unk_0C0</a> &gt; 0) {</div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> = 0x78E3;</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> = -0x78E4;</div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> }</div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> }</div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba6bccf5be381532660e62c226008d6382">RELEASED_SHELL</a>:</div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> player = &amp;<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-&gt;<a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>];</div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> &gt; 0) {</div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> -= 0x71C;</div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> &lt; 0) {</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba453f34a714854991280e3f087d9715af">MOVING_SHELL</a>;</div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> <a class="code hl_function" href="external_8c.html#a2be9efc97a92e19d02aaee90d676acc1">func_800C9060</a>(shell-&gt;<a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>, <a class="code hl_define" href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a>(0x19, 0x00, 0x80, 0x04));</div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> <a class="code hl_function" href="external_8c.html#a337fc3ab94ebb3293a85908229303ac8">func_800C90F4</a>(shell-&gt;<a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>,</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> (player-&gt;<a class="code hl_variable" href="structPlayer.html#a3c54f7cdfdf596fcb7500e4b56a3340d">characterId</a> * 0x10) + <a class="code hl_define" href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a>(0x29, 0x00, 0x80, 0x00));</div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> <span class="keywordflow">if</span> (pad13 == <a class="code hl_enumvalue" href="actor__types_8h.html#a06ad3f803827afd107e7682c8c22d990a1cc14c146c0ad5e7ee9f89b46d93fbdc">ACTOR_RED_SHELL</a>) {</div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span> <a class="code hl_function" href="code__80005FD0_8c.html#a049aa28f9db56c36a8ea389644629029">add_red_shell_in_unexpired_actor_list</a>(<a class="code hl_function" href="Game_8cpp.html#a04c2e1c30af14b6e8354d7a9be00e39c">CM_FindActorIndex</a>(shell));</div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span> <a class="code hl_function" href="code__80005FD0_8c.html#a8d5e85372f25e4b12d62edcc131bf7ae">add_blue_shell_in_unexpired_actor_list</a>(<a class="code hl_function" href="Game_8cpp.html#a04c2e1c30af14b6e8354d7a9be00e39c">CM_FindActorIndex</a>(shell));</div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span> <a class="code hl_function" href="external_8c.html#a903d1c248a30cd68262a6833b9c0b112">func_800C9D80</a>(shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>, shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>, <a class="code hl_define" href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a>(0x51, 0x01, 0x80, 0x08));</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span></div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> <span class="comment">// According to other code, this whole chunk should not be ran by CPUs</span></div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> <span class="keywordflow">if</span> ((player-&gt;<a class="code hl_variable" href="structPlayer.html#a71c4ebed7633cd2330dec792fcf24f1f">type</a> &amp; <a class="code hl_define" href="defines_8h.html#ab30d6efeb8601088397fff50c25c2424">PLAYER_HUMAN</a>) != 0) {</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="main_8c.html#ad0d02d334a85a918cd9504a24db19f61">gDemoMode</a>) {</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> controller = <a class="code hl_variable" href="main_8c.html#af41a5bd042fce7f6b01a713e5e141013">gControllerOne</a>;</div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span> controller = &amp;<a class="code hl_variable" href="main_8c.html#a977a26348d9f8d421d2f927f19d50693">gControllers</a>[shell-&gt;<a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>];</div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> }</div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> <span class="comment">// } else {</span></div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> <span class="comment">// controller = gControllerOne;</span></div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> <span class="comment">// }</span></div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> </div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> <span class="keywordflow">if</span> ((controller-&gt;<a class="code hl_variable" href="structController.html#af68b8dc9459d69a7dfdf57dabf8dbae5">buttonDepressed</a> &amp; Z_TRIG) != 0) {</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> controller-&gt;<a class="code hl_variable" href="structController.html#af68b8dc9459d69a7dfdf57dabf8dbae5">buttonDepressed</a> &amp;= ~Z_TRIG;</div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba6bccf5be381532660e62c226008d6382">RELEASED_SHELL</a>;</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> <span class="keywordflow">if</span> (player-&gt;<a class="code hl_variable" href="structPlayer.html#a0dae7ee727c1fd1f3d07b2b7231e85cf">unk_0C0</a> &gt; 0) {</div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> = 0x78E3;</div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> = -0x78E4;</div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> }</div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> }</div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> }</div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba6bccf5be381532660e62c226008d6382">RELEASED_SHELL</a>:</div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> player = &amp;<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-&gt;<a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>];</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> &gt; 0) {</div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> -= 0x71C;</div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> &lt; 0) {</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba453f34a714854991280e3f087d9715af">MOVING_SHELL</a>;</div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> <span class="comment">// Added condition so that CPUs do not make sound on item-use</span></div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span> <span class="keywordflow">if</span> ((<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-&gt;<a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>].type &amp; <a class="code hl_define" href="defines_8h.html#ab30d6efeb8601088397fff50c25c2424">PLAYER_HUMAN</a>) != 0) {</div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> <a class="code hl_function" href="external_8c.html#a2be9efc97a92e19d02aaee90d676acc1">func_800C9060</a>(shell-&gt;<a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>, <a class="code hl_define" href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a>(0x19, 0x00, 0x80, 0x04));</div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span> <a class="code hl_function" href="external_8c.html#a337fc3ab94ebb3293a85908229303ac8">func_800C90F4</a>(shell-&gt;<a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>,</div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span> (player-&gt;<a class="code hl_variable" href="structPlayer.html#a3c54f7cdfdf596fcb7500e4b56a3340d">characterId</a> * 0x10) + <a class="code hl_define" href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a>(0x29, 0x00, 0x80, 0x00));</div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> }</div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span> }</div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> += 0x71C;</div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> &gt; 0) {</div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba453f34a714854991280e3f087d9715af">MOVING_SHELL</a>;</div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span> <a class="code hl_function" href="external_8c.html#a2be9efc97a92e19d02aaee90d676acc1">func_800C9060</a>(shell-&gt;<a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>, <a class="code hl_define" href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a>(0x19, 0x00, 0x80, 0x04));</div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> <a class="code hl_function" href="external_8c.html#a337fc3ab94ebb3293a85908229303ac8">func_800C90F4</a>(shell-&gt;<a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>,</div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span> (player-&gt;<a class="code hl_variable" href="structPlayer.html#a3c54f7cdfdf596fcb7500e4b56a3340d">characterId</a> * 0x10) + <a class="code hl_define" href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a>(0x29, 0x00, 0x80, 0x00));</div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span> <span class="keywordflow">if</span> (pad13 == <a class="code hl_enumvalue" href="actor__types_8h.html#a06ad3f803827afd107e7682c8c22d990a1cc14c146c0ad5e7ee9f89b46d93fbdc">ACTOR_RED_SHELL</a>) {</div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span> <a class="code hl_function" href="code__80005FD0_8c.html#a049aa28f9db56c36a8ea389644629029">add_red_shell_in_unexpired_actor_list</a>(<a class="code hl_function" href="Game_8cpp.html#a04c2e1c30af14b6e8354d7a9be00e39c">CM_FindActorIndex</a>(shell));</div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> <a class="code hl_function" href="code__80005FD0_8c.html#a8d5e85372f25e4b12d62edcc131bf7ae">add_blue_shell_in_unexpired_actor_list</a>(<a class="code hl_function" href="Game_8cpp.html#a04c2e1c30af14b6e8354d7a9be00e39c">CM_FindActorIndex</a>(shell));</div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span> <a class="code hl_function" href="external_8c.html#a903d1c248a30cd68262a6833b9c0b112">func_800C9D80</a>(shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>, shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>, <a class="code hl_define" href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a>(0x51, 0x01, 0x80, 0x08));</div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span> }</div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span> }</div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"> 317</span> }</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> == <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba453f34a714854991280e3f087d9715af">MOVING_SHELL</a>) {</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> = 0x001E;</div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span> height = 8.0f;</div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span> <span class="keywordflow">if</span> (player-&gt;<a class="code hl_variable" href="structPlayer.html#a1eb7b22cb98924aa32fa909b969dee34">speed</a> &gt; 8.0f) {</div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> height = player-&gt;<a class="code hl_variable" href="structPlayer.html#a1eb7b22cb98924aa32fa909b969dee34">speed</a> * 1.2f;</div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> }</div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> somePosVel[0] = 0.0f;</div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> somePosVel[1] = 0.0f;</div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span> somePosVel[2] = height;</div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> <a class="code hl_function" href="math__util_8c.html#a6270d7eb2d38b9c093e61da43b7d51ff">func_802B64C4</a>(somePosVel, (s16) (player-&gt;<a class="code hl_variable" href="structPlayer.html#a4fafb84477d127ff2a1b74331c904f3f">rotation</a>[1] + player-&gt;<a class="code hl_variable" href="structPlayer.html#a0dae7ee727c1fd1f3d07b2b7231e85cf">unk_0C0</a>));</div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[0] = somePosVel[0];</div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] = somePosVel[1];</div>
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[2] = somePosVel[2];</div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"> 332</span> somePosVel[0] = <a class="code hl_function" href="math__util_8c.html#a19ed3bd78fd2d3e2bd0a29f6caf48545">sins</a>(shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a>) * 8.0f;</div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span> somePosVel[1] = shell-&gt;<a class="code hl_variable" href="structShellActor.html#a610da60b5b38774fba6b6bb3076fd007">boundingBoxSize</a> - player-&gt;<a class="code hl_variable" href="structPlayer.html#a681f0fac4abe58cf5919dd4c6ac503d0">boundingBoxSize</a>;</div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span> somePosVel[2] = <a class="code hl_function" href="math__util_8c.html#ae69cbf5c8d4b3b0dba2d7b4d4673689f">coss</a>(shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a>) * 8.0f;</div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> <a class="code hl_function" href="math__util_8c.html#ad5bb0138c68b50f119d3cb7966f522b7">mtxf_translate_vec3f_mat3</a>(somePosVel, player-&gt;<a class="code hl_variable" href="structPlayer.html#a28df2c989598022073df6fc2425cbefe">orientationMatrix</a>);</div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0] = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0] + somePosVel[0];</div>
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1] = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[1] + somePosVel[1];</div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2] = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[2] + somePosVel[2];</div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span> }</div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba453f34a714854991280e3f087d9715af">MOVING_SHELL</a>:</div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> player = &amp;<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-&gt;<a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>];</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> -= 1;</div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> == 0) {</div>
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a5368cbbb7b090d3f5abb520ca3ab9bf6">flags</a> &amp;= 0xEFFF;</div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structShellActor.html#a6eb62ab515773b295e7d8c4f6c10ae1b">type</a> == <a class="code hl_enumvalue" href="actor__types_8h.html#a06ad3f803827afd107e7682c8c22d990a1bb766203677f7a6b6337a94f8f17f7e">ACTOR_BLUE_SPINY_SHELL</a>) {</div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#ad503d4399dfef15a8aeb4cfec64ac155">targetPlayer</a> = <a class="code hl_variable" href="code__800029B0_8c.html#af041d75e08bc4d654b30e1c5c79550c9">gPlayerPositionLUT</a>[0];</div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495bacbbf8ec958ded92542c807a249ab5663">BLUE_SHELL_LOCK_ON</a>;</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a6d1756d5e7cf11fdb35eec5ef86c6951">shellId</a> = 1000.0f;</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span> temp_v0 = <a class="code hl_variable" href="code__80005FD0_8c.html#aecaedcf25130d660c6c5885cb92f3259">gNearestPathPointByPlayerId</a>[player - <a class="code hl_variable" href="main_8c.html#a0204a9efe5c4b5e5ce5153086a5ccb49">gPlayerOne</a>] + 8;</div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span> <span class="keywordflow">if</span> ((s32) <a class="code hl_variable" href="code__80005FD0_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a> &lt; temp_v0) {</div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span> temp_v0 -= <a class="code hl_variable" href="code__80005FD0_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a>;</div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"> 353</span> }</div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"> 354</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#af3da1448ac4320471aadbc7652ea81a5">pathIndex</a> = temp_v0;</div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="main_8c.html#afc00985679cbd41aa08a8fcc5925e438">gModeSelection</a> == <a class="code hl_define" href="defines_8h.html#a3f48cce4d2125604131fc7878460f44a">BATTLE</a>) {</div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a6d1756d5e7cf11fdb35eec5ef86c6951">shellId</a> = 1000.0f;</div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#ad503d4399dfef15a8aeb4cfec64ac155">targetPlayer</a> = <a class="code hl_function" href="blue__and__red__shells_2update_8inc_8c.html#a7e2174a63721c801f8a932d74e8c3be9">func_802B3FD0</a>(player, shell);</div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structShellActor.html#ad503d4399dfef15a8aeb4cfec64ac155">targetPlayer</a> &lt; 0) {</div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a5368cbbb7b090d3f5abb520ca3ab9bf6">flags</a> = 0x8000;</div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] = 3.0f;</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#af3da1448ac4320471aadbc7652ea81a5">pathIndex</a> = 0;</div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> = 0x003C;</div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba27fa834989e28bdd46500b6204a16f29">DESTROYED_SHELL</a>;</div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"> 365</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495baed8383aa36b27a569d33434e6638551d">RED_SHELL_LOCK_ON</a>;</div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span> }</div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span> <span class="keywordflow">if</span> (player-&gt;<a class="code hl_variable" href="structPlayer.html#af68a201da4cc5a0628252a352d147767">currentRank</a> == 0) {</div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"> 369</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495baa42e974f033d01764e1c170a632c43bc">TRIPLE_GREEN_SHELL</a>;</div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> = 0x0258;</div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> temp_v0 = <a class="code hl_variable" href="code__80005FD0_8c.html#aecaedcf25130d660c6c5885cb92f3259">gNearestPathPointByPlayerId</a>[player - <a class="code hl_variable" href="main_8c.html#a0204a9efe5c4b5e5ce5153086a5ccb49">gPlayerOne</a>] + 8;</div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"> 372</span> <span class="keywordflow">if</span> ((s32) <a class="code hl_variable" href="code__80005FD0_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a> &lt; temp_v0) {</div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"> 373</span> temp_v0 -= <a class="code hl_variable" href="code__80005FD0_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a>;</div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"> 374</span> }</div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"> 375</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#af3da1448ac4320471aadbc7652ea81a5">pathIndex</a> = temp_v0;</div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (player-&gt;<a class="code hl_variable" href="structPlayer.html#af68a201da4cc5a0628252a352d147767">currentRank</a> &gt;= 5) {</div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba7277793449f98cde9e41aeef89d77bba">GREEN_SHELL_HIT_A_RACER</a>;</div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a6d1756d5e7cf11fdb35eec5ef86c6951">shellId</a> = 1000.0f;</div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span> temp_v0 = <a class="code hl_variable" href="code__80005FD0_8c.html#aecaedcf25130d660c6c5885cb92f3259">gNearestPathPointByPlayerId</a>[player - <a class="code hl_variable" href="main_8c.html#a0204a9efe5c4b5e5ce5153086a5ccb49">gPlayerOne</a>] + 8;</div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span> <span class="keywordflow">if</span> ((s32) <a class="code hl_variable" href="code__80005FD0_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a> &lt; temp_v0) {</div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"> 381</span> temp_v0 -= <a class="code hl_variable" href="code__80005FD0_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a>;</div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"> 382</span> }</div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#af3da1448ac4320471aadbc7652ea81a5">pathIndex</a> = temp_v0;</div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#ad503d4399dfef15a8aeb4cfec64ac155">targetPlayer</a> = <a class="code hl_variable" href="code__800029B0_8c.html#af041d75e08bc4d654b30e1c5c79550c9">gPlayerPositionLUT</a>[player-&gt;<a class="code hl_variable" href="structPlayer.html#af68a201da4cc5a0628252a352d147767">currentRank</a> - 1];</div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495baed8383aa36b27a569d33434e6638551d">RED_SHELL_LOCK_ON</a>;</div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span> <span class="keywordflow">if</span> (pad13 == <a class="code hl_enumvalue" href="actor__types_8h.html#a06ad3f803827afd107e7682c8c22d990a1cc14c146c0ad5e7ee9f89b46d93fbdc">ACTOR_RED_SHELL</a>) {</div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> <a class="code hl_function" href="code__80005FD0_8c.html#a049aa28f9db56c36a8ea389644629029">add_red_shell_in_unexpired_actor_list</a>(<a class="code hl_function" href="Game_8cpp.html#a04c2e1c30af14b6e8354d7a9be00e39c">CM_FindActorIndex</a>(shell));</div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> <a class="code hl_function" href="code__80005FD0_8c.html#a8d5e85372f25e4b12d62edcc131bf7ae">add_blue_shell_in_unexpired_actor_list</a>(<a class="code hl_function" href="Game_8cpp.html#a04c2e1c30af14b6e8354d7a9be00e39c">CM_FindActorIndex</a>(shell));</div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span> <a class="code hl_function" href="external_8c.html#a903d1c248a30cd68262a6833b9c0b112">func_800C9D80</a>(shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>, shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>, <a class="code hl_define" href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a>(0x51, 0x01, 0x80, 0x08));</div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span> }</div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> }</div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> += 0x71C;</div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> &gt; 0) {</div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba453f34a714854991280e3f087d9715af">MOVING_SHELL</a>;</div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> <span class="comment">// Added condition so that CPUs do not make sound on item-use</span></div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span> <span class="keywordflow">if</span> ((<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-&gt;<a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>].type &amp; <a class="code hl_define" href="defines_8h.html#ab30d6efeb8601088397fff50c25c2424">PLAYER_HUMAN</a>) != 0) {</div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span> <a class="code hl_function" href="external_8c.html#a2be9efc97a92e19d02aaee90d676acc1">func_800C9060</a>(shell-&gt;<a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>, <a class="code hl_define" href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a>(0x19, 0x00, 0x80, 0x04));</div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span> <a class="code hl_function" href="external_8c.html#a337fc3ab94ebb3293a85908229303ac8">func_800C90F4</a>(shell-&gt;<a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>,</div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"> 317</span> (player-&gt;<a class="code hl_variable" href="structPlayer.html#a3c54f7cdfdf596fcb7500e4b56a3340d">characterId</a> * 0x10) + <a class="code hl_define" href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a>(0x29, 0x00, 0x80, 0x00));</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> }</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> <span class="keywordflow">if</span> (pad13 == <a class="code hl_enumvalue" href="actor__types_8h.html#a06ad3f803827afd107e7682c8c22d990a1cc14c146c0ad5e7ee9f89b46d93fbdc">ACTOR_RED_SHELL</a>) {</div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span> <a class="code hl_function" href="code__80005FD0_8c.html#a049aa28f9db56c36a8ea389644629029">add_red_shell_in_unexpired_actor_list</a>(<a class="code hl_function" href="Game_8cpp.html#a04c2e1c30af14b6e8354d7a9be00e39c">CM_FindActorIndex</a>(shell));</div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> <a class="code hl_function" href="code__80005FD0_8c.html#a8d5e85372f25e4b12d62edcc131bf7ae">add_blue_shell_in_unexpired_actor_list</a>(<a class="code hl_function" href="Game_8cpp.html#a04c2e1c30af14b6e8354d7a9be00e39c">CM_FindActorIndex</a>(shell));</div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> <a class="code hl_function" href="external_8c.html#a903d1c248a30cd68262a6833b9c0b112">func_800C9D80</a>(shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>, shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>, <a class="code hl_define" href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a>(0x51, 0x01, 0x80, 0x08));</div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> }</div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> }</div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span> }</div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> == <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba453f34a714854991280e3f087d9715af">MOVING_SHELL</a>) {</div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> = 0x001E;</div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</span> height = 8.0f;</div>
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span> <span class="keywordflow">if</span> (player-&gt;<a class="code hl_variable" href="structPlayer.html#a1eb7b22cb98924aa32fa909b969dee34">speed</a> &gt; 8.0f) {</div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</span> height = player-&gt;<a class="code hl_variable" href="structPlayer.html#a1eb7b22cb98924aa32fa909b969dee34">speed</a> * 1.2f;</div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"> 332</span> }</div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span> somePosVel[0] = 0.0f;</div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span> somePosVel[1] = 0.0f;</div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> somePosVel[2] = height;</div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span> <a class="code hl_function" href="math__util_8c.html#a6270d7eb2d38b9c093e61da43b7d51ff">func_802B64C4</a>(somePosVel, (s16) (player-&gt;<a class="code hl_variable" href="structPlayer.html#a4fafb84477d127ff2a1b74331c904f3f">rotation</a>[1] + player-&gt;<a class="code hl_variable" href="structPlayer.html#a0dae7ee727c1fd1f3d07b2b7231e85cf">unk_0C0</a>));</div>
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[0] = somePosVel[0];</div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] = somePosVel[1];</div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[2] = somePosVel[2];</div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> somePosVel[0] = <a class="code hl_function" href="math__util_8c.html#a19ed3bd78fd2d3e2bd0a29f6caf48545">sins</a>(shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a>) * 8.0f;</div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> somePosVel[1] = shell-&gt;<a class="code hl_variable" href="structShellActor.html#a610da60b5b38774fba6b6bb3076fd007">boundingBoxSize</a> - player-&gt;<a class="code hl_variable" href="structPlayer.html#a681f0fac4abe58cf5919dd4c6ac503d0">boundingBoxSize</a>;</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> somePosVel[2] = <a class="code hl_function" href="math__util_8c.html#ae69cbf5c8d4b3b0dba2d7b4d4673689f">coss</a>(shell-&gt;<a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a>) * 8.0f;</div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span> <a class="code hl_function" href="math__util_8c.html#ad5bb0138c68b50f119d3cb7966f522b7">mtxf_translate_vec3f_mat3</a>(somePosVel, player-&gt;<a class="code hl_variable" href="structPlayer.html#a28df2c989598022073df6fc2425cbefe">orientationMatrix</a>);</div>
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0] = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0] + somePosVel[0];</div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1] = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[1] + somePosVel[1];</div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2] = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[2] + somePosVel[2];</div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span> }</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba453f34a714854991280e3f087d9715af">MOVING_SHELL</a>:</div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span> player = &amp;<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-&gt;<a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>];</div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> -= 1;</div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"> 353</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> == 0) {</div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"> 354</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a5368cbbb7b090d3f5abb520ca3ab9bf6">flags</a> &amp;= 0xEFFF;</div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structShellActor.html#a6eb62ab515773b295e7d8c4f6c10ae1b">type</a> == <a class="code hl_enumvalue" href="actor__types_8h.html#a06ad3f803827afd107e7682c8c22d990a1bb766203677f7a6b6337a94f8f17f7e">ACTOR_BLUE_SPINY_SHELL</a>) {</div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#ad503d4399dfef15a8aeb4cfec64ac155">targetPlayer</a> = <a class="code hl_variable" href="code__800029B0_8c.html#af041d75e08bc4d654b30e1c5c79550c9">gPlayerPositionLUT</a>[0];</div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495bacbbf8ec958ded92542c807a249ab5663">BLUE_SHELL_LOCK_ON</a>;</div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a6d1756d5e7cf11fdb35eec5ef86c6951">shellId</a> = 1000.0f;</div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span> temp_v0 = <a class="code hl_variable" href="code__80005FD0_8c.html#aecaedcf25130d660c6c5885cb92f3259">gNearestPathPointByPlayerId</a>[player - <a class="code hl_variable" href="main_8c.html#a0204a9efe5c4b5e5ce5153086a5ccb49">gPlayerOne</a>] + 8;</div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span> <span class="keywordflow">if</span> ((s32) <a class="code hl_variable" href="code__80005FD0_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a> &lt; temp_v0) {</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> temp_v0 -= <a class="code hl_variable" href="code__80005FD0_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a>;</div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> }</div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#af3da1448ac4320471aadbc7652ea81a5">pathIndex</a> = temp_v0;</div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="main_8c.html#afc00985679cbd41aa08a8fcc5925e438">gModeSelection</a> == <a class="code hl_define" href="defines_8h.html#a3f48cce4d2125604131fc7878460f44a">BATTLE</a>) {</div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"> 365</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a6d1756d5e7cf11fdb35eec5ef86c6951">shellId</a> = 1000.0f;</div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#ad503d4399dfef15a8aeb4cfec64ac155">targetPlayer</a> = <a class="code hl_function" href="blue__and__red__shells_2update_8inc_8c.html#a7e2174a63721c801f8a932d74e8c3be9">func_802B3FD0</a>(player, shell);</div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structShellActor.html#ad503d4399dfef15a8aeb4cfec64ac155">targetPlayer</a> &lt; 0) {</div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a5368cbbb7b090d3f5abb520ca3ab9bf6">flags</a> = 0x8000;</div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"> 369</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] = 3.0f;</div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#af3da1448ac4320471aadbc7652ea81a5">pathIndex</a> = 0;</div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> = 0x003C;</div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"> 372</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba27fa834989e28bdd46500b6204a16f29">DESTROYED_SHELL</a>;</div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"> 373</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"> 374</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495baed8383aa36b27a569d33434e6638551d">RED_SHELL_LOCK_ON</a>;</div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"> 375</span> }</div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span> <span class="keywordflow">if</span> (player-&gt;<a class="code hl_variable" href="structPlayer.html#af68a201da4cc5a0628252a352d147767">currentRank</a> == 0) {</div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495baa42e974f033d01764e1c170a632c43bc">TRIPLE_GREEN_SHELL</a>;</div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> = 0x0258;</div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span> temp_v0 = <a class="code hl_variable" href="code__80005FD0_8c.html#aecaedcf25130d660c6c5885cb92f3259">gNearestPathPointByPlayerId</a>[player - <a class="code hl_variable" href="main_8c.html#a0204a9efe5c4b5e5ce5153086a5ccb49">gPlayerOne</a>] + 8;</div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"> 381</span> <span class="keywordflow">if</span> ((s32) <a class="code hl_variable" href="code__80005FD0_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a> &lt; temp_v0) {</div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"> 382</span> temp_v0 -= <a class="code hl_variable" href="code__80005FD0_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a>;</div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span> }</div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#af3da1448ac4320471aadbc7652ea81a5">pathIndex</a> = temp_v0;</div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (player-&gt;<a class="code hl_variable" href="structPlayer.html#af68a201da4cc5a0628252a352d147767">currentRank</a> &gt;= 5) {</div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba7277793449f98cde9e41aeef89d77bba">GREEN_SHELL_HIT_A_RACER</a>;</div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a6d1756d5e7cf11fdb35eec5ef86c6951">shellId</a> = 1000.0f;</div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#ad503d4399dfef15a8aeb4cfec64ac155">targetPlayer</a> = <a class="code hl_variable" href="code__800029B0_8c.html#af041d75e08bc4d654b30e1c5c79550c9">gPlayerPositionLUT</a>[player-&gt;<a class="code hl_variable" href="structPlayer.html#af68a201da4cc5a0628252a352d147767">currentRank</a> - 1];</div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span> }</div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"> 390</span> }</div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"> 391</span> }</div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"> 392</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] -= 0.5;</div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] &lt; -2.0f) {</div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"> 394</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] = -2.0f;</div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"> 395</span> }</div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"> 396</span> origPos[0] = shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0];</div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"> 397</span> origPos[1] = shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1];</div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"> 398</span> origPos[2] = shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2];</div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0] += shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[0];</div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1] += shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1];</div>
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno"> 401</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2] += shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[2];</div>
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"> 402</span> <a class="code hl_function" href="collision_8c.html#a79293dbdae52d290fdaf8dde9d5244ca">actor_terrain_collision</a>(&amp;shell-&gt;<a class="code hl_variable" href="structShellActor.html#acf7c6324c79136005a8a16b0280862d4">unk30</a>, 4.0f, shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0], shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1], shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2], origPos[0],</div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"> 403</span> origPos[1], origPos[2]);</div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"> 404</span> <a class="code hl_function" href="actors__extended_8c.html#a78e98c146f1f4dd6e3608016486172a4">func_802B4E30</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell);</div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"> 405</span> <a class="code hl_function" href="blue__and__red__shells_2update_8inc_8c.html#a334de9136224947ca20e7d31fb009a82">func_802B4104</a>(shell);</div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"> 406</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"> 407</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495baed8383aa36b27a569d33434e6638551d">RED_SHELL_LOCK_ON</a>:</div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"> 408</span> <a class="code hl_function" href="blue__and__red__shells_2update_8inc_8c.html#a0cc339b71fb81e84d30eb55dc05b1a04">func_802B3E7C</a>(shell, &amp;<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-&gt;targetPlayer]);</div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"> 409</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno"> 410</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495baa42e974f033d01764e1c170a632c43bc">TRIPLE_GREEN_SHELL</a>:</div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno"> 411</span> <a class="code hl_function" href="blue__and__red__shells_2update_8inc_8c.html#a10550a4f6cb14493d6b16ac44a3c9484">func_802B3B44</a>(shell);</div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"> 412</span> <span class="keywordflow">if</span> (shell-&gt;someTimer == 0) {</div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"> 413</span> <span class="keywordflow">if</span> ((shell-&gt;<a class="code hl_variable" href="structActor.html#af49bb0c1202a06dc594529a2e77249c6">flags</a> &amp; 0xF) == 0) {</div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"> 414</span> <a class="code hl_function" href="actors_8c.html#a53268aa601911d56424ff08fb3395bcb">destroy_destructable_actor</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell);</div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"> 415</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno"> 416</span> shell-&gt;someTimer -= 1;</div>
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno"> 417</span> }</div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno"> 418</span> }</div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"> 419</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"> 420</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba7277793449f98cde9e41aeef89d77bba">GREEN_SHELL_HIT_A_RACER</a>:</div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"> 421</span> <a class="code hl_function" href="blue__and__red__shells_2update_8inc_8c.html#a10550a4f6cb14493d6b16ac44a3c9484">func_802B3B44</a>(shell);</div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"> 422</span> player = &amp;<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-&gt;targetPlayer];</div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno"> 423</span> height = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0];</div>
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno"> 424</span> height -= shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0];</div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"> 425</span> temp_f2 = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[2];</div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"> 426</span> temp_f2 -= shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2];</div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span> <span class="keywordflow">if</span> (((height * height) + (temp_f2 * temp_f2)) &lt; 40000.0f) {</div>
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno"> 428</span> shell-&gt;<a class="code hl_variable" href="structActor.html#a8fedca3871be05588e5263f4a184ad5d">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495baed8383aa36b27a569d33434e6638551d">RED_SHELL_LOCK_ON</a>;</div>
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno"> 429</span> }</div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"> 430</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno"> 431</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba5473d1b5b6530e1e4bf2c70d32b7bf68">TRIPLE_RED_SHELL</a>:</div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"> 432</span> player = &amp;<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-&gt;playerId];</div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"> 433</span> parent = (<a class="code hl_struct" href="structTripleShellParent.html">TripleShellParent</a>*) <a class="code hl_define" href="actor__types_8h.html#aed038e4e6a4801ef264d0f74731ebdf8">GET_ACTOR</a>(shell-&gt;parentIndex);</div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"> 434</span> <span class="keywordflow">if</span> (parent-&gt;<a class="code hl_variable" href="structTripleShellParent.html#a4fcf64256c3c06258809ee9a0871f6b6">type</a> != <a class="code hl_enumvalue" href="actor__types_8h.html#a06ad3f803827afd107e7682c8c22d990a325a39a80ee5c1af000a72187c8da86d">ACTOR_TRIPLE_RED_SHELL</a>) {</div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno"> 435</span> <a class="code hl_function" href="actors_8c.html#a53268aa601911d56424ff08fb3395bcb">destroy_destructable_actor</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell);</div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"> 436</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"> 437</span> shell-&gt;rotAngle += parent-&gt;<a class="code hl_variable" href="structTripleShellParent.html#a31471d3847195ba9618a684764b96043">rotVelocity</a>;</div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno"> 438</span> somePosVel[0] = <a class="code hl_function" href="math__util_8c.html#a19ed3bd78fd2d3e2bd0a29f6caf48545">sins</a>(shell-&gt;rotAngle) * 8.0f;</div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"> 439</span> somePosVel[1] = shell-&gt;<a class="code hl_variable" href="structActor.html#afa5dea9480abaa994c912de779986ef9">boundingBoxSize</a> - player-&gt;<a class="code hl_variable" href="structPlayer.html#a681f0fac4abe58cf5919dd4c6ac503d0">boundingBoxSize</a>;</div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"> 440</span> somePosVel[2] = <a class="code hl_function" href="math__util_8c.html#ae69cbf5c8d4b3b0dba2d7b4d4673689f">coss</a>(shell-&gt;rotAngle) * 8.0f;</div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span> <a class="code hl_function" href="math__util_8c.html#ad5bb0138c68b50f119d3cb7966f522b7">mtxf_translate_vec3f_mat3</a>(somePosVel, player-&gt;<a class="code hl_variable" href="structPlayer.html#a28df2c989598022073df6fc2425cbefe">orientationMatrix</a>);</div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"> 442</span> origPos[0] = shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0];</div>
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno"> 443</span> origPos[1] = shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1];</div>
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno"> 444</span> origPos[2] = shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2];</div>
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno"> 445</span> shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0] = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0] + somePosVel[0];</div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"> 446</span> shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1] = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[1] + somePosVel[1];</div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"> 447</span> shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2] = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[2] + somePosVel[2];</div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"> 448</span> <a class="code hl_function" href="collision_8c.html#a79293dbdae52d290fdaf8dde9d5244ca">actor_terrain_collision</a>(&amp;shell-&gt;<a class="code hl_variable" href="structActor.html#acd34f66c2555a2b2dba239da10475057">unk30</a>, 4.0f, shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0], shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1], shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2], origPos[0],</div>
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno"> 449</span> origPos[1], origPos[2]);</div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno"> 450</span> <a class="code hl_function" href="actors__extended_8c.html#a78e98c146f1f4dd6e3608016486172a4">func_802B4E30</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell);</div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno"> 451</span> }</div>
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno"> 452</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno"> 453</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba27fa834989e28bdd46500b6204a16f29">DESTROYED_SHELL</a>:</div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno"> 454</span> shell-&gt;<a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] -= 0.3f;</div>
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno"> 455</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] &lt; -5.0f) {</div>
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno"> 456</span> shell-&gt;<a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] = -5.0f;</div>
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno"> 457</span> }</div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"> 458</span> shell-&gt;rotAngle += 0x5B0;</div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"> 459</span> shell-&gt;someTimer -= 1;</div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"> 460</span> shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1] += shell-&gt;<a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1];</div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"> 461</span> <span class="keywordflow">if</span> (shell-&gt;someTimer == 0) {</div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno"> 462</span> <a class="code hl_function" href="actors_8c.html#a694ec6ef7548b8618aeb35c038d3a9b9">destroy_actor</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell);</div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno"> 463</span> }</div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno"> 464</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno"> 465</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495bacbbf8ec958ded92542c807a249ab5663">BLUE_SHELL_LOCK_ON</a>:</div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno"> 466</span> <a class="code hl_function" href="blue__and__red__shells_2update_8inc_8c.html#a10550a4f6cb14493d6b16ac44a3c9484">func_802B3B44</a>(shell);</div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno"> 467</span> shell-&gt;targetPlayer = <a class="code hl_variable" href="code__800029B0_8c.html#af041d75e08bc4d654b30e1c5c79550c9">gPlayerPositionLUT</a>[0];</div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno"> 468</span> player = &amp;<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[<a class="code hl_variable" href="code__800029B0_8c.html#af041d75e08bc4d654b30e1c5c79550c9">gPlayerPositionLUT</a>[0]];</div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno"> 469</span> height = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0];</div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno"> 470</span> height -= shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0];</div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno"> 471</span> temp_f2 = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[2];</div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno"> 472</span> temp_f2 -= shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2];</div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno"> 473</span> <span class="keywordflow">if</span> (((height * height) + (temp_f2 * temp_f2)) &lt; 40000.0f) {</div>
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno"> 474</span> shell-&gt;<a class="code hl_variable" href="structActor.html#a8fedca3871be05588e5263f4a184ad5d">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba5bedeedba66ded3f9a8f54f73bc2e6fa">BLUE_SHELL_TARGET_ELIMINATED</a>;</div>
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno"> 475</span> }</div>
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno"> 476</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno"> 477</span> <span class="keywordflow">case</span> 9:</div>
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno"> 478</span> <a class="code hl_function" href="blue__and__red__shells_2update_8inc_8c.html#a0cc339b71fb81e84d30eb55dc05b1a04">func_802B3E7C</a>(shell, &amp;<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-&gt;targetPlayer]);</div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"> 479</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"> 480</span> <span class="keywordflow">default</span>:</div>
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno"> 481</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno"> 482</span> }</div>
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno"> 483</span>}</div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span> temp_v0 = <a class="code hl_variable" href="code__80005FD0_8c.html#aecaedcf25130d660c6c5885cb92f3259">gNearestPathPointByPlayerId</a>[player - <a class="code hl_variable" href="main_8c.html#a0204a9efe5c4b5e5ce5153086a5ccb49">gPlayerOne</a>] + 8;</div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span> <span class="keywordflow">if</span> ((s32) <a class="code hl_variable" href="code__80005FD0_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a> &lt; temp_v0) {</div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"> 390</span> temp_v0 -= <a class="code hl_variable" href="code__80005FD0_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a>;</div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"> 391</span> }</div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"> 392</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#af3da1448ac4320471aadbc7652ea81a5">pathIndex</a> = temp_v0;</div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#ad503d4399dfef15a8aeb4cfec64ac155">targetPlayer</a> = <a class="code hl_variable" href="code__800029B0_8c.html#af041d75e08bc4d654b30e1c5c79550c9">gPlayerPositionLUT</a>[player-&gt;<a class="code hl_variable" href="structPlayer.html#af68a201da4cc5a0628252a352d147767">currentRank</a> - 1];</div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"> 394</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"> 395</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495baed8383aa36b27a569d33434e6638551d">RED_SHELL_LOCK_ON</a>;</div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"> 396</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a6d1756d5e7cf11fdb35eec5ef86c6951">shellId</a> = 1000.0f;</div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"> 397</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#ad503d4399dfef15a8aeb4cfec64ac155">targetPlayer</a> = <a class="code hl_variable" href="code__800029B0_8c.html#af041d75e08bc4d654b30e1c5c79550c9">gPlayerPositionLUT</a>[player-&gt;<a class="code hl_variable" href="structPlayer.html#af68a201da4cc5a0628252a352d147767">currentRank</a> - 1];</div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"> 398</span> }</div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span> }</div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span> }</div>
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno"> 401</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] -= 0.5;</div>
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"> 402</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] &lt; -2.0f) {</div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"> 403</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] = -2.0f;</div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"> 404</span> }</div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"> 405</span> origPos[0] = shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0];</div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"> 406</span> origPos[1] = shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1];</div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"> 407</span> origPos[2] = shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2];</div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"> 408</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0] += shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[0];</div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"> 409</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1] += shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1];</div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno"> 410</span> shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2] += shell-&gt;<a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[2];</div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno"> 411</span> <a class="code hl_function" href="collision_8c.html#a79293dbdae52d290fdaf8dde9d5244ca">actor_terrain_collision</a>(&amp;shell-&gt;<a class="code hl_variable" href="structShellActor.html#acf7c6324c79136005a8a16b0280862d4">unk30</a>, 4.0f, shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0], shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1], shell-&gt;<a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2], origPos[0],</div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"> 412</span> origPos[1], origPos[2]);</div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"> 413</span> <a class="code hl_function" href="actors__extended_8c.html#a78e98c146f1f4dd6e3608016486172a4">func_802B4E30</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell);</div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"> 414</span> <a class="code hl_function" href="blue__and__red__shells_2update_8inc_8c.html#a334de9136224947ca20e7d31fb009a82">func_802B4104</a>(shell);</div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"> 415</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno"> 416</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495baed8383aa36b27a569d33434e6638551d">RED_SHELL_LOCK_ON</a>:</div>
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno"> 417</span> <a class="code hl_function" href="blue__and__red__shells_2update_8inc_8c.html#a0cc339b71fb81e84d30eb55dc05b1a04">func_802B3E7C</a>(shell, &amp;<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-&gt;targetPlayer]);</div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno"> 418</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"> 419</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495baa42e974f033d01764e1c170a632c43bc">TRIPLE_GREEN_SHELL</a>:</div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"> 420</span> <a class="code hl_function" href="blue__and__red__shells_2update_8inc_8c.html#a10550a4f6cb14493d6b16ac44a3c9484">func_802B3B44</a>(shell);</div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"> 421</span> <span class="keywordflow">if</span> (shell-&gt;someTimer == 0) {</div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"> 422</span> <span class="keywordflow">if</span> ((shell-&gt;<a class="code hl_variable" href="structActor.html#af49bb0c1202a06dc594529a2e77249c6">flags</a> &amp; 0xF) == 0) {</div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno"> 423</span> <a class="code hl_function" href="actors_8c.html#a53268aa601911d56424ff08fb3395bcb">destroy_destructable_actor</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell);</div>
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno"> 424</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"> 425</span> shell-&gt;someTimer -= 1;</div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"> 426</span> }</div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span> }</div>
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno"> 428</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno"> 429</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba7277793449f98cde9e41aeef89d77bba">GREEN_SHELL_HIT_A_RACER</a>:</div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"> 430</span> <a class="code hl_function" href="blue__and__red__shells_2update_8inc_8c.html#a10550a4f6cb14493d6b16ac44a3c9484">func_802B3B44</a>(shell);</div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno"> 431</span> player = &amp;<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-&gt;targetPlayer];</div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"> 432</span> height = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0];</div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"> 433</span> height -= shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0];</div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"> 434</span> temp_f2 = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[2];</div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno"> 435</span> temp_f2 -= shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2];</div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"> 436</span> <span class="keywordflow">if</span> (((height * height) + (temp_f2 * temp_f2)) &lt; 40000.0f) {</div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"> 437</span> shell-&gt;<a class="code hl_variable" href="structActor.html#a8fedca3871be05588e5263f4a184ad5d">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495baed8383aa36b27a569d33434e6638551d">RED_SHELL_LOCK_ON</a>;</div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno"> 438</span> }</div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"> 439</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"> 440</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba5473d1b5b6530e1e4bf2c70d32b7bf68">TRIPLE_RED_SHELL</a>:</div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span> player = &amp;<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-&gt;playerId];</div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"> 442</span> parent = (<a class="code hl_struct" href="structTripleShellParent.html">TripleShellParent</a>*) <a class="code hl_define" href="actor__types_8h.html#aed038e4e6a4801ef264d0f74731ebdf8">GET_ACTOR</a>(shell-&gt;parentIndex);</div>
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno"> 443</span> <span class="keywordflow">if</span> (parent-&gt;<a class="code hl_variable" href="structTripleShellParent.html#a4fcf64256c3c06258809ee9a0871f6b6">type</a> != <a class="code hl_enumvalue" href="actor__types_8h.html#a06ad3f803827afd107e7682c8c22d990a325a39a80ee5c1af000a72187c8da86d">ACTOR_TRIPLE_RED_SHELL</a>) {</div>
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno"> 444</span> <a class="code hl_function" href="actors_8c.html#a53268aa601911d56424ff08fb3395bcb">destroy_destructable_actor</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell);</div>
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno"> 445</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"> 446</span> shell-&gt;rotAngle += parent-&gt;<a class="code hl_variable" href="structTripleShellParent.html#a31471d3847195ba9618a684764b96043">rotVelocity</a>;</div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"> 447</span> somePosVel[0] = <a class="code hl_function" href="math__util_8c.html#a19ed3bd78fd2d3e2bd0a29f6caf48545">sins</a>(shell-&gt;rotAngle) * 8.0f;</div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"> 448</span> somePosVel[1] = shell-&gt;<a class="code hl_variable" href="structActor.html#afa5dea9480abaa994c912de779986ef9">boundingBoxSize</a> - player-&gt;<a class="code hl_variable" href="structPlayer.html#a681f0fac4abe58cf5919dd4c6ac503d0">boundingBoxSize</a>;</div>
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno"> 449</span> somePosVel[2] = <a class="code hl_function" href="math__util_8c.html#ae69cbf5c8d4b3b0dba2d7b4d4673689f">coss</a>(shell-&gt;rotAngle) * 8.0f;</div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno"> 450</span> <a class="code hl_function" href="math__util_8c.html#ad5bb0138c68b50f119d3cb7966f522b7">mtxf_translate_vec3f_mat3</a>(somePosVel, player-&gt;<a class="code hl_variable" href="structPlayer.html#a28df2c989598022073df6fc2425cbefe">orientationMatrix</a>);</div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno"> 451</span> origPos[0] = shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0];</div>
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno"> 452</span> origPos[1] = shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1];</div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno"> 453</span> origPos[2] = shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2];</div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno"> 454</span> shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0] = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0] + somePosVel[0];</div>
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno"> 455</span> shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1] = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[1] + somePosVel[1];</div>
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno"> 456</span> shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2] = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[2] + somePosVel[2];</div>
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno"> 457</span> <a class="code hl_function" href="collision_8c.html#a79293dbdae52d290fdaf8dde9d5244ca">actor_terrain_collision</a>(&amp;shell-&gt;<a class="code hl_variable" href="structActor.html#acd34f66c2555a2b2dba239da10475057">unk30</a>, 4.0f, shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0], shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1], shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2], origPos[0],</div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"> 458</span> origPos[1], origPos[2]);</div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"> 459</span> <a class="code hl_function" href="actors__extended_8c.html#a78e98c146f1f4dd6e3608016486172a4">func_802B4E30</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell);</div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"> 460</span> }</div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"> 461</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno"> 462</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba27fa834989e28bdd46500b6204a16f29">DESTROYED_SHELL</a>:</div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno"> 463</span> shell-&gt;<a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] -= 0.3f;</div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno"> 464</span> <span class="keywordflow">if</span> (shell-&gt;<a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] &lt; -5.0f) {</div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno"> 465</span> shell-&gt;<a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] = -5.0f;</div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno"> 466</span> }</div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno"> 467</span> shell-&gt;rotAngle += 0x5B0;</div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno"> 468</span> shell-&gt;someTimer -= 1;</div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno"> 469</span> shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1] += shell-&gt;<a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1];</div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno"> 470</span> <span class="keywordflow">if</span> (shell-&gt;someTimer == 0) {</div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno"> 471</span> <a class="code hl_function" href="actors_8c.html#a694ec6ef7548b8618aeb35c038d3a9b9">destroy_actor</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell);</div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno"> 472</span> }</div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno"> 473</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno"> 474</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495bacbbf8ec958ded92542c807a249ab5663">BLUE_SHELL_LOCK_ON</a>:</div>
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno"> 475</span> <a class="code hl_function" href="blue__and__red__shells_2update_8inc_8c.html#a10550a4f6cb14493d6b16ac44a3c9484">func_802B3B44</a>(shell);</div>
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno"> 476</span> shell-&gt;targetPlayer = <a class="code hl_variable" href="code__800029B0_8c.html#af041d75e08bc4d654b30e1c5c79550c9">gPlayerPositionLUT</a>[0];</div>
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno"> 477</span> player = &amp;<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[<a class="code hl_variable" href="code__800029B0_8c.html#af041d75e08bc4d654b30e1c5c79550c9">gPlayerPositionLUT</a>[0]];</div>
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno"> 478</span> height = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0];</div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"> 479</span> height -= shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0];</div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"> 480</span> temp_f2 = player-&gt;<a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[2];</div>
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno"> 481</span> temp_f2 -= shell-&gt;<a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2];</div>
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno"> 482</span> <span class="keywordflow">if</span> (((height * height) + (temp_f2 * temp_f2)) &lt; 40000.0f) {</div>
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno"> 483</span> shell-&gt;<a class="code hl_variable" href="structActor.html#a8fedca3871be05588e5263f4a184ad5d">state</a> = <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba5bedeedba66ded3f9a8f54f73bc2e6fa">BLUE_SHELL_TARGET_ELIMINATED</a>;</div>
<div class="line"><a id="l00484" name="l00484"></a><span class="lineno"> 484</span> }</div>
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno"> 485</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno"> 486</span> <span class="keywordflow">case</span> 9:</div>
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno"> 487</span> <a class="code hl_function" href="blue__and__red__shells_2update_8inc_8c.html#a0cc339b71fb81e84d30eb55dc05b1a04">func_802B3E7C</a>(shell, &amp;<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-&gt;targetPlayer]);</div>
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno"> 488</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno"> 489</span> <span class="keywordflow">default</span>:</div>
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno"> 490</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00491" name="l00491"></a><span class="lineno"> 491</span> }</div>
<div class="line"><a id="l00492" name="l00492"></a><span class="lineno"> 492</span>}</div>
</div>
<div class="ttc" id="aGame_8cpp_html_a04c2e1c30af14b6e8354d7a9be00e39c"><div class="ttname"><a href="Game_8cpp.html#a04c2e1c30af14b6e8354d7a9be00e39c">CM_FindActorIndex</a></div><div class="ttdeci">size_t CM_FindActorIndex(Actor *actor)</div><div class="ttdef"><b>Definition</b> Game.cpp:619</div></div>
<div class="ttc" id="aGame_8h_html"><div class="ttname"><a href="Game_8h.html">Game.h</a></div></div>
+17 -15
View File
@@ -110,35 +110,37 @@ $(function(){initNavTree('bug.html',''); initResizable(true); });
<div class="contents">
<div class="textblock"><dl class="reflist">
<dt>Global <a class="el" href="defines_8h.html#ac80a3592e72fd96b772ee47a7d8e0d0a">DEBUG_MODE</a> </dt>
<dd><a class="anchor" id="_bug000015"></a>This looks like it should work at any point in the race. </dd>
<dd><a class="anchor" id="_bug000016"></a>This looks like it should work at any point in the race. </dd>
<dt>Global <a class="el" href="collision_8h.html#a10c118854a3112e7a2e86fd88d538f01">detect_tyre_collision</a> (<a class="el" href="structKartTyre.html">KartTyre</a> *)</dt>
<dd><a class="anchor" id="_bug000013"></a> </dd>
<dd><a class="anchor" id="_bug000014"></a> </dd>
<dt>Global <a class="el" href="code__80005FD0_8c.html#a61da9c57e00b21e4a075bf9d41b932a1">func_8001969C</a> (UNUSED s32 playerId, UNUSED f32 arg1, s32 cameraId, UNUSED s16 pathIndex)</dt>
<dd><a class="anchor" id="_bug000006"></a>Adding an (f32) cast changes asm, why? </dd>
<dd><a class="anchor" id="_bug000007"></a>Adding an (f32) cast changes asm, why? </dd>
<dt>Global <a class="el" href="update__objects_8c.html#aec77d54c5edbca021bb2c01c31af955a">func_80077E20</a> (s32 objectIndex)</dt>
<dd><a class="anchor" id="_bug000014"></a>frappe snowland There's something up with the handling of common_vtx_rectangle and the loading of 0x10 right here </dd>
<dd><a class="anchor" id="_bug000015"></a>frappe snowland There's something up with the handling of common_vtx_rectangle and the loading of 0x10 right here </dd>
<dt>Global <a class="el" href="heap_8h.html#ab4f80aff560307d96b2c40b5c0ed82f8">func_800B9BE4</a> (f32, f32, u16 *)</dt>
<dd><a class="anchor" id="_bug000001"></a>they probably meant to store the value to tmp[i] and tmp[8 + i] </dd>
<dd><a class="anchor" id="_bug000002"></a>they probably meant to store the value to tmp[i] and tmp[8 + i] </dd>
<dt>Global <a class="el" href="load_8h.html#ab3527402c5b0ba729e379fb33e802291">func_800BB388</a> (s32 bankId, s32 instId, s32 arg2)</dt>
<dd><a class="anchor" id="_bug000002"></a>missing return </dd>
<dd><a class="anchor" id="_bug000003"></a>missing return </dd>
<dt>Global <a class="el" href="seqplayer_8h.html#a96fd2718691a0e1c86de13d55670a8b1">init_sequence_players</a> (void)</dt>
<dd><a class="anchor" id="_bug000005"></a>Size of wrong array. Zeroes out second half of gSequenceChannels[0], all of gSequenceChannels[1..31], and part of gSequenceLayers[0]. However, this is only called at startup, so it's harmless. </dd>
<dd><a class="anchor" id="_bug000006"></a>Size of wrong array. Zeroes out second half of gSequenceChannels[0], all of gSequenceChannels[1..31], and part of gSequenceLayers[0]. However, this is only called at startup, so it's harmless. </dd>
<dt>Global <a class="el" href="podium__ceremony__actors_8h.html#a186674a03da1d9fce04a3211d6f4ec4d">new_actor</a> (<a class="el" href="structActorInitParams.html">ActorInitParams</a> *)</dt>
<dd><p class="startdd"><a class="anchor" id="_bug000008"></a>No null check. </p>
<p class="enddd"><a class="anchor" id="_bug000009"></a> </p>
<dd><p class="startdd"><a class="anchor" id="_bug000009"></a>No null check. </p>
<p class="enddd"><a class="anchor" id="_bug000010"></a> </p>
</dd>
<dt>Global <a class="el" href="playback_8h.html#a281646ee32b4a0af33bcb1e95afd624e">note_set_vel_pan_reverb</a> (struct <a class="el" href="structNote.html">Note</a> *note, f32 velocity, u8 pan, u8 reverbVol)</dt>
<dd><a class="anchor" id="_bug000004"></a>for the change to UQ0.7, the if statement should also have been changed accordingly </dd>
<dd><a class="anchor" id="_bug000005"></a>for the change to UQ0.7, the if statement should also have been changed accordingly </dd>
<dt>Global <a class="el" href="load_8h.html#a9c1bfb29806b05fc3a700184dcac6880">preload_sequence</a> (u32, u8)</dt>
<dd><a class="anchor" id="_bug000003"></a>should be IS_SEQ_LOAD_COMPLETE </dd>
<dd><a class="anchor" id="_bug000004"></a>should be IS_SEQ_LOAD_COMPLETE </dd>
<dt>Global <a class="el" href="menu__items_8h.html#a5b9f65d326f8281c8d77ab26a178de52">render_menu_item_data_course_image</a> (<a class="el" href="structMenuItem.html">MenuItem</a> *)</dt>
<dd><a class="anchor" id="_bug000012"></a>todo: This function will not work in custom courses. </dd>
<dd><a class="anchor" id="_bug000013"></a>todo: This function will not work in custom courses. </dd>
<dt>Global <a class="el" href="code__80281780_8h.html#a59f61302f1f5f6ecab728bf08608d16b">setup_podium_ceremony</a> (void)</dt>
<dd><a class="anchor" id="_bug000007"></a>these segmented addresses need to be symbols for mobility </dd>
<dd><a class="anchor" id="_bug000008"></a>these segmented addresses need to be symbols for mobility </dd>
<dt>Global <a class="el" href="blue__and__red__shells_2update_8inc_8c.html#a6e281ad692a9ccd329fa6840ad38afbc">update_actor_red_blue_shell</a> (struct <a class="el" href="structShellActor.html">ShellActor</a> *shell)</dt>
<dd><a class="anchor" id="_bug000001"></a>commented out code results in cpus controlling player1 items and other glitches </dd>
<dt>Global <a class="el" href="main_8h.html#ad0625ed56ac663d3ec7ae8f1ba50c735">update_gamestate</a> (void)</dt>
<dd><a class="anchor" id="_bug000011"></a>Reloading this segment makes <a class="el" href="math__util_8c.html#a062850863585005ad1d0a75d9ff70693">random_u16()</a> deterministic for player spawn order. In laymens terms, <a class="el" href="math__util_8c.html#a062850863585005ad1d0a75d9ff70693">random_u16()</a> outputs the same value every time. </dd>
<dd><a class="anchor" id="_bug000012"></a>Reloading this segment makes <a class="el" href="math__util_8c.html#a062850863585005ad1d0a75d9ff70693">random_u16()</a> deterministic for player spawn order. In laymens terms, <a class="el" href="math__util_8c.html#a062850863585005ad1d0a75d9ff70693">random_u16()</a> outputs the same value every time. </dd>
<dt>Global <a class="el" href="classYoshiValley.html#aeb7285a3e855f75b8a1bde321834be1b">YoshiValley::BeginPlay</a> () override</dt>
<dd><a class="anchor" id="_bug000010"></a>Skip spawning in credits due to animation crash for now </dd>
<dd><a class="anchor" id="_bug000011"></a>Skip spawning in credits due to animation crash for now </dd>
</dl>
</div></div><!-- contents -->
</div><!-- PageDoc -->
+2 -2
View File
@@ -1363,7 +1363,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000011">Todo</a></b></dt><dd>Does this match as a return of s8? </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000010">Todo</a></b></dt><dd>Does this match as a return of s8? </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
@@ -2099,7 +2099,7 @@ Here is the call graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000012">Todo</a></b></dt><dd>What does this even do? </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000011">Todo</a></b></dt><dd>What does this even do? </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -2037,7 +2037,7 @@ Here is the call graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000012">Todo</a></b></dt><dd>What does this even do? </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000011">Todo</a></b></dt><dd>What does this even do? </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -194,7 +194,7 @@ Additional Inherited Members</h2></td></tr>
<tr class="separator:a9b983519e7109f80064a14f0f620eadf inherit pub_attribs_classOObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><dl class="todo"><dt><b><a class="el" href="todo.html#_todo000019">Todo</a></b></dt><dd>unk_0D5 needs to be a struct variable probably. What does it do? Behaviour? </dd></dl>
<div class="textblock"><dl class="todo"><dt><b><a class="el" href="todo.html#_todo000015">Todo</a></b></dt><dd>unk_0D5 needs to be a struct variable probably. What does it do? Behaviour? </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a4dc7ec474bcdfc2469500232b6419b87" name="a4dc7ec474bcdfc2469500232b6419b87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4dc7ec474bcdfc2469500232b6419b87">&#9670;&#160;</a></span>OSeagull()</h2>
+1 -1
View File
@@ -713,7 +713,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000015">Todo</a></b></dt><dd>quick hack to add the snow particles on hit. Need to separate into its own class </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000016">Todo</a></b></dt><dd>quick hack to add the snow particles on hit. Need to separate into its own class </dd></dl>
<p>Reimplemented from <a class="el" href="classOObject.html#a3a207a0d2b4292e683e70f57e854fc22">OObject</a>.</p>
<div class="dynheader">
+2 -2
View File
@@ -289,7 +289,7 @@ Static Private Attributes</h2></td></tr>
<tr class="separator:a473ab45c3488350f0214f9f7a72c1455"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><dl class="todo"><dt><b><a class="el" href="todo.html#_todo000016">Todo</a></b></dt><dd><p class="startdd">Make shadow size bigger if thwomp is scaled up </p>
<div class="textblock"><dl class="todo"><dt><b><a class="el" href="todo.html#_todo000018">Todo</a></b></dt><dd><p class="startdd">Make shadow size bigger if thwomp is scaled up </p>
<p class="enddd">make adjustable properties for squishSize and boundingBoxSize </p>
</dd></dl>
<p>Thwomp <a class="el" href="classOObject.html">OObject</a></p>
@@ -1690,7 +1690,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000018">Todo</a></b></dt><dd>Write this better. This effects the squish size and the bounding box size. </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000019">Todo</a></b></dt><dd>Write this better. This effects the squish size and the bounding box size. </dd></dl>
</div>
</div>
+1 -1
View File
@@ -818,7 +818,7 @@ Here is the call graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000024">Todo</a></b></dt><dd>Use content dictionary instead </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000022">Todo</a></b></dt><dd>Use content dictionary instead </dd></dl>
</div>
</div>
+1 -1
View File
@@ -239,7 +239,7 @@ Here is the call graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000010">Bug</a></b></dt><dd>Skip spawning in credits due to animation crash for now </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000011">Bug</a></b></dt><dd>Skip spawning in credits due to animation crash for now </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -3645,7 +3645,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000006">Bug</a></b></dt><dd>Adding an (f32) cast changes asm, why? </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000007">Bug</a></b></dt><dd>Adding an (f32) cast changes asm, why? </dd></dl>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
+2 -2
View File
@@ -194,7 +194,7 @@ Variables</h2></td></tr>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000010">Todo</a></b></dt><dd>confirm this. </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000012">Todo</a></b></dt><dd>confirm this. </dd></dl>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
@@ -266,7 +266,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000007">Bug</a></b></dt><dd>these segmented addresses need to be symbols for mobility </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000008">Bug</a></b></dt><dd>these segmented addresses need to be symbols for mobility </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+2 -2
View File
@@ -170,7 +170,7 @@ Variables</h2></td></tr>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000010">Todo</a></b></dt><dd>confirm this. </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000012">Todo</a></b></dt><dd>confirm this. </dd></dl>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
@@ -242,7 +242,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000007">Bug</a></b></dt><dd>these segmented addresses need to be symbols for mobility </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000008">Bug</a></b></dt><dd>these segmented addresses need to be symbols for mobility </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -727,7 +727,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000013">Bug</a></b></dt><dd></dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000014">Bug</a></b></dt><dd></dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -555,7 +555,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000013">Bug</a></b></dt><dd></dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000014">Bug</a></b></dt><dd></dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+2 -2
View File
@@ -135,7 +135,7 @@ $(function(){initNavTree('controlflow.html',''); initResizable(true); });
<a href="#actors-1">Actors</a>
</li>
<li class="level2">
<a href="#objects-1">Objects</a>
<a href="#objects">Objects</a>
</li>
<li class="level2">
<a href="#courses">Courses</a>
@@ -270,7 +270,7 @@ Actors</h2>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="code__80005FD0_8c.html">code_80005FD0</a> </td><td class="markdownTableBodyNone">Vehicles; trains, cars, trucks, boats </td></tr>
</table>
<h2><a class="anchor" id="objects-1"></a>
<h2><a class="anchor" id="objects"></a>
Objects</h2>
<p><a class="el" href="structObject.html">Object</a> related code resides in </p><table class="markdownTable">
<tr class="markdownTableHead">
+1 -1
View File
@@ -1219,7 +1219,7 @@ Enumerations</h2></td></tr>
<p>Press start to skip through menus</p>
<p>Toggle resource meters by holding R and tapping B. L must not be held.</p>
<p>Reset to start screen by holding A, B, R, and L.</p>
<p>View player direction and currentPathPoint in a single player race during staging tap L while holding A and B. Turn off this UI by tapping R while holding A and B. </p><dl class="bug"><dt><b><a class="el" href="bug.html#_bug000015">Bug</a></b></dt><dd>This looks like it should work at any point in the race.</dd></dl>
<p>View player direction and currentPathPoint in a single player race during staging tap L while holding A and B. Turn off this UI by tapping R while holding A and B. </p><dl class="bug"><dt><b><a class="el" href="bug.html#_bug000016">Bug</a></b></dt><dd>This looks like it should work at any point in the race.</dd></dl>
<p>Set player 1 to the final lap by tapping D-pad up. Set player 1 and player 2 to the final lap by tapping D-pad right. Set player all players to the final lap by tapping D-pad down.</p>
<p>Immediately start the race if any controller presses Z.</p>
<p>As the ceremony cutscene starts hold a C or D-pad to switch characters. C UP = LUIGI C LEFT = YOSHI C RIGHT = TOAD C DOWN = DK D-pad UP = WARIO D-pad LEFT = PEACH D-pad RIGHT = BOWSER D-pad DOWN = MARIO </p>
+2 -2
View File
@@ -6248,7 +6248,7 @@
<a href="controlflow.html#engine"/>
<a href="controlflow.html#math"/>
<a href="controlflow.html#menus"/>
<a href="controlflow.html#objects-1"/>
<a href="controlflow.html#objects"/>
<a href="controlflow.html#overall-control-flow"/>
<a href="controlflow.html#paradigm"/>
<a href="controlflow.html#players"/>
@@ -12545,7 +12545,7 @@
<a href="new__func_8h.html#ac8095e2ec1adbd7e74e655c578968a36"/>
<a href="new__func_8h_source.html"/>
<a href="objects.html"/>
<a href="objects.html#objects"/>
<a href="objects.html#objects-1"/>
<a href="objects_8h.html"/>
<a href="objects_8h.html#a015cc1fa03690348fb398b9be74ecc15"/>
<a href="objects_8h.html#a02bd29e49d2089bb6bd1bfe33e360584"/>
+1 -1
View File
@@ -279,7 +279,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000022">Todo</a></b></dt><dd>configure this properly </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000024">Todo</a></b></dt><dd>configure this properly </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -221,7 +221,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000022">Todo</a></b></dt><dd>configure this properly </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000024">Todo</a></b></dt><dd>configure this properly </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -554,7 +554,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000001">Bug</a></b></dt><dd>they probably meant to store the value to tmp[i] and tmp[8 + i] </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000002">Bug</a></b></dt><dd>they probably meant to store the value to tmp[i] and tmp[8 + i] </dd></dl>
</div>
</div>
+1 -1
View File
@@ -651,7 +651,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000001">Bug</a></b></dt><dd>they probably meant to store the value to tmp[i] and tmp[8 + i] </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000002">Bug</a></b></dt><dd>they probably meant to store the value to tmp[i] and tmp[8 + i] </dd></dl>
</div>
</div>
+2 -2
View File
@@ -838,7 +838,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000002">Bug</a></b></dt><dd>missing return </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000003">Bug</a></b></dt><dd>missing return </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
@@ -1131,7 +1131,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000003">Bug</a></b></dt><dd>should be IS_SEQ_LOAD_COMPLETE </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000004">Bug</a></b></dt><dd>should be IS_SEQ_LOAD_COMPLETE </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+2 -2
View File
@@ -661,7 +661,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000002">Bug</a></b></dt><dd>missing return </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000003">Bug</a></b></dt><dd>missing return </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
@@ -923,7 +923,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000003">Bug</a></b></dt><dd>should be IS_SEQ_LOAD_COMPLETE </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000004">Bug</a></b></dt><dd>should be IS_SEQ_LOAD_COMPLETE </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -1954,7 +1954,7 @@ Here is the caller graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Sets courseId to NULL if </p>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000011">Bug</a></b></dt><dd>Reloading this segment makes <a class="el" href="math__util_8c.html#a062850863585005ad1d0a75d9ff70693">random_u16()</a> deterministic for player spawn order. In laymens terms, <a class="el" href="math__util_8c.html#a062850863585005ad1d0a75d9ff70693">random_u16()</a> outputs the same value every time. </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000012">Bug</a></b></dt><dd>Reloading this segment makes <a class="el" href="math__util_8c.html#a062850863585005ad1d0a75d9ff70693">random_u16()</a> deterministic for player spawn order. In laymens terms, <a class="el" href="math__util_8c.html#a062850863585005ad1d0a75d9ff70693">random_u16()</a> outputs the same value every time. </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -1766,7 +1766,7 @@ Here is the caller graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Sets courseId to NULL if </p>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000011">Bug</a></b></dt><dd>Reloading this segment makes <a class="el" href="math__util_8c.html#a062850863585005ad1d0a75d9ff70693">random_u16()</a> deterministic for player spawn order. In laymens terms, <a class="el" href="math__util_8c.html#a062850863585005ad1d0a75d9ff70693">random_u16()</a> outputs the same value every time. </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000012">Bug</a></b></dt><dd>Reloading this segment makes <a class="el" href="math__util_8c.html#a062850863585005ad1d0a75d9ff70693">random_u16()</a> deterministic for player spawn order. In laymens terms, <a class="el" href="math__util_8c.html#a062850863585005ad1d0a75d9ff70693">random_u16()</a> outputs the same value every time. </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -10237,7 +10237,7 @@ Here is the call graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000012">Bug</a></b></dt><dd>todo: This function will not work in custom courses. </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000013">Bug</a></b></dt><dd>todo: This function will not work in custom courses. </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -10370,7 +10370,7 @@ Here is the call graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000012">Bug</a></b></dt><dd>todo: This function will not work in custom courses. </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000013">Bug</a></b></dt><dd>todo: This function will not work in custom courses. </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -381,7 +381,7 @@ Here is the caller graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Navigation of the map select course menu screen </p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000029">Todo</a></b></dt><dd><a class="el" href="Game_8cpp.html#af96f9195419b1a81241a2bd5fc03f93b">SetCourse()</a> to course one; </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000030">Todo</a></b></dt><dd><a class="el" href="Game_8cpp.html#af96f9195419b1a81241a2bd5fc03f93b">SetCourse()</a> to course one; </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -861,7 +861,7 @@ Variables</h2></td></tr>
</table>
</div><div class="memdoc">
<p>Navigation of the map select course menu screen </p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000029">Todo</a></b></dt><dd><a class="el" href="Game_8cpp.html#af96f9195419b1a81241a2bd5fc03f93b">SetCourse()</a> to course one; </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000030">Todo</a></b></dt><dd><a class="el" href="Game_8cpp.html#af96f9195419b1a81241a2bd5fc03f93b">SetCourse()</a> to course one; </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -101,8 +101,8 @@ var NAVTREE =
[ "Future plans", "md_docs_2textures-pack.html#future-plans-1", null ]
] ],
[ "Tutorials", "tutorials.html", "tutorials" ],
[ "Todo List", "todo.html", null ],
[ "Bug List", "bug.html", null ],
[ "Todo List", "todo.html", null ],
[ "Deprecated List", "deprecated.html", null ],
[ "Namespaces", "namespaces.html", [
[ "Namespace List", "namespaces.html", "namespaces_dup" ],
+1 -1
View File
@@ -175,7 +175,7 @@ var NAVTREEINDEX26 =
"controlflow.html#engine":[1,2,4,6],
"controlflow.html#math":[1,2,4,7],
"controlflow.html#menus":[1,2,4,0],
"controlflow.html#objects-1":[1,2,4,3],
"controlflow.html#objects":[1,2,4,3],
"controlflow.html#overall-control-flow":[1,2,2],
"controlflow.html#paradigm":[1,2,0],
"controlflow.html#players":[1,2,4,1],
+1 -1
View File
@@ -247,7 +247,7 @@ var NAVTREEINDEX50 =
"new__func_8h.html#ac8095e2ec1adbd7e74e655c578968a36":[15,0,3,9,55,0],
"new__func_8h_source.html":[15,0,3,9,55],
"objects.html":[0,1],
"objects.html#objects":[0,1,0],
"objects.html#objects-1":[0,1,0],
"objects_8h.html":[15,0,2,16],
"objects_8h.html#a015cc1fa03690348fb398b9be74ecc15":[15,0,2,16,35]
};
+1 -1
View File
@@ -33,7 +33,7 @@ var NAVTREEINDEX7 =
"buffers_8h.html#ad69c72ff050917ed80fee1f0a4b6e373":[15,0,3,14,13],
"buffers_8h.html#ad9140e069d65bc5b5da75424d09e9e57":[15,0,3,14,14],
"buffers_8h_source.html":[15,0,3,14],
"bug.html":[11],
"bug.html":[10],
"camera_8c.html":[15,0,3,15],
"camera_8c.html#a0044cd79d56fa26de4dfd49bc77e3471":[15,0,3,15,14],
"camera_8c.html#a005d75adccaa470b61adba174ce1a631":[15,0,3,15,34],
+1 -1
View File
@@ -106,7 +106,7 @@ var NAVTREEINDEX83 =
"toads__turnpike__vertices_8h.html":[15,0,2,0,72],
"toads__turnpike__vertices_8h.html#aeb4a622bb261d15775c85686a152bff0":[15,0,2,0,72,0],
"toads__turnpike__vertices_8h_source.html":[15,0,2,0,72],
"todo.html":[10],
"todo.html":[11],
"track_8c.html":[15,0,0,8,12],
"track_8c.html#a00958ded863a09c2857c7e89950e0601":[15,0,0,8,12,36],
"track_8c.html#a01ea1f8de04f1e92a9690b1bbb863d28":[15,0,0,8,12,217],
+1 -1
View File
@@ -841,7 +841,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000030">Todo</a></b></dt><dd><a class="el" href="Game_8cpp.html#af96f9195419b1a81241a2bd5fc03f93b">SetCourse()</a>; </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000029">Todo</a></b></dt><dd><a class="el" href="Game_8cpp.html#af96f9195419b1a81241a2bd5fc03f93b">SetCourse()</a>; </dd></dl>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -108,7 +108,7 @@ $(function(){initNavTree('objects.html',''); initResizable(true); });
<div class="headertitle"><div class="title">Objects</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><h1><a class="anchor" id="objects"></a>
<div class="textblock"><h1><a class="anchor" id="objects-1"></a>
Objects</h1>
</div></div><!-- contents -->
</div><!-- PageDoc -->
+2 -2
View File
@@ -133,8 +133,8 @@ $(function(){initNavTree('pages.html',''); initResizable(true); });
<tr id="row_9_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a class="el" href="boostramps.html" target="_self">Boost Ramps</a></td><td class="desc"></td></tr>
<tr id="row_9_1_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a class="el" href="paths.html" target="_self">Paths</a></td><td class="desc"></td></tr>
<tr id="row_9_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a class="el" href="tutorialaudio.html" target="_self">Audio</a></td><td class="desc"></td></tr>
<tr id="row_10_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a class="el" href="todo.html" target="_self">Todo List</a></td><td class="desc"></td></tr>
<tr id="row_11_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a class="el" href="bug.html" target="_self">Bug List</a></td><td class="desc"></td></tr>
<tr id="row_10_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a class="el" href="bug.html" target="_self">Bug List</a></td><td class="desc"></td></tr>
<tr id="row_11_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a class="el" href="todo.html" target="_self">Todo List</a></td><td class="desc"></td></tr>
<tr id="row_12_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a class="el" href="deprecated.html" target="_self">Deprecated List</a></td><td class="desc"></td></tr>
</table>
</div><!-- directory -->
+1 -1
View File
@@ -870,7 +870,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000004">Bug</a></b></dt><dd>for the change to UQ0.7, the if statement should also have been changed accordingly </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000005">Bug</a></b></dt><dd>for the change to UQ0.7, the if statement should also have been changed accordingly </dd></dl>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -931,7 +931,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000004">Bug</a></b></dt><dd>for the change to UQ0.7, the if statement should also have been changed accordingly </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000005">Bug</a></b></dt><dd>for the change to UQ0.7, the if statement should also have been changed accordingly </dd></dl>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
+2 -2
View File
@@ -627,8 +627,8 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000008">Bug</a></b></dt><dd>No null check. </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000009">Bug</a></b></dt><dd></dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000009">Bug</a></b></dt><dd>No null check. </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000010">Bug</a></b></dt><dd></dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000013">Todo</a></b></dt><dd>More indepth error checking/return value </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
+2 -2
View File
@@ -583,8 +583,8 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000008">Bug</a></b></dt><dd>No null check. </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000009">Bug</a></b></dt><dd></dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000009">Bug</a></b></dt><dd>No null check. </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000010">Bug</a></b></dt><dd></dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000013">Todo</a></b></dt><dd>More indepth error checking/return value </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
+1 -1
View File
@@ -36,7 +36,7 @@ var searchData=
['objectpicker_2ecpp_33',['ObjectPicker.cpp',['../ObjectPicker_8cpp.html',1,'']]],
['objectpicker_2eh_34',['ObjectPicker.h',['../ObjectPicker_8h.html',1,'']]],
['objectreplication_35',['ObjectReplication',['../replication_8c.html#a51d6551124e4a1946bb006ba096d6726',1,'replication.c']]],
['objects_36',['Objects',['../structWorld_1_1Matrix.html#a9ffe24e9a3a0b5365aa5fcf5287d9619',1,'World::Matrix::Objects'],['../classWorld.html#a6cbf7696cb1102cd7f07b937b8e42648',1,'World::Objects'],['../objects.html',1,'Objects'],['../objects.html#objects',1,'Objects'],['../controlflow.html#objects-1',1,'Objects']]],
['objects_36',['Objects',['../structWorld_1_1Matrix.html#a9ffe24e9a3a0b5365aa5fcf5287d9619',1,'World::Matrix::Objects'],['../classWorld.html#a6cbf7696cb1102cd7f07b937b8e42648',1,'World::Objects'],['../objects.html',1,'Objects'],['../controlflow.html#objects',1,'Objects'],['../objects.html#objects-1',1,'Objects']]],
['objects_2eh_37',['objects.h',['../objects_8h.html',1,'']]],
['objects_2emd_38',['objects.md',['../objects_8md.html',1,'']]],
['obombkart_39',['OBombKart',['../classOBombKart.html',1,'OBombKart'],['../classOBombKart.html#adce8f46e3608e94dd14e465b61db900b',1,'OBombKart::OBombKart()']]],
+1 -1
View File
@@ -438,7 +438,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000005">Bug</a></b></dt><dd>Size of wrong array. Zeroes out second half of gSequenceChannels[0], all of gSequenceChannels[1..31], and part of gSequenceLayers[0]. However, this is only called at startup, so it's harmless. </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000006">Bug</a></b></dt><dd>Size of wrong array. Zeroes out second half of gSequenceChannels[0], all of gSequenceChannels[1..31], and part of gSequenceLayers[0]. However, this is only called at startup, so it's harmless. </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -502,7 +502,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000005">Bug</a></b></dt><dd>Size of wrong array. Zeroes out second half of gSequenceChannels[0], all of gSequenceChannels[1..31], and part of gSequenceLayers[0]. However, this is only called at startup, so it's harmless. </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000006">Bug</a></b></dt><dd>Size of wrong array. Zeroes out second half of gSequenceChannels[0], all of gSequenceChannels[1..31], and part of gSequenceLayers[0]. However, this is only called at startup, so it's harmless. </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
+1 -1
View File
@@ -327,7 +327,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000030">Todo</a></b></dt><dd><a class="el" href="Game_8cpp.html#af96f9195419b1a81241a2bd5fc03f93b">SetCourse()</a>; </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000029">Todo</a></b></dt><dd><a class="el" href="Game_8cpp.html#af96f9195419b1a81241a2bd5fc03f93b">SetCourse()</a>; </dd></dl>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
+11 -11
View File
@@ -136,11 +136,11 @@ $(function(){initNavTree('todo.html',''); initResizable(true); });
<dt>Global <a class="el" href="main_8h.html#a9410901312e9664a26f6a854227f2f8b">clear_framebuffer</a> (s32)</dt>
<dd><a class="anchor" id="_todo000025"></a>Why did void* work for matching </dd>
<dt>Global <a class="el" href="menus_8h.html#af045ec59aa11111dbb4b7ad27ec0d6f4">course_select_menu_act</a> (struct <a class="el" href="structController.html">Controller</a> *, u16)</dt>
<dd><a class="anchor" id="_todo000029"></a><a class="el" href="Game_8cpp.html#af96f9195419b1a81241a2bd5fc03f93b">SetCourse()</a> to course one; </dd>
<dd><a class="anchor" id="_todo000030"></a><a class="el" href="Game_8cpp.html#af96f9195419b1a81241a2bd5fc03f93b">SetCourse()</a> to course one; </dd>
<dt>Global <a class="el" href="update__objects_8c.html#adf5256c5c92e5b22c984e0b8d171cda6">D_800E43B0</a> []</dt>
<dd><a class="anchor" id="_todo000064"></a>unused? </dd>
<dt>Global <a class="el" href="code__80281780_8h.html#a76c4e29164ea94ce7dd883af83565b45">debug_switch_character_ceremony_cutscene</a> (void)</dt>
<dd><a class="anchor" id="_todo000010"></a>confirm this. </dd>
<dd><a class="anchor" id="_todo000012"></a>confirm this. </dd>
<dt>Union <a class="el" href="uniondu.html">du</a> </dt>
<dd><p class="startdd"><a class="anchor" id="_todo000036"></a>is it possible to remove them somehow? </p>
<p class="enddd"><a class="anchor" id="_todo000037"></a>is it possible to remove them somehow? </p>
@@ -150,7 +150,7 @@ $(function(){initNavTree('todo.html',''); initResizable(true); });
<dt>Global <a class="el" href="data_8h.html#a837f6c2be63a0e045e0df9860e2c4e97">fill2</a> </dt>
<dd><a class="anchor" id="_todo000002"></a>0x00000000800f624c fill2 </dd>
<dt>Global <a class="el" href="freecam_8h.html#a24fe70d9abfdbfce68d126f947aee64d">freecam_keyboard_manager</a> (<a class="el" href="structCamera.html">Camera</a> *, <a class="el" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>)</dt>
<dd><a class="anchor" id="_todo000022"></a>configure this properly </dd>
<dd><a class="anchor" id="_todo000024"></a>configure this properly </dd>
<dt>Global <a class="el" href="player__controller_8h.html#a56b6cc32d3ba7e190ae4e338292b56f3">func_80028864</a> (<a class="el" href="structPlayer.html">Player</a> *, <a class="el" href="structCamera.html">Camera</a> *, s8, s8)</dt>
<dd><a class="anchor" id="_todo000054"></a>make a proper match </dd>
<dt>Global <a class="el" href="render__objects_8c.html#ae0dda7b003f95d15d72c5d40ed47127e">func_80046030</a> (u8 *tlut, u8 *texture, Vtx *arg2, s32 width, s32 arg4, s32 height)</dt>
@@ -166,9 +166,9 @@ $(function(){initNavTree('todo.html',''); initResizable(true); });
<dt>Global <a class="el" href="port__eu_8h.html#a01e0fb6ba3bfcf5f10f894ca7effbaea">func_800CBC24</a> (void)</dt>
<dd><a class="anchor" id="_todo000005"></a>clenanup, something's weird with the variables. D_800EA4A4 is probably <a class="el" href="structEuAudioCmd.html">EuAudioCmd</a> bc of the + 0x100 </dd>
<dt>Global <a class="el" href="ceremony__and__credits_8c.html#aab9248c3326f8c807db81c730ae8dc08">func_8028336C</a> (UNUSED <a class="el" href="structCinematicCamera.html">CinematicCamera</a> *arg0, UNUSED <a class="el" href="structCamera.html">Camera</a> *camera)</dt>
<dd><a class="anchor" id="_todo000011"></a>Does this match as a return of s8? </dd>
<dd><a class="anchor" id="_todo000010"></a>Does this match as a return of s8? </dd>
<dt>Global <a class="el" href="ceremony__and__credits_8h.html#ad8aba525036323f4e292e63fb2a356d0">func_802846E4</a> (<a class="el" href="structCinematicCamera.html">CinematicCamera</a> *)</dt>
<dd><a class="anchor" id="_todo000012"></a>What does this even do? </dd>
<dd><a class="anchor" id="_todo000011"></a>What does this even do? </dd>
<dt>Global <a class="el" href="race__logic_8h.html#a4eb4cb5c0963bcfceae40d340c2e7756">func_8028F970</a> (void)</dt>
<dd><a class="anchor" id="_todo000055"></a>increasing players past four would require increase this loop iterator. </dd>
<dt>Global <a class="el" href="Game_8h.html#af21f89b45e081c9857c7c6689737ea93">GetCupName</a> (void)</dt>
@@ -202,11 +202,11 @@ $(function(){initNavTree('todo.html',''); initResizable(true); });
<dt>Global <a class="el" href="osContInit_8c.html#a3a0e3a0d795150ad033f213754773c34">osContInit</a> (OSMesgQueue *mq, u8 *bitpattern, OSContStatus *status)</dt>
<dd><a class="anchor" id="_todo000038"></a>figure out what it means </dd>
<dt>Class <a class="el" href="classOSeagull.html">OSeagull</a> </dt>
<dd><a class="anchor" id="_todo000019"></a>unk_0D5 needs to be a struct variable probably. What does it do? Behaviour? </dd>
<dd><a class="anchor" id="_todo000015"></a>unk_0D5 needs to be a struct variable probably. What does it do? Behaviour? </dd>
<dt>Global <a class="el" href="classOSnowman.html#abb32ca3bd6c2d1e50779e2b58b94607f">OSnowman::DrawBody</a> (s32)</dt>
<dd><a class="anchor" id="_todo000017"></a>quick hack to add the snow particles on hit. Need to separate into its own class </dd>
<dt>Global <a class="el" href="classOSnowman.html#ae84de267ff70c7e2ac5748b9bd738ada">OSnowman::Tick</a> () override</dt>
<dd><a class="anchor" id="_todo000015"></a>quick hack to add the snow particles on hit. Need to separate into its own class </dd>
<dd><a class="anchor" id="_todo000016"></a>quick hack to add the snow particles on hit. Need to separate into its own class </dd>
<dt>Global <a class="el" href="stubs_8c.html#a4694169ebbc67d1cab176b4f8945ce51">osPfsDeleteFile</a> (OSPfs *pfs, u16 company_code, u32 game_code, u8 *game_name, u8 *ext_name)</dt>
<dd><a class="anchor" id="_todo000045"></a>magic constant </dd>
<dt>Global <a class="el" href="osPiStartDma_8c.html#ae288a36d96a4db6977d95327e246ec12">osPiStartDma</a> (OSIoMesg *mb, s32 priority, s32 direction, uintptr_t devAddr, void *vAddr, size_t nbytes, OSMesgQueue *mq)</dt>
@@ -218,12 +218,12 @@ $(function(){initNavTree('todo.html',''); initResizable(true); });
<dt>Global <a class="el" href="osViSwapBuffer_8c.html#ad9fbc8feed5d6cf557a051834e168950">osViSwapBuffer</a> (void *vaddr)</dt>
<dd><a class="anchor" id="_todo000050"></a>figure out what this flag means </dd>
<dt>Class <a class="el" href="classOThwomp.html">OThwomp</a> </dt>
<dd><p class="startdd"><a class="anchor" id="_todo000016"></a>Make shadow size bigger if thwomp is scaled up </p>
<dd><p class="startdd"><a class="anchor" id="_todo000018"></a>Make shadow size bigger if thwomp is scaled up </p>
<p class="interdd"></p>
<p class="enddd">make adjustable properties for squishSize and boundingBoxSize </p>
</dd>
<dt>Global <a class="el" href="classOThwomp.html#a8ac60b80a575d7408133c8e7cb1246d4">OThwomp::_boundingBoxSize</a> </dt>
<dd><a class="anchor" id="_todo000018"></a>Write this better. This effects the squish size and the bounding box size. </dd>
<dd><a class="anchor" id="_todo000019"></a>Write this better. This effects the squish size and the bounding box size. </dd>
<dt>Global <a class="el" href="osEPiRawStartDma_8c.html#a61b4993ebb70a3b701fccc3221c36d81">PI_DOMAIN1</a> </dt>
<dd><a class="anchor" id="_todo000043"></a>This define is from os.h, but including that causes problems... </dd>
<dt>Global <a class="el" href="collision__viewer_8h.html#afaee40683a3ae56cae11b2c5687e3328">render_collision</a> (void)</dt>
@@ -233,7 +233,7 @@ $(function(){initNavTree('todo.html',''); initResizable(true); });
<dt>Global <a class="el" href="render__objects_8c.html#aadbe7ac97f3cbf7b4c06e645f6dcbb74">render_texture_rectangle_wide</a> (s32 x, s32 y, s32 width, s32 height, s32 arg4, s32 arg5, s32 arg6)</dt>
<dd><a class="anchor" id="_todo000060"></a>Update to F3DEX. Uses OLD definition for gspTextureRectangle. </dd>
<dt>Global <a class="el" href="start__game_8c.html#a398b9ba81e585f81d5b86d2ca26f8708">set_course</a> (const char *data)</dt>
<dd><a class="anchor" id="_todo000030"></a><a class="el" href="Game_8cpp.html#af96f9195419b1a81241a2bd5fc03f93b">SetCourse()</a>; </dd>
<dd><a class="anchor" id="_todo000029"></a><a class="el" href="Game_8cpp.html#af96f9195419b1a81241a2bd5fc03f93b">SetCourse()</a>; </dd>
<dt>Global <a class="el" href="render__objects_8h.html#a2dfbec4da7f3417bfce9017bc9f65c57">set_minimap_finishline_position</a> (s32)</dt>
<dd><a class="anchor" id="_todo000063"></a>: Hardcode these x and y values. Because why not? </dd>
<dt>Global <a class="el" href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a> (sound_bank, byte2, byte3, sound_id)</dt>
@@ -247,7 +247,7 @@ $(function(){initNavTree('todo.html',''); initResizable(true); });
<dt>Global <a class="el" href="internal_8h.html#aa8d5fa5d7506353e4e791caab237c721">US_FLOAT</a> (x)</dt>
<dd><a class="anchor" id="_todo000003"></a>US_FLOAT should probably be renamed to JP_DOUBLE since eu seems to use floats too </dd>
<dt>Global <a class="el" href="classWorld.html#ade602b7d3351de3212ebf045e95f3d0c">World::SetCourse</a> (const char *)</dt>
<dd><a class="anchor" id="_todo000024"></a>Use content dictionary instead </dd>
<dd><a class="anchor" id="_todo000022"></a>Use content dictionary instead </dd>
</dl>
</div></div><!-- contents -->
</div><!-- PageDoc -->
+1 -1
View File
@@ -4833,7 +4833,7 @@ Here is the caller graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000014">Bug</a></b></dt><dd>frappe snowland There's something up with the handling of common_vtx_rectangle and the loading of 0x10 right here </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000015">Bug</a></b></dt><dd>frappe snowland There's something up with the handling of common_vtx_rectangle and the loading of 0x10 right here </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">