mirror of
https://github.com/n64decomp/mk64
synced 2026-07-08 04:55:16 -04:00
Deploying to gh-pages from @ n64decomp/mk64@44fe054525 🚀
This commit is contained in:
@@ -163,24 +163,24 @@ $(function(){initNavTree('actors__extended_8h_source.html',''); initResizable(tr
|
||||
<div class="ttc" id="aactors__extended_8c_html_a34694840e4ed5e496ed3ba98429b0558"><div class="ttname"><a href="actors__extended_8c.html#a34694840e4ed5e496ed3ba98429b0558">update_actor_banana_bunch</a></div><div class="ttdeci">void update_actor_banana_bunch(struct BananaBunchParent *banana_bunch)</div><div class="ttdef"><b>Definition</b> actors_extended.c:217</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a37199f633d5cab2cbbc3c506b177a68e"><div class="ttname"><a href="actors__extended_8c.html#a37199f633d5cab2cbbc3c506b177a68e">func_802B09C0</a></div><div class="ttdeci">s32 func_802B09C0(s16 bananaId)</div><div class="ttdef"><b>Definition</b> actors_extended.c:202</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a407d30d307b990cf22e979f7180477e5"><div class="ttname"><a href="actors__extended_8c.html#a407d30d307b990cf22e979f7180477e5">copy_collision</a></div><div class="ttdeci">void copy_collision(Collision *src, Collision *dest)</div><div class="ttdef"><b>Definition</b> actors_extended.c:19</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a47255ea9aa07316c48b95fd7a97ac40d"><div class="ttname"><a href="actors__extended_8c.html#a47255ea9aa07316c48b95fd7a97ac40d">use_triple_shell_item</a></div><div class="ttdeci">s32 use_triple_shell_item(Player *player, s16 tripleShellType)</div><div class="ttdef"><b>Definition</b> actors_extended.c:532</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a58a90bceb7852ff16b389f2bba53817f"><div class="ttname"><a href="actors__extended_8c.html#a58a90bceb7852ff16b389f2bba53817f">use_thunder_item</a></div><div class="ttdeci">void use_thunder_item(Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:862</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a6c53567ce07da53daa086cb9b09076a1"><div class="ttname"><a href="actors__extended_8c.html#a6c53567ce07da53daa086cb9b09076a1">player_use_item</a></div><div class="ttdeci">void player_use_item(Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:881</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a78ba9cbef20b4e33a02f2d21004e0194"><div class="ttname"><a href="actors__extended_8c.html#a78ba9cbef20b4e33a02f2d21004e0194">use_banana_item</a></div><div class="ttdeci">s32 use_banana_item(Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:810</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a78e98c146f1f4dd6e3608016486172a4"><div class="ttname"><a href="actors__extended_8c.html#a78e98c146f1f4dd6e3608016486172a4">func_802B4E30</a></div><div class="ttdeci">void func_802B4E30(struct Actor *arg0)</div><div class="ttdef"><b>Definition</b> actors_extended.c:972</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a47255ea9aa07316c48b95fd7a97ac40d"><div class="ttname"><a href="actors__extended_8c.html#a47255ea9aa07316c48b95fd7a97ac40d">use_triple_shell_item</a></div><div class="ttdeci">s32 use_triple_shell_item(Player *player, s16 tripleShellType)</div><div class="ttdef"><b>Definition</b> actors_extended.c:533</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a58a90bceb7852ff16b389f2bba53817f"><div class="ttname"><a href="actors__extended_8c.html#a58a90bceb7852ff16b389f2bba53817f">use_thunder_item</a></div><div class="ttdeci">void use_thunder_item(Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:863</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a6c53567ce07da53daa086cb9b09076a1"><div class="ttname"><a href="actors__extended_8c.html#a6c53567ce07da53daa086cb9b09076a1">player_use_item</a></div><div class="ttdeci">void player_use_item(Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:882</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a78ba9cbef20b4e33a02f2d21004e0194"><div class="ttname"><a href="actors__extended_8c.html#a78ba9cbef20b4e33a02f2d21004e0194">use_banana_item</a></div><div class="ttdeci">s32 use_banana_item(Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:811</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a78e98c146f1f4dd6e3608016486172a4"><div class="ttname"><a href="actors__extended_8c.html#a78e98c146f1f4dd6e3608016486172a4">func_802B4E30</a></div><div class="ttdeci">void func_802B4E30(struct Actor *arg0)</div><div class="ttdef"><b>Definition</b> actors_extended.c:973</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a87d7f1fdb71b4ffb9b0b6961d5f4fb65"><div class="ttname"><a href="actors__extended_8c.html#a87d7f1fdb71b4ffb9b0b6961d5f4fb65">func_802B0788</a></div><div class="ttdeci">void func_802B0788(s16 rawStickY, struct BananaBunchParent *banana_bunch, Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:155</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a88021e28f51eed86867e22b5aae7e252"><div class="ttname"><a href="actors__extended_8c.html#a88021e28f51eed86867e22b5aae7e252">use_banana_bunch_item</a></div><div class="ttdeci">s32 use_banana_bunch_item(Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:513</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a888a459fc74d16fe20cb3d8b3bbb8256"><div class="ttname"><a href="actors__extended_8c.html#a888a459fc74d16fe20cb3d8b3bbb8256">use_blue_shell_item</a></div><div class="ttdeci">void use_blue_shell_item(Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:682</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a8ac8961d38b45f457d0f27d5f782a464"><div class="ttname"><a href="actors__extended_8c.html#a8ac8961d38b45f457d0f27d5f782a464">use_fake_itembox_item</a></div><div class="ttdeci">s32 use_fake_itembox_item(Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:768</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a88021e28f51eed86867e22b5aae7e252"><div class="ttname"><a href="actors__extended_8c.html#a88021e28f51eed86867e22b5aae7e252">use_banana_bunch_item</a></div><div class="ttdeci">s32 use_banana_bunch_item(Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:514</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a888a459fc74d16fe20cb3d8b3bbb8256"><div class="ttname"><a href="actors__extended_8c.html#a888a459fc74d16fe20cb3d8b3bbb8256">use_blue_shell_item</a></div><div class="ttdeci">void use_blue_shell_item(Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:683</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a8ac8961d38b45f457d0f27d5f782a464"><div class="ttname"><a href="actors__extended_8c.html#a8ac8961d38b45f457d0f27d5f782a464">use_fake_itembox_item</a></div><div class="ttdeci">s32 use_fake_itembox_item(Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:769</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a92482e9796fd6ddc17e3b24c35b767df"><div class="ttname"><a href="actors__extended_8c.html#a92482e9796fd6ddc17e3b24c35b767df">update_actor_triple_shell</a></div><div class="ttdeci">void update_actor_triple_shell(TripleShellParent *parent, s16 shellType)</div><div class="ttdef"><b>Definition</b> actors_extended.c:334</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_ab349562338ca47f2b524137864704d0e"><div class="ttname"><a href="actors__extended_8c.html#ab349562338ca47f2b524137864704d0e">func_802B0464</a></div><div class="ttdeci">void func_802B0464(s16 bananaIndex)</div><div class="ttdef"><b>Definition</b> actors_extended.c:77</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_abfd4761b52386597862e72451a1a3d1d"><div class="ttname"><a href="actors__extended_8c.html#abfd4761b52386597862e72451a1a3d1d">use_red_shell_item</a></div><div class="ttdeci">s32 use_red_shell_item(Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:640</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_ac03bad0075e21f3e3ce262eedd8f056b"><div class="ttname"><a href="actors__extended_8c.html#ac03bad0075e21f3e3ce262eedd8f056b">func_802B2914</a></div><div class="ttdeci">void func_802B2914(struct BananaBunchParent *banana_bunch, Player *player, s16 bananaId)</div><div class="ttdef"><b>Definition</b> actors_extended.c:689</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_ac7b01b29ffe49800d142fc2e8a308120"><div class="ttname"><a href="actors__extended_8c.html#ac7b01b29ffe49800d142fc2e8a308120">init_triple_shell</a></div><div class="ttdeci">s32 init_triple_shell(TripleShellParent *parent, Player *player, s16 shellType, u16 shellId)</div><div class="ttdef"><b>Definition</b> actors_extended.c:554</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_abfd4761b52386597862e72451a1a3d1d"><div class="ttname"><a href="actors__extended_8c.html#abfd4761b52386597862e72451a1a3d1d">use_red_shell_item</a></div><div class="ttdeci">s32 use_red_shell_item(Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:641</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_ac03bad0075e21f3e3ce262eedd8f056b"><div class="ttname"><a href="actors__extended_8c.html#ac03bad0075e21f3e3ce262eedd8f056b">func_802B2914</a></div><div class="ttdeci">void func_802B2914(struct BananaBunchParent *banana_bunch, Player *player, s16 bananaId)</div><div class="ttdef"><b>Definition</b> actors_extended.c:690</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_ac7b01b29ffe49800d142fc2e8a308120"><div class="ttname"><a href="actors__extended_8c.html#ac7b01b29ffe49800d142fc2e8a308120">init_triple_shell</a></div><div class="ttdeci">s32 init_triple_shell(TripleShellParent *parent, Player *player, s16 shellType, u16 shellId)</div><div class="ttdef"><b>Definition</b> actors_extended.c:555</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_ae4a15c57c04e2152938b23b9d2e2d328"><div class="ttname"><a href="actors__extended_8c.html#ae4a15c57c04e2152938b23b9d2e2d328">destroy_banana_in_banana_bunch</a></div><div class="ttdeci">void destroy_banana_in_banana_bunch(struct BananaActor *banana)</div><div class="ttdef"><b>Definition</b> actors_extended.c:98</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_ae852368698f0c547d9b5a29d2a4d9712"><div class="ttname"><a href="actors__extended_8c.html#ae852368698f0c547d9b5a29d2a4d9712">use_green_shell_item</a></div><div class="ttdeci">s32 use_green_shell_item(Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:600</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_ae852368698f0c547d9b5a29d2a4d9712"><div class="ttname"><a href="actors__extended_8c.html#ae852368698f0c547d9b5a29d2a4d9712">use_green_shell_item</a></div><div class="ttdeci">s32 use_green_shell_item(Player *player)</div><div class="ttdef"><b>Definition</b> actors_extended.c:601</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_af4b1443024248be2d1a9bd97e203b079"><div class="ttname"><a href="actors__extended_8c.html#af4b1443024248be2d1a9bd97e203b079">is_shell_exist</a></div><div class="ttdeci">bool is_shell_exist(s16 arg0)</div><div class="ttdef"><b>Definition</b> actors_extended.c:316</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_afd7ab650c7f22bef507645c85cc0ca37"><div class="ttname"><a href="actors__extended_8c.html#afd7ab650c7f22bef507645c85cc0ca37">check_player_use_item</a></div><div class="ttdeci">void check_player_use_item(void)</div><div class="ttdef"><b>Definition</b> actors_extended.c:935</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_afd7ab650c7f22bef507645c85cc0ca37"><div class="ttname"><a href="actors__extended_8c.html#afd7ab650c7f22bef507645c85cc0ca37">check_player_use_item</a></div><div class="ttdeci">void check_player_use_item(void)</div><div class="ttdef"><b>Definition</b> actors_extended.c:936</div></div>
|
||||
<div class="ttc" id="abanana_2update_8inc_8c_html_a1b699acb507ca2e080f46ea632573993"><div class="ttname"><a href="banana_2update_8inc_8c.html#a1b699acb507ca2e080f46ea632573993">update_actor_banana</a></div><div class="ttdeci">void update_actor_banana(struct BananaActor *banana)</div><div class="ttdoc">Update the banana actor.</div><div class="ttdef"><b>Definition</b> update.inc.c:11</div></div>
|
||||
<div class="ttc" id="ablue__and__red__shells_2update_8inc_8c_html_a0cc339b71fb81e84d30eb55dc05b1a04"><div class="ttname"><a href="blue__and__red__shells_2update_8inc_8c.html#a0cc339b71fb81e84d30eb55dc05b1a04">func_802B3E7C</a></div><div class="ttdeci">void func_802B3E7C(struct ShellActor *shell, Player *player)</div><div class="ttdef"><b>Definition</b> update.inc.c:114</div></div>
|
||||
<div class="ttc" id="ablue__and__red__shells_2update_8inc_8c_html_a10550a4f6cb14493d6b16ac44a3c9484"><div class="ttname"><a href="blue__and__red__shells_2update_8inc_8c.html#a10550a4f6cb14493d6b16ac44a3c9484">func_802B3B44</a></div><div class="ttdeci">void func_802B3B44(struct ShellActor *shell)</div><div class="ttdef"><b>Definition</b> update.inc.c:8</div></div>
|
||||
|
||||
+1
-1
@@ -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
@@ -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 ],
|
||||
|
||||
@@ -280,9 +280,9 @@ $(function(){initNavTree('banana_2update_8inc_8c_source.html',''); initResizable
|
||||
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> banana-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] = -5.0f;</div>
|
||||
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> }</div>
|
||||
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> banana-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1] += banana-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1];</div>
|
||||
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> banana-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[0] += 0x16C;</div>
|
||||
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> banana-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[1] -= 0x5B0;</div>
|
||||
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> banana-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[2] += 0x38E;</div>
|
||||
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> banana-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[0] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(2);</div>
|
||||
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> banana-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[1] -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(8);</div>
|
||||
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> banana-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[2] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(5);</div>
|
||||
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> banana-><a class="code hl_variable" href="structActor.html#ae96f9783bff4ee28d963be1c0a277e5f">unk_04</a> -= 1;</div>
|
||||
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> <span class="keywordflow">if</span> (banana-><a class="code hl_variable" href="structActor.html#ae96f9783bff4ee28d963be1c0a277e5f">unk_04</a> == 0) {</div>
|
||||
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</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>*) banana);</div>
|
||||
@@ -306,7 +306,7 @@ $(function(){initNavTree('banana_2update_8inc_8c_source.html',''); initResizable
|
||||
<div class="ttc" id="aactors_8c_html_a53268aa601911d56424ff08fb3395bcb"><div class="ttname"><a href="actors_8c.html#a53268aa601911d56424ff08fb3395bcb">destroy_destructable_actor</a></div><div class="ttdeci">void destroy_destructable_actor(struct Actor *actor)</div><div class="ttdef"><b>Definition</b> actors.c:1849</div></div>
|
||||
<div class="ttc" id="aactors_8c_html_a694ec6ef7548b8618aeb35c038d3a9b9"><div class="ttname"><a href="actors_8c.html#a694ec6ef7548b8618aeb35c038d3a9b9">destroy_actor</a></div><div class="ttdeci">void destroy_actor(struct Actor *actor)</div><div class="ttdef"><b>Definition</b> actors.c:1321</div></div>
|
||||
<div class="ttc" id="aactors_8h_html"><div class="ttname"><a href="actors_8h.html">actors.h</a></div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a78e98c146f1f4dd6e3608016486172a4"><div class="ttname"><a href="actors__extended_8c.html#a78e98c146f1f4dd6e3608016486172a4">func_802B4E30</a></div><div class="ttdeci">void func_802B4E30(struct Actor *arg0)</div><div class="ttdef"><b>Definition</b> actors_extended.c:972</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a78e98c146f1f4dd6e3608016486172a4"><div class="ttname"><a href="actors__extended_8c.html#a78e98c146f1f4dd6e3608016486172a4">func_802B4E30</a></div><div class="ttdeci">void func_802B4E30(struct Actor *arg0)</div><div class="ttdef"><b>Definition</b> actors_extended.c:973</div></div>
|
||||
<div class="ttc" id="abanana_2update_8inc_8c_html_a1b699acb507ca2e080f46ea632573993"><div class="ttname"><a href="banana_2update_8inc_8c.html#a1b699acb507ca2e080f46ea632573993">update_actor_banana</a></div><div class="ttdeci">void update_actor_banana(struct BananaActor *banana)</div><div class="ttdoc">Update the banana actor.</div><div class="ttdef"><b>Definition</b> update.inc.c:11</div></div>
|
||||
<div class="ttc" id="acode__800029B0_8c_html_a161879cca91eaae1535e6640e78d0ce9"><div class="ttname"><a href="code__800029B0_8c.html#a161879cca91eaae1535e6640e78d0ce9">gCourseMinZ</a></div><div class="ttdeci">s16 gCourseMinZ</div><div class="ttdef"><b>Definition</b> code_800029B0.c:95</div></div>
|
||||
<div class="ttc" id="acode__800029B0_8c_html_a1b0406ea3ec906cf85496afbfe00e23e"><div class="ttname"><a href="code__800029B0_8c.html#a1b0406ea3ec906cf85496afbfe00e23e">gCourseMaxZ</a></div><div class="ttdeci">s16 gCourseMaxZ</div><div class="ttdef"><b>Definition</b> code_800029B0.c:94</div></div>
|
||||
@@ -318,6 +318,7 @@ $(function(){initNavTree('banana_2update_8inc_8c_source.html',''); initResizable
|
||||
<div class="ttc" id="acollision_8c_html_a37aa55b3768d001533ad75e7f1b8388a"><div class="ttname"><a href="collision_8c.html#a37aa55b3768d001533ad75e7f1b8388a">check_bounding_collision</a></div><div class="ttdeci">u16 check_bounding_collision(Collision *collision, f32 boundingBoxSize, f32 posX, f32 posY, f32 posZ)</div><div class="ttdef"><b>Definition</b> collision.c:1358</div></div>
|
||||
<div class="ttc" id="acommon__structs_8h_html_a5290523279339ea495248ab3a36cb46e"><div class="ttname"><a href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a></div><div class="ttdeci">f32 Vec3f[3]</div><div class="ttdef"><b>Definition</b> common_structs.h:6</div></div>
|
||||
<div class="ttc" id="adefines_8h_html"><div class="ttname"><a href="defines_8h.html">defines.h</a></div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a29a687ccf66fa4e1e852ecfaca24a63b"><div class="ttname"><a href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a></div><div class="ttdeci">#define DEGREES(degree)</div><div class="ttdef"><b>Definition</b> defines.h:347</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab30d6efeb8601088397fff50c25c2424"><div class="ttname"><a href="defines_8h.html#ab30d6efeb8601088397fff50c25c2424">PLAYER_HUMAN</a></div><div class="ttdeci">#define PLAYER_HUMAN</div><div class="ttdef"><b>Definition</b> defines.h:105</div></div>
|
||||
<div class="ttc" id="aexternal_8c_html_a2be9efc97a92e19d02aaee90d676acc1"><div class="ttname"><a href="external_8c.html#a2be9efc97a92e19d02aaee90d676acc1">func_800C9060</a></div><div class="ttdeci">void func_800C9060(u8 playerId, u32 soundBits)</div><div class="ttdef"><b>Definition</b> external.c:2922</div></div>
|
||||
<div class="ttc" id="amacros_8h_html_addf5ec070e9499d36b7f2009ce736076"><div class="ttname"><a href="macros_8h.html#addf5ec070e9499d36b7f2009ce736076">UNUSED</a></div><div class="ttdeci">#define UNUSED</div><div class="ttdef"><b>Definition</b> macros.h:23</div></div>
|
||||
|
||||
@@ -26,7 +26,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 ]
|
||||
] ],
|
||||
|
||||
@@ -324,7 +324,7 @@ $(function(){initNavTree('behaviour__utils_8inc_8c_source.html',''); initResizab
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8h_html_abed82baf7f470b522273a3e37c24c600ad0c5facc43bc602cebf4b1c6faa918e7"><div class="ttname"><a href="cpu__vehicles__camera__path_8h.html#abed82baf7f470b522273a3e37c24c600ad0c5facc43bc602cebf4b1c6faa918e7">CPU_BEHAVIOUR_STATE_RUNNING</a></div><div class="ttdeci">@ CPU_BEHAVIOUR_STATE_RUNNING</div><div class="ttdef"><b>Definition</b> cpu_vehicles_camera_path.h:336</div></div>
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8h_html_abed82baf7f470b522273a3e37c24c600af5976b9ca9c2a43d43414de90b17207a"><div class="ttname"><a href="cpu__vehicles__camera__path_8h.html#abed82baf7f470b522273a3e37c24c600af5976b9ca9c2a43d43414de90b17207a">CPU_BEHAVIOUR_STATE_NONE</a></div><div class="ttdeci">@ CPU_BEHAVIOUR_STATE_NONE</div><div class="ttdef"><b>Definition</b> cpu_vehicles_camera_path.h:336</div></div>
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8h_html_abed82baf7f470b522273a3e37c24c600af9587afde6f483ebedf1d49071e3c3c9"><div class="ttname"><a href="cpu__vehicles__camera__path_8h.html#abed82baf7f470b522273a3e37c24c600af9587afde6f483ebedf1d49071e3c3c9">CPU_BEHAVIOUR_STATE_START</a></div><div class="ttdeci">@ CPU_BEHAVIOUR_STATE_START</div><div class="ttdef"><b>Definition</b> cpu_vehicles_camera_path.h:336</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a3e226e3ad50d318aa0e7dfa1be372961"><div class="ttname"><a href="defines_8h.html#a3e226e3ad50d318aa0e7dfa1be372961">DRIFTING_EFFECT</a></div><div class="ttdeci">#define DRIFTING_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:446</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a3e226e3ad50d318aa0e7dfa1be372961"><div class="ttname"><a href="defines_8h.html#a3e226e3ad50d318aa0e7dfa1be372961">DRIFTING_EFFECT</a></div><div class="ttdeci">#define DRIFTING_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:461</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aaed8d6b54476ff414af55dd4f0b397caa0025d8495a0cd1057b3732e3ab0feadc"><div class="ttname"><a href="defines_8h.html#aaed8d6b54476ff414af55dd4f0b397caa0025d8495a0cd1057b3732e3ab0feadc">BEHAVIOUR_FAST_SPEED</a></div><div class="ttdeci">@ BEHAVIOUR_FAST_SPEED</div><div class="ttdef"><b>Definition</b> defines.h:310</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aaed8d6b54476ff414af55dd4f0b397caa112a7b0ef26213b5fc5716d1fff53aa1"><div class="ttname"><a href="defines_8h.html#aaed8d6b54476ff414af55dd4f0b397caa112a7b0ef26213b5fc5716d1fff53aa1">BEHAVIOUR_NORMAL_SPEED</a></div><div class="ttdeci">@ BEHAVIOUR_NORMAL_SPEED</div><div class="ttdef"><b>Definition</b> defines.h:309</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aaed8d6b54476ff414af55dd4f0b397caa189d288ea1c3f9ec803ae4f8d973707d"><div class="ttname"><a href="defines_8h.html#aaed8d6b54476ff414af55dd4f0b397caa189d288ea1c3f9ec803ae4f8d973707d">BEHAVIOUR_DRIVE_CENTER</a></div><div class="ttdeci">@ BEHAVIOUR_DRIVE_CENTER</div><div class="ttdef"><b>Definition</b> defines.h:306</div></div>
|
||||
|
||||
@@ -352,7 +352,7 @@ $(function(){initNavTree('blue__and__red__shells_2update_8inc_8c_source.html',''
|
||||
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</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="l00243" name="l00243"></a><span class="lineno"> 243</span> }</div>
|
||||
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> </div>
|
||||
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> shell-><a class="code hl_variable" href="structShellActor.html#a1ca761f0cac83459e16cbc22002b4569">rotVelocity</a> += 0x71C;</div>
|
||||
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> shell-><a class="code hl_variable" href="structShellActor.html#a1ca761f0cac83459e16cbc22002b4569">rotVelocity</a> += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(10);</div>
|
||||
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> <span class="keywordflow">switch</span> (shell-><a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a>) {</div>
|
||||
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba514b7d298fa86789854ef2056f82f7fd">HELD_SHELL</a>:</div>
|
||||
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> player = &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-><a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>];</div>
|
||||
@@ -387,209 +387,210 @@ $(function(){initNavTree('blue__and__red__shells_2update_8inc_8c_source.html',''
|
||||
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> controller-><a class="code hl_variable" href="structController.html#af68b8dc9459d69a7dfdf57dabf8dbae5">buttonDepressed</a> &= ~Z_TRIG;</div>
|
||||
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> shell-><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="l00279" name="l00279"></a><span class="lineno"> 279</span> <span class="keywordflow">if</span> (player-><a class="code hl_variable" href="structPlayer.html#a0dae7ee727c1fd1f3d07b2b7231e85cf">unk_0C0</a> > 0) {</div>
|
||||
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> = 0x78E3;</div>
|
||||
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> = <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(170);</div>
|
||||
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> = -0x78E4;</div>
|
||||
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> }</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> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</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="l00287" name="l00287"></a><span class="lineno"> 287</span> player = &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-><a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>];</div>
|
||||
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> > 0) {</div>
|
||||
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> -= 0x71C;</div>
|
||||
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> < 0) {</div>
|
||||
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> shell-><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="l00292" name="l00292"></a><span class="lineno"> 292</span> <a class="code hl_function" href="external_8c.html#a2be9efc97a92e19d02aaee90d676acc1">func_800C9060</a>(shell-><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="l00293" name="l00293"></a><span class="lineno"> 293</span> <a class="code hl_function" href="external_8c.html#a337fc3ab94ebb3293a85908229303ac8">func_800C90F4</a>(shell-><a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>,</div>
|
||||
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> (player-><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="l00295" name="l00295"></a><span class="lineno"> 295</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="l00296" name="l00296"></a><span class="lineno"> 296</span> <a class="code hl_function" href="cpu__vehicles__camera__path_8h.html#a1ecb17b4af8b4c984e41426b5d0db299">add_red_shell_in_unexpired_actor_list</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell - <a class="code hl_variable" href="code__800029B0_8c.html#a37d0e0553a4cd552f52174f4b33b798d">gActorList</a>);</div>
|
||||
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> <a class="code hl_function" href="cpu__vehicles__camera__path_8h.html#a86ff3c8d1cca531426694c00b7305967">add_blue_shell_in_unexpired_actor_list</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell - <a class="code hl_variable" href="code__800029B0_8c.html#a37d0e0553a4cd552f52174f4b33b798d">gActorList</a>);</div>
|
||||
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span> <a class="code hl_function" href="external_8c.html#a903d1c248a30cd68262a6833b9c0b112">func_800C9D80</a>(shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>, shell-><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="l00300" name="l00300"></a><span class="lineno"> 300</span> }</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> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> += 0x71C;</div>
|
||||
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> > 0) {</div>
|
||||
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> shell-><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="l00306" name="l00306"></a><span class="lineno"> 306</span> <a class="code hl_function" href="external_8c.html#a2be9efc97a92e19d02aaee90d676acc1">func_800C9060</a>(shell-><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="l00307" name="l00307"></a><span class="lineno"> 307</span> <a class="code hl_function" href="external_8c.html#a337fc3ab94ebb3293a85908229303ac8">func_800C90F4</a>(shell-><a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>,</div>
|
||||
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> (player-><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="l00309" name="l00309"></a><span class="lineno"> 309</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="l00310" name="l00310"></a><span class="lineno"> 310</span> <a class="code hl_function" href="cpu__vehicles__camera__path_8h.html#a1ecb17b4af8b4c984e41426b5d0db299">add_red_shell_in_unexpired_actor_list</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell - <a class="code hl_variable" href="code__800029B0_8c.html#a37d0e0553a4cd552f52174f4b33b798d">gActorList</a>);</div>
|
||||
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span> <a class="code hl_function" href="cpu__vehicles__camera__path_8h.html#a86ff3c8d1cca531426694c00b7305967">add_blue_shell_in_unexpired_actor_list</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell - <a class="code hl_variable" href="code__800029B0_8c.html#a37d0e0553a4cd552f52174f4b33b798d">gActorList</a>);</div>
|
||||
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> <a class="code hl_function" href="external_8c.html#a903d1c248a30cd68262a6833b9c0b112">func_800C9D80</a>(shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>, shell-><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="l00314" name="l00314"></a><span class="lineno"> 314</span> }</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> <span class="keywordflow">if</span> (shell-><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="l00318" name="l00318"></a><span class="lineno"> 318</span> shell-><a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> = 0x001E;</div>
|
||||
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> height = 8.0f;</div>
|
||||
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span> <span class="keywordflow">if</span> (player-><a class="code hl_variable" href="structPlayer.html#a1eb7b22cb98924aa32fa909b969dee34">speed</a> > 8.0f) {</div>
|
||||
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span> height = player-><a class="code hl_variable" href="structPlayer.html#a1eb7b22cb98924aa32fa909b969dee34">speed</a> * 1.2f;</div>
|
||||
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> }</div>
|
||||
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> somePosVel[0] = 0.0f;</div>
|
||||
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> somePosVel[1] = 0.0f;</div>
|
||||
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> somePosVel[2] = height;</div>
|
||||
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span> <a class="code hl_function" href="math__util_8c.html#aaf8278d014b133b37e18b614a9f66647">vec3f_rotate_y</a>(somePosVel, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (player-><a class="code hl_variable" href="structPlayer.html#a4fafb84477d127ff2a1b74331c904f3f">rotation</a>[1] + player-><a class="code hl_variable" href="structPlayer.html#a0dae7ee727c1fd1f3d07b2b7231e85cf">unk_0C0</a>));</div>
|
||||
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[0] = somePosVel[0];</div>
|
||||
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span> shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] = somePosVel[1];</div>
|
||||
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</span> shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[2] = somePosVel[2];</div>
|
||||
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</span> somePosVel[0] = <a class="code hl_function" href="math__util_8c.html#adcf81d47666b5d86c4a1dbcb06e47faf">sins</a>(shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a>) * 8.0f;</div>
|
||||
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"> 332</span> somePosVel[1] = shell-><a class="code hl_variable" href="structShellActor.html#a610da60b5b38774fba6b6bb3076fd007">boundingBoxSize</a> - player-><a class="code hl_variable" href="structPlayer.html#a681f0fac4abe58cf5919dd4c6ac503d0">boundingBoxSize</a>;</div>
|
||||
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span> somePosVel[2] = <a class="code hl_function" href="math__util_8c.html#a5eb0d9752bc1557b7f4ae3809352a0eb">coss</a>(shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a>) * 8.0f;</div>
|
||||
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span> <a class="code hl_function" href="math__util_8c.html#a2af320f247ee4c117aff9eff1b920da3">mtxf_transform_vec3f_mat3</a>(somePosVel, player-><a class="code hl_variable" href="structPlayer.html#a28df2c989598022073df6fc2425cbefe">orientationMatrix</a>);</div>
|
||||
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0] + somePosVel[0];</div>
|
||||
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[1] + somePosVel[1];</div>
|
||||
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[2] + somePosVel[2];</div>
|
||||
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> }</div>
|
||||
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</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="l00341" name="l00341"></a><span class="lineno"> 341</span> player = &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-><a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>];</div>
|
||||
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> shell-><a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> -= 1;</div>
|
||||
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> == 0) {</div>
|
||||
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span> shell-><a class="code hl_variable" href="structShellActor.html#a5368cbbb7b090d3f5abb520ca3ab9bf6">flags</a> &= 0xEFFF;</div>
|
||||
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span> <span class="keywordflow">if</span> (shell-><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="l00346" name="l00346"></a><span class="lineno"> 346</span> shell-><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="l00347" name="l00347"></a><span class="lineno"> 347</span> shell-><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="l00348" name="l00348"></a><span class="lineno"> 348</span> shell-><a class="code hl_variable" href="structShellActor.html#a6d1756d5e7cf11fdb35eec5ef86c6951">shellId</a> = 1000.0f;</div>
|
||||
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span> temp_v0 = <a class="code hl_variable" href="cpu__vehicles__camera__path_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="l00350" name="l00350"></a><span class="lineno"> 350</span> <span class="keywordflow">if</span> ((<a class="code hl_typedef" href="ultratypes_8h.html#a0ce6887c26c1c49ad3be5710dd42bfd6">s32</a>) <a class="code hl_variable" href="cpu__vehicles__camera__path_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a> < temp_v0) {</div>
|
||||
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span> temp_v0 -= <a class="code hl_variable" href="cpu__vehicles__camera__path_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a>;</div>
|
||||
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span> }</div>
|
||||
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"> 353</span> shell-><a class="code hl_variable" href="structShellActor.html#af3da1448ac4320471aadbc7652ea81a5">pathIndex</a> = temp_v0;</div>
|
||||
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"> 354</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="l00355" name="l00355"></a><span class="lineno"> 355</span> shell-><a class="code hl_variable" href="structShellActor.html#a6d1756d5e7cf11fdb35eec5ef86c6951">shellId</a> = 1000.0f;</div>
|
||||
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span> shell-><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="l00357" name="l00357"></a><span class="lineno"> 357</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#ad503d4399dfef15a8aeb4cfec64ac155">targetPlayer</a> < 0) {</div>
|
||||
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> shell-><a class="code hl_variable" href="structShellActor.html#a5368cbbb7b090d3f5abb520ca3ab9bf6">flags</a> = 0x8000;</div>
|
||||
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span> shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] = 3.0f;</div>
|
||||
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span> shell-><a class="code hl_variable" href="structShellActor.html#af3da1448ac4320471aadbc7652ea81a5">pathIndex</a> = 0;</div>
|
||||
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> shell-><a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> = 0x003C;</div>
|
||||
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> shell-><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="l00363" name="l00363"></a><span class="lineno"> 363</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span> shell-><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="l00365" name="l00365"></a><span class="lineno"> 365</span> }</div>
|
||||
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span> <span class="keywordflow">if</span> (player-><a class="code hl_variable" href="structPlayer.html#af68a201da4cc5a0628252a352d147767">currentRank</a> == 0) {</div>
|
||||
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span> shell-><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="l00369" name="l00369"></a><span class="lineno"> 369</span> shell-><a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> = 0x0258;</div>
|
||||
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span> temp_v0 = <a class="code hl_variable" href="cpu__vehicles__camera__path_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="l00371" name="l00371"></a><span class="lineno"> 371</span> <span class="keywordflow">if</span> ((<a class="code hl_typedef" href="ultratypes_8h.html#a0ce6887c26c1c49ad3be5710dd42bfd6">s32</a>) <a class="code hl_variable" href="cpu__vehicles__camera__path_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a> < temp_v0) {</div>
|
||||
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"> 372</span> temp_v0 -= <a class="code hl_variable" href="cpu__vehicles__camera__path_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a>;</div>
|
||||
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"> 373</span> }</div>
|
||||
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"> 374</span> shell-><a class="code hl_variable" href="structShellActor.html#af3da1448ac4320471aadbc7652ea81a5">pathIndex</a> = temp_v0;</div>
|
||||
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"> 375</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (player-><a class="code hl_variable" href="structPlayer.html#af68a201da4cc5a0628252a352d147767">currentRank</a> >= 5) {</div>
|
||||
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span> shell-><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="l00377" name="l00377"></a><span class="lineno"> 377</span> shell-><a class="code hl_variable" href="structShellActor.html#a6d1756d5e7cf11fdb35eec5ef86c6951">shellId</a> = 1000.0f;</div>
|
||||
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span> temp_v0 = <a class="code hl_variable" href="cpu__vehicles__camera__path_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="l00379" name="l00379"></a><span class="lineno"> 379</span> <span class="keywordflow">if</span> ((<a class="code hl_typedef" href="ultratypes_8h.html#a0ce6887c26c1c49ad3be5710dd42bfd6">s32</a>) <a class="code hl_variable" href="cpu__vehicles__camera__path_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a> < temp_v0) {</div>
|
||||
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span> temp_v0 -= <a class="code hl_variable" href="cpu__vehicles__camera__path_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a>;</div>
|
||||
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"> 381</span> }</div>
|
||||
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"> 382</span> shell-><a class="code hl_variable" href="structShellActor.html#af3da1448ac4320471aadbc7652ea81a5">pathIndex</a> = temp_v0;</div>
|
||||
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span> shell-><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-><a class="code hl_variable" href="structPlayer.html#af68a201da4cc5a0628252a352d147767">currentRank</a> - 1];</div>
|
||||
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span> shell-><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="l00386" name="l00386"></a><span class="lineno"> 386</span> shell-><a class="code hl_variable" href="structShellActor.html#a6d1756d5e7cf11fdb35eec5ef86c6951">shellId</a> = 1000.0f;</div>
|
||||
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> shell-><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-><a class="code hl_variable" href="structPlayer.html#af68a201da4cc5a0628252a352d147767">currentRank</a> - 1];</div>
|
||||
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span> }</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> shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] -= 0.5;</div>
|
||||
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"> 392</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] < -2.0f) {</div>
|
||||
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span> shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] = -2.0f;</div>
|
||||
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"> 394</span> }</div>
|
||||
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"> 395</span> origPos[0] = shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0];</div>
|
||||
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"> 396</span> origPos[1] = shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1];</div>
|
||||
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"> 397</span> origPos[2] = shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2];</div>
|
||||
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"> 398</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0] += shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[0];</div>
|
||||
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1] += shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1];</div>
|
||||
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2] += shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[2];</div>
|
||||
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno"> 401</span> <a class="code hl_function" href="collision_8c.html#a79293dbdae52d290fdaf8dde9d5244ca">actor_terrain_collision</a>(&shell-><a class="code hl_variable" href="structShellActor.html#acf7c6324c79136005a8a16b0280862d4">unk30</a>, 4.0f, shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0], shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1], shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2], origPos[0],</div>
|
||||
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"> 402</span> origPos[1], origPos[2]);</div>
|
||||
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"> 403</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="l00404" name="l00404"></a><span class="lineno"> 404</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="l00405" name="l00405"></a><span class="lineno"> 405</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"> 406</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="l00407" name="l00407"></a><span class="lineno"> 407</span> <a class="code hl_function" href="blue__and__red__shells_2update_8inc_8c.html#a0cc339b71fb81e84d30eb55dc05b1a04">func_802B3E7C</a>(shell, &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell->targetPlayer]);</div>
|
||||
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"> 408</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"> 409</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="l00410" name="l00410"></a><span class="lineno"> 410</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="l00411" name="l00411"></a><span class="lineno"> 411</span> <span class="keywordflow">if</span> (shell->someTimer == 0) {</div>
|
||||
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"> 412</span> <span class="keywordflow">if</span> ((shell-><a class="code hl_variable" href="structActor.html#af49bb0c1202a06dc594529a2e77249c6">flags</a> & 0xF) == 0) {</div>
|
||||
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"> 413</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="l00414" name="l00414"></a><span class="lineno"> 414</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"> 415</span> shell->someTimer -= 1;</div>
|
||||
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno"> 416</span> }</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> <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#ac01c8e97d91d8f2968ca1f8d4eb0495ba7277793449f98cde9e41aeef89d77bba">GREEN_SHELL_HIT_A_RACER</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> player = &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell->targetPlayer];</div>
|
||||
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"> 422</span> height = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0];</div>
|
||||
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno"> 423</span> height -= shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0];</div>
|
||||
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno"> 424</span> temp_f2 = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[2];</div>
|
||||
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"> 425</span> temp_f2 -= shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2];</div>
|
||||
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"> 426</span> <span class="keywordflow">if</span> (((height * height) + (temp_f2 * temp_f2)) < 40000.0f) {</div>
|
||||
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span> shell-><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="l00428" name="l00428"></a><span class="lineno"> 428</span> }</div>
|
||||
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno"> 429</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"> 430</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="l00431" name="l00431"></a><span class="lineno"> 431</span> player = &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell->playerId];</div>
|
||||
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"> 432</span> parent = (<a class="code hl_struct" href="structTripleShellParent.html">TripleShellParent</a>*) &<a class="code hl_variable" href="code__800029B0_8c.html#a37d0e0553a4cd552f52174f4b33b798d">gActorList</a>[shell->parentIndex];</div>
|
||||
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"> 433</span> <span class="keywordflow">if</span> (parent-><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="l00434" name="l00434"></a><span class="lineno"> 434</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="l00435" name="l00435"></a><span class="lineno"> 435</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"> 436</span> shell->rotAngle += parent-><a class="code hl_variable" href="structTripleShellParent.html#a31471d3847195ba9618a684764b96043">rotVelocity</a>;</div>
|
||||
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"> 437</span> somePosVel[0] = <a class="code hl_function" href="math__util_8c.html#adcf81d47666b5d86c4a1dbcb06e47faf">sins</a>(shell->rotAngle) * 8.0f;</div>
|
||||
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno"> 438</span> somePosVel[1] = shell-><a class="code hl_variable" href="structActor.html#afa5dea9480abaa994c912de779986ef9">boundingBoxSize</a> - player-><a class="code hl_variable" href="structPlayer.html#a681f0fac4abe58cf5919dd4c6ac503d0">boundingBoxSize</a>;</div>
|
||||
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"> 439</span> somePosVel[2] = <a class="code hl_function" href="math__util_8c.html#a5eb0d9752bc1557b7f4ae3809352a0eb">coss</a>(shell->rotAngle) * 8.0f;</div>
|
||||
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"> 440</span> <a class="code hl_function" href="math__util_8c.html#a2af320f247ee4c117aff9eff1b920da3">mtxf_transform_vec3f_mat3</a>(somePosVel, player-><a class="code hl_variable" href="structPlayer.html#a28df2c989598022073df6fc2425cbefe">orientationMatrix</a>);</div>
|
||||
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span> origPos[0] = shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0];</div>
|
||||
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"> 442</span> origPos[1] = shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1];</div>
|
||||
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno"> 443</span> origPos[2] = shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2];</div>
|
||||
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno"> 444</span> shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0] + somePosVel[0];</div>
|
||||
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno"> 445</span> shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[1] + somePosVel[1];</div>
|
||||
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"> 446</span> shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[2] + somePosVel[2];</div>
|
||||
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"> 447</span> <a class="code hl_function" href="collision_8c.html#a79293dbdae52d290fdaf8dde9d5244ca">actor_terrain_collision</a>(&shell-><a class="code hl_variable" href="structActor.html#acd34f66c2555a2b2dba239da10475057">unk30</a>, 4.0f, shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0], shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1], shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2], origPos[0],</div>
|
||||
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"> 448</span> origPos[1], origPos[2]);</div>
|
||||
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno"> 449</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="l00450" name="l00450"></a><span class="lineno"> 450</span> }</div>
|
||||
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno"> 451</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno"> 452</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="l00453" name="l00453"></a><span class="lineno"> 453</span> shell-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] -= 0.3f;</div>
|
||||
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno"> 454</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] < -5.0f) {</div>
|
||||
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno"> 455</span> shell-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] = -5.0f;</div>
|
||||
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno"> 456</span> }</div>
|
||||
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno"> 457</span> shell->rotAngle += 0x5B0;</div>
|
||||
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"> 458</span> shell->someTimer -= 1;</div>
|
||||
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"> 459</span> shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1] += shell-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1];</div>
|
||||
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"> 460</span> <span class="keywordflow">if</span> (shell->someTimer == 0) {</div>
|
||||
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"> 461</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="l00462" name="l00462"></a><span class="lineno"> 462</span> }</div>
|
||||
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno"> 463</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno"> 464</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="l00465" name="l00465"></a><span class="lineno"> 465</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="l00466" name="l00466"></a><span class="lineno"> 466</span> shell->targetPlayer = <a class="code hl_variable" href="code__800029B0_8c.html#af041d75e08bc4d654b30e1c5c79550c9">gPlayerPositionLUT</a>[0];</div>
|
||||
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno"> 467</span> player = &<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="l00468" name="l00468"></a><span class="lineno"> 468</span> height = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0];</div>
|
||||
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno"> 469</span> height -= shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0];</div>
|
||||
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno"> 470</span> temp_f2 = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[2];</div>
|
||||
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno"> 471</span> temp_f2 -= shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2];</div>
|
||||
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno"> 472</span> <span class="keywordflow">if</span> (((height * height) + (temp_f2 * temp_f2)) < 40000.0f) {</div>
|
||||
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno"> 473</span> shell-><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="l00474" name="l00474"></a><span class="lineno"> 474</span> }</div>
|
||||
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno"> 475</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno"> 476</span> <span class="keywordflow">case</span> 9:</div>
|
||||
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno"> 477</span> <a class="code hl_function" href="blue__and__red__shells_2update_8inc_8c.html#a0cc339b71fb81e84d30eb55dc05b1a04">func_802B3E7C</a>(shell, &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell->targetPlayer]);</div>
|
||||
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno"> 478</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"> 479</span> <span class="keywordflow">default</span>:</div>
|
||||
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"> 480</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno"> 481</span> }</div>
|
||||
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno"> 482</span>}</div>
|
||||
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> <span class="comment">// The minus 1 is almost certainly just due to rounding the other way</span></div>
|
||||
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> = -<a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(170) - 1;</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 = &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-><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-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> > 0) {</div>
|
||||
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(10);</div>
|
||||
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> < 0) {</div>
|
||||
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> shell-><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-><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-><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-><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="cpu__vehicles__camera__path_8h.html#a1ecb17b4af8b4c984e41426b5d0db299">add_red_shell_in_unexpired_actor_list</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell - <a class="code hl_variable" href="code__800029B0_8c.html#a37d0e0553a4cd552f52174f4b33b798d">gActorList</a>);</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="cpu__vehicles__camera__path_8h.html#a86ff3c8d1cca531426694c00b7305967">add_blue_shell_in_unexpired_actor_list</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell - <a class="code hl_variable" href="code__800029B0_8c.html#a37d0e0553a4cd552f52174f4b33b798d">gActorList</a>);</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-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>, shell-><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="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-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(10);</div>
|
||||
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> > 0) {</div>
|
||||
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span> shell-><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-><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-><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-><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="cpu__vehicles__camera__path_8h.html#a1ecb17b4af8b4c984e41426b5d0db299">add_red_shell_in_unexpired_actor_list</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell - <a class="code hl_variable" href="code__800029B0_8c.html#a37d0e0553a4cd552f52174f4b33b798d">gActorList</a>);</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="cpu__vehicles__camera__path_8h.html#a86ff3c8d1cca531426694c00b7305967">add_blue_shell_in_unexpired_actor_list</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell - <a class="code hl_variable" href="code__800029B0_8c.html#a37d0e0553a4cd552f52174f4b33b798d">gActorList</a>);</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-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>, shell-><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-><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-><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-><a class="code hl_variable" href="structPlayer.html#a1eb7b22cb98924aa32fa909b969dee34">speed</a> > 8.0f) {</div>
|
||||
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> height = player-><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#aaf8278d014b133b37e18b614a9f66647">vec3f_rotate_y</a>(somePosVel, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (player-><a class="code hl_variable" href="structPlayer.html#a4fafb84477d127ff2a1b74331c904f3f">rotation</a>[1] + player-><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-><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-><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-><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#adcf81d47666b5d86c4a1dbcb06e47faf">sins</a>(shell-><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-><a class="code hl_variable" href="structShellActor.html#a610da60b5b38774fba6b6bb3076fd007">boundingBoxSize</a> - player-><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#a5eb0d9752bc1557b7f4ae3809352a0eb">coss</a>(shell-><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#a2af320f247ee4c117aff9eff1b920da3">mtxf_transform_vec3f_mat3</a>(somePosVel, player-><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-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0] = player-><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-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1] = player-><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-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2] = player-><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 = &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-><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-><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-><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-><a class="code hl_variable" href="structShellActor.html#a5368cbbb7b090d3f5abb520ca3ab9bf6">flags</a> &= 0xEFFF;</div>
|
||||
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> <span class="keywordflow">if</span> (shell-><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-><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-><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-><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="cpu__vehicles__camera__path_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> ((<a class="code hl_typedef" href="ultratypes_8h.html#a0ce6887c26c1c49ad3be5710dd42bfd6">s32</a>) <a class="code hl_variable" href="cpu__vehicles__camera__path_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a> < 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="cpu__vehicles__camera__path_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-><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-><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-><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-><a class="code hl_variable" href="structShellActor.html#ad503d4399dfef15a8aeb4cfec64ac155">targetPlayer</a> < 0) {</div>
|
||||
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span> shell-><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-><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-><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-><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-><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-><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-><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-><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-><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="cpu__vehicles__camera__path_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> ((<a class="code hl_typedef" href="ultratypes_8h.html#a0ce6887c26c1c49ad3be5710dd42bfd6">s32</a>) <a class="code hl_variable" href="cpu__vehicles__camera__path_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a> < 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="cpu__vehicles__camera__path_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-><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-><a class="code hl_variable" href="structPlayer.html#af68a201da4cc5a0628252a352d147767">currentRank</a> >= 5) {</div>
|
||||
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span> shell-><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-><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="cpu__vehicles__camera__path_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> ((<a class="code hl_typedef" href="ultratypes_8h.html#a0ce6887c26c1c49ad3be5710dd42bfd6">s32</a>) <a class="code hl_variable" href="cpu__vehicles__camera__path_8c.html#a95ff1a706d5fb5bd43a94bb9737f5797">gSelectedPathCount</a> < 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="cpu__vehicles__camera__path_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-><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-><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-><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-><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="l00387" name="l00387"></a><span class="lineno"> 387</span> shell-><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-><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-><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-><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-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] < -2.0f) {</div>
|
||||
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"> 394</span> shell-><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-><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-><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-><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-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0] += shell-><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-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1] += shell-><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-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2] += shell-><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>(&shell-><a class="code hl_variable" href="structShellActor.html#acf7c6324c79136005a8a16b0280862d4">unk30</a>, 4.0f, shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0], shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1], shell-><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, &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell->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->someTimer == 0) {</div>
|
||||
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"> 413</span> <span class="keywordflow">if</span> ((shell-><a class="code hl_variable" href="structActor.html#af49bb0c1202a06dc594529a2e77249c6">flags</a> & 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->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 = &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell->targetPlayer];</div>
|
||||
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno"> 423</span> height = player-><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-><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-><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-><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)) < 40000.0f) {</div>
|
||||
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno"> 428</span> shell-><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 = &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell->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_variable" href="code__800029B0_8c.html#a37d0e0553a4cd552f52174f4b33b798d">gActorList</a>[shell->parentIndex];</div>
|
||||
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"> 434</span> <span class="keywordflow">if</span> (parent-><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->rotAngle += parent-><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#adcf81d47666b5d86c4a1dbcb06e47faf">sins</a>(shell->rotAngle) * 8.0f;</div>
|
||||
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"> 439</span> somePosVel[1] = shell-><a class="code hl_variable" href="structActor.html#afa5dea9480abaa994c912de779986ef9">boundingBoxSize</a> - player-><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#a5eb0d9752bc1557b7f4ae3809352a0eb">coss</a>(shell->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#a2af320f247ee4c117aff9eff1b920da3">mtxf_transform_vec3f_mat3</a>(somePosVel, player-><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-><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-><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-><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-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0] = player-><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-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1] = player-><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-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2] = player-><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>(&shell-><a class="code hl_variable" href="structActor.html#acd34f66c2555a2b2dba239da10475057">unk30</a>, 4.0f, shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0], shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1], shell-><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-><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-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] < -5.0f) {</div>
|
||||
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno"> 456</span> shell-><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->rotAngle += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(8);</div>
|
||||
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"> 459</span> shell->someTimer -= 1;</div>
|
||||
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"> 460</span> shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1] += shell-><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->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->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 = &<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-><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-><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-><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-><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)) < 40000.0f) {</div>
|
||||
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno"> 474</span> shell-><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, &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell->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>
|
||||
<div class="ttc" id="aactor__types_8h_html_a06ad3f803827afd107e7682c8c22d990a1bb766203677f7a6b6337a94f8f17f7e"><div class="ttname"><a href="actor__types_8h.html#a06ad3f803827afd107e7682c8c22d990a1bb766203677f7a6b6337a94f8f17f7e">ACTOR_BLUE_SPINY_SHELL</a></div><div class="ttdeci">@ ACTOR_BLUE_SPINY_SHELL</div><div class="ttdef"><b>Definition</b> actor_types.h:80</div></div>
|
||||
<div class="ttc" id="aactor__types_8h_html_a06ad3f803827afd107e7682c8c22d990a1cc14c146c0ad5e7ee9f89b46d93fbdc"><div class="ttname"><a href="actor__types_8h.html#a06ad3f803827afd107e7682c8c22d990a1cc14c146c0ad5e7ee9f89b46d93fbdc">ACTOR_RED_SHELL</a></div><div class="ttdeci">@ ACTOR_RED_SHELL</div><div class="ttdef"><b>Definition</b> actor_types.h:46</div></div>
|
||||
@@ -608,7 +609,7 @@ $(function(){initNavTree('blue__and__red__shells_2update_8inc_8c_source.html',''
|
||||
<div class="ttc" id="aactors_8c_html_a694ec6ef7548b8618aeb35c038d3a9b9"><div class="ttname"><a href="actors_8c.html#a694ec6ef7548b8618aeb35c038d3a9b9">destroy_actor</a></div><div class="ttdeci">void destroy_actor(struct Actor *actor)</div><div class="ttdef"><b>Definition</b> actors.c:1321</div></div>
|
||||
<div class="ttc" id="aactors_8h_html"><div class="ttname"><a href="actors_8h.html">actors.h</a></div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a407d30d307b990cf22e979f7180477e5"><div class="ttname"><a href="actors__extended_8c.html#a407d30d307b990cf22e979f7180477e5">copy_collision</a></div><div class="ttdeci">void copy_collision(Collision *src, Collision *dest)</div><div class="ttdef"><b>Definition</b> actors_extended.c:19</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a78e98c146f1f4dd6e3608016486172a4"><div class="ttname"><a href="actors__extended_8c.html#a78e98c146f1f4dd6e3608016486172a4">func_802B4E30</a></div><div class="ttdeci">void func_802B4E30(struct Actor *arg0)</div><div class="ttdef"><b>Definition</b> actors_extended.c:972</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a78e98c146f1f4dd6e3608016486172a4"><div class="ttname"><a href="actors__extended_8c.html#a78e98c146f1f4dd6e3608016486172a4">func_802B4E30</a></div><div class="ttdeci">void func_802B4E30(struct Actor *arg0)</div><div class="ttdef"><b>Definition</b> actors_extended.c:973</div></div>
|
||||
<div class="ttc" id="aactors__extended_8h_html"><div class="ttname"><a href="actors__extended_8h.html">actors_extended.h</a></div></div>
|
||||
<div class="ttc" id="ablue__and__red__shells_2update_8inc_8c_html_a0cc339b71fb81e84d30eb55dc05b1a04"><div class="ttname"><a href="blue__and__red__shells_2update_8inc_8c.html#a0cc339b71fb81e84d30eb55dc05b1a04">func_802B3E7C</a></div><div class="ttdeci">void func_802B3E7C(struct ShellActor *shell, Player *player)</div><div class="ttdef"><b>Definition</b> update.inc.c:114</div></div>
|
||||
<div class="ttc" id="ablue__and__red__shells_2update_8inc_8c_html_a10550a4f6cb14493d6b16ac44a3c9484"><div class="ttname"><a href="blue__and__red__shells_2update_8inc_8c.html#a10550a4f6cb14493d6b16ac44a3c9484">func_802B3B44</a></div><div class="ttdeci">void func_802B3B44(struct ShellActor *shell)</div><div class="ttdef"><b>Definition</b> update.inc.c:8</div></div>
|
||||
@@ -633,7 +634,8 @@ $(function(){initNavTree('blue__and__red__shells_2update_8inc_8c_source.html',''
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8h_html_a1ecb17b4af8b4c984e41426b5d0db299"><div class="ttname"><a href="cpu__vehicles__camera__path_8h.html#a1ecb17b4af8b4c984e41426b5d0db299">add_red_shell_in_unexpired_actor_list</a></div><div class="ttdeci">s32 add_red_shell_in_unexpired_actor_list(s32)</div><div class="ttdef"><b>Definition</b> actor_utils.inc.c:22</div></div>
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8h_html_a86ff3c8d1cca531426694c00b7305967"><div class="ttname"><a href="cpu__vehicles__camera__path_8h.html#a86ff3c8d1cca531426694c00b7305967">add_blue_shell_in_unexpired_actor_list</a></div><div class="ttdeci">s32 add_blue_shell_in_unexpired_actor_list(s32)</div><div class="ttdef"><b>Definition</b> actor_utils.inc.c:38</div></div>
|
||||
<div class="ttc" id="adefines_8h_html"><div class="ttname"><a href="defines_8h.html">defines.h</a></div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a097e621533b6b47ca98facc0a937437c"><div class="ttname"><a href="defines_8h.html#a097e621533b6b47ca98facc0a937437c">BOO_EFFECT</a></div><div class="ttdeci">#define BOO_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:473</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a097e621533b6b47ca98facc0a937437c"><div class="ttname"><a href="defines_8h.html#a097e621533b6b47ca98facc0a937437c">BOO_EFFECT</a></div><div class="ttdeci">#define BOO_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:488</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a29a687ccf66fa4e1e852ecfaca24a63b"><div class="ttname"><a href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a></div><div class="ttdeci">#define DEGREES(degree)</div><div class="ttdef"><b>Definition</b> defines.h:347</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a3f48cce4d2125604131fc7878460f44a"><div class="ttname"><a href="defines_8h.html#a3f48cce4d2125604131fc7878460f44a">BATTLE</a></div><div class="ttdeci">#define BATTLE</div><div class="ttdef"><b>Definition</b> defines.h:150</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a697a31ba36158a0ed8ed4facfb70a6c0"><div class="ttname"><a href="defines_8h.html#a697a31ba36158a0ed8ed4facfb70a6c0">PLAYER_EXISTS</a></div><div class="ttdeci">#define PLAYER_EXISTS</div><div class="ttdef"><b>Definition</b> defines.h:106</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab30d6efeb8601088397fff50c25c2424"><div class="ttname"><a href="defines_8h.html#ab30d6efeb8601088397fff50c25c2424">PLAYER_HUMAN</a></div><div class="ttdeci">#define PLAYER_HUMAN</div><div class="ttdef"><b>Definition</b> defines.h:105</div></div>
|
||||
|
||||
@@ -456,9 +456,9 @@ $(function(){initNavTree('bomb__kart_8inc_8c_source.html',''); initResizable(tru
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8c_html_aecaedcf25130d660c6c5885cb92f3259"><div class="ttname"><a href="cpu__vehicles__camera__path_8c.html#aecaedcf25130d660c6c5885cb92f3259">gNearestPathPointByPlayerId</a></div><div class="ttdeci">u16 gNearestPathPointByPlayerId[12]</div><div class="ttdef"><b>Definition</b> cpu_vehicles_camera_path.c:163</div></div>
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8c_html_af32ec6711ec05dca60b41ba8251c40e9"><div class="ttname"><a href="cpu__vehicles__camera__path_8c.html#af32ec6711ec05dca60b41ba8251c40e9">D_8016347C</a></div><div class="ttdeci">s16 D_8016347C</div><div class="ttdef"><b>Definition</b> cpu_vehicles_camera_path.c:124</div></div>
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8h_html_a11eaf7a6aae1c87f72f266c398e6d398"><div class="ttname"><a href="cpu__vehicles__camera__path_8h.html#a11eaf7a6aae1c87f72f266c398e6d398">func_8000D2B4</a></div><div class="ttdeci">s16 func_8000D2B4(f32, f32, f32, s16, s32)</div><div class="ttdef"><b>Definition</b> path_utils.inc.c:553</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a097e621533b6b47ca98facc0a937437c"><div class="ttname"><a href="defines_8h.html#a097e621533b6b47ca98facc0a937437c">BOO_EFFECT</a></div><div class="ttdeci">#define BOO_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:473</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a15e549a7354d98b70e7a1e82eab50f10"><div class="ttname"><a href="defines_8h.html#a15e549a7354d98b70e7a1e82eab50f10">HIT_BY_STAR_TRIGGER</a></div><div class="ttdeci">#define HIT_BY_STAR_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:421</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab575c359be08cc32922e7f88b3634eb9"><div class="ttname"><a href="defines_8h.html#ab575c359be08cc32922e7f88b3634eb9">VERTICAL_TUMBLE_TRIGGER</a></div><div class="ttdeci">#define VERTICAL_TUMBLE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:419</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a097e621533b6b47ca98facc0a937437c"><div class="ttname"><a href="defines_8h.html#a097e621533b6b47ca98facc0a937437c">BOO_EFFECT</a></div><div class="ttdeci">#define BOO_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:488</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a15e549a7354d98b70e7a1e82eab50f10"><div class="ttname"><a href="defines_8h.html#a15e549a7354d98b70e7a1e82eab50f10">HIT_BY_STAR_TRIGGER</a></div><div class="ttdeci">#define HIT_BY_STAR_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:436</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab575c359be08cc32922e7f88b3634eb9"><div class="ttname"><a href="defines_8h.html#ab575c359be08cc32922e7f88b3634eb9">VERTICAL_TUMBLE_TRIGGER</a></div><div class="ttdeci">#define VERTICAL_TUMBLE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:434</div></div>
|
||||
<div class="ttc" id="amacros_8h_html_addf5ec070e9499d36b7f2009ce736076"><div class="ttname"><a href="macros_8h.html#addf5ec070e9499d36b7f2009ce736076">UNUSED</a></div><div class="ttdeci">#define UNUSED</div><div class="ttdef"><b>Definition</b> macros.h:23</div></div>
|
||||
<div class="ttc" id="amain_8c_html_a5f24aafa500466dbf1a7154ff7041fc2"><div class="ttname"><a href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a></div><div class="ttdeci">Player gPlayers[NUM_PLAYERS]</div><div class="ttdef"><b>Definition</b> main.c:68</div></div>
|
||||
<div class="ttc" id="amain_8c_html_a6743562aa5d4a08231e5966a0a1667bd"><div class="ttname"><a href="main_8c.html#a6743562aa5d4a08231e5966a0a1667bd">gPlayerFour</a></div><div class="ttdeci">Player * gPlayerFour</div><div class="ttdef"><b>Definition</b> main.c:72</div></div>
|
||||
|
||||
@@ -2017,7 +2017,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#_todo000011">Todo</a></b></dt><dd>What does this even do? </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000010">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">
|
||||
|
||||
@@ -1988,7 +1988,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#_todo000011">Todo</a></b></dt><dd>What does this even do? </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000010">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">
|
||||
|
||||
@@ -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#_todo000011">Todo</a></b></dt><dd>confirm this. </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
|
||||
@@ -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#_todo000011">Todo</a></b></dt><dd>confirm this. </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
|
||||
+2
-2
@@ -116,7 +116,7 @@ $(function(){initNavTree('controlflow.html',''); initResizable(true); });
|
||||
<li class="level1"><a href="#code-breakdown">Code Breakdown</a><ul><li class="level2"><a href="#menus">Menus</a></li>
|
||||
<li class="level2"><a href="#players">Players</a></li>
|
||||
<li class="level2"><a href="#actors-1">Actors</a></li>
|
||||
<li class="level2"><a href="#objects-1">Objects</a></li>
|
||||
<li class="level2"><a href="#objects">Objects</a></li>
|
||||
<li class="level2"><a href="#courses">Courses</a><ul><li class="level3"><a href="#course-folder">Course Folder</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
@@ -239,7 +239,7 @@ Actors</h2>
|
||||
<tr class="markdownTableRowOdd">
|
||||
<td class="markdownTableBodyNone"><a class="el" href="cpu__vehicles__camera__path_8c.html">cpu_vehicles_camera_path</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">
|
||||
|
||||
@@ -367,27 +367,27 @@ $(function(){initNavTree('cpu__speed__control_8inc_8c_source.html',''); initResi
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8h_html_ab04a0655cd1e3bcac5e8f48c18df1a57a878853c83e5fa17adb93e1ae1c37a61d"><div class="ttname"><a href="cpu__vehicles__camera__path_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57a878853c83e5fa17adb93e1ae1c37a61d">SPEED_CPU_BEHAVIOUR_SLOW</a></div><div class="ttdeci">@ SPEED_CPU_BEHAVIOUR_SLOW</div><div class="ttdef"><b>Definition</b> cpu_vehicles_camera_path.h:345</div></div>
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8h_html_ab04a0655cd1e3bcac5e8f48c18df1a57a881a4e96cb0453cb4d8cf1d15c79bce6"><div class="ttname"><a href="cpu__vehicles__camera__path_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57a881a4e96cb0453cb4d8cf1d15c79bce6">SPEED_CPU_BEHAVIOUR_MAX</a></div><div class="ttdeci">@ SPEED_CPU_BEHAVIOUR_MAX</div><div class="ttdef"><b>Definition</b> cpu_vehicles_camera_path.h:345</div></div>
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8h_html_ab04a0655cd1e3bcac5e8f48c18df1a57ad400aa70b82965338c9024b13d7df718"><div class="ttname"><a href="cpu__vehicles__camera__path_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57ad400aa70b82965338c9024b13d7df718">SPEED_CPU_BEHAVIOUR_NORMAL</a></div><div class="ttdeci">@ SPEED_CPU_BEHAVIOUR_NORMAL</div><div class="ttdef"><b>Definition</b> cpu_vehicles_camera_path.h:345</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a097e621533b6b47ca98facc0a937437c"><div class="ttname"><a href="defines_8h.html#a097e621533b6b47ca98facc0a937437c">BOO_EFFECT</a></div><div class="ttdeci">#define BOO_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:473</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a097e621533b6b47ca98facc0a937437c"><div class="ttname"><a href="defines_8h.html#a097e621533b6b47ca98facc0a937437c">BOO_EFFECT</a></div><div class="ttdeci">#define BOO_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:488</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a0a47a402a111553ab77f6bffab975df3"><div class="ttname"><a href="defines_8h.html#a0a47a402a111553ab77f6bffab975df3">CC_EXTRA</a></div><div class="ttdeci">#define CC_EXTRA</div><div class="ttdef"><b>Definition</b> defines.h:163</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a15e549a7354d98b70e7a1e82eab50f10"><div class="ttname"><a href="defines_8h.html#a15e549a7354d98b70e7a1e82eab50f10">HIT_BY_STAR_TRIGGER</a></div><div class="ttdeci">#define HIT_BY_STAR_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:421</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a15e549a7354d98b70e7a1e82eab50f10"><div class="ttname"><a href="defines_8h.html#a15e549a7354d98b70e7a1e82eab50f10">HIT_BY_STAR_TRIGGER</a></div><div class="ttdeci">#define HIT_BY_STAR_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:436</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a1edbc1a57e8a0fca9767e8a388f9bf2e"><div class="ttname"><a href="defines_8h.html#a1edbc1a57e8a0fca9767e8a388f9bf2e">PLAYER_CINEMATIC_MODE</a></div><div class="ttdeci">#define PLAYER_CINEMATIC_MODE</div><div class="ttdef"><b>Definition</b> defines.h:102</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a31213c9fb13bbc97f0ae1e30c1a6b1cf"><div class="ttname"><a href="defines_8h.html#a31213c9fb13bbc97f0ae1e30c1a6b1cf">LOW_TUMBLE_TRIGGER</a></div><div class="ttdeci">#define LOW_TUMBLE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:405</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a34df0bbf3026d34b4a3f572cd66ef1ea"><div class="ttname"><a href="defines_8h.html#a34df0bbf3026d34b4a3f572cd66ef1ea">LIGHTNING_STRIKE_EFFECT</a></div><div class="ttdeci">#define LIGHTNING_STRIKE_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:459</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a31213c9fb13bbc97f0ae1e30c1a6b1cf"><div class="ttname"><a href="defines_8h.html#a31213c9fb13bbc97f0ae1e30c1a6b1cf">LOW_TUMBLE_TRIGGER</a></div><div class="ttdeci">#define LOW_TUMBLE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:420</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a34df0bbf3026d34b4a3f572cd66ef1ea"><div class="ttname"><a href="defines_8h.html#a34df0bbf3026d34b4a3f572cd66ef1ea">LIGHTNING_STRIKE_EFFECT</a></div><div class="ttdeci">#define LIGHTNING_STRIKE_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:474</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a3aa8951f5d490e4f7c381143fd66e8ee"><div class="ttname"><a href="defines_8h.html#a3aa8951f5d490e4f7c381143fd66e8ee">CC_50</a></div><div class="ttdeci">#define CC_50</div><div class="ttdoc">Options for gCCSelection CC stands for cubic-centimetres. It measures engine displacement composed fr...</div><div class="ttdef"><b>Definition</b> defines.h:160</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a49c6b424bbbde8727e6b64661cc66963"><div class="ttname"><a href="defines_8h.html#a49c6b424bbbde8727e6b64661cc66963">DRIVING_SPINOUT_EFFECT</a></div><div class="ttdeci">#define DRIVING_SPINOUT_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:448</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a49c6b424bbbde8727e6b64661cc66963"><div class="ttname"><a href="defines_8h.html#a49c6b424bbbde8727e6b64661cc66963">DRIVING_SPINOUT_EFFECT</a></div><div class="ttdeci">#define DRIVING_SPINOUT_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:463</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a7f414af5293a3216eae978df3b0594db"><div class="ttname"><a href="defines_8h.html#a7f414af5293a3216eae978df3b0594db">CC_150</a></div><div class="ttdeci">#define CC_150</div><div class="ttdef"><b>Definition</b> defines.h:162</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a8162db60017841c732d51d0c3a4a5269"><div class="ttname"><a href="defines_8h.html#a8162db60017841c732d51d0c3a4a5269">STAR_EFFECT</a></div><div class="ttdeci">#define STAR_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:451</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aa20311ea3a24b8af6d46413576729228"><div class="ttname"><a href="defines_8h.html#aa20311ea3a24b8af6d46413576729228">BANANA_SPINOUT_EFFECT</a></div><div class="ttdeci">#define BANANA_SPINOUT_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:449</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab575c359be08cc32922e7f88b3634eb9"><div class="ttname"><a href="defines_8h.html#ab575c359be08cc32922e7f88b3634eb9">VERTICAL_TUMBLE_TRIGGER</a></div><div class="ttdeci">#define VERTICAL_TUMBLE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:419</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a8162db60017841c732d51d0c3a4a5269"><div class="ttname"><a href="defines_8h.html#a8162db60017841c732d51d0c3a4a5269">STAR_EFFECT</a></div><div class="ttdeci">#define STAR_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:466</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aa20311ea3a24b8af6d46413576729228"><div class="ttname"><a href="defines_8h.html#aa20311ea3a24b8af6d46413576729228">BANANA_SPINOUT_EFFECT</a></div><div class="ttdeci">#define BANANA_SPINOUT_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:464</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab575c359be08cc32922e7f88b3634eb9"><div class="ttname"><a href="defines_8h.html#ab575c359be08cc32922e7f88b3634eb9">VERTICAL_TUMBLE_TRIGGER</a></div><div class="ttdeci">#define VERTICAL_TUMBLE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:434</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab5accb58d02cd922fdadf0ab798d4690"><div class="ttname"><a href="defines_8h.html#ab5accb58d02cd922fdadf0ab798d4690">CC_100</a></div><div class="ttdeci">#define CC_100</div><div class="ttdef"><b>Definition</b> defines.h:161</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ae4226ebac8a87655f8b91957298e1269"><div class="ttname"><a href="defines_8h.html#ae4226ebac8a87655f8b91957298e1269">HIGH_TUMBLE_TRIGGER</a></div><div class="ttdeci">#define HIGH_TUMBLE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:404</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aeeea4d02810240ac9a7b0d03eb653515"><div class="ttname"><a href="defines_8h.html#aeeea4d02810240ac9a7b0d03eb653515">CPU_FAST_EFFECT</a></div><div class="ttdeci">#define CPU_FAST_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:463</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ae4226ebac8a87655f8b91957298e1269"><div class="ttname"><a href="defines_8h.html#ae4226ebac8a87655f8b91957298e1269">HIGH_TUMBLE_TRIGGER</a></div><div class="ttdeci">#define HIGH_TUMBLE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:419</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aeeea4d02810240ac9a7b0d03eb653515"><div class="ttname"><a href="defines_8h.html#aeeea4d02810240ac9a7b0d03eb653515">CPU_FAST_EFFECT</a></div><div class="ttdeci">#define CPU_FAST_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:478</div></div>
|
||||
<div class="ttc" id="amacros_8h_html_addf5ec070e9499d36b7f2009ce736076"><div class="ttname"><a href="macros_8h.html#addf5ec070e9499d36b7f2009ce736076">UNUSED</a></div><div class="ttdeci">#define UNUSED</div><div class="ttdef"><b>Definition</b> macros.h:23</div></div>
|
||||
<div class="ttc" id="amain_8c_html_ad099cd16f814954ae5c4d3e5c02b7cbb"><div class="ttname"><a href="main_8c.html#ad099cd16f814954ae5c4d3e5c02b7cbb">gCCSelection</a></div><div class="ttdeci">s32 gCCSelection</div><div class="ttdef"><b>Definition</b> main.c:181</div></div>
|
||||
<div class="ttc" id="amain_8c_html_ad0d02d334a85a918cd9504a24db19f61"><div class="ttname"><a href="main_8c.html#ad0d02d334a85a918cd9504a24db19f61">gDemoMode</a></div><div class="ttdeci">u16 gDemoMode</div><div class="ttdef"><b>Definition</b> main.c:169</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8c_html_a304f6cb24bff484f0338dd56d4b83987"><div class="ttname"><a href="player__controller_8c.html#a304f6cb24bff484f0338dd56d4b83987">player_accelerate_alternative</a></div><div class="ttdeci">void player_accelerate_alternative(Player *player)</div><div class="ttdef"><b>Definition</b> player_controller.c:3302</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8c_html_a837984168448122c63bd34b924c4276f"><div class="ttname"><a href="player__controller_8c.html#a837984168448122c63bd34b924c4276f">player_decelerate_alternative</a></div><div class="ttdeci">void player_decelerate_alternative(Player *player, f32 speed)</div><div class="ttdef"><b>Definition</b> player_controller.c:3416</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8c_html_ac7de2240e53129599337038bade1f4fc"><div class="ttname"><a href="player__controller_8c.html#ac7de2240e53129599337038bade1f4fc">func_80038BE4</a></div><div class="ttdeci">void func_80038BE4(Player *player, s16 arg1)</div><div class="ttdef"><b>Definition</b> player_controller.c:4935</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8c_html_ac7de2240e53129599337038bade1f4fc"><div class="ttname"><a href="player__controller_8c.html#ac7de2240e53129599337038bade1f4fc">func_80038BE4</a></div><div class="ttdeci">void func_80038BE4(Player *player, s16 arg1)</div><div class="ttdef"><b>Definition</b> player_controller.c:4934</div></div>
|
||||
<div class="ttc" id="astructPlayer_html"><div class="ttname"><a href="structPlayer.html">Player</a></div><div class="ttdef"><b>Definition</b> common_structs.h:249</div></div>
|
||||
<div class="ttc" id="astructPlayer_html_a197746819eb3897e92708f939da92aeb"><div class="ttname"><a href="structPlayer.html#a197746819eb3897e92708f939da92aeb">Player::currentSpeed</a></div><div class="ttdeci">f32 currentSpeed</div><div class="ttdef"><b>Definition</b> common_structs.h:286</div></div>
|
||||
<div class="ttc" id="astructPlayer_html_a1eb7b22cb98924aa32fa909b969dee34"><div class="ttname"><a href="structPlayer.html#a1eb7b22cb98924aa32fa909b969dee34">Player::speed</a></div><div class="ttdeci">f32 speed</div><div class="ttdef"><b>Definition</b> common_structs.h:284</div></div>
|
||||
|
||||
+14
-11
@@ -355,8 +355,8 @@ Macros</h2></td></tr>
|
||||
<tr class="memitem:a5320d4457a472d8888ec1905bc0e0a1c" id="r_a5320d4457a472d8888ec1905bc0e0a1c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="#a5320d4457a472d8888ec1905bc0e0a1c">MAX_TIME</a>   0x927C0</td></tr>
|
||||
<tr class="memdesc:a5320d4457a472d8888ec1905bc0e0a1c"><td class="mdescLeft"> </td><td class="mdescRight">Max representable time, 100 minutes measured in centiseconds. <br /></td></tr>
|
||||
<tr class="separator:a5320d4457a472d8888ec1905bc0e0a1c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5fe5c9e278625a540997d87c80f22208" id="r_a5fe5c9e278625a540997d87c80f22208"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="#a5fe5c9e278625a540997d87c80f22208">DEGREES_CONVERSION_FACTOR</a>   182</td></tr>
|
||||
<tr class="separator:a5fe5c9e278625a540997d87c80f22208"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a29a687ccf66fa4e1e852ecfaca24a63b" id="r_a29a687ccf66fa4e1e852ecfaca24a63b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(degree)   ((<a class="el" href="ultratypes_8h.html#aa0b167025ed1eead1300bc4dbdfb230e">u16</a>) (degree * 65536.0f / 360.0f))</td></tr>
|
||||
<tr class="separator:a29a687ccf66fa4e1e852ecfaca24a63b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a833689b3e0bc04d2b19b9d1eafed0ea7" id="r_a833689b3e0bc04d2b19b9d1eafed0ea7"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="#a833689b3e0bc04d2b19b9d1eafed0ea7">CRITTER_TOUCH</a>   0x2</td></tr>
|
||||
<tr class="separator:a833689b3e0bc04d2b19b9d1eafed0ea7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aceca3d6acc1b6dabc20c4c2deff0b9ff" id="r_aceca3d6acc1b6dabc20c4c2deff0b9ff"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="#aceca3d6acc1b6dabc20c4c2deff0b9ff">CRITTER_TOUCH_GATE</a>   0x4</td></tr>
|
||||
@@ -1460,14 +1460,17 @@ Enumerations</h2></td></tr>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a5fe5c9e278625a540997d87c80f22208" name="a5fe5c9e278625a540997d87c80f22208"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a5fe5c9e278625a540997d87c80f22208">◆ </a></span>DEGREES_CONVERSION_FACTOR</h2>
|
||||
<a id="a29a687ccf66fa4e1e852ecfaca24a63b" name="a29a687ccf66fa4e1e852ecfaca24a63b"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a29a687ccf66fa4e1e852ecfaca24a63b">◆ </a></span>DEGREES</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define DEGREES_CONVERSION_FACTOR   182</td>
|
||||
<td class="memname">#define DEGREES</td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"></td> <td class="paramname"><span class="paramname"><em>degree</em></span></td><td>)</td>
|
||||
<td>   ((<a class="el" href="ultratypes_8h.html#aa0b167025ed1eead1300bc4dbdfb230e">u16</a>) (degree * 65536.0f / 360.0f))</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
@@ -2075,12 +2078,12 @@ Enumerations</h2></td></tr>
|
||||
</div><div class="memdoc">
|
||||
<b>Value:</b><div class="fragment"><div class="line"> (<a class="code hl_define" href="#a15e549a7354d98b70e7a1e82eab50f10">HIT_BY_STAR_TRIGGER</a> | <a class="code hl_define" href="#ab575c359be08cc32922e7f88b3634eb9">VERTICAL_TUMBLE_TRIGGER</a> | <a class="code hl_define" href="#a8b62c4d0ecf9ddbd6e3eabec5a06e74b">LIGHTNING_STRIKE_TRIGGER</a> | <a class="code hl_define" href="#a31213c9fb13bbc97f0ae1e30c1a6b1cf">LOW_TUMBLE_TRIGGER</a> | \</div>
|
||||
<div class="line"> <a class="code hl_define" href="#ae4226ebac8a87655f8b91957298e1269">HIGH_TUMBLE_TRIGGER</a> | <a class="code hl_define" href="#a1fbddaa042c08a422f361c906dde39ef">THWOMP_SQUISH_TRIGGER</a>)</div>
|
||||
<div class="ttc" id="adefines_8h_html_a15e549a7354d98b70e7a1e82eab50f10"><div class="ttname"><a href="#a15e549a7354d98b70e7a1e82eab50f10">HIT_BY_STAR_TRIGGER</a></div><div class="ttdeci">#define HIT_BY_STAR_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:421</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a1fbddaa042c08a422f361c906dde39ef"><div class="ttname"><a href="#a1fbddaa042c08a422f361c906dde39ef">THWOMP_SQUISH_TRIGGER</a></div><div class="ttdeci">#define THWOMP_SQUISH_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:407</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a31213c9fb13bbc97f0ae1e30c1a6b1cf"><div class="ttname"><a href="#a31213c9fb13bbc97f0ae1e30c1a6b1cf">LOW_TUMBLE_TRIGGER</a></div><div class="ttdeci">#define LOW_TUMBLE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:405</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a8b62c4d0ecf9ddbd6e3eabec5a06e74b"><div class="ttname"><a href="#a8b62c4d0ecf9ddbd6e3eabec5a06e74b">LIGHTNING_STRIKE_TRIGGER</a></div><div class="ttdeci">#define LIGHTNING_STRIKE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:412</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab575c359be08cc32922e7f88b3634eb9"><div class="ttname"><a href="#ab575c359be08cc32922e7f88b3634eb9">VERTICAL_TUMBLE_TRIGGER</a></div><div class="ttdeci">#define VERTICAL_TUMBLE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:419</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ae4226ebac8a87655f8b91957298e1269"><div class="ttname"><a href="#ae4226ebac8a87655f8b91957298e1269">HIGH_TUMBLE_TRIGGER</a></div><div class="ttdeci">#define HIGH_TUMBLE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:404</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a15e549a7354d98b70e7a1e82eab50f10"><div class="ttname"><a href="#a15e549a7354d98b70e7a1e82eab50f10">HIT_BY_STAR_TRIGGER</a></div><div class="ttdeci">#define HIT_BY_STAR_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:436</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a1fbddaa042c08a422f361c906dde39ef"><div class="ttname"><a href="#a1fbddaa042c08a422f361c906dde39ef">THWOMP_SQUISH_TRIGGER</a></div><div class="ttdeci">#define THWOMP_SQUISH_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:422</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a31213c9fb13bbc97f0ae1e30c1a6b1cf"><div class="ttname"><a href="#a31213c9fb13bbc97f0ae1e30c1a6b1cf">LOW_TUMBLE_TRIGGER</a></div><div class="ttdeci">#define LOW_TUMBLE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:420</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a8b62c4d0ecf9ddbd6e3eabec5a06e74b"><div class="ttname"><a href="#a8b62c4d0ecf9ddbd6e3eabec5a06e74b">LIGHTNING_STRIKE_TRIGGER</a></div><div class="ttdeci">#define LIGHTNING_STRIKE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:427</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab575c359be08cc32922e7f88b3634eb9"><div class="ttname"><a href="#ab575c359be08cc32922e7f88b3634eb9">VERTICAL_TUMBLE_TRIGGER</a></div><div class="ttdeci">#define VERTICAL_TUMBLE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:434</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ae4226ebac8a87655f8b91957298e1269"><div class="ttname"><a href="#ae4226ebac8a87655f8b91957298e1269">HIGH_TUMBLE_TRIGGER</a></div><div class="ttdeci">#define HIGH_TUMBLE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:419</div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ var defines_8h =
|
||||
[ "CRITTER_TOUCH", "defines_8h.html#a833689b3e0bc04d2b19b9d1eafed0ea7", null ],
|
||||
[ "CRITTER_TOUCH_GATE", "defines_8h.html#aceca3d6acc1b6dabc20c4c2deff0b9ff", null ],
|
||||
[ "DATA_MENU", "defines_8h.html#a8158aa6dfe340352f5a9ce22c3295d31", null ],
|
||||
[ "DEGREES_CONVERSION_FACTOR", "defines_8h.html#a5fe5c9e278625a540997d87c80f22208", null ],
|
||||
[ "DEGREES", "defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b", null ],
|
||||
[ "DEMO_FIVE", "defines_8h.html#a4d0cd80c1d8a9c1b8668c6bd4f8509de", null ],
|
||||
[ "DEMO_FOUR", "defines_8h.html#a718455dd2e94947933201e3718c5d87e", null ],
|
||||
[ "DEMO_MODE_ACTIVE", "defines_8h.html#a091671188899d1f6910c2c8a08d26697", null ],
|
||||
|
||||
+181
-166
@@ -339,175 +339,190 @@ $(function(){initNavTree('defines_8h_source.html',''); initResizable(true); });
|
||||
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"><a class="line" href="defines_8h.html#ad31b4d2ac1d04dd56aed3d8279f38c2e"> 326</a></span><span class="preprocessor">#define BALLOON_STATUS_DEPARTING 2</span></div>
|
||||
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> </div>
|
||||
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"><a class="line" href="defines_8h.html#a5320d4457a472d8888ec1905bc0e0a1c"> 331</a></span><span class="preprocessor">#define MAX_TIME 0x927C0</span></div>
|
||||
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"><a class="line" href="defines_8h.html#a5fe5c9e278625a540997d87c80f22208"> 332</a></span><span class="preprocessor">#define DEGREES_CONVERSION_FACTOR 182</span></div>
|
||||
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span> </div>
|
||||
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span><span class="comment">// player->unk_046</span></div>
|
||||
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> </div>
|
||||
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span><span class="comment">/* The first time you touch a penguin or bat, and anytime you touch a thwomp during a</span></div>
|
||||
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span><span class="comment"> race will set a flag which will cause your next spinout to be instant (i.e. no </span></div>
|
||||
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span><span class="comment"> sliding forward). Probably half-implemented code to prevent sliding through enemies,</span></div>
|
||||
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span><span class="comment"> but causes this bug */</span></div>
|
||||
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"><a class="line" href="defines_8h.html#a833689b3e0bc04d2b19b9d1eafed0ea7"> 340</a></span><span class="preprocessor">#define CRITTER_TOUCH 0x2 </span><span class="comment">// Touched a penguin, bat or thwomp</span></div>
|
||||
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"><a class="line" href="defines_8h.html#aceca3d6acc1b6dabc20c4c2deff0b9ff"> 341</a></span><span class="preprocessor">#define CRITTER_TOUCH_GATE 0x4</span></div>
|
||||
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"><a class="line" href="defines_8h.html#afc0a0f6670cda9b2c4fb7ef3728ebd12"> 342</a></span><span class="preprocessor">#define INSTANT_SPINOUT 0x40</span></div>
|
||||
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> </div>
|
||||
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span><span class="comment">// player->oobProps</span></div>
|
||||
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span><span class="comment">/* Deals with the lower out of bounds (OOB) plane on levels. Represented by fluids (water / lava)</span></div>
|
||||
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span><span class="comment"> or nothing for Rainbow Road and Skyscraper. */</span></div>
|
||||
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"><a class="line" href="defines_8h.html#a2bbfe6ff4f130e0985ee29c71a816b50"> 347</a></span><span class="preprocessor">#define UNDER_OOB_OR_FLUID_LEVEL 0x1 </span><span class="comment">// Set while mostly under the plane. Does not necessarily trigger Lakitu on Koopa Troopa Beach.</span></div>
|
||||
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"><a class="line" href="defines_8h.html#a3219e25956dda44f825a4d5fb99a280c"> 348</a></span><span class="preprocessor">#define PASS_OOB_OR_FLUID_LEVEL 0x2 </span><span class="comment">// Set when passing through the lower plane in either direction</span></div>
|
||||
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span><span class="comment">// The next two are also activated when passing through the lower plane.</span></div>
|
||||
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"><a class="line" href="defines_8h.html#a7c80064f6c4fb49641f1f871848cb510"> 350</a></span><span class="preprocessor">#define UNDER_FLUID_LEVEL 0x4 </span><span class="comment">// Stays active until Lakitu places back on track</span></div>
|
||||
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"><a class="line" href="defines_8h.html#aad92680dc9deea36d4dd35e8aecd5898"> 351</a></span><span class="preprocessor">#define UNDER_OOB_LEVEL 0x8 </span><span class="comment">// Active while under a non-fluid OOB plane. Is momentarily active when passing through fluids.</span></div>
|
||||
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span> </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><span class="comment">/* UNK_002 has something to do with player animations. Each player has a 32-bit</span></div>
|
||||
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span><span class="comment">flag broken into 8 groups of 4 bits. Those 4 bits affect how each of the 8 players</span></div>
|
||||
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span><span class="comment">appear to the specified player */</span></div>
|
||||
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"><a class="line" href="defines_8h.html#aa2696b376070ed20623d1bc6ea4ca8e0"> 357</a></span><span class="preprocessor">#define CHANGING_ANIMATION 0x1 </span><span class="comment">// Seems to be set when the kart animation has to change.</span></div>
|
||||
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"><a class="line" href="defines_8h.html#aec3bacdb0e62023cfa55161ad599de6f"> 358</a></span><span class="preprocessor">#define UNK_002_UNKNOWN_0x2 0x2 </span></div>
|
||||
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"><a class="line" href="defines_8h.html#a02f79ec9b57d0e2044c8fd4a86799f7f"> 359</a></span><span class="preprocessor">#define UNK_002_UNKNOWN_0x4 0x4 </span><span class="comment">/* Unclear, but has to do with viewing the side of player. At least tends to change if target</span></div>
|
||||
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"><a class="line" href="defines_8h.html#ace75e336784ba8547d930a21ba8b21d6"> 360</a></span><span class="comment">player spins. Something with avoding rollover of aniamation frame data? */</span><span class="preprocessor"></span></div>
|
||||
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span><span class="preprocessor">#define SIDE_OF_KART 0x8 </span><span class="comment">// Seems to be whether you are in a rectangle shooting out from both sides of target player</span></div>
|
||||
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"><a class="line" href="defines_8h.html#af9473c71307411413b373ac2e061d2fc"> 362</a></span> </div>
|
||||
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"><a class="line" href="defines_8h.html#a5a24df9755c49775ec259b3c7021df0e"> 363</a></span><span class="preprocessor">#define WHISTLE 0x20 </span><span class="comment">// Whistle spinout save graphic</span></div>
|
||||
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"><a class="line" href="defines_8h.html#a9e5cb358fd5bf5e6a7d1f5e10397aad3"> 364</a></span><span class="preprocessor">#define CRASH 0x40 </span><span class="comment">// Crash! graphic (vertical tumble)</span></div>
|
||||
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"><a class="line" href="defines_8h.html#a05df984b20240553888bfeec2c5f38ab"> 365</a></span><span class="preprocessor">#define WHIRRR 0x80 </span><span class="comment">// Whirrr! graphic (spinning out)</span></div>
|
||||
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"><a class="line" href="defines_8h.html#a9e022f3408c72c4c81db3d4c988d699d"> 366</a></span><span class="preprocessor">#define POOMP 0x100 </span><span class="comment">// Poomp! graphic (landing from a height)</span></div>
|
||||
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"><a class="line" href="defines_8h.html#a33e3ab8014df1b21b2256c9bc14274f4"> 367</a></span><span class="preprocessor">#define BOING 0x800 </span><span class="comment">// Boing! graphic (hopping)</span></div>
|
||||
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span><span class="preprocessor">#define EXPLOSION 0x1000 </span><span class="comment">// Big shock looking graphic when starting tumble</span></div>
|
||||
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"> 369</span> </div>
|
||||
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"><a class="line" href="defines_8h.html#a026c882dc0f6a882679a816ac30e7aa8"> 370</a></span><span class="comment">// player->lakituProps</span></div>
|
||||
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"><a class="line" href="defines_8h.html#a804482d9cd35f19d1cf2da06c10e21df"> 371</a></span><span class="preprocessor">#define LAKITU_RETRIEVAL 0x1 </span><span class="comment">// While lakitu is grabbing you, but before the scene transition of being placed on the track</span></div>
|
||||
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"><a class="line" href="defines_8h.html#a6a38fb518539ef1ec0a156f8427969f2"> 372</a></span><span class="preprocessor">#define HELD_BY_LAKITU 0x2</span></div>
|
||||
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"><a class="line" href="defines_8h.html#a1840a807524d90c0c1a70c5aeedd4ef6"> 373</a></span><span class="preprocessor">#define LAKITU_FIZZLE 0x4 </span><span class="comment">// Disintegration and reintegration effect when transitioning from retrieval to placement</span></div>
|
||||
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"><a class="line" href="defines_8h.html#a3dfa174de86e90680fae12f95fcc7b07"> 374</a></span><span class="preprocessor">#define LAKITU_SCENE 0x8 </span><span class="comment">// the whole segment from when lakitu is called to when you regain control</span></div>
|
||||
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"><a class="line" href="defines_8h.html#a9af23090b819bad25a51e998bc42d9f6"> 375</a></span><span class="preprocessor">#define FRIGID_EFFECT 0x10 </span><span class="comment">// Cold colors on Sherbet Land after in frigid water</span></div>
|
||||
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"><a class="line" href="defines_8h.html#aa1127b70f5f8698eab1d26451b636576"> 376</a></span><span class="preprocessor">#define THAWING_EFFECT 0x20 </span><span class="comment">// Regaining usual colors post frigid effect</span></div>
|
||||
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"><a class="line" href="defines_8h.html#a32d1992f072517fafe44d275bcbb5038"> 377</a></span><span class="preprocessor">#define FROZEN_EFFECT 0x80 </span><span class="comment">// In the ice cube</span></div>
|
||||
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"><a class="line" href="defines_8h.html#a146b6107bb594bbb3a5ffa895161e560"> 378</a></span><span class="preprocessor">#define WENT_OVER_OOB 0x100 </span><span class="comment">// Player went over (or is on) an OOB area. Cancelled if touch back in bounds</span></div>
|
||||
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"><a class="line" href="defines_8h.html#ab606f8f56c465178c08d126cdd6d0225"> 379</a></span><span class="preprocessor">#define LAKITU_LAVA 0x1000 </span><span class="comment">// smoky effect when retrieved from lava</span></div>
|
||||
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span><span class="preprocessor">#define LAKITU_WATER 0x2000 </span><span class="comment">// dripping effect when retreived from water</span></div>
|
||||
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"> 381</span> </div>
|
||||
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"><a class="line" href="defines_8h.html#afc7fca890ff061d50718e624f5d7f0cf"> 382</a></span><span class="comment">// player->kartProps</span></div>
|
||||
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"><a class="line" href="defines_8h.html#a111aa270645fe8830cc009a5a79034a6"> 383</a></span><span class="preprocessor">#define BACK_UP 0x1</span></div>
|
||||
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"><a class="line" href="defines_8h.html#a738306f0c9e618093388a1fbb544b048"> 384</a></span><span class="preprocessor">#define RIGHT_TURN 0x2 </span><span class="comment">// non-drifting (more than 5 degrees)</span></div>
|
||||
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"><a class="line" href="defines_8h.html#a10b8a3f391e465ceea8b23b9f1177436"> 385</a></span><span class="preprocessor">#define LEFT_TURN 0x4 </span><span class="comment">// non-drifting (more than 5 degrees)</span></div>
|
||||
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"><a class="line" href="defines_8h.html#a09dfb1036d38f2c9b51e8a0c3c528a6e"> 386</a></span><span class="preprocessor">#define MOVE_BACKWARDS 0x8 </span><span class="comment">// includes lakitu</span></div>
|
||||
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"><a class="line" href="defines_8h.html#a96e6d6c3e78916bb163b52f0ea38ba68"> 387</a></span><span class="preprocessor">#define LOSE_GP_RACE 0x10 </span><span class="comment">// pointless, only unsets itself</span></div>
|
||||
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"><a class="line" href="defines_8h.html#a9e0609b98e1999a38075e728ba3bee4c"> 388</a></span><span class="preprocessor">#define THROTTLE 0x20 </span><span class="comment">// Closely tied to just pressing A. Possible exception for AB-spins</span></div>
|
||||
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"><a class="line" href="defines_8h.html#a545257591ea256dd156012b90a2b613e"> 389</a></span><span class="preprocessor">#define EARLY_SPINOUT_RIGHT 0x40 </span><span class="comment">// Spinning out while facing right (not actually used for anything)</span></div>
|
||||
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"><a class="line" href="defines_8h.html#aa9a602c706a56cd60f9de264b5109cb6"> 390</a></span><span class="preprocessor">#define EARLY_SPINOUT_LEFT 0x80 </span><span class="comment">// Spinning out while facing left</span></div>
|
||||
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"><a class="line" href="defines_8h.html#a355e06bab8eda07a5944b345fa239503"> 391</a></span><span class="preprocessor">#define POST_TUMBLE_GAS 0x100 </span><span class="comment">// Causes particles after a vertical tumble, I think</span></div>
|
||||
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"><a class="line" href="defines_8h.html#a1dd84daa7622ce7dd3d875e88d57088c"> 392</a></span><span class="preprocessor">#define BECOME_INVISIBLE 0x200</span></div>
|
||||
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"><a class="line" href="defines_8h.html#a7e7edfe8a41c46b5c52b98acff2128a6"> 393</a></span><span class="preprocessor">#define UNUSED_0x400 0x400 </span><span class="comment">// locked behind 0x800 (func_80091440)</span></div>
|
||||
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"><a class="line" href="defines_8h.html#ac88a6f0b8b8fec453402c2fe8623cf4d"> 394</a></span><span class="preprocessor">#define UNUSED_0x800 0x800 </span><span class="comment">// locked behind 0x400 (func_8002B830 -> func_800911B4)</span></div>
|
||||
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"><a class="line" href="defines_8h.html#a06b4b382f8d661c3772a887b9e6ecda2"> 395</a></span><span class="preprocessor">#define UNUSED_0x1000 0x1000 </span><span class="comment">// 0x1000 locked behind 0x400 (func_8002B830 -> func_800911B4)</span></div>
|
||||
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"> 396</span><span class="preprocessor">#define UNUSED_0x2000 0x2000 </span><span class="comment">// 0x2000 locked behind 0x400 and 0x800 (func_8002B830 -> func_800911B4, apply_effect -> func_80091298,</span></div>
|
||||
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"><a class="line" href="defines_8h.html#a069a279748ca090ff3e73954ad64782f"> 397</a></span> <span class="comment">// func_80091440)</span></div>
|
||||
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"><a class="line" href="defines_8h.html#a3c34a78f6be36ee158c091fbd3d81212"> 398</a></span><span class="preprocessor">#define DRIVING_NEAR_SPINOUT 0x4000</span></div>
|
||||
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span><span class="preprocessor">#define UNKNOWN_BATTLE_VAR 0x8000 </span><span class="comment">// 0x8000 something battle related, unclear if ever set</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><span class="comment">/*</span></div>
|
||||
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"> 402</span><span class="comment"> * @brief triggers indicating that an effect should be applied to a kart</span></div>
|
||||
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"><a class="line" href="defines_8h.html#aa9c7e3243d2985370ad814e73f668468"> 403</a></span><span class="comment"> */</span></div>
|
||||
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"><a class="line" href="defines_8h.html#ae4226ebac8a87655f8b91957298e1269"> 404</a></span><span class="preprocessor">#define HIT_BANANA_TRIGGER 0x1 </span><span class="comment">// hits a banana</span></div>
|
||||
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"><a class="line" href="defines_8h.html#a31213c9fb13bbc97f0ae1e30c1a6b1cf"> 405</a></span><span class="preprocessor">#define HIGH_TUMBLE_TRIGGER 0x2 </span><span class="comment">// hit by a red shell, blue shell, or hit a mole</span></div>
|
||||
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"><a class="line" href="defines_8h.html#aafd5522730cfe2fac2e8c4ee75e38742"> 406</a></span><span class="preprocessor">#define LOW_TUMBLE_TRIGGER 0x4 </span><span class="comment">// hit by a green shell</span></div>
|
||||
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"><a class="line" href="defines_8h.html#a1fbddaa042c08a422f361c906dde39ef"> 407</a></span><span class="preprocessor">#define DRIVING_SPINOUT_TRIGGER 0x80 </span><span class="comment">// spinning out from erratic driving</span></div>
|
||||
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"><a class="line" href="defines_8h.html#ac6e6afb7559bef47307392ea60834d65"> 408</a></span><span class="preprocessor">#define THWOMP_SQUISH_TRIGGER 0x100 </span><span class="comment">// stomped by thwomp</span></div>
|
||||
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"><a class="line" href="defines_8h.html#a5c9df8d9502c3c234100b291c1628394"> 409</a></span><span class="preprocessor">#define SHROOM_TRIGGER 0x200 </span><span class="comment">// being boosted by trigger a mushroom</span></div>
|
||||
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno"><a class="line" href="defines_8h.html#a59c6a4129f17dcb245c6470919ea7a98"> 410</a></span><span class="preprocessor">#define BOO_TRIGGER 0x800 </span><span class="comment">// being a boo</span></div>
|
||||
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno"><a class="line" href="defines_8h.html#adae0d75df418151826279ce77fbc0e82"> 411</a></span><span class="preprocessor">#define UNUSED_TRIGGER_0x1000 0x1000 </span><span class="comment">// Unused</span></div>
|
||||
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"><a class="line" href="defines_8h.html#a8b62c4d0ecf9ddbd6e3eabec5a06e74b"> 412</a></span><span class="preprocessor">#define STAR_TRIGGER 0x2000 </span><span class="comment">// Starting a star</span></div>
|
||||
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"><a class="line" href="defines_8h.html#ae6840d9b73409f9aedfd6d071e7b61fd"> 413</a></span><span class="preprocessor">#define LIGHTNING_STRIKE_TRIGGER 0x4000 </span><span class="comment">// Struck by lightning</span></div>
|
||||
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"><a class="line" href="defines_8h.html#a36780035e9299b8255ed21f117a8dabb"> 414</a></span><span class="preprocessor">#define BOOST_RAMP_WOOD_TRIGGER 0x8000 </span><span class="comment">// being boosted by a ramp</span></div>
|
||||
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"><a class="line" href="defines_8h.html#adc856e170e2775ef474d350e0179c09b"> 415</a></span><span class="preprocessor">#define UNUSED_TRIGGER_0x20000 0x20000 </span><span class="comment">// Unused</span></div>
|
||||
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno"><a class="line" href="defines_8h.html#a94a9f5b69ac28a2ac94c6491e76404bc"> 416</a></span><span class="preprocessor">#define DRAG_ITEM_EFFECT 0x40000 </span><span class="comment">// holding a non-shell item behind you</span></div>
|
||||
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno"><a class="line" href="defines_8h.html#a5e748dc6af74a4076772106205f0d897"> 417</a></span><span class="preprocessor">#define HIT_PADDLE_BOAT_TRIGGER 0x80000 </span><span class="comment">// hit paddle boat</span></div>
|
||||
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno"><a class="line" href="defines_8h.html#a2623f2e96fadd2bb4c8e2a52ea6910a7"> 418</a></span><span class="preprocessor">#define UNUSED_TRIGGER_0x10000 0x100000 </span><span class="comment">// Unused</span></div>
|
||||
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"><a class="line" href="defines_8h.html#ab575c359be08cc32922e7f88b3634eb9"> 419</a></span><span class="preprocessor">#define SPINOUT_TRIGGER 0x200000 </span><span class="comment">// hit crab or spiny spinout or losing versus race</span></div>
|
||||
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"><a class="line" href="defines_8h.html#a747a006f3ecfaa460461b12cccdd1bc1"> 420</a></span><span class="preprocessor">#define VERTICAL_TUMBLE_TRIGGER 0x400000 </span><span class="comment">// hitting a fake item / bomb / snowman / car / train</span></div>
|
||||
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"><a class="line" href="defines_8h.html#a15e549a7354d98b70e7a1e82eab50f10"> 421</a></span><span class="preprocessor">#define BOOST_RAMP_ASPHALT_TRIGGER 0x800000 </span><span class="comment">// being boosted by a boost pad</span></div>
|
||||
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"><a class="line" href="defines_8h.html#a1ca0ca0f770b5fb45502db7967c6646a"> 422</a></span><span class="preprocessor">#define HIT_BY_STAR_TRIGGER 0x1000000 </span><span class="comment">// being hit by a star</span></div>
|
||||
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno"><a class="line" href="defines_8h.html#a60528aaa3366d7dfd35145c2bfd62f69"> 423</a></span><span class="preprocessor">#define START_BOOST_TRIGGER 0x2000000 </span><span class="comment">// Start boost</span></div>
|
||||
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno"><a class="line" href="defines_8h.html#a8c541916749a7895f61ff8e899ff2420"> 424</a></span><span class="preprocessor">#define LOSE_BATTLE_EFFECT 0x4000000 </span><span class="comment">// When losing battle mode</span></div>
|
||||
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"><a class="line" href="defines_8h.html#a3a35d4e01ea3189295e1440b1fbb1f35"> 425</a></span><span class="preprocessor">#define BECOME_BOMB_EFFECT 0x8000000 </span><span class="comment">// When becoming a bomb in battle mode</span></div>
|
||||
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"> 426</span><span class="preprocessor">#define START_SPINOUT_TRIGGER 0x10000000 </span><span class="comment">// Spinning out by holding gas at start of race</span></div>
|
||||
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"><a class="line" href="defines_8h.html#ac18dd288f14b55921d3839a5b9484f5a"> 427</a></span> </div>
|
||||
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno"><a class="line" href="defines_8h.html#ab267efbbead7cc6f60499149f1fa0733"> 428</a></span><span class="preprocessor">#define ALL_TRIGGERS (0xFFFFFFFF)</span></div>
|
||||
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno"><a class="line" href="defines_8h.html#a9eca44c453f71071193376a83f3488be"> 429</a></span><span class="preprocessor">#define RACING_SPINOUT_TRIGGERS (SPINOUT_TRIGGER | DRIVING_SPINOUT_TRIGGER | HIT_BANANA_TRIGGER) </span><span class="comment">// 0x200081</span></div>
|
||||
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"><a class="line" href="defines_8h.html#af7ded6d858296c8a37676efabcad7541"> 430</a></span><span class="preprocessor">#define RAMP_BOOST_TRIGGERS (BOOST_RAMP_ASPHALT_TRIGGER | BOOST_RAMP_WOOD_TRIGGER) </span><span class="comment">// 0x00808000</span></div>
|
||||
<div class="foldopen" id="foldopen00431" data-start="" data-end="">
|
||||
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno"><a class="line" href="defines_8h.html#ae3823ac0c80a07235c57fa15cb8b5ae4"> 431</a></span><span class="preprocessor">#define ANY_BOOST_TRIGGERS (RAMP_BOOST_TRIGGERS | SHROOM_TRIGGER) </span><span class="comment">// 0x00808200</span></div>
|
||||
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"> 432</span><span class="preprocessor">#define STATE_TRANSITION_TRIGGERS \</span></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><span class="comment">/* The codebase uses 16-bit representations of angles (either u16 or s16 depending on context). </span></div>
|
||||
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span><span class="comment"> Thus, values of [0, 2**16 - 1] (for u16) or [-2**15, 2**15 - 1] (for s16) represent evenly </span></div>
|
||||
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span><span class="comment"> spaced angles around a circle. (e.g. (u16) 0x8000 is 2**15, which represents half a circle, or 180 degrees)</span></div>
|
||||
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span><span class="comment"> </span></div>
|
||||
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span><span class="comment"> However, it is clear that the developers were thinking in terms of degrees and often worked</span></div>
|
||||
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span><span class="comment"> with values that corresponded to a specific number of degrees. The DEGREES macro converts</span></div>
|
||||
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span><span class="comment"> from the specified number of degrees to the 16-bit representation. This allows readers to</span></div>
|
||||
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span><span class="comment"> think in degrees while leaving the compiled machine code unaffected.</span></div>
|
||||
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span><span class="comment"></span> </div>
|
||||
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span><span class="comment"> Note that 2**16 / 360 is not an integer. It has a value of ~182.04, but is rounded to 182 </span></div>
|
||||
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span><span class="comment"> by the DEGREES function. There is some inconsistency with how the codebase handles this. </span></div>
|
||||
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span><span class="comment"> e.g. 70 degrees might be represented as DEGREES(70) or 70 * DEGREES(1), which are slightly</span></div>
|
||||
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span><span class="comment"> different values due to this rounding. As a practical matter, this rounding is less than</span></div>
|
||||
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span><span class="comment"> 0.1 degrees in all cases */</span></div>
|
||||
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"><a class="line" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b"> 347</a></span><span class="preprocessor">#define DEGREES(degree) ((u16) (degree * 65536.0f / 360.0f))</span></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="comment">// player->unk_046</span></div>
|
||||
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span> </div>
|
||||
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span><span class="comment">/* The first time you touch a penguin or bat, and anytime you touch a thwomp during a</span></div>
|
||||
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span><span class="comment"> race will set a flag which will cause your next spinout to be instant (i.e. no </span></div>
|
||||
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"> 353</span><span class="comment"> sliding forward). Probably half-implemented code to prevent sliding through enemies,</span></div>
|
||||
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"> 354</span><span class="comment"> but causes this bug */</span></div>
|
||||
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"><a class="line" href="defines_8h.html#a833689b3e0bc04d2b19b9d1eafed0ea7"> 355</a></span><span class="preprocessor">#define CRITTER_TOUCH 0x2 </span><span class="comment">// Touched a penguin, bat or thwomp</span></div>
|
||||
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"><a class="line" href="defines_8h.html#aceca3d6acc1b6dabc20c4c2deff0b9ff"> 356</a></span><span class="preprocessor">#define CRITTER_TOUCH_GATE 0x4</span></div>
|
||||
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"><a class="line" href="defines_8h.html#afc0a0f6670cda9b2c4fb7ef3728ebd12"> 357</a></span><span class="preprocessor">#define INSTANT_SPINOUT 0x40</span></div>
|
||||
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> </div>
|
||||
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span><span class="comment">// player->oobProps</span></div>
|
||||
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span><span class="comment">/* Deals with the lower out of bounds (OOB) plane on levels. Represented by fluids (water / lava)</span></div>
|
||||
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span><span class="comment"> or nothing for Rainbow Road and Skyscraper. */</span></div>
|
||||
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"><a class="line" href="defines_8h.html#a2bbfe6ff4f130e0985ee29c71a816b50"> 362</a></span><span class="preprocessor">#define UNDER_OOB_OR_FLUID_LEVEL 0x1 </span><span class="comment">// Set while mostly under the plane. Does not necessarily trigger Lakitu on Koopa Troopa Beach.</span></div>
|
||||
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"><a class="line" href="defines_8h.html#a3219e25956dda44f825a4d5fb99a280c"> 363</a></span><span class="preprocessor">#define PASS_OOB_OR_FLUID_LEVEL 0x2 </span><span class="comment">// Set when passing through the lower plane in either direction</span></div>
|
||||
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span><span class="comment">// The next two are also activated when passing through the lower plane.</span></div>
|
||||
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"><a class="line" href="defines_8h.html#a7c80064f6c4fb49641f1f871848cb510"> 365</a></span><span class="preprocessor">#define UNDER_FLUID_LEVEL 0x4 </span><span class="comment">// Stays active until Lakitu places back on track</span></div>
|
||||
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"><a class="line" href="defines_8h.html#aad92680dc9deea36d4dd35e8aecd5898"> 366</a></span><span class="preprocessor">#define UNDER_OOB_LEVEL 0x8 </span><span class="comment">// Active while under a non-fluid OOB plane. Is momentarily active when passing through fluids.</span></div>
|
||||
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span> </div>
|
||||
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span> </div>
|
||||
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"> 369</span><span class="comment">/* UNK_002 has something to do with player animations. Each player has a 32-bit</span></div>
|
||||
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span><span class="comment">flag broken into 8 groups of 4 bits. Those 4 bits affect how each of the 8 players</span></div>
|
||||
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span><span class="comment">appear to the specified player */</span></div>
|
||||
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"><a class="line" href="defines_8h.html#aa2696b376070ed20623d1bc6ea4ca8e0"> 372</a></span><span class="preprocessor">#define CHANGING_ANIMATION 0x1 </span><span class="comment">// Seems to be set when the kart animation has to change.</span></div>
|
||||
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"><a class="line" href="defines_8h.html#aec3bacdb0e62023cfa55161ad599de6f"> 373</a></span><span class="preprocessor">#define UNK_002_UNKNOWN_0x2 0x2 </span></div>
|
||||
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"><a class="line" href="defines_8h.html#a02f79ec9b57d0e2044c8fd4a86799f7f"> 374</a></span><span class="preprocessor">#define UNK_002_UNKNOWN_0x4 0x4 </span><span class="comment">/* Unclear, but has to do with viewing the side of player. At least tends to change if target</span></div>
|
||||
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"><a class="line" href="defines_8h.html#ace75e336784ba8547d930a21ba8b21d6"> 375</a></span><span class="comment">player spins. Something with avoding rollover of aniamation frame data? */</span><span class="preprocessor"></span></div>
|
||||
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span><span class="preprocessor">#define SIDE_OF_KART 0x8 </span><span class="comment">// Seems to be whether you are in a rectangle shooting out from both sides of target player</span></div>
|
||||
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"><a class="line" href="defines_8h.html#af9473c71307411413b373ac2e061d2fc"> 377</a></span> </div>
|
||||
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"><a class="line" href="defines_8h.html#a5a24df9755c49775ec259b3c7021df0e"> 378</a></span><span class="preprocessor">#define WHISTLE 0x20 </span><span class="comment">// Whistle spinout save graphic</span></div>
|
||||
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"><a class="line" href="defines_8h.html#a9e5cb358fd5bf5e6a7d1f5e10397aad3"> 379</a></span><span class="preprocessor">#define CRASH 0x40 </span><span class="comment">// Crash! graphic (vertical tumble)</span></div>
|
||||
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"><a class="line" href="defines_8h.html#a05df984b20240553888bfeec2c5f38ab"> 380</a></span><span class="preprocessor">#define WHIRRR 0x80 </span><span class="comment">// Whirrr! graphic (spinning out)</span></div>
|
||||
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"><a class="line" href="defines_8h.html#a9e022f3408c72c4c81db3d4c988d699d"> 381</a></span><span class="preprocessor">#define POOMP 0x100 </span><span class="comment">// Poomp! graphic (landing from a height)</span></div>
|
||||
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"><a class="line" href="defines_8h.html#a33e3ab8014df1b21b2256c9bc14274f4"> 382</a></span><span class="preprocessor">#define BOING 0x800 </span><span class="comment">// Boing! graphic (hopping)</span></div>
|
||||
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span><span class="preprocessor">#define EXPLOSION 0x1000 </span><span class="comment">// Big shock looking graphic when starting tumble</span></div>
|
||||
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span> </div>
|
||||
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"><a class="line" href="defines_8h.html#a026c882dc0f6a882679a816ac30e7aa8"> 385</a></span><span class="comment">// player->lakituProps</span></div>
|
||||
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"><a class="line" href="defines_8h.html#a804482d9cd35f19d1cf2da06c10e21df"> 386</a></span><span class="preprocessor">#define LAKITU_RETRIEVAL 0x1 </span><span class="comment">// While lakitu is grabbing you, but before the scene transition of being placed on the track</span></div>
|
||||
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"><a class="line" href="defines_8h.html#a6a38fb518539ef1ec0a156f8427969f2"> 387</a></span><span class="preprocessor">#define HELD_BY_LAKITU 0x2</span></div>
|
||||
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"><a class="line" href="defines_8h.html#a1840a807524d90c0c1a70c5aeedd4ef6"> 388</a></span><span class="preprocessor">#define LAKITU_FIZZLE 0x4 </span><span class="comment">// Disintegration and reintegration effect when transitioning from retrieval to placement</span></div>
|
||||
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"><a class="line" href="defines_8h.html#a3dfa174de86e90680fae12f95fcc7b07"> 389</a></span><span class="preprocessor">#define LAKITU_SCENE 0x8 </span><span class="comment">// the whole segment from when lakitu is called to when you regain control</span></div>
|
||||
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"><a class="line" href="defines_8h.html#a9af23090b819bad25a51e998bc42d9f6"> 390</a></span><span class="preprocessor">#define FRIGID_EFFECT 0x10 </span><span class="comment">// Cold colors on Sherbet Land after in frigid water</span></div>
|
||||
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"><a class="line" href="defines_8h.html#aa1127b70f5f8698eab1d26451b636576"> 391</a></span><span class="preprocessor">#define THAWING_EFFECT 0x20 </span><span class="comment">// Regaining usual colors post frigid effect</span></div>
|
||||
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"><a class="line" href="defines_8h.html#a32d1992f072517fafe44d275bcbb5038"> 392</a></span><span class="preprocessor">#define FROZEN_EFFECT 0x80 </span><span class="comment">// In the ice cube</span></div>
|
||||
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"><a class="line" href="defines_8h.html#a146b6107bb594bbb3a5ffa895161e560"> 393</a></span><span class="preprocessor">#define WENT_OVER_OOB 0x100 </span><span class="comment">// Player went over (or is on) an OOB area. Cancelled if touch back in bounds</span></div>
|
||||
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"><a class="line" href="defines_8h.html#ab606f8f56c465178c08d126cdd6d0225"> 394</a></span><span class="preprocessor">#define LAKITU_LAVA 0x1000 </span><span class="comment">// smoky effect when retrieved from lava</span></div>
|
||||
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"> 395</span><span class="preprocessor">#define LAKITU_WATER 0x2000 </span><span class="comment">// dripping effect when retreived from water</span></div>
|
||||
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"> 396</span> </div>
|
||||
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"><a class="line" href="defines_8h.html#afc7fca890ff061d50718e624f5d7f0cf"> 397</a></span><span class="comment">// player->kartProps</span></div>
|
||||
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"><a class="line" href="defines_8h.html#a111aa270645fe8830cc009a5a79034a6"> 398</a></span><span class="preprocessor">#define BACK_UP 0x1</span></div>
|
||||
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"><a class="line" href="defines_8h.html#a738306f0c9e618093388a1fbb544b048"> 399</a></span><span class="preprocessor">#define RIGHT_TURN 0x2 </span><span class="comment">// non-drifting (more than 5 degrees)</span></div>
|
||||
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"><a class="line" href="defines_8h.html#a10b8a3f391e465ceea8b23b9f1177436"> 400</a></span><span class="preprocessor">#define LEFT_TURN 0x4 </span><span class="comment">// non-drifting (more than 5 degrees)</span></div>
|
||||
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno"><a class="line" href="defines_8h.html#a09dfb1036d38f2c9b51e8a0c3c528a6e"> 401</a></span><span class="preprocessor">#define MOVE_BACKWARDS 0x8 </span><span class="comment">// includes lakitu</span></div>
|
||||
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"><a class="line" href="defines_8h.html#a96e6d6c3e78916bb163b52f0ea38ba68"> 402</a></span><span class="preprocessor">#define LOSE_GP_RACE 0x10 </span><span class="comment">// pointless, only unsets itself</span></div>
|
||||
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"><a class="line" href="defines_8h.html#a9e0609b98e1999a38075e728ba3bee4c"> 403</a></span><span class="preprocessor">#define THROTTLE 0x20 </span><span class="comment">// Closely tied to just pressing A. Possible exception for AB-spins</span></div>
|
||||
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"><a class="line" href="defines_8h.html#a545257591ea256dd156012b90a2b613e"> 404</a></span><span class="preprocessor">#define EARLY_SPINOUT_RIGHT 0x40 </span><span class="comment">// Spinning out while facing right (not actually used for anything)</span></div>
|
||||
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"><a class="line" href="defines_8h.html#aa9a602c706a56cd60f9de264b5109cb6"> 405</a></span><span class="preprocessor">#define EARLY_SPINOUT_LEFT 0x80 </span><span class="comment">// Spinning out while facing left</span></div>
|
||||
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"><a class="line" href="defines_8h.html#a355e06bab8eda07a5944b345fa239503"> 406</a></span><span class="preprocessor">#define POST_TUMBLE_GAS 0x100 </span><span class="comment">// Causes particles after a vertical tumble, I think</span></div>
|
||||
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"><a class="line" href="defines_8h.html#a1dd84daa7622ce7dd3d875e88d57088c"> 407</a></span><span class="preprocessor">#define BECOME_INVISIBLE 0x200</span></div>
|
||||
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"><a class="line" href="defines_8h.html#a7e7edfe8a41c46b5c52b98acff2128a6"> 408</a></span><span class="preprocessor">#define UNUSED_0x400 0x400 </span><span class="comment">// locked behind 0x800 (func_80091440)</span></div>
|
||||
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"><a class="line" href="defines_8h.html#ac88a6f0b8b8fec453402c2fe8623cf4d"> 409</a></span><span class="preprocessor">#define UNUSED_0x800 0x800 </span><span class="comment">// locked behind 0x400 (func_8002B830 -> func_800911B4)</span></div>
|
||||
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno"><a class="line" href="defines_8h.html#a06b4b382f8d661c3772a887b9e6ecda2"> 410</a></span><span class="preprocessor">#define UNUSED_0x1000 0x1000 </span><span class="comment">// 0x1000 locked behind 0x400 (func_8002B830 -> func_800911B4)</span></div>
|
||||
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno"> 411</span><span class="preprocessor">#define UNUSED_0x2000 0x2000 </span><span class="comment">// 0x2000 locked behind 0x400 and 0x800 (func_8002B830 -> func_800911B4, apply_effect -> func_80091298,</span></div>
|
||||
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"><a class="line" href="defines_8h.html#a069a279748ca090ff3e73954ad64782f"> 412</a></span> <span class="comment">// func_80091440)</span></div>
|
||||
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"><a class="line" href="defines_8h.html#a3c34a78f6be36ee158c091fbd3d81212"> 413</a></span><span class="preprocessor">#define DRIVING_NEAR_SPINOUT 0x4000</span></div>
|
||||
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"> 414</span><span class="preprocessor">#define UNKNOWN_BATTLE_VAR 0x8000 </span><span class="comment">// 0x8000 something battle related, unclear if ever set</span></div>
|
||||
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"> 415</span> </div>
|
||||
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno"> 416</span><span class="comment">/*</span></div>
|
||||
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno"> 417</span><span class="comment"> * @brief triggers indicating that an effect should be applied to a kart</span></div>
|
||||
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno"><a class="line" href="defines_8h.html#aa9c7e3243d2985370ad814e73f668468"> 418</a></span><span class="comment"> */</span></div>
|
||||
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"><a class="line" href="defines_8h.html#ae4226ebac8a87655f8b91957298e1269"> 419</a></span><span class="preprocessor">#define HIT_BANANA_TRIGGER 0x1 </span><span class="comment">// hits a banana</span></div>
|
||||
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"><a class="line" href="defines_8h.html#a31213c9fb13bbc97f0ae1e30c1a6b1cf"> 420</a></span><span class="preprocessor">#define HIGH_TUMBLE_TRIGGER 0x2 </span><span class="comment">// hit by a red shell, blue shell, or hit a mole</span></div>
|
||||
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"><a class="line" href="defines_8h.html#aafd5522730cfe2fac2e8c4ee75e38742"> 421</a></span><span class="preprocessor">#define LOW_TUMBLE_TRIGGER 0x4 </span><span class="comment">// hit by a green shell</span></div>
|
||||
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"><a class="line" href="defines_8h.html#a1fbddaa042c08a422f361c906dde39ef"> 422</a></span><span class="preprocessor">#define DRIVING_SPINOUT_TRIGGER 0x80 </span><span class="comment">// spinning out from erratic driving</span></div>
|
||||
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno"><a class="line" href="defines_8h.html#ac6e6afb7559bef47307392ea60834d65"> 423</a></span><span class="preprocessor">#define THWOMP_SQUISH_TRIGGER 0x100 </span><span class="comment">// stomped by thwomp</span></div>
|
||||
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno"><a class="line" href="defines_8h.html#a5c9df8d9502c3c234100b291c1628394"> 424</a></span><span class="preprocessor">#define SHROOM_TRIGGER 0x200 </span><span class="comment">// being boosted by trigger a mushroom</span></div>
|
||||
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"><a class="line" href="defines_8h.html#a59c6a4129f17dcb245c6470919ea7a98"> 425</a></span><span class="preprocessor">#define BOO_TRIGGER 0x800 </span><span class="comment">// being a boo</span></div>
|
||||
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"><a class="line" href="defines_8h.html#adae0d75df418151826279ce77fbc0e82"> 426</a></span><span class="preprocessor">#define UNUSED_TRIGGER_0x1000 0x1000 </span><span class="comment">// Unused</span></div>
|
||||
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"><a class="line" href="defines_8h.html#a8b62c4d0ecf9ddbd6e3eabec5a06e74b"> 427</a></span><span class="preprocessor">#define STAR_TRIGGER 0x2000 </span><span class="comment">// Starting a star</span></div>
|
||||
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno"><a class="line" href="defines_8h.html#ae6840d9b73409f9aedfd6d071e7b61fd"> 428</a></span><span class="preprocessor">#define LIGHTNING_STRIKE_TRIGGER 0x4000 </span><span class="comment">// Struck by lightning</span></div>
|
||||
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno"><a class="line" href="defines_8h.html#a36780035e9299b8255ed21f117a8dabb"> 429</a></span><span class="preprocessor">#define BOOST_RAMP_WOOD_TRIGGER 0x8000 </span><span class="comment">// being boosted by a ramp</span></div>
|
||||
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"><a class="line" href="defines_8h.html#adc856e170e2775ef474d350e0179c09b"> 430</a></span><span class="preprocessor">#define UNUSED_TRIGGER_0x20000 0x20000 </span><span class="comment">// Unused</span></div>
|
||||
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno"><a class="line" href="defines_8h.html#a94a9f5b69ac28a2ac94c6491e76404bc"> 431</a></span><span class="preprocessor">#define DRAG_ITEM_EFFECT 0x40000 </span><span class="comment">// holding a non-shell item behind you</span></div>
|
||||
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"><a class="line" href="defines_8h.html#a5e748dc6af74a4076772106205f0d897"> 432</a></span><span class="preprocessor">#define HIT_PADDLE_BOAT_TRIGGER 0x80000 </span><span class="comment">// hit paddle boat</span></div>
|
||||
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"><a class="line" href="defines_8h.html#a2623f2e96fadd2bb4c8e2a52ea6910a7"> 433</a></span><span class="preprocessor">#define UNUSED_TRIGGER_0x10000 0x100000 </span><span class="comment">// Unused</span></div>
|
||||
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"><a class="line" href="defines_8h.html#ab575c359be08cc32922e7f88b3634eb9"> 434</a></span><span class="preprocessor">#define SPINOUT_TRIGGER 0x200000 </span><span class="comment">// hit crab or spiny spinout or losing versus race</span></div>
|
||||
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno"><a class="line" href="defines_8h.html#a747a006f3ecfaa460461b12cccdd1bc1"> 435</a></span><span class="preprocessor">#define VERTICAL_TUMBLE_TRIGGER 0x400000 </span><span class="comment">// hitting a fake item / bomb / snowman / car / train</span></div>
|
||||
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"><a class="line" href="defines_8h.html#a15e549a7354d98b70e7a1e82eab50f10"> 436</a></span><span class="preprocessor">#define BOOST_RAMP_ASPHALT_TRIGGER 0x800000 </span><span class="comment">// being boosted by a boost pad</span></div>
|
||||
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"><a class="line" href="defines_8h.html#a1ca0ca0f770b5fb45502db7967c6646a"> 437</a></span><span class="preprocessor">#define HIT_BY_STAR_TRIGGER 0x1000000 </span><span class="comment">// being hit by a star</span></div>
|
||||
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno"><a class="line" href="defines_8h.html#a60528aaa3366d7dfd35145c2bfd62f69"> 438</a></span><span class="preprocessor">#define START_BOOST_TRIGGER 0x2000000 </span><span class="comment">// Start boost</span></div>
|
||||
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"><a class="line" href="defines_8h.html#a8c541916749a7895f61ff8e899ff2420"> 439</a></span><span class="preprocessor">#define LOSE_BATTLE_EFFECT 0x4000000 </span><span class="comment">// When losing battle mode</span></div>
|
||||
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"><a class="line" href="defines_8h.html#a3a35d4e01ea3189295e1440b1fbb1f35"> 440</a></span><span class="preprocessor">#define BECOME_BOMB_EFFECT 0x8000000 </span><span class="comment">// When becoming a bomb in battle mode</span></div>
|
||||
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span><span class="preprocessor">#define START_SPINOUT_TRIGGER 0x10000000 </span><span class="comment">// Spinning out by holding gas at start of race</span></div>
|
||||
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"><a class="line" href="defines_8h.html#ac18dd288f14b55921d3839a5b9484f5a"> 442</a></span> </div>
|
||||
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno"><a class="line" href="defines_8h.html#ab267efbbead7cc6f60499149f1fa0733"> 443</a></span><span class="preprocessor">#define ALL_TRIGGERS (0xFFFFFFFF)</span></div>
|
||||
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno"><a class="line" href="defines_8h.html#a9eca44c453f71071193376a83f3488be"> 444</a></span><span class="preprocessor">#define RACING_SPINOUT_TRIGGERS (SPINOUT_TRIGGER | DRIVING_SPINOUT_TRIGGER | HIT_BANANA_TRIGGER) </span><span class="comment">// 0x200081</span></div>
|
||||
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno"><a class="line" href="defines_8h.html#af7ded6d858296c8a37676efabcad7541"> 445</a></span><span class="preprocessor">#define RAMP_BOOST_TRIGGERS (BOOST_RAMP_ASPHALT_TRIGGER | BOOST_RAMP_WOOD_TRIGGER) </span><span class="comment">// 0x00808000</span></div>
|
||||
<div class="foldopen" id="foldopen00446" data-start="" data-end="">
|
||||
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"><a class="line" href="defines_8h.html#ae3823ac0c80a07235c57fa15cb8b5ae4"> 446</a></span><span class="preprocessor">#define ANY_BOOST_TRIGGERS (RAMP_BOOST_TRIGGERS | SHROOM_TRIGGER) </span><span class="comment">// 0x00808200</span></div>
|
||||
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"> 447</span><span class="preprocessor">#define STATE_TRANSITION_TRIGGERS \</span></div>
|
||||
</div>
|
||||
<div class="foldopen" id="foldopen00433" data-start="" data-end="">
|
||||
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"><a class="line" href="defines_8h.html#a8197ab56a9ef85355c9ad106e576931a"> 433</a></span><span class="preprocessor"> (STAR_TRIGGER | BOO_TRIGGER | UNUSED_TRIGGER_0x1000 | UNUSED_TRIGGER_0x20000) </span><span class="comment">// 0x00023800</span></div>
|
||||
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"> 434</span><span class="preprocessor">#define HIT_TRIGGERS \</span></div>
|
||||
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno"> 435</span><span class="preprocessor"> (HIT_BY_STAR_TRIGGER | VERTICAL_TUMBLE_TRIGGER | LIGHTNING_STRIKE_TRIGGER | LOW_TUMBLE_TRIGGER | \</span></div>
|
||||
<div class="foldopen" id="foldopen00448" data-start="" data-end="">
|
||||
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"><a class="line" href="defines_8h.html#a8197ab56a9ef85355c9ad106e576931a"> 448</a></span><span class="preprocessor"> (STAR_TRIGGER | BOO_TRIGGER | UNUSED_TRIGGER_0x1000 | UNUSED_TRIGGER_0x20000) </span><span class="comment">// 0x00023800</span></div>
|
||||
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno"> 449</span><span class="preprocessor">#define HIT_TRIGGERS \</span></div>
|
||||
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno"> 450</span><span class="preprocessor"> (HIT_BY_STAR_TRIGGER | VERTICAL_TUMBLE_TRIGGER | LIGHTNING_STRIKE_TRIGGER | LOW_TUMBLE_TRIGGER | \</span></div>
|
||||
</div>
|
||||
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"> 436</span><span class="preprocessor"> HIGH_TUMBLE_TRIGGER | THWOMP_SQUISH_TRIGGER) </span><span class="comment">// 0x01404106</span></div>
|
||||
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"> 437</span> </div>
|
||||
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"><a class="line" href="defines_8h.html#a071dc58184a37f3c16fda93fc4eaa0e8"> 442</a></span><span class="comment">// clang-format off</span></div>
|
||||
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno"><a class="line" href="defines_8h.html#a60db4f58cdf07e448d79a8806cdf482e"> 443</a></span><span class="preprocessor">#define BRAKING_EFFECT 0x1 </span><span class="comment">// pressing brake</span></div>
|
||||
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno"><a class="line" href="defines_8h.html#acdb005e38b62958d114c040eef53736d"> 444</a></span><span class="preprocessor">#define HOP_EFFECT 0x2 </span><span class="comment">// from when you hop to when you land</span></div>
|
||||
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno"><a class="line" href="defines_8h.html#affa06a91c3ca6ce4cd836485daf739c9"> 445</a></span><span class="preprocessor">#define BOOST_RAMP_WOOD_EFFECT 0x4 </span><span class="comment">// being boosted by DKJP ramp</span></div>
|
||||
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"><a class="line" href="defines_8h.html#a3e226e3ad50d318aa0e7dfa1be372961"> 446</a></span><span class="preprocessor">#define MIDAIR_EFFECT 0x8 </span><span class="comment">// in midair</span></div>
|
||||
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"><a class="line" href="defines_8h.html#ae5f8dae43f7654c7b91bade9a22da702"> 447</a></span><span class="preprocessor">#define DRIFTING_EFFECT 0x10 </span><span class="comment">// drifting</span></div>
|
||||
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"><a class="line" href="defines_8h.html#a49c6b424bbbde8727e6b64661cc66963"> 448</a></span><span class="preprocessor">#define AB_SPIN_EFFECT 0x20 </span><span class="comment">// spinning with a+b</span></div>
|
||||
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno"><a class="line" href="defines_8h.html#aa20311ea3a24b8af6d46413576729228"> 449</a></span><span class="preprocessor">#define DRIVING_SPINOUT_EFFECT 0x40 </span><span class="comment">// spinout (from erratic driving) or crab</span></div>
|
||||
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno"><a class="line" href="defines_8h.html#aaa0f6f171c817974326479e072be0beb"> 450</a></span><span class="preprocessor">#define BANANA_SPINOUT_EFFECT 0x80 </span><span class="comment">// spinout (from hitting a banana or another driver)</span></div>
|
||||
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno"><a class="line" href="defines_8h.html#a8162db60017841c732d51d0c3a4a5269"> 451</a></span><span class="preprocessor">#define MINI_TURBO_EFFECT 0x100 </span><span class="comment">// mini-turbo</span></div>
|
||||
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno"><a class="line" href="defines_8h.html#aef6db3152f090248fcaf98bbb45c0923"> 452</a></span><span class="preprocessor">#define STAR_EFFECT 0x200 </span><span class="comment">// using a star</span></div>
|
||||
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno"><a class="line" href="defines_8h.html#a4ba4d7d07d69d1d1c8eeaa36491a41b9"> 453</a></span><span class="preprocessor">#define HIT_BY_GREEN_SHELL_EFFECT 0x400 </span><span class="comment">// tumbling after hit with a green shell</span></div>
|
||||
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno"><a class="line" href="defines_8h.html#a45d6d1d7f07149de1ee8086b9f3b6f91"> 454</a></span><span class="preprocessor">#define BANANA_NEAR_SPINOUT_EFFECT 0x800 </span><span class="comment">// decreased steering sensitivity after hitting a banana, but before spinning out</span></div>
|
||||
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno"><a class="line" href="defines_8h.html#a6da0e105aa2a59ccee9a9528a6c0f64f"> 455</a></span><span class="preprocessor">#define LOST_RACE_EFFECT 0x1000 </span><span class="comment">// lost race in GP mode</span></div>
|
||||
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno"><a class="line" href="defines_8h.html#ab3521bb66386bccf6ea35188d299e846"> 456</a></span><span class="preprocessor">#define MUSHROOM_EFFECT 0x2000 </span><span class="comment">// using a mushroom</span></div>
|
||||
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno"><a class="line" href="defines_8h.html#aab5fd7e78e81c0d863df89179d09274e"> 457</a></span><span class="preprocessor">#define EARLY_START_SPINOUT_EFFECT 0x4000 </span><span class="comment">// spinning out by pressing a too early at the startline or after lakitu retrieves you</span></div>
|
||||
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"><a class="line" href="defines_8h.html#adf03ab39b71ed83333d65caa9e4f7209"> 458</a></span><span class="preprocessor">#define ENEMY_BONK_EFFECT 0x8000 </span><span class="comment">// bouncing off an enemy (penguin, thwomp, etc)</span></div>
|
||||
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"><a class="line" href="defines_8h.html#a34df0bbf3026d34b4a3f572cd66ef1ea"> 459</a></span><span class="preprocessor">#define TERRAIN_TUMBLE_EFFECT 0x10000 </span><span class="comment">// tumbling after hitting steep terrain</span></div>
|
||||
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"><a class="line" href="defines_8h.html#a6b3d6a16b2ac08e0c690b7ee4524e45a"> 460</a></span><span class="preprocessor">#define LIGHTNING_STRIKE_EFFECT 0x20000 </span><span class="comment">// spinning and shrinking during a lightning strike</span></div>
|
||||
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"><a class="line" href="defines_8h.html#a1177c299d1b477c5fff8fabed97ebee0"> 461</a></span><span class="preprocessor">#define BANANA_SPINOUT_SAVE_EFFECT 0x40000 </span><span class="comment">// avoid spinning out by pressing b</span></div>
|
||||
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno"><a class="line" href="defines_8h.html#a121f2d36faaecc8c1e2486617b49595f"> 462</a></span><span class="preprocessor">#define UNKNOWN_EFFECT_0x80000 0x80000 </span><span class="comment">// Only set when soundEffect 0x1000 is set. Unclear if it ever is</span></div>
|
||||
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno"><a class="line" href="defines_8h.html#aeeea4d02810240ac9a7b0d03eb653515"> 463</a></span><span class="preprocessor">#define BOOST_RAMP_ASPHALT_EFFECT 0x100000 </span><span class="comment">// being boosted by the Royal Raceway ramp</span></div>
|
||||
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno"><a class="line" href="defines_8h.html#abedef906907d57f1e862800e9b89641f"> 464</a></span><span class="preprocessor">#define CPU_FAST_EFFECT 0x200000 </span><span class="comment">// CPU Rubberbanding flag</span></div>
|
||||
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno"><a class="line" href="defines_8h.html#aa1062a9908335b03e1243325e24c059c"> 465</a></span><span class="preprocessor">#define REVERSE_EFFECT 0x400000 </span><span class="comment">// facing backwards</span></div>
|
||||
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno"><a class="line" href="defines_8h.html#ae26d8c627161f41ae960b1c9efa2ddd0"> 466</a></span><span class="preprocessor">#define UNKNOWN_EFFECT_0x800000 0x800000 </span><span class="comment">// Only set when soundEffect 0x20000 is set</span></div>
|
||||
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno"><a class="line" href="defines_8h.html#affdab3bd96b2535871eae7865e1bc696"> 467</a></span><span class="preprocessor">#define EXPLOSION_CRASH_EFFECT 0x1000000 </span><span class="comment">// vertical launch (hitting car, snowman, etc.)</span></div>
|
||||
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno"><a class="line" href="defines_8h.html#a1594139aa988d904c0444b1b54af75cb"> 468</a></span><span class="preprocessor">#define HIT_BY_STAR_EFFECT 0x2000000 </span><span class="comment">// being hit by a red shell or star</span></div>
|
||||
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno"><a class="line" href="defines_8h.html#aecedf74a5b6fb7c1fed42afa4ef5272b"> 469</a></span><span class="preprocessor">#define SQUISH_EFFECT 0x4000000 </span><span class="comment">// hitting an object</span></div>
|
||||
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno"><a class="line" href="defines_8h.html#a5a6718f73ba2ea4becbb7263614dfb37"> 470</a></span><span class="preprocessor">#define POST_SQUISH_EFFECT 0x8000000 </span><span class="comment">// briefly after being squished (boulder, thwomp, etc.)</span></div>
|
||||
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno"><a class="line" href="defines_8h.html#a8781fa97e3e2ac35c91ea7c69532963f"> 471</a></span><span class="preprocessor">#define UNKNOWN_EFFECT_0x10000000 0x10000000 </span><span class="comment">// UNUSED (set in unused func_8008FDF4)</span></div>
|
||||
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno"><a class="line" href="defines_8h.html#a8dbdabe3aa4cd649ab8c2c052ff0846d"> 472</a></span><span class="preprocessor">#define DRIFT_OUTSIDE_EFFECT 0x20000000 </span><span class="comment">// drifting toward the outside of your turn</span></div>
|
||||
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno"><a class="line" href="defines_8h.html#a097e621533b6b47ca98facc0a937437c"> 473</a></span><span class="preprocessor">#define LIGHTNING_EFFECT 0x40000000 </span><span class="comment">// suffering the effects of lightning</span></div>
|
||||
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno"><a class="line" href="defines_8h.html#abbe398621157aa9215c72f8dc1c53703"> 474</a></span><span class="preprocessor">#define BOO_EFFECT 0x80000000 </span><span class="comment">// being a boo</span></div>
|
||||
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno"> 475</span><span class="preprocessor">#define ALL_EFFECTS 0xFFFFFFFF</span></div>
|
||||
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno"> 476</span><span class="comment">// clang-format on</span></div>
|
||||
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno"> 477</span> </div>
|
||||
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno"><a class="line" href="defines_8h.html#af29e5e7ed94bacd716a7bd4437bc625b"> 481</a></span><span class="preprocessor">#define STAR_EFFECT_DURATION 0xA</span></div>
|
||||
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno"> 482</span><span class="preprocessor">#define BOO_EFFECT_DURATION 0x7</span></div>
|
||||
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno"> 483</span> </div>
|
||||
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno"><a class="line" href="defines_8h.html#ae09b82e8938239b2cc7d928387482ada"> 487</a></span><span class="preprocessor">#define ALPHA_MAX 0xFF</span></div>
|
||||
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno"><a class="line" href="defines_8h.html#a2871d7a02126585577a298308febbf93"> 488</a></span><span class="preprocessor">#define ALPHA_MIN 0x0</span></div>
|
||||
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno"> 489</span><span class="preprocessor">#define ALPHA_BOO_EFFECT 0x60</span></div>
|
||||
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno"> 490</span> </div>
|
||||
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno"><a class="line" href="defines_8h.html#ab629e9e6fb6ab443caf4f9a723e8f367"> 495</a></span><span class="preprocessor">#define SPAWN_FIRST_SHELL 0</span></div>
|
||||
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno"><a class="line" href="defines_8h.html#a385595a2d1be736f2e8212c4d76e27fe"> 496</a></span><span class="preprocessor">#define SPAWN_SECOND_SHELL 1</span></div>
|
||||
<div class="line"><a id="l00497" name="l00497"></a><span class="lineno"> 497</span><span class="preprocessor">#define SPAWN_THIRD_SHELL 2</span></div>
|
||||
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno"><a class="line" href="defines_8h.html#a69522ff76a05664bd061ea34b0022a49"> 498</a></span> </div>
|
||||
<div class="line"><a id="l00499" name="l00499"></a><span class="lineno"><a class="line" href="defines_8h.html#ae23907c0eb2b07f33ffed04a8016327a"> 499</a></span><span class="preprocessor">#define GPACK_RGB888(r, g, b) (((r) << 16) | ((g) << 8) | (b))</span></div>
|
||||
<div class="line"><a id="l00500" name="l00500"></a><span class="lineno"><a class="line" href="defines_8h.html#a049b41ea8e8fe4f80a29875d51dead39"> 500</a></span><span class="preprocessor">#define COLOR_LIGHT GPACK_RGB888(0x1C, 0x00, 0x00)</span></div>
|
||||
<div class="line"><a id="l00501" name="l00501"></a><span class="lineno"><a class="line" href="defines_8h.html#aba2a7fe77a7501e5844370eec0185207"> 501</a></span><span class="preprocessor">#define COLOR_LAVA GPACK_RGB888(0x34, 0x00, 0x00)</span></div>
|
||||
<div class="line"><a id="l00502" name="l00502"></a><span class="lineno"> 502</span><span class="preprocessor">#define COLOR_BLACK GPACK_RGB888(0, 0, 0)</span></div>
|
||||
<div class="line"><a id="l00503" name="l00503"></a><span class="lineno"> 503</span> </div>
|
||||
<div class="line"><a id="l00504" name="l00504"></a><span class="lineno"> 504</span><span class="preprocessor">#endif </span><span class="comment">// DEFINES_H</span></div>
|
||||
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno"> 451</span><span class="preprocessor"> HIGH_TUMBLE_TRIGGER | THWOMP_SQUISH_TRIGGER) </span><span class="comment">// 0x01404106</span></div>
|
||||
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno"> 452</span> </div>
|
||||
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno"><a class="line" href="defines_8h.html#a071dc58184a37f3c16fda93fc4eaa0e8"> 457</a></span><span class="comment">// clang-format off</span></div>
|
||||
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"><a class="line" href="defines_8h.html#a60db4f58cdf07e448d79a8806cdf482e"> 458</a></span><span class="preprocessor">#define BRAKING_EFFECT 0x1 </span><span class="comment">// pressing brake</span></div>
|
||||
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"><a class="line" href="defines_8h.html#acdb005e38b62958d114c040eef53736d"> 459</a></span><span class="preprocessor">#define HOP_EFFECT 0x2 </span><span class="comment">// from when you hop to when you land</span></div>
|
||||
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"><a class="line" href="defines_8h.html#affa06a91c3ca6ce4cd836485daf739c9"> 460</a></span><span class="preprocessor">#define BOOST_RAMP_WOOD_EFFECT 0x4 </span><span class="comment">// being boosted by DKJP ramp</span></div>
|
||||
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"><a class="line" href="defines_8h.html#a3e226e3ad50d318aa0e7dfa1be372961"> 461</a></span><span class="preprocessor">#define MIDAIR_EFFECT 0x8 </span><span class="comment">// in midair</span></div>
|
||||
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno"><a class="line" href="defines_8h.html#ae5f8dae43f7654c7b91bade9a22da702"> 462</a></span><span class="preprocessor">#define DRIFTING_EFFECT 0x10 </span><span class="comment">// drifting</span></div>
|
||||
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno"><a class="line" href="defines_8h.html#a49c6b424bbbde8727e6b64661cc66963"> 463</a></span><span class="preprocessor">#define AB_SPIN_EFFECT 0x20 </span><span class="comment">// spinning with a+b</span></div>
|
||||
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno"><a class="line" href="defines_8h.html#aa20311ea3a24b8af6d46413576729228"> 464</a></span><span class="preprocessor">#define DRIVING_SPINOUT_EFFECT 0x40 </span><span class="comment">// spinout (from erratic driving) or crab</span></div>
|
||||
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno"><a class="line" href="defines_8h.html#aaa0f6f171c817974326479e072be0beb"> 465</a></span><span class="preprocessor">#define BANANA_SPINOUT_EFFECT 0x80 </span><span class="comment">// spinout (from hitting a banana or another driver)</span></div>
|
||||
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno"><a class="line" href="defines_8h.html#a8162db60017841c732d51d0c3a4a5269"> 466</a></span><span class="preprocessor">#define MINI_TURBO_EFFECT 0x100 </span><span class="comment">// mini-turbo</span></div>
|
||||
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno"><a class="line" href="defines_8h.html#aef6db3152f090248fcaf98bbb45c0923"> 467</a></span><span class="preprocessor">#define STAR_EFFECT 0x200 </span><span class="comment">// using a star</span></div>
|
||||
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno"><a class="line" href="defines_8h.html#a4ba4d7d07d69d1d1c8eeaa36491a41b9"> 468</a></span><span class="preprocessor">#define HIT_BY_GREEN_SHELL_EFFECT 0x400 </span><span class="comment">// tumbling after hit with a green shell</span></div>
|
||||
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno"><a class="line" href="defines_8h.html#a45d6d1d7f07149de1ee8086b9f3b6f91"> 469</a></span><span class="preprocessor">#define BANANA_NEAR_SPINOUT_EFFECT 0x800 </span><span class="comment">// decreased steering sensitivity after hitting a banana, but before spinning out</span></div>
|
||||
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno"><a class="line" href="defines_8h.html#a6da0e105aa2a59ccee9a9528a6c0f64f"> 470</a></span><span class="preprocessor">#define LOST_RACE_EFFECT 0x1000 </span><span class="comment">// lost race in GP mode</span></div>
|
||||
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno"><a class="line" href="defines_8h.html#ab3521bb66386bccf6ea35188d299e846"> 471</a></span><span class="preprocessor">#define MUSHROOM_EFFECT 0x2000 </span><span class="comment">// using a mushroom</span></div>
|
||||
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno"><a class="line" href="defines_8h.html#aab5fd7e78e81c0d863df89179d09274e"> 472</a></span><span class="preprocessor">#define EARLY_START_SPINOUT_EFFECT 0x4000 </span><span class="comment">// spinning out by pressing a too early at the startline or after lakitu retrieves you</span></div>
|
||||
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno"><a class="line" href="defines_8h.html#adf03ab39b71ed83333d65caa9e4f7209"> 473</a></span><span class="preprocessor">#define ENEMY_BONK_EFFECT 0x8000 </span><span class="comment">// bouncing off an enemy (penguin, thwomp, etc)</span></div>
|
||||
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno"><a class="line" href="defines_8h.html#a34df0bbf3026d34b4a3f572cd66ef1ea"> 474</a></span><span class="preprocessor">#define TERRAIN_TUMBLE_EFFECT 0x10000 </span><span class="comment">// tumbling after hitting steep terrain</span></div>
|
||||
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno"><a class="line" href="defines_8h.html#a6b3d6a16b2ac08e0c690b7ee4524e45a"> 475</a></span><span class="preprocessor">#define LIGHTNING_STRIKE_EFFECT 0x20000 </span><span class="comment">// spinning and shrinking during a lightning strike</span></div>
|
||||
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno"><a class="line" href="defines_8h.html#a1177c299d1b477c5fff8fabed97ebee0"> 476</a></span><span class="preprocessor">#define BANANA_SPINOUT_SAVE_EFFECT 0x40000 </span><span class="comment">// avoid spinning out by pressing b</span></div>
|
||||
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno"><a class="line" href="defines_8h.html#a121f2d36faaecc8c1e2486617b49595f"> 477</a></span><span class="preprocessor">#define UNKNOWN_EFFECT_0x80000 0x80000 </span><span class="comment">// Only set when soundEffect 0x1000 is set. Unclear if it ever is</span></div>
|
||||
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno"><a class="line" href="defines_8h.html#aeeea4d02810240ac9a7b0d03eb653515"> 478</a></span><span class="preprocessor">#define BOOST_RAMP_ASPHALT_EFFECT 0x100000 </span><span class="comment">// being boosted by the Royal Raceway ramp</span></div>
|
||||
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"><a class="line" href="defines_8h.html#abedef906907d57f1e862800e9b89641f"> 479</a></span><span class="preprocessor">#define CPU_FAST_EFFECT 0x200000 </span><span class="comment">// CPU Rubberbanding flag</span></div>
|
||||
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"><a class="line" href="defines_8h.html#aa1062a9908335b03e1243325e24c059c"> 480</a></span><span class="preprocessor">#define REVERSE_EFFECT 0x400000 </span><span class="comment">// facing backwards</span></div>
|
||||
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno"><a class="line" href="defines_8h.html#ae26d8c627161f41ae960b1c9efa2ddd0"> 481</a></span><span class="preprocessor">#define UNKNOWN_EFFECT_0x800000 0x800000 </span><span class="comment">// Only set when soundEffect 0x20000 is set</span></div>
|
||||
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno"><a class="line" href="defines_8h.html#affdab3bd96b2535871eae7865e1bc696"> 482</a></span><span class="preprocessor">#define EXPLOSION_CRASH_EFFECT 0x1000000 </span><span class="comment">// vertical launch (hitting car, snowman, etc.)</span></div>
|
||||
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno"><a class="line" href="defines_8h.html#a1594139aa988d904c0444b1b54af75cb"> 483</a></span><span class="preprocessor">#define HIT_BY_STAR_EFFECT 0x2000000 </span><span class="comment">// being hit by a red shell or star</span></div>
|
||||
<div class="line"><a id="l00484" name="l00484"></a><span class="lineno"><a class="line" href="defines_8h.html#aecedf74a5b6fb7c1fed42afa4ef5272b"> 484</a></span><span class="preprocessor">#define SQUISH_EFFECT 0x4000000 </span><span class="comment">// hitting an object</span></div>
|
||||
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno"><a class="line" href="defines_8h.html#a5a6718f73ba2ea4becbb7263614dfb37"> 485</a></span><span class="preprocessor">#define POST_SQUISH_EFFECT 0x8000000 </span><span class="comment">// briefly after being squished (boulder, thwomp, etc.)</span></div>
|
||||
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno"><a class="line" href="defines_8h.html#a8781fa97e3e2ac35c91ea7c69532963f"> 486</a></span><span class="preprocessor">#define UNKNOWN_EFFECT_0x10000000 0x10000000 </span><span class="comment">// UNUSED (set in unused func_8008FDF4)</span></div>
|
||||
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno"><a class="line" href="defines_8h.html#a8dbdabe3aa4cd649ab8c2c052ff0846d"> 487</a></span><span class="preprocessor">#define DRIFT_OUTSIDE_EFFECT 0x20000000 </span><span class="comment">// drifting toward the outside of your turn</span></div>
|
||||
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno"><a class="line" href="defines_8h.html#a097e621533b6b47ca98facc0a937437c"> 488</a></span><span class="preprocessor">#define LIGHTNING_EFFECT 0x40000000 </span><span class="comment">// suffering the effects of lightning</span></div>
|
||||
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno"><a class="line" href="defines_8h.html#abbe398621157aa9215c72f8dc1c53703"> 489</a></span><span class="preprocessor">#define BOO_EFFECT 0x80000000 </span><span class="comment">// being a boo</span></div>
|
||||
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno"> 490</span><span class="preprocessor">#define ALL_EFFECTS 0xFFFFFFFF</span></div>
|
||||
<div class="line"><a id="l00491" name="l00491"></a><span class="lineno"> 491</span><span class="comment">// clang-format on</span></div>
|
||||
<div class="line"><a id="l00492" name="l00492"></a><span class="lineno"> 492</span> </div>
|
||||
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno"><a class="line" href="defines_8h.html#af29e5e7ed94bacd716a7bd4437bc625b"> 496</a></span><span class="preprocessor">#define STAR_EFFECT_DURATION 0xA</span></div>
|
||||
<div class="line"><a id="l00497" name="l00497"></a><span class="lineno"> 497</span><span class="preprocessor">#define BOO_EFFECT_DURATION 0x7</span></div>
|
||||
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno"> 498</span> </div>
|
||||
<div class="line"><a id="l00502" name="l00502"></a><span class="lineno"><a class="line" href="defines_8h.html#ae09b82e8938239b2cc7d928387482ada"> 502</a></span><span class="preprocessor">#define ALPHA_MAX 0xFF</span></div>
|
||||
<div class="line"><a id="l00503" name="l00503"></a><span class="lineno"><a class="line" href="defines_8h.html#a2871d7a02126585577a298308febbf93"> 503</a></span><span class="preprocessor">#define ALPHA_MIN 0x0</span></div>
|
||||
<div class="line"><a id="l00504" name="l00504"></a><span class="lineno"> 504</span><span class="preprocessor">#define ALPHA_BOO_EFFECT 0x60</span></div>
|
||||
<div class="line"><a id="l00505" name="l00505"></a><span class="lineno"> 505</span> </div>
|
||||
<div class="line"><a id="l00512" name="l00512"></a><span class="lineno"> 512</span><span class="preprocessor">#define GRID_SIZE 32</span></div>
|
||||
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno"><a class="line" href="defines_8h.html#ab99b761699bab6f3ac0435fd1b88892f"> 513</a></span> </div>
|
||||
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno"><a class="line" href="defines_8h.html#a03b6b926e5ab24b48b5c759b9ae84f22"> 514</a></span><span class="preprocessor">#define FACING_Y_AXIS 0x4000</span></div>
|
||||
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno"><a class="line" href="defines_8h.html#a3711c100883700bebfe59ceef3041078"> 515</a></span><span class="preprocessor">#define FACING_X_AXIS 0x8000</span></div>
|
||||
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno"> 516</span><span class="preprocessor">#define FACING_Z_AXIS 0x2000</span></div>
|
||||
<div class="line"><a id="l00510" name="l00510"></a><span class="lineno"><a class="line" href="defines_8h.html#ab629e9e6fb6ab443caf4f9a723e8f367"> 510</a></span><span class="preprocessor">#define SPAWN_FIRST_SHELL 0</span></div>
|
||||
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno"><a class="line" href="defines_8h.html#a385595a2d1be736f2e8212c4d76e27fe"> 511</a></span><span class="preprocessor">#define SPAWN_SECOND_SHELL 1</span></div>
|
||||
<div class="line"><a id="l00512" name="l00512"></a><span class="lineno"> 512</span><span class="preprocessor">#define SPAWN_THIRD_SHELL 2</span></div>
|
||||
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno"><a class="line" href="defines_8h.html#a69522ff76a05664bd061ea34b0022a49"> 513</a></span> </div>
|
||||
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno"><a class="line" href="defines_8h.html#ae23907c0eb2b07f33ffed04a8016327a"> 514</a></span><span class="preprocessor">#define GPACK_RGB888(r, g, b) (((r) << 16) | ((g) << 8) | (b))</span></div>
|
||||
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno"><a class="line" href="defines_8h.html#a049b41ea8e8fe4f80a29875d51dead39"> 515</a></span><span class="preprocessor">#define COLOR_LIGHT GPACK_RGB888(0x1C, 0x00, 0x00)</span></div>
|
||||
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno"><a class="line" href="defines_8h.html#aba2a7fe77a7501e5844370eec0185207"> 516</a></span><span class="preprocessor">#define COLOR_LAVA GPACK_RGB888(0x34, 0x00, 0x00)</span></div>
|
||||
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno"> 517</span><span class="preprocessor">#define COLOR_BLACK GPACK_RGB888(0, 0, 0)</span></div>
|
||||
<div class="line"><a id="l00518" name="l00518"></a><span class="lineno"> 518</span> </div>
|
||||
<div class="line"><a id="l00519" name="l00519"></a><span class="lineno"> 519</span><span class="preprocessor">#endif </span><span class="comment">// DEFINES_H</span></div>
|
||||
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno"> 520</span> </div>
|
||||
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno"> 527</span><span class="preprocessor">#define GRID_SIZE 32</span></div>
|
||||
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno"><a class="line" href="defines_8h.html#ab99b761699bab6f3ac0435fd1b88892f"> 528</a></span> </div>
|
||||
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno"><a class="line" href="defines_8h.html#a03b6b926e5ab24b48b5c759b9ae84f22"> 529</a></span><span class="preprocessor">#define FACING_Y_AXIS 0x4000</span></div>
|
||||
<div class="line"><a id="l00530" name="l00530"></a><span class="lineno"><a class="line" href="defines_8h.html#a3711c100883700bebfe59ceef3041078"> 530</a></span><span class="preprocessor">#define FACING_X_AXIS 0x8000</span></div>
|
||||
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno"> 531</span><span class="preprocessor">#define FACING_Z_AXIS 0x2000</span></div>
|
||||
<div class="ttc" id="adefines_8h_html_a1580960a492ffea2b97726574fdd3110"><div class="ttname"><a href="defines_8h.html#a1580960a492ffea2b97726574fdd3110">COLOR_ID</a></div><div class="ttdeci">COLOR_ID</div><div class="ttdoc">Text color options The 2 cycling options cycle through Blue -> Green -> Red Cycle 2 appears to be one...</div><div class="ttdef"><b>Definition</b> defines.h:248</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a1580960a492ffea2b97726574fdd3110a2e79efb41aecd9a018fa780b760fdbf7"><div class="ttname"><a href="defines_8h.html#a1580960a492ffea2b97726574fdd3110a2e79efb41aecd9a018fa780b760fdbf7">TEXT_BLUE_GREEN_RED_CYCLE_2</a></div><div class="ttdeci">@ TEXT_BLUE_GREEN_RED_CYCLE_2</div><div class="ttdef"><b>Definition</b> defines.h:254</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a1580960a492ffea2b97726574fdd3110a8808be065b84cb0b661f340ac4803493"><div class="ttname"><a href="defines_8h.html#a1580960a492ffea2b97726574fdd3110a8808be065b84cb0b661f340ac4803493">TEXT_BLUE_GREEN_RED_CYCLE_1</a></div><div class="ttdeci">@ TEXT_BLUE_GREEN_RED_CYCLE_1</div><div class="ttdef"><b>Definition</b> defines.h:253</div></div>
|
||||
|
||||
+31
-31
@@ -9,13 +9,10 @@
|
||||
</head>
|
||||
<body>
|
||||
<a href="all__course__offsets_8h_source.html"/>
|
||||
<a href="all__course__data_8h_source.html"/>
|
||||
<a href="all__course__model_8h_source.html"/>
|
||||
<a href="all__course__data_8h_source.html"/>
|
||||
<a href="all__course__packed_8h_source.html"/>
|
||||
<a href="courseTable_8h_source.html"/>
|
||||
<a href="luigi__raceway_2staff__ghost_8inc_8c_source.html"/>
|
||||
<a href="mario__raceway_2staff__ghost_8inc_8c_source.html"/>
|
||||
<a href="royal__raceway_2staff__ghost_8inc_8c_source.html"/>
|
||||
<a href="banshee__boardwalk_2course__data_8h_source.html"/>
|
||||
<a href="big__donut_2course__data_8h_source.html"/>
|
||||
<a href="block__fort_2course__data_8h_source.html"/>
|
||||
@@ -70,12 +67,15 @@
|
||||
<a href="mario__raceway_2course__textures_8linkonly_8h_source.html"/>
|
||||
<a href="moo__moo__farm_2course__textures_8linkonly_8h_source.html"/>
|
||||
<a href="rainbow__road_2course__textures_8linkonly_8h_source.html"/>
|
||||
<a href="sherbet__land_2course__textures_8linkonly_8h_source.html"/>
|
||||
<a href="royal__raceway_2course__textures_8linkonly_8h_source.html"/>
|
||||
<a href="sherbet__land_2course__textures_8linkonly_8h_source.html"/>
|
||||
<a href="skyscraper_2course__textures_8linkonly_8h_source.html"/>
|
||||
<a href="toads__turnpike_2course__textures_8linkonly_8h_source.html"/>
|
||||
<a href="wario__stadium_2course__textures_8linkonly_8h_source.html"/>
|
||||
<a href="yoshi__valley_2course__textures_8linkonly_8h_source.html"/>
|
||||
<a href="luigi__raceway_2staff__ghost_8inc_8c_source.html"/>
|
||||
<a href="mario__raceway_2staff__ghost_8inc_8c_source.html"/>
|
||||
<a href="royal__raceway_2staff__ghost_8inc_8c_source.html"/>
|
||||
<a href="actor__types_8h_source.html"/>
|
||||
<a href="ceremony__data_8h_source.html"/>
|
||||
<a href="ceremony__rsp__init__80284EE0_8h_source.html"/>
|
||||
@@ -96,11 +96,11 @@
|
||||
<a href="math_8h_source.html"/>
|
||||
<a href="stdarg_8h_source.html"/>
|
||||
<a href="stddef_8h_source.html"/>
|
||||
<a href="stdio_8h_source.html"/>
|
||||
<a href="stdlib_8h_source.html"/>
|
||||
<a href="string_8h_source.html"/>
|
||||
<a href="macros_8h_source.html"/>
|
||||
<a href="mk64_8h_source.html"/>
|
||||
<a href="stdio_8h_source.html"/>
|
||||
<a href="objects_8h_source.html"/>
|
||||
<a href="path_8h_source.html"/>
|
||||
<a href="abi_8h_source.html"/>
|
||||
@@ -259,9 +259,6 @@
|
||||
<a href="all__course__packed_8h.html"/>
|
||||
<a href="courseTable_8c.html"/>
|
||||
<a href="courseTable_8h.html"/>
|
||||
<a href="luigi__raceway_2staff__ghost_8inc_8c.html"/>
|
||||
<a href="mario__raceway_2staff__ghost_8inc_8c.html"/>
|
||||
<a href="royal__raceway_2staff__ghost_8inc_8c.html"/>
|
||||
<a href="banshee__boardwalk_2course__data_8c.html"/>
|
||||
<a href="big__donut_2course__data_8c.html"/>
|
||||
<a href="block__fort_2course__data_8c.html"/>
|
||||
@@ -384,8 +381,8 @@
|
||||
<a href="yoshi__valley_2course__textures_8linkonly_8c.html"/>
|
||||
<a href="banshee__boardwalk_2course__textures_8linkonly_8h.html"/>
|
||||
<a href="big__donut_2course__textures_8linkonly_8h.html"/>
|
||||
<a href="bowsers__castle_2course__textures_8linkonly_8h.html"/>
|
||||
<a href="block__fort_2course__textures_8linkonly_8h.html"/>
|
||||
<a href="bowsers__castle_2course__textures_8linkonly_8h.html"/>
|
||||
<a href="choco__mountain_2course__textures_8linkonly_8h.html"/>
|
||||
<a href="dks__jungle__parkway_2course__textures_8linkonly_8h.html"/>
|
||||
<a href="double__deck_2course__textures_8linkonly_8h.html"/>
|
||||
@@ -415,15 +412,18 @@
|
||||
<a href="luigi__raceway_2course__vertices_8inc_8c.html"/>
|
||||
<a href="mario__raceway_2course__vertices_8inc_8c.html"/>
|
||||
<a href="moo__moo__farm_2course__vertices_8inc_8c.html"/>
|
||||
<a href="rainbow__road_2course__vertices_8inc_8c.html"/>
|
||||
<a href="royal__raceway_2course__vertices_8inc_8c.html"/>
|
||||
<a href="sherbet__land_2course__vertices_8inc_8c.html"/>
|
||||
<a href="skyscraper_2course__vertices_8inc_8c.html"/>
|
||||
<a href="toads__turnpike_2course__vertices_8inc_8c.html"/>
|
||||
<a href="skyscraper_2course__vertices_8inc_8c.html"/>
|
||||
<a href="wario__stadium_2course__vertices_8inc_8c.html"/>
|
||||
<a href="yoshi__valley_2course__vertices_8inc_8c.html"/>
|
||||
<a href="luigi__raceway_2staff__ghost_8inc_8c.html"/>
|
||||
<a href="mario__raceway_2staff__ghost_8inc_8c.html"/>
|
||||
<a href="staff__ghost__data_8c.html"/>
|
||||
<a href="actors_8md.html"/>
|
||||
<a href="rainbow__road_2course__vertices_8inc_8c.html"/>
|
||||
<a href="royal__raceway_2staff__ghost_8inc_8c.html"/>
|
||||
<a href="items_8md.html"/>
|
||||
<a href="objects_8md.html"/>
|
||||
<a href="vehicles_8md.html"/>
|
||||
@@ -436,9 +436,9 @@
|
||||
<a href="courses_8md.html"/>
|
||||
<a href="surfacetypes_8md.html"/>
|
||||
<a href="coursesmenu_8md.html"/>
|
||||
<a href="doxygen__syms_8md.html"/>
|
||||
<a href="mainpage_8md.html"/>
|
||||
<a href="tutorials_8md.html"/>
|
||||
<a href="doxygen__syms_8md.html"/>
|
||||
<a href="audio_8md.html"/>
|
||||
<a href="boostramps_8md.html"/>
|
||||
<a href="paths_8md.html"/>
|
||||
@@ -447,12 +447,12 @@
|
||||
<a href="ceremony__rsp__init__80284EE0_8h.html"/>
|
||||
<a href="common__data_8h.html"/>
|
||||
<a href="data__800E45C0_8h.html"/>
|
||||
<a href="data__800E8700_8h.html"/>
|
||||
<a href="rainbow__road__tluts_8h.html"/>
|
||||
<a href="startup__logo_8h.html"/>
|
||||
<a href="bomb__kart_8h.html"/>
|
||||
<a href="common__structs_8h.html"/>
|
||||
<a href="config_8h.html"/>
|
||||
<a href="data__800E8700_8h.html"/>
|
||||
<a href="course_8h.html"/>
|
||||
<a href="course__offsets_8h.html"/>
|
||||
<a href="debug_8h.html"/>
|
||||
@@ -539,9 +539,9 @@
|
||||
<a href="railroad__crossing_2update_8inc_8c.html"/>
|
||||
<a href="train_2update_8inc_8c.html"/>
|
||||
<a href="wario__sign_2update_8inc_8c.html"/>
|
||||
<a href="yoshi__egg_2update_8inc_8c.html"/>
|
||||
<a href="animation_8c.html"/>
|
||||
<a href="animation_8h.html"/>
|
||||
<a href="yoshi__egg_2update_8inc_8c.html"/>
|
||||
<a href="audio__session__presets_8c.html"/>
|
||||
<a href="data_8c.html"/>
|
||||
<a href="data_8h.html"/>
|
||||
@@ -560,8 +560,8 @@
|
||||
<a href="playback_8h.html"/>
|
||||
<a href="port__eu_8c.html"/>
|
||||
<a href="port__eu_8h.html"/>
|
||||
<a href="seqplayer_8h.html"/>
|
||||
<a href="seqplayer_8c.html"/>
|
||||
<a href="seqplayer_8h.html"/>
|
||||
<a href="synthesis_8c.html"/>
|
||||
<a href="synthesis_8h.html"/>
|
||||
<a href="buffers_8h.html"/>
|
||||
@@ -573,10 +573,10 @@
|
||||
<a href="memory__pool_8c.html"/>
|
||||
<a href="random_8c.html"/>
|
||||
<a href="random_8h.html"/>
|
||||
<a href="trig__tables_8c.html"/>
|
||||
<a href="trig__tables_8h.html"/>
|
||||
<a href="trig__tables__bss_8c.html"/>
|
||||
<a href="camera_8c.html"/>
|
||||
<a href="trig__tables_8c.html"/>
|
||||
<a href="camera_8h.html"/>
|
||||
<a href="camera__junk_8h.html"/>
|
||||
<a href="code__800029B0_8c.html"/>
|
||||
@@ -618,8 +618,8 @@
|
||||
<a href="crash__screen__enhancement_8c.html"/>
|
||||
<a href="crash__screen__enhancement_8h.html"/>
|
||||
<a href="debug_8c.html"/>
|
||||
<a href="camera__junk_8c.html"/>
|
||||
<a href="debug_8inc_8c.html"/>
|
||||
<a href="camera__junk_8c.html"/>
|
||||
<a href="ceremony__and__credits_8c.html"/>
|
||||
<a href="ceremony__and__credits_8h.html"/>
|
||||
<a href="code__80280000_8c.html"/>
|
||||
@@ -655,8 +655,8 @@
|
||||
<a href="____osPiCreateAccessQueue_8c.html"/>
|
||||
<a href="____osResetGlobalIntMask_8c.html"/>
|
||||
<a href="____osSetGlobalIntMask_8c.html"/>
|
||||
<a href="____osSiCreateAccessQueue_8c.html"/>
|
||||
<a href="____osSetHWIntrRoutine_8c.html"/>
|
||||
<a href="____osSiCreateAccessQueue_8c.html"/>
|
||||
<a href="____osSiDeviceBusy_8c.html"/>
|
||||
<a href="____osSiRawReadIo_8c.html"/>
|
||||
<a href="____osSiRawStartDma_8c.html"/>
|
||||
@@ -755,8 +755,8 @@
|
||||
<a href="osTimer_8c.html"/>
|
||||
<a href="osViBlack_8c.html"/>
|
||||
<a href="osViData_8c.html"/>
|
||||
<a href="osViSetEvent_8c.html"/>
|
||||
<a href="osVirtualToPhysical_8c.html"/>
|
||||
<a href="osViSetEvent_8c.html"/>
|
||||
<a href="osViSetMode_8c.html"/>
|
||||
<a href="osViSetSpecialFeatures_8c.html"/>
|
||||
<a href="osViSwapBuffer_8c.html"/>
|
||||
@@ -858,13 +858,14 @@
|
||||
<a href="structAllocOnlyPool.html"/>
|
||||
<a href="structALRawLoop.html"/>
|
||||
<a href="structALRAWWaveInfo.html"/>
|
||||
<a href="structALSeqData.html"/>
|
||||
<a href="structALSeqFile.html"/>
|
||||
<a href="structALSeqData.html"/>
|
||||
<a href="structALSound__s.html"/>
|
||||
<a href="structALWaveTable__s.html"/>
|
||||
<a href="structAnimation.html"/>
|
||||
<a href="structAnimationCycleSpec.html"/>
|
||||
<a href="structArmature.html"/>
|
||||
<a href="structAudioBank.html"/>
|
||||
<a href="structAudioBankSample.html"/>
|
||||
<a href="structAudioBankSound.html"/>
|
||||
<a href="structAudioBufferParametersEU.html"/>
|
||||
@@ -873,7 +874,6 @@
|
||||
<a href="structAudioSessionSettingsEU.html"/>
|
||||
<a href="structBananaActor.html"/>
|
||||
<a href="structBananaBunchParent.html"/>
|
||||
<a href="structAudioBank.html"/>
|
||||
<a href="structBombKart.html"/>
|
||||
<a href="structBombKartSpawn.html"/>
|
||||
<a href="structCamera.html"/>
|
||||
@@ -891,15 +891,16 @@
|
||||
<a href="structCPUBehaviour.html"/>
|
||||
<a href="structCpuItemStrategyData.html"/>
|
||||
<a href="structCrabSpawn.html"/>
|
||||
<a href="structcredits__data__1FA0.html"/>
|
||||
<a href="structCreditsRenderInfo.html"/>
|
||||
<a href="structCtlEntry.html"/>
|
||||
<a href="structcredits__data__1FA0.html"/>
|
||||
<a href="structCupTimeTrialRecords.html"/>
|
||||
<a href="structCutscene.html"/>
|
||||
<a href="structCutsceneSplinePoint.html"/>
|
||||
<a href="structDrum.html"/>
|
||||
<a href="structD__80150158.html"/>
|
||||
<a href="structDrum.html"/>
|
||||
<a href="uniondu.html"/>
|
||||
<a href="structEuAudioCmd.html"/>
|
||||
<a href="structexceptionPreamble.html"/>
|
||||
<a href="structFakeItemBox.html"/>
|
||||
<a href="structFallingRock.html"/>
|
||||
@@ -907,7 +908,6 @@
|
||||
<a href="unionfu.html"/>
|
||||
<a href="unionGameModePack.html"/>
|
||||
<a href="structGfxPool.html"/>
|
||||
<a href="structEuAudioCmd.html"/>
|
||||
<a href="structHegdehogSpawn.html"/>
|
||||
<a href="structhud__player.html"/>
|
||||
<a href="structInstrument.html"/>
|
||||
@@ -932,9 +932,9 @@
|
||||
<a href="structNotePlaybackState.html"/>
|
||||
<a href="structNotePool.html"/>
|
||||
<a href="structNoteSubEu.html"/>
|
||||
<a href="structObject.html"/>
|
||||
<a href="structNoteSynthesisBuffers.html"/>
|
||||
<a href="structNoteSynthesisState.html"/>
|
||||
<a href="structObject.html"/>
|
||||
<a href="structOnlyBestTimeTrialRecords.html"/>
|
||||
<a href="structOSEventMessageStruct__0__s.html"/>
|
||||
<a href="structOSIoMesg.html"/>
|
||||
@@ -947,8 +947,8 @@
|
||||
<a href="structOSThread__s.html"/>
|
||||
<a href="structOSTimer__str.html"/>
|
||||
<a href="structOSViCommonRegs.html"/>
|
||||
<a href="structOSViContext.html"/>
|
||||
<a href="structOSViFieldRegs.html"/>
|
||||
<a href="structOSViContext.html"/>
|
||||
<a href="structOSViMode.html"/>
|
||||
<a href="structPaddleBoatStuff.html"/>
|
||||
<a href="structPaddleWheelBoat.html"/>
|
||||
@@ -1002,9 +1002,9 @@
|
||||
<a href="structstruct__80285D80.html"/>
|
||||
<a href="structstruct__80286A04.html"/>
|
||||
<a href="structstruct__80286A10.html"/>
|
||||
<a href="structstruct__D__8018CE10.html"/>
|
||||
<a href="structstruct__D__80192CA8__entry.html"/>
|
||||
<a href="structstruct__D__801930D0__entry.html"/>
|
||||
<a href="structstruct__D__8018CE10.html"/>
|
||||
<a href="structstruct__D__801930D0__inner.html"/>
|
||||
<a href="structstruct__D__802874D8.html"/>
|
||||
<a href="structstruct__D__802BFB80__4.html"/>
|
||||
@@ -6837,7 +6837,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"/>
|
||||
@@ -8274,6 +8274,7 @@
|
||||
<a href="defines_8h.html#a26ddda3177948a34eaf3c4d953b92b6b"/>
|
||||
<a href="defines_8h.html#a2871d7a02126585577a298308febbf93"/>
|
||||
<a href="defines_8h.html#a28d1cba03bcdd4fff1922efbd92a2673"/>
|
||||
<a href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b"/>
|
||||
<a href="defines_8h.html#a2bbfe6ff4f130e0985ee29c71a816b50"/>
|
||||
<a href="defines_8h.html#a2f525ee1d4444807b6d6d63db4ec8579"/>
|
||||
<a href="defines_8h.html#a31213c9fb13bbc97f0ae1e30c1a6b1cf"/>
|
||||
@@ -8325,7 +8326,6 @@
|
||||
<a href="defines_8h.html#a5af9b5343563ff68ae7d252d560ebb0d"/>
|
||||
<a href="defines_8h.html#a5c9df8d9502c3c234100b291c1628394"/>
|
||||
<a href="defines_8h.html#a5e748dc6af74a4076772106205f0d897"/>
|
||||
<a href="defines_8h.html#a5fe5c9e278625a540997d87c80f22208"/>
|
||||
<a href="defines_8h.html#a60528aaa3366d7dfd35145c2bfd62f69"/>
|
||||
<a href="defines_8h.html#a60db4f58cdf07e448d79a8806cdf482e"/>
|
||||
<a href="defines_8h.html#a62645260c4c31608ddd6702527a0b9e8"/>
|
||||
@@ -22642,7 +22642,7 @@
|
||||
<a href="new__func_8h.html#ac45abfb3d95070ab49c1b0082f47b983"/>
|
||||
<a href="new__func_8h.html#ac8095e2ec1adbd7e74e655c578968a36"/>
|
||||
<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"/>
|
||||
|
||||
+17
-17
@@ -397,23 +397,23 @@ Variables</h2></td></tr>
|
||||
<div class="line"> <a class="code hl_define" href="defines_8h.html#ae26d8c627161f41ae960b1c9efa2ddd0">EXPLOSION_CRASH_EFFECT</a> | <a class="code hl_define" href="defines_8h.html#aa1062a9908335b03e1243325e24c059c">UNKNOWN_EFFECT_0x800000</a> | <a class="code hl_define" href="defines_8h.html#a121f2d36faaecc8c1e2486617b49595f">BOOST_RAMP_ASPHALT_EFFECT</a> | <a class="code hl_define" href="defines_8h.html#a34df0bbf3026d34b4a3f572cd66ef1ea">LIGHTNING_STRIKE_EFFECT</a> | \</div>
|
||||
<div class="line"> <a class="code hl_define" href="defines_8h.html#adf03ab39b71ed83333d65caa9e4f7209">TERRAIN_TUMBLE_EFFECT</a> | <a class="code hl_define" href="defines_8h.html#ab3521bb66386bccf6ea35188d299e846">EARLY_START_SPINOUT_EFFECT</a> | <a class="code hl_define" href="defines_8h.html#a4ba4d7d07d69d1d1c8eeaa36491a41b9">BANANA_NEAR_SPINOUT_EFFECT</a> | <a class="code hl_define" href="defines_8h.html#aef6db3152f090248fcaf98bbb45c0923">HIT_BY_GREEN_SHELL_EFFECT</a> | \</div>
|
||||
<div class="line"> <a class="code hl_define" href="defines_8h.html#a8162db60017841c732d51d0c3a4a5269">STAR_EFFECT</a> | <a class="code hl_define" href="defines_8h.html#aa20311ea3a24b8af6d46413576729228">BANANA_SPINOUT_EFFECT</a> | <a class="code hl_define" href="defines_8h.html#a49c6b424bbbde8727e6b64661cc66963">DRIVING_SPINOUT_EFFECT</a> | <a class="code hl_define" href="defines_8h.html#acdb005e38b62958d114c040eef53736d">BOOST_RAMP_WOOD_EFFECT</a></div>
|
||||
<div class="ttc" id="adefines_8h_html_a121f2d36faaecc8c1e2486617b49595f"><div class="ttname"><a href="defines_8h.html#a121f2d36faaecc8c1e2486617b49595f">BOOST_RAMP_ASPHALT_EFFECT</a></div><div class="ttdeci">#define BOOST_RAMP_ASPHALT_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:462</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a1594139aa988d904c0444b1b54af75cb"><div class="ttname"><a href="defines_8h.html#a1594139aa988d904c0444b1b54af75cb">SQUISH_EFFECT</a></div><div class="ttdeci">#define SQUISH_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:468</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a34df0bbf3026d34b4a3f572cd66ef1ea"><div class="ttname"><a href="defines_8h.html#a34df0bbf3026d34b4a3f572cd66ef1ea">LIGHTNING_STRIKE_EFFECT</a></div><div class="ttdeci">#define LIGHTNING_STRIKE_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:459</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a49c6b424bbbde8727e6b64661cc66963"><div class="ttname"><a href="defines_8h.html#a49c6b424bbbde8727e6b64661cc66963">DRIVING_SPINOUT_EFFECT</a></div><div class="ttdeci">#define DRIVING_SPINOUT_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:448</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a4ba4d7d07d69d1d1c8eeaa36491a41b9"><div class="ttname"><a href="defines_8h.html#a4ba4d7d07d69d1d1c8eeaa36491a41b9">BANANA_NEAR_SPINOUT_EFFECT</a></div><div class="ttdeci">#define BANANA_NEAR_SPINOUT_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:453</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a5a6718f73ba2ea4becbb7263614dfb37"><div class="ttname"><a href="defines_8h.html#a5a6718f73ba2ea4becbb7263614dfb37">UNKNOWN_EFFECT_0x10000000</a></div><div class="ttdeci">#define UNKNOWN_EFFECT_0x10000000</div><div class="ttdef"><b>Definition</b> defines.h:470</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a8162db60017841c732d51d0c3a4a5269"><div class="ttname"><a href="defines_8h.html#a8162db60017841c732d51d0c3a4a5269">STAR_EFFECT</a></div><div class="ttdeci">#define STAR_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:451</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a8dbdabe3aa4cd649ab8c2c052ff0846d"><div class="ttname"><a href="defines_8h.html#a8dbdabe3aa4cd649ab8c2c052ff0846d">LIGHTNING_EFFECT</a></div><div class="ttdeci">#define LIGHTNING_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:472</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aa1062a9908335b03e1243325e24c059c"><div class="ttname"><a href="defines_8h.html#aa1062a9908335b03e1243325e24c059c">UNKNOWN_EFFECT_0x800000</a></div><div class="ttdeci">#define UNKNOWN_EFFECT_0x800000</div><div class="ttdef"><b>Definition</b> defines.h:465</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aa20311ea3a24b8af6d46413576729228"><div class="ttname"><a href="defines_8h.html#aa20311ea3a24b8af6d46413576729228">BANANA_SPINOUT_EFFECT</a></div><div class="ttdeci">#define BANANA_SPINOUT_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:449</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab3521bb66386bccf6ea35188d299e846"><div class="ttname"><a href="defines_8h.html#ab3521bb66386bccf6ea35188d299e846">EARLY_START_SPINOUT_EFFECT</a></div><div class="ttdeci">#define EARLY_START_SPINOUT_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:456</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_acdb005e38b62958d114c040eef53736d"><div class="ttname"><a href="defines_8h.html#acdb005e38b62958d114c040eef53736d">BOOST_RAMP_WOOD_EFFECT</a></div><div class="ttdeci">#define BOOST_RAMP_WOOD_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:444</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_adf03ab39b71ed83333d65caa9e4f7209"><div class="ttname"><a href="defines_8h.html#adf03ab39b71ed83333d65caa9e4f7209">TERRAIN_TUMBLE_EFFECT</a></div><div class="ttdeci">#define TERRAIN_TUMBLE_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:458</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ae26d8c627161f41ae960b1c9efa2ddd0"><div class="ttname"><a href="defines_8h.html#ae26d8c627161f41ae960b1c9efa2ddd0">EXPLOSION_CRASH_EFFECT</a></div><div class="ttdeci">#define EXPLOSION_CRASH_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:466</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aecedf74a5b6fb7c1fed42afa4ef5272b"><div class="ttname"><a href="defines_8h.html#aecedf74a5b6fb7c1fed42afa4ef5272b">POST_SQUISH_EFFECT</a></div><div class="ttdeci">#define POST_SQUISH_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:469</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aef6db3152f090248fcaf98bbb45c0923"><div class="ttname"><a href="defines_8h.html#aef6db3152f090248fcaf98bbb45c0923">HIT_BY_GREEN_SHELL_EFFECT</a></div><div class="ttdeci">#define HIT_BY_GREEN_SHELL_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:452</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_affdab3bd96b2535871eae7865e1bc696"><div class="ttname"><a href="defines_8h.html#affdab3bd96b2535871eae7865e1bc696">HIT_BY_STAR_EFFECT</a></div><div class="ttdeci">#define HIT_BY_STAR_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:467</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a121f2d36faaecc8c1e2486617b49595f"><div class="ttname"><a href="defines_8h.html#a121f2d36faaecc8c1e2486617b49595f">BOOST_RAMP_ASPHALT_EFFECT</a></div><div class="ttdeci">#define BOOST_RAMP_ASPHALT_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:477</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a1594139aa988d904c0444b1b54af75cb"><div class="ttname"><a href="defines_8h.html#a1594139aa988d904c0444b1b54af75cb">SQUISH_EFFECT</a></div><div class="ttdeci">#define SQUISH_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:483</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a34df0bbf3026d34b4a3f572cd66ef1ea"><div class="ttname"><a href="defines_8h.html#a34df0bbf3026d34b4a3f572cd66ef1ea">LIGHTNING_STRIKE_EFFECT</a></div><div class="ttdeci">#define LIGHTNING_STRIKE_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:474</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a49c6b424bbbde8727e6b64661cc66963"><div class="ttname"><a href="defines_8h.html#a49c6b424bbbde8727e6b64661cc66963">DRIVING_SPINOUT_EFFECT</a></div><div class="ttdeci">#define DRIVING_SPINOUT_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:463</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a4ba4d7d07d69d1d1c8eeaa36491a41b9"><div class="ttname"><a href="defines_8h.html#a4ba4d7d07d69d1d1c8eeaa36491a41b9">BANANA_NEAR_SPINOUT_EFFECT</a></div><div class="ttdeci">#define BANANA_NEAR_SPINOUT_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:468</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a5a6718f73ba2ea4becbb7263614dfb37"><div class="ttname"><a href="defines_8h.html#a5a6718f73ba2ea4becbb7263614dfb37">UNKNOWN_EFFECT_0x10000000</a></div><div class="ttdeci">#define UNKNOWN_EFFECT_0x10000000</div><div class="ttdef"><b>Definition</b> defines.h:485</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a8162db60017841c732d51d0c3a4a5269"><div class="ttname"><a href="defines_8h.html#a8162db60017841c732d51d0c3a4a5269">STAR_EFFECT</a></div><div class="ttdeci">#define STAR_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:466</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a8dbdabe3aa4cd649ab8c2c052ff0846d"><div class="ttname"><a href="defines_8h.html#a8dbdabe3aa4cd649ab8c2c052ff0846d">LIGHTNING_EFFECT</a></div><div class="ttdeci">#define LIGHTNING_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:487</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aa1062a9908335b03e1243325e24c059c"><div class="ttname"><a href="defines_8h.html#aa1062a9908335b03e1243325e24c059c">UNKNOWN_EFFECT_0x800000</a></div><div class="ttdeci">#define UNKNOWN_EFFECT_0x800000</div><div class="ttdef"><b>Definition</b> defines.h:480</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aa20311ea3a24b8af6d46413576729228"><div class="ttname"><a href="defines_8h.html#aa20311ea3a24b8af6d46413576729228">BANANA_SPINOUT_EFFECT</a></div><div class="ttdeci">#define BANANA_SPINOUT_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:464</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab3521bb66386bccf6ea35188d299e846"><div class="ttname"><a href="defines_8h.html#ab3521bb66386bccf6ea35188d299e846">EARLY_START_SPINOUT_EFFECT</a></div><div class="ttdeci">#define EARLY_START_SPINOUT_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:471</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_acdb005e38b62958d114c040eef53736d"><div class="ttname"><a href="defines_8h.html#acdb005e38b62958d114c040eef53736d">BOOST_RAMP_WOOD_EFFECT</a></div><div class="ttdeci">#define BOOST_RAMP_WOOD_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:459</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_adf03ab39b71ed83333d65caa9e4f7209"><div class="ttname"><a href="defines_8h.html#adf03ab39b71ed83333d65caa9e4f7209">TERRAIN_TUMBLE_EFFECT</a></div><div class="ttdeci">#define TERRAIN_TUMBLE_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:473</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ae26d8c627161f41ae960b1c9efa2ddd0"><div class="ttname"><a href="defines_8h.html#ae26d8c627161f41ae960b1c9efa2ddd0">EXPLOSION_CRASH_EFFECT</a></div><div class="ttdeci">#define EXPLOSION_CRASH_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:481</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aecedf74a5b6fb7c1fed42afa4ef5272b"><div class="ttname"><a href="defines_8h.html#aecedf74a5b6fb7c1fed42afa4ef5272b">POST_SQUISH_EFFECT</a></div><div class="ttdeci">#define POST_SQUISH_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:484</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aef6db3152f090248fcaf98bbb45c0923"><div class="ttname"><a href="defines_8h.html#aef6db3152f090248fcaf98bbb45c0923">HIT_BY_GREEN_SHELL_EFFECT</a></div><div class="ttdeci">#define HIT_BY_GREEN_SHELL_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:467</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_affdab3bd96b2535871eae7865e1bc696"><div class="ttname"><a href="defines_8h.html#affdab3bd96b2535871eae7865e1bc696">HIT_BY_STAR_EFFECT</a></div><div class="ttdeci">#define HIT_BY_STAR_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:482</div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -165,109 +165,110 @@ $(function(){initNavTree('fake__item__box_2render_8inc_8c_source.html',''); init
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> gSPClearGeometryMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#ace7a0e559b5d01f76f0481a2c23ba2e1">G_LIGHTING</a>);</div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> gDPSetCombineMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#ae4a9361eec8b90bd63962d8aed9d87b0">G_CC_MODULATEIA</a>, <a class="code hl_define" href="gbi_8h.html#ae4a9361eec8b90bd63962d8aed9d87b0">G_CC_MODULATEIA</a>);</div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="keywordflow">if</span> ((fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] < 0xAA1) && (fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] > 0)) {</div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] >= 0x6AA5) && (fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] < 0x754E)) {</div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] >= 0x38E1) && (fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] < 0x438A)) {</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] >= 0xC711) && (fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] < 0xD1BA)) {</div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> gDPSetBlendMask(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, 0xFF);</div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a3c459a4e5bf4dd4bd2eda0bf5a259537">G_RM_ZB_CLD_SURF</a>, <a class="code hl_define" href="gbi_8h.html#a2c6a4394801fed186134d0ce2e5d2540">G_RM_ZB_CLD_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> }</div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a0b5aeaeaa66e36a0ee643980e4573739">D_0D003090</a>);</div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> gSPClearGeometryMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#ace7a0e559b5d01f76f0481a2c23ba2e1">G_LIGHTING</a>);</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> gSPClearGeometryMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a1d9c1bb13064e0e1726ed802cfb2697a">G_CULL_BACK</a>);</div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> gDPSetBlendMask(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, 0xFF);</div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> thing = fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a29e91595b541928305d78842ada268da">someTimer</a>;</div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <a class="code hl_function" href="math__util_8c.html#a2579bc73da43221eb3b79821c7d59099">mtxf_rotate_zxy_translate</a>(someMatrix2, fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#ae6a281aea1539ac409a2165be5686c63">pos</a>, fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>);</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> <span class="keywordflow">if</span> (thing < 10.0f) {</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> someMultiplier = 1.0f;</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> someMultiplier = 1.0f - ((thing - 10.0f) * 0.1f);</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> }</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <a class="code hl_function" href="math__util_8c.html#a2dc65f493d949462720d4a5ff509f25e">mtxf_scale</a>(someMatrix2, someMultiplier);</div>
|
||||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <span class="keywordflow">if</span> (fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a29e91595b541928305d78842ada268da">someTimer</a> & 1) {</div>
|
||||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#ac72e82c8b09752df0ecb6c7ef16f6de4">G_RM_AA_ZB_XLU_INTER</a>, <a class="code hl_define" href="gbi_8h.html#a27262ffe4dcd32c858dcdcbac77a221f">G_RM_NOOP2</a>);</div>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> }</div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> temp_f2 = 2.0f * thing;</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> someVec[0] = 0.0f;</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> someVec[1] = temp_f2;</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> someVec[2] = thing;</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix2, someMatrix3, someVec);</div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix3, 0)) {</div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> }</div>
|
||||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> </div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a8f97d1efdd71dddfe7b0f4cd706d7c04">D_0D003158</a>);</div>
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> temp_f2_2 = 0.8f * thing;</div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> temp_f12 = 0.5f * thing;</div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> someVec[0] = temp_f2_2;</div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> someVec[1] = 2.3f * thing;</div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> someVec[2] = temp_f12;</div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix2, someMatrix3, someVec);</div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> </div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix3, 0)) {</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> }</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#ab4f8b1718361ae420613d677f3ffd292">D_0D0031B8</a>);</div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> temp_f0_2 = -0.5f * thing;</div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> someVec[0] = temp_f2_2;</div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> someVec[1] = 1.2f * thing;</div>
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> someVec[2] = temp_f0_2;</div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix2, someMatrix3, someVec);</div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> </div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix3, 0)) {</div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> }</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a89b4424b3a16ef5a7edb07eed96d25c1">D_0D003128</a>);</div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <span class="keywordflow">if</span> (!(fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a29e91595b541928305d78842ada268da">someTimer</a> & 1)) {</div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#ac72e82c8b09752df0ecb6c7ef16f6de4">G_RM_AA_ZB_XLU_INTER</a>, <a class="code hl_define" href="gbi_8h.html#a27262ffe4dcd32c858dcdcbac77a221f">G_RM_NOOP2</a>);</div>
|
||||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> }</div>
|
||||
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> someVec[0] = 0.0f;</div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> someVec[1] = 1.8f * thing;</div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> someVec[2] = -1.0f * thing;</div>
|
||||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix2, someMatrix3, someVec);</div>
|
||||
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> </div>
|
||||
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix3, 0)) {</div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> }</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> </div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a657613583cc3b8a7a7bb9e2d762ecc32">D_0D0031E8</a>);</div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> temp_f0_3 = -0.8f * thing;</div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> someVec[0] = temp_f0_3;</div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> someVec[1] = 0.6f * thing;</div>
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> someVec[2] = temp_f0_2;</div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix2, someMatrix3, someVec);</div>
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> </div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix3, 0)) {</div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> }</div>
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> </div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a5c49cadc53af9e157e9e03a53b93e9d7">D_0D003188</a>);</div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> someVec[0] = temp_f0_3;</div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> someVec[1] = temp_f2;</div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> someVec[2] = temp_f12;</div>
|
||||
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix2, someMatrix3, someVec);</div>
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> </div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix3, 0)) {</div>
|
||||
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> }</div>
|
||||
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> </div>
|
||||
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#af5ade14fff5b64c439d84c9922e908a9">D_0D0030F8</a>);</div>
|
||||
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> gSPSetGeometryMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a1d9c1bb13064e0e1726ed802cfb2697a">G_CULL_BACK</a>);</div>
|
||||
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> }</div>
|
||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span>}</div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="comment">// unclear why it is 14.95 degrees instead of 15. Perhaps just a typo when entering the value as a s16.</span></div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keywordflow">if</span> ((fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] < <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(14.95f)) && (fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] > 0)) {</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] > (150 * <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1))) && (fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] < (165 * <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1)))) {</div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] > (80 * <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1))) && (fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] < (95 * <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1)))) {</div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] > (280 * <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1))) && (fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] < (295 * <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1)))) {</div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> gDPSetBlendMask(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, 0xFF);</div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a3c459a4e5bf4dd4bd2eda0bf5a259537">G_RM_ZB_CLD_SURF</a>, <a class="code hl_define" href="gbi_8h.html#a2c6a4394801fed186134d0ce2e5d2540">G_RM_ZB_CLD_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> }</div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a0b5aeaeaa66e36a0ee643980e4573739">D_0D003090</a>);</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> gSPClearGeometryMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#ace7a0e559b5d01f76f0481a2c23ba2e1">G_LIGHTING</a>);</div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> gSPClearGeometryMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a1d9c1bb13064e0e1726ed802cfb2697a">G_CULL_BACK</a>);</div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> gDPSetBlendMask(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, 0xFF);</div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> thing = fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a29e91595b541928305d78842ada268da">someTimer</a>;</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> <a class="code hl_function" href="math__util_8c.html#a2579bc73da43221eb3b79821c7d59099">mtxf_rotate_zxy_translate</a>(someMatrix2, fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#ae6a281aea1539ac409a2165be5686c63">pos</a>, fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>);</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <span class="keywordflow">if</span> (thing < 10.0f) {</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> someMultiplier = 1.0f;</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> someMultiplier = 1.0f - ((thing - 10.0f) * 0.1f);</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> }</div>
|
||||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <a class="code hl_function" href="math__util_8c.html#a2dc65f493d949462720d4a5ff509f25e">mtxf_scale</a>(someMatrix2, someMultiplier);</div>
|
||||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <span class="keywordflow">if</span> (fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a29e91595b541928305d78842ada268da">someTimer</a> & 1) {</div>
|
||||
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#ac72e82c8b09752df0ecb6c7ef16f6de4">G_RM_AA_ZB_XLU_INTER</a>, <a class="code hl_define" href="gbi_8h.html#a27262ffe4dcd32c858dcdcbac77a221f">G_RM_NOOP2</a>);</div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> }</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> temp_f2 = 2.0f * thing;</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> someVec[0] = 0.0f;</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> someVec[1] = temp_f2;</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> someVec[2] = thing;</div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix2, someMatrix3, someVec);</div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix3, 0)) {</div>
|
||||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> }</div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a8f97d1efdd71dddfe7b0f4cd706d7c04">D_0D003158</a>);</div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> temp_f2_2 = 0.8f * thing;</div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> temp_f12 = 0.5f * thing;</div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> someVec[0] = temp_f2_2;</div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> someVec[1] = 2.3f * thing;</div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> someVec[2] = temp_f12;</div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix2, someMatrix3, someVec);</div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> </div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix3, 0)) {</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> }</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> </div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#ab4f8b1718361ae420613d677f3ffd292">D_0D0031B8</a>);</div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> temp_f0_2 = -0.5f * thing;</div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> someVec[0] = temp_f2_2;</div>
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> someVec[1] = 1.2f * thing;</div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> someVec[2] = temp_f0_2;</div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix2, someMatrix3, someVec);</div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> </div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix3, 0)) {</div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> }</div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> </div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a89b4424b3a16ef5a7edb07eed96d25c1">D_0D003128</a>);</div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> <span class="keywordflow">if</span> (!(fakeItemBox-><a class="code hl_variable" href="structFakeItemBox.html#a29e91595b541928305d78842ada268da">someTimer</a> & 1)) {</div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#ac72e82c8b09752df0ecb6c7ef16f6de4">G_RM_AA_ZB_XLU_INTER</a>, <a class="code hl_define" href="gbi_8h.html#a27262ffe4dcd32c858dcdcbac77a221f">G_RM_NOOP2</a>);</div>
|
||||
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> }</div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> someVec[0] = 0.0f;</div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> someVec[1] = 1.8f * thing;</div>
|
||||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> someVec[2] = -1.0f * thing;</div>
|
||||
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix2, someMatrix3, someVec);</div>
|
||||
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> </div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix3, 0)) {</div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> }</div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> </div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a657613583cc3b8a7a7bb9e2d762ecc32">D_0D0031E8</a>);</div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> temp_f0_3 = -0.8f * thing;</div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> someVec[0] = temp_f0_3;</div>
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> someVec[1] = 0.6f * thing;</div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> someVec[2] = temp_f0_2;</div>
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix2, someMatrix3, someVec);</div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> </div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix3, 0)) {</div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> }</div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> </div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a5c49cadc53af9e157e9e03a53b93e9d7">D_0D003188</a>);</div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> someVec[0] = temp_f0_3;</div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> someVec[1] = temp_f2;</div>
|
||||
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> someVec[2] = temp_f12;</div>
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix2, someMatrix3, someVec);</div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> </div>
|
||||
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix3, 0)) {</div>
|
||||
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> }</div>
|
||||
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
|
||||
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#af5ade14fff5b64c439d84c9922e908a9">D_0D0030F8</a>);</div>
|
||||
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> gSPSetGeometryMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a1d9c1bb13064e0e1726ed802cfb2697a">G_CULL_BACK</a>);</div>
|
||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> }</div>
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span>}</div>
|
||||
</div>
|
||||
<div class="ttc" id="aactors_8c_html_a25f3c7f1a525abf36fb695a718345b57"><div class="ttname"><a href="actors_8c.html#a25f3c7f1a525abf36fb695a718345b57">actor_not_rendered</a></div><div class="ttdeci">void actor_not_rendered(Camera *arg0, struct Actor *arg1)</div><div class="ttdef"><b>Definition</b> actors.c:283</div></div>
|
||||
<div class="ttc" id="aactors_8c_html_a9293f7b62cb3da5141c43f313acdd360"><div class="ttname"><a href="actors_8c.html#a9293f7b62cb3da5141c43f313acdd360">actor_rendered</a></div><div class="ttdeci">void actor_rendered(Camera *arg0, struct Actor *arg1)</div><div class="ttdef"><b>Definition</b> actors.c:300</div></div>
|
||||
@@ -287,6 +288,7 @@ $(function(){initNavTree('fake__item__box_2render_8inc_8c_source.html',''); init
|
||||
<div class="ttc" id="acommon__structs_8h_html_a5290523279339ea495248ab3a36cb46e"><div class="ttname"><a href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a></div><div class="ttdeci">f32 Vec3f[3]</div><div class="ttdef"><b>Definition</b> common_structs.h:6</div></div>
|
||||
<div class="ttc" id="acommon__structs_8h_html_a95eb48a2f3630571bea260858dd23e92"><div class="ttname"><a href="common__structs_8h.html#a95eb48a2f3630571bea260858dd23e92">Vec3s</a></div><div class="ttdeci">s16 Vec3s[3]</div><div class="ttdef"><b>Definition</b> common_structs.h:11</div></div>
|
||||
<div class="ttc" id="acommon__structs_8h_html_ab7160f77e736961cfa2aff581aeee005"><div class="ttname"><a href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a></div><div class="ttdeci">f32 Mat4[4][4]</div><div class="ttdef"><b>Definition</b> common_structs.h:16</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a29a687ccf66fa4e1e852ecfaca24a63b"><div class="ttname"><a href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a></div><div class="ttdeci">#define DEGREES(degree)</div><div class="ttdef"><b>Definition</b> defines.h:347</div></div>
|
||||
<div class="ttc" id="afake__item__box_2render_8inc_8c_html_af266b20983c5e1664e5d15c1e7a952d0"><div class="ttname"><a href="fake__item__box_2render_8inc_8c.html#af266b20983c5e1664e5d15c1e7a952d0">render_actor_fake_item_box</a></div><div class="ttdeci">void render_actor_fake_item_box(Camera *camera, struct FakeItemBox *fakeItemBox)</div><div class="ttdoc">Renders the fake item box actor.</div><div class="ttdef"><b>Definition</b> render.inc.c:12</div></div>
|
||||
<div class="ttc" id="agbi_8h_html"><div class="ttname"><a href="gbi_8h.html">gbi.h</a></div></div>
|
||||
<div class="ttc" id="agbi_8h_html_a1d9c1bb13064e0e1726ed802cfb2697a"><div class="ttname"><a href="gbi_8h.html#a1d9c1bb13064e0e1726ed802cfb2697a">G_CULL_BACK</a></div><div class="ttdeci">#define G_CULL_BACK</div><div class="ttdef"><b>Definition</b> gbi.h:351</div></div>
|
||||
|
||||
@@ -127,9 +127,9 @@ $(function(){initNavTree('fake__item__box_2update_8inc_8c_source.html',''); init
|
||||
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> <span class="keywordflow">switch</span> (fake_item_box-><a class="code hl_variable" href="structFakeItemBox.html#ac40351f6f80e83eeb4f2821d38f25bb4">state</a>) {</div>
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keywordflow">case</span> 0:</div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> fake_item_box-><a class="code hl_variable" href="structFakeItemBox.html#a616ed6fc7508f5dd63992646880f1fd1">boundingBoxSize</a> = fake_item_box-><a class="code hl_variable" href="structFakeItemBox.html#a746708f466ee6c64434cae235b79f39d">sizeScaling</a> * 5.5f;</div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> fake_item_box-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[0] -= 0xB6;</div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> fake_item_box-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] += 0x16C;</div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> fake_item_box-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[2] -= 0xB6;</div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> fake_item_box-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[0] -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1);</div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> fake_item_box-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[1] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(2);</div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> fake_item_box-><a class="code hl_variable" href="structFakeItemBox.html#a06e10891852bdc853b439ca471992687">rot</a>[2] -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1);</div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> temp_f14 = temp_v0_4-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0] - fake_item_box-><a class="code hl_variable" href="structFakeItemBox.html#ae6a281aea1539ac409a2165be5686c63">pos</a>[0];</div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> temp_f16 = temp_v0_4-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[1] - fake_item_box-><a class="code hl_variable" href="structFakeItemBox.html#ae6a281aea1539ac409a2165be5686c63">pos</a>[1];</div>
|
||||
@@ -177,9 +177,9 @@ $(function(){initNavTree('fake__item__box_2update_8inc_8c_source.html',''); init
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> fake_item_box->someTimer--;</div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> }</div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> }</div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> fake_item_box-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[0] -= 0xB6;</div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> fake_item_box-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[1] += 0x16C;</div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> fake_item_box-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[2] -= 0xB6;</div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> fake_item_box-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[0] -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1);</div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> fake_item_box-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[1] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(2);</div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> fake_item_box-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[2] -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1);</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> </div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <span class="keywordflow">case</span> 2:</div>
|
||||
@@ -187,9 +187,9 @@ $(function(){initNavTree('fake__item__box_2update_8inc_8c_source.html',''); init
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</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>*) fake_item_box);</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> fake_item_box->someTimer++;</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> fake_item_box-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[0] += 0x444;</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> fake_item_box-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[1] -= 0x2D8;</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> fake_item_box-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[2] += 0x16C;</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> fake_item_box-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[0] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(6);</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> fake_item_box-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[1] -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(4);</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> fake_item_box-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[2] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(2);</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> }</div>
|
||||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <span class="keywordflow">default</span>:</div>
|
||||
@@ -201,8 +201,9 @@ $(function(){initNavTree('fake__item__box_2update_8inc_8c_source.html',''); init
|
||||
<div class="ttc" id="aactors_8c_html_a694ec6ef7548b8618aeb35c038d3a9b9"><div class="ttname"><a href="actors_8c.html#a694ec6ef7548b8618aeb35c038d3a9b9">destroy_actor</a></div><div class="ttdeci">void destroy_actor(struct Actor *actor)</div><div class="ttdef"><b>Definition</b> actors.c:1321</div></div>
|
||||
<div class="ttc" id="aactors_8c_html_aa69562a03d97fa7b0b040009f5351776"><div class="ttname"><a href="actors_8c.html#aa69562a03d97fa7b0b040009f5351776">func_802A1064</a></div><div class="ttdeci">void func_802A1064(struct FakeItemBox *fake_item_box)</div><div class="ttdef"><b>Definition</b> actors.c:2377</div></div>
|
||||
<div class="ttc" id="aactors_8h_html"><div class="ttname"><a href="actors_8h.html">actors.h</a></div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a78e98c146f1f4dd6e3608016486172a4"><div class="ttname"><a href="actors__extended_8c.html#a78e98c146f1f4dd6e3608016486172a4">func_802B4E30</a></div><div class="ttdeci">void func_802B4E30(struct Actor *arg0)</div><div class="ttdef"><b>Definition</b> actors_extended.c:972</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a78e98c146f1f4dd6e3608016486172a4"><div class="ttname"><a href="actors__extended_8c.html#a78e98c146f1f4dd6e3608016486172a4">func_802B4E30</a></div><div class="ttdeci">void func_802B4E30(struct Actor *arg0)</div><div class="ttdef"><b>Definition</b> actors_extended.c:973</div></div>
|
||||
<div class="ttc" id="acollision_8c_html_a37aa55b3768d001533ad75e7f1b8388a"><div class="ttname"><a href="collision_8c.html#a37aa55b3768d001533ad75e7f1b8388a">check_bounding_collision</a></div><div class="ttdeci">u16 check_bounding_collision(Collision *collision, f32 boundingBoxSize, f32 posX, f32 posY, f32 posZ)</div><div class="ttdef"><b>Definition</b> collision.c:1358</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a29a687ccf66fa4e1e852ecfaca24a63b"><div class="ttname"><a href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a></div><div class="ttdeci">#define DEGREES(degree)</div><div class="ttdef"><b>Definition</b> defines.h:347</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab30d6efeb8601088397fff50c25c2424"><div class="ttname"><a href="defines_8h.html#ab30d6efeb8601088397fff50c25c2424">PLAYER_HUMAN</a></div><div class="ttdeci">#define PLAYER_HUMAN</div><div class="ttdef"><b>Definition</b> defines.h:105</div></div>
|
||||
<div class="ttc" id="aexternal_8c_html_a2be9efc97a92e19d02aaee90d676acc1"><div class="ttname"><a href="external_8c.html#a2be9efc97a92e19d02aaee90d676acc1">func_800C9060</a></div><div class="ttdeci">void func_800C9060(u8 playerId, u32 soundBits)</div><div class="ttdef"><b>Definition</b> external.c:2922</div></div>
|
||||
<div class="ttc" id="afake__item__box_2update_8inc_8c_html_ad21c35b35099a45f58d3c9d3a470f6b7"><div class="ttname"><a href="fake__item__box_2update_8inc_8c.html#ad21c35b35099a45f58d3c9d3a470f6b7">update_actor_fake_item_box</a></div><div class="ttdeci">void update_actor_fake_item_box(struct FakeItemBox *fake_item_box)</div><div class="ttdoc">Updates the fake item box actor.</div><div class="ttdef"><b>Definition</b> update.inc.c:9</div></div>
|
||||
|
||||
@@ -170,7 +170,7 @@ $(function(){initNavTree('falling__rock_2update_8inc_8c_source.html',''); initRe
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="keywordflow">if</span> (rock-><a class="code hl_variable" href="structFallingRock.html#a9132acc2c2159d25dd0d752e4fa5f199">pos</a>[1] < <a class="code hl_variable" href="code__800029B0_8c.html#a36b78bd4d782660db58c8eac21caf0d4">D_8015F8E4</a>) {</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <a class="code hl_function" href="falling__rock_2update_8inc_8c.html#a9a8171deacccacba26f4fda3f2aec227">func_8029CF0C</a>(<a class="code hl_variable" href="choco__mountain_2course__data_8c.html#aa11fa2bfac1fff16f610d7ba0ea0c319">d_course_choco_mountain_falling_rock_spawns</a>, rock);</div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> }</div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> rock-><a class="code hl_variable" href="structFallingRock.html#a4e01cc977edd28d2b84aecb215980491">rot</a>[0] += (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) ((rock-><a class="code hl_variable" href="structFallingRock.html#aaf8234241e92e7c55ad1a574d5e2fafc">velocity</a>[2] * 5461.0f) / 20.0f);</div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> rock-><a class="code hl_variable" href="structFallingRock.html#a4e01cc977edd28d2b84aecb215980491">rot</a>[0] += (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) ((rock-><a class="code hl_variable" href="structFallingRock.html#aaf8234241e92e7c55ad1a574d5e2fafc">velocity</a>[2] * 5461.0f) / 20.0f); <span class="comment">// DEGREES(30) is 5460</span></div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> rock-><a class="code hl_variable" href="structFallingRock.html#a4e01cc977edd28d2b84aecb215980491">rot</a>[2] += (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) ((rock-><a class="code hl_variable" href="structFallingRock.html#aaf8234241e92e7c55ad1a574d5e2fafc">velocity</a>[0] * 5461.0f) / 20.0f);</div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> rock-><a class="code hl_variable" href="structFallingRock.html#aaf8234241e92e7c55ad1a574d5e2fafc">velocity</a>[1] -= 0.1;</div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <span class="keywordflow">if</span> (rock-><a class="code hl_variable" href="structFallingRock.html#aaf8234241e92e7c55ad1a574d5e2fafc">velocity</a>[1] < (-2.0f)) {</div>
|
||||
|
||||
+1
-1
@@ -8736,7 +8736,7 @@ $(function(){initNavTree('globals_d.html',''); initResizable(true); });
|
||||
<li>DEFAULT_LEN_1CH : <a class="el" href="synthesis_8h.html#a595997d04904dfb0bf3bcef45336e373">synthesis.h</a></li>
|
||||
<li>DEFAULT_LEN_2CH : <a class="el" href="synthesis_8h.html#af8e8ccd276f35d9a4cee4a4a3d624373">synthesis.h</a></li>
|
||||
<li>defaultCharacterIds : <a class="el" href="code__80281780_8c.html#ad88934a4bcda92e222b2a466e1e26c12">code_80281780.c</a>, <a class="el" href="code__80281780_8h.html#ad88934a4bcda92e222b2a466e1e26c12">code_80281780.h</a></li>
|
||||
<li>DEGREES_CONVERSION_FACTOR : <a class="el" href="defines_8h.html#a5fe5c9e278625a540997d87c80f22208">defines.h</a></li>
|
||||
<li>DEGREES : <a class="el" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">defines.h</a></li>
|
||||
<li>delete_actor_in_unexpired_actor_list() : <a class="el" href="cpu__vehicles__camera__path_8h.html#a6cc38ffe3621fcb43db305340f3ab4c9">cpu_vehicles_camera_path.h</a>, <a class="el" href="actor__utils_8inc_8c.html#ad301b978cdd3c4cc190b10be050d51d8">actor_utils.inc.c</a></li>
|
||||
<li>delete_object() : <a class="el" href="update__objects_8c.html#a93e8c6d4dd528426ac3f3d7da2e063f6">update_objects.c</a></li>
|
||||
<li>delete_object_wrapper() : <a class="el" href="update__objects_8c.html#ae781b7bfb9e837c1ed2d10a9b3b089b3">update_objects.c</a></li>
|
||||
|
||||
+1
-1
@@ -172,7 +172,7 @@ $(function(){initNavTree('globals_defs_d.html',''); initResizable(true); });
|
||||
<li>DECLARE_KART_TUMBLE_TABLE : <a class="el" href="kart__dma_8c.html#a9ce3390a2f0fbde77667e9ae510e9844">kart_dma.c</a></li>
|
||||
<li>DEFAULT_LEN_1CH : <a class="el" href="synthesis_8h.html#a595997d04904dfb0bf3bcef45336e373">synthesis.h</a></li>
|
||||
<li>DEFAULT_LEN_2CH : <a class="el" href="synthesis_8h.html#af8e8ccd276f35d9a4cee4a4a3d624373">synthesis.h</a></li>
|
||||
<li>DEGREES_CONVERSION_FACTOR : <a class="el" href="defines_8h.html#a5fe5c9e278625a540997d87c80f22208">defines.h</a></li>
|
||||
<li>DEGREES : <a class="el" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">defines.h</a></li>
|
||||
<li>DELETED_OBJECT_ID : <a class="el" href="objects_8h.html#a5da8f460a22c441fb5bb00bd5b3bac2a">objects.h</a></li>
|
||||
<li>DEMO_FIVE : <a class="el" href="defines_8h.html#a4d0cd80c1d8a9c1b8668c6bd4f8509de">defines.h</a></li>
|
||||
<li>DEMO_FOUR : <a class="el" href="defines_8h.html#a718455dd2e94947933201e3718c5d87e">defines.h</a></li>
|
||||
|
||||
@@ -141,7 +141,7 @@ $(function(){initNavTree('green__shell_2update_8inc_8c_source.html',''); initRes
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> (y < <a class="code hl_variable" href="code__800029B0_8c.html#aa2ee5042f4e7ac743d8b4d48e4e30db8">gCourseMinY</a>)) {</div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</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="l00037" name="l00037"></a><span class="lineno"> 37</span> }</div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> shell-><a class="code hl_variable" href="structShellActor.html#a1ca761f0cac83459e16cbc22002b4569">rotVelocity</a> += 0x71C;</div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> shell-><a class="code hl_variable" href="structShellActor.html#a1ca761f0cac83459e16cbc22002b4569">rotVelocity</a> += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(10);</div>
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keywordflow">switch</span> (shell-><a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a>) {</div>
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba514b7d298fa86789854ef2056f82f7fd">HELD_SHELL</a>:</div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> player = &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-><a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>];</div>
|
||||
@@ -185,124 +185,125 @@ $(function(){initNavTree('green__shell_2update_8inc_8c_source.html',''); initRes
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> shell-><a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = 1;</div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <span class="keywordflow">if</span> (player-><a class="code hl_variable" href="structPlayer.html#a0dae7ee727c1fd1f3d07b2b7231e85cf">unk_0C0</a> > 0) {</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> = 0x78E3;</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> = <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(170);</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> = -0x78E4;</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> }</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> }</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> }</div>
|
||||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> }</div>
|
||||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</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="l00091" name="l00091"></a><span class="lineno"> 91</span> player = &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-><a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>];</div>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> > 0) {</div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> -= 0xE38;</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> < 0) {</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> shell-><a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = 2;</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> shell-><a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> = 0x001E;</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <a class="code hl_function" href="external_8c.html#a2be9efc97a92e19d02aaee90d676acc1">func_800C9060</a>(shell-><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="l00098" name="l00098"></a><span class="lineno"> 98</span> <a class="code hl_function" href="external_8c.html#a337fc3ab94ebb3293a85908229303ac8">func_800C90F4</a>(shell-><a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>,</div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> (player-><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="l00100" name="l00100"></a><span class="lineno"> 100</span> <a class="code hl_function" href="cpu__vehicles__camera__path_8h.html#a9ced11f66f551d339e7b48c98cadb92f">add_green_shell_in_unexpired_actor_list</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell - <a class="code hl_variable" href="code__800029B0_8c.html#a37d0e0553a4cd552f52174f4b33b798d">gActorList</a>);</div>
|
||||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> }</div>
|
||||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> += 0xE38;</div>
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> > 0) {</div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> shell-><a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = 2;</div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> shell-><a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> = 0x001E;</div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <a class="code hl_function" href="external_8c.html#a2be9efc97a92e19d02aaee90d676acc1">func_800C9060</a>(shell-><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="l00108" name="l00108"></a><span class="lineno"> 108</span> <a class="code hl_function" href="external_8c.html#a337fc3ab94ebb3293a85908229303ac8">func_800C90F4</a>(shell-><a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>,</div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> (player-><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="l00110" name="l00110"></a><span class="lineno"> 110</span> <a class="code hl_function" href="cpu__vehicles__camera__path_8h.html#a9ced11f66f551d339e7b48c98cadb92f">add_green_shell_in_unexpired_actor_list</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell - <a class="code hl_variable" href="code__800029B0_8c.html#a37d0e0553a4cd552f52174f4b33b798d">gActorList</a>);</div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> }</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> }</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> == 2) {</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> var_f2 = 8.0f;</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <span class="keywordflow">if</span> (player-><a class="code hl_variable" href="structPlayer.html#a1eb7b22cb98924aa32fa909b969dee34">speed</a> > 8.0f) {</div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> var_f2 = player-><a class="code hl_variable" href="structPlayer.html#a1eb7b22cb98924aa32fa909b969dee34">speed</a> * 1.2f;</div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> }</div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> somePosVel[0] = 0.0f;</div>
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> somePosVel[1] = 0.0f;</div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> somePosVel[2] = var_f2;</div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <a class="code hl_function" href="math__util_8c.html#aaf8278d014b133b37e18b614a9f66647">vec3f_rotate_y</a>(somePosVel, player-><a class="code hl_variable" href="structPlayer.html#a4fafb84477d127ff2a1b74331c904f3f">rotation</a>[1] + player-><a class="code hl_variable" href="structPlayer.html#a0dae7ee727c1fd1f3d07b2b7231e85cf">unk_0C0</a>);</div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[0] = somePosVel[0];</div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] = somePosVel[1];</div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[2] = somePosVel[2];</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> somePosVel[0] = <a class="code hl_function" href="math__util_8c.html#adcf81d47666b5d86c4a1dbcb06e47faf">sins</a>(shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a>) * 6.0f;</div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> somePosVel[1] = shell-><a class="code hl_variable" href="structShellActor.html#a610da60b5b38774fba6b6bb3076fd007">boundingBoxSize</a> - player-><a class="code hl_variable" href="structPlayer.html#a681f0fac4abe58cf5919dd4c6ac503d0">boundingBoxSize</a>;</div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> somePosVel[2] = <a class="code hl_function" href="math__util_8c.html#a5eb0d9752bc1557b7f4ae3809352a0eb">coss</a>(shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a>) * 6.0f;</div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <a class="code hl_function" href="math__util_8c.html#a2af320f247ee4c117aff9eff1b920da3">mtxf_transform_vec3f_mat3</a>(somePosVel, player-><a class="code hl_variable" href="structPlayer.html#a28df2c989598022073df6fc2425cbefe">orientationMatrix</a>);</div>
|
||||
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0] + somePosVel[0];</div>
|
||||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[1] + somePosVel[1];</div>
|
||||
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[2] + somePosVel[2];</div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> }</div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</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="l00136" name="l00136"></a><span class="lineno"> 136</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#ac40ddee32f5d1a093578e3f23ed76e0b">parentIndex</a> > 0) {</div>
|
||||
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> shell-><a class="code hl_variable" href="structShellActor.html#ac40ddee32f5d1a093578e3f23ed76e0b">parentIndex</a> -= 1;</div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#ac40ddee32f5d1a093578e3f23ed76e0b">parentIndex</a> == 0) {</div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> shell-><a class="code hl_variable" href="structShellActor.html#a5368cbbb7b090d3f5abb520ca3ab9bf6">flags</a> &= ~0x1000;</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> }</div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> }</div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] -= 0.5f;</div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] < -2.0f) {</div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] = -2.0f;</div>
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> }</div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> somePos2[0] = shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0];</div>
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> somePos2[1] = shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1];</div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> somePos2[2] = shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2];</div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0] += shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[0];</div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1] += shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1];</div>
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2] += shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[2];</div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <a class="code hl_function" href="collision_8c.html#a79293dbdae52d290fdaf8dde9d5244ca">actor_terrain_collision</a>(&shell-><a class="code hl_variable" href="structShellActor.html#acf7c6324c79136005a8a16b0280862d4">unk30</a>, 4.0f, shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0], shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1], shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2], somePos2[0],</div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> somePos2[1], somePos2[2]);</div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</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="l00155" name="l00155"></a><span class="lineno"> 155</span> <span class="keywordflow">if</span> ((shell-><a class="code hl_variable" href="structActor.html#acd34f66c2555a2b2dba239da10475057">unk30</a>.<a class="code hl_variable" href="structCollision.html#a1f4571abf7b64d0f1e2ee7cf70b63079">surfaceDistance</a>[0] < 0.0f) || (shell-><a class="code hl_variable" href="structActor.html#acd34f66c2555a2b2dba239da10475057">unk30</a>.<a class="code hl_variable" href="structCollision.html#a1f4571abf7b64d0f1e2ee7cf70b63079">surfaceDistance</a>[1] < 0.0f)) {</div>
|
||||
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> <a class="code hl_function" href="collision_8c.html#a24c9df6b00fc739e341b6f28b06396e4">shell_collision</a>(&shell-><a class="code hl_variable" href="structActor.html#acd34f66c2555a2b2dba239da10475057">unk30</a>, shell-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>);</div>
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <a class="code hl_function" href="external_8c.html#acb60983213d09ee795e80ca3c8b5975e">func_800C98B8</a>(shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>, shell-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>, <a class="code hl_define" href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a>(0x19, 0x00, 0x80, 0x54));</div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> shell-><a class="code hl_variable" href="structActor.html#af49bb0c1202a06dc594529a2e77249c6">flags</a> |= 0x80;</div>
|
||||
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> }</div>
|
||||
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</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="l00162" name="l00162"></a><span class="lineno"> 162</span> player = &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell->playerId];</div>
|
||||
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> parent = (<a class="code hl_struct" href="structTripleShellParent.html">TripleShellParent</a>*) &<a class="code hl_variable" href="code__800029B0_8c.html#a37d0e0553a4cd552f52174f4b33b798d">gActorList</a>[shell->parentIndex];</div>
|
||||
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <span class="keywordflow">if</span> (parent-><a class="code hl_variable" href="structTripleShellParent.html#a4fcf64256c3c06258809ee9a0871f6b6">type</a> != <a class="code hl_enumvalue" href="actor__types_8h.html#a06ad3f803827afd107e7682c8c22d990ad997bebb06b8cc8d826960f077cbef2f">ACTOR_TRIPLE_GREEN_SHELL</a>) {</div>
|
||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</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="l00166" name="l00166"></a><span class="lineno"> 166</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> shell->rotAngle += parent-><a class="code hl_variable" href="structTripleShellParent.html#a31471d3847195ba9618a684764b96043">rotVelocity</a>;</div>
|
||||
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> somePosVel[0] = <a class="code hl_function" href="math__util_8c.html#adcf81d47666b5d86c4a1dbcb06e47faf">sins</a>(shell->rotAngle) * 8.0f;</div>
|
||||
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> somePosVel[1] = shell-><a class="code hl_variable" href="structActor.html#afa5dea9480abaa994c912de779986ef9">boundingBoxSize</a> - player-><a class="code hl_variable" href="structPlayer.html#a681f0fac4abe58cf5919dd4c6ac503d0">boundingBoxSize</a>;</div>
|
||||
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> somePosVel[2] = <a class="code hl_function" href="math__util_8c.html#a5eb0d9752bc1557b7f4ae3809352a0eb">coss</a>(shell->rotAngle) * 8.0f;</div>
|
||||
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> <a class="code hl_function" href="math__util_8c.html#a2af320f247ee4c117aff9eff1b920da3">mtxf_transform_vec3f_mat3</a>(somePosVel, player-><a class="code hl_variable" href="structPlayer.html#a28df2c989598022073df6fc2425cbefe">orientationMatrix</a>);</div>
|
||||
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> somePos2[0] = shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0];</div>
|
||||
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> somePos2[1] = shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1];</div>
|
||||
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> somePos2[2] = shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2];</div>
|
||||
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0] + somePosVel[0];</div>
|
||||
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[1] + somePosVel[1];</div>
|
||||
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[2] + somePosVel[2];</div>
|
||||
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> <a class="code hl_function" href="collision_8c.html#a79293dbdae52d290fdaf8dde9d5244ca">actor_terrain_collision</a>(&shell-><a class="code hl_variable" href="structActor.html#acd34f66c2555a2b2dba239da10475057">unk30</a>, 4.0f, shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0], shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1], shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2], somePos2[0],</div>
|
||||
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> somePos2[1], somePos2[2]);</div>
|
||||
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</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="l00181" name="l00181"></a><span class="lineno"> 181</span> }</div>
|
||||
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</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="l00184" name="l00184"></a><span class="lineno"> 184</span> <span class="comment">// Somehow, this fake match affects stack management up in case 2</span></div>
|
||||
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> shell-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] -= (0, 0.3f);</div>
|
||||
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] < -5.0f) {</div>
|
||||
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> shell-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] = -5.0f;</div>
|
||||
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> }</div>
|
||||
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> shell->rotAngle += 0x5B0;</div>
|
||||
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> shell->someTimer -= 1;</div>
|
||||
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1] += shell-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1];</div>
|
||||
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> <span class="keywordflow">if</span> (shell->someTimer == 0) {</div>
|
||||
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</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="l00194" name="l00194"></a><span class="lineno"> 194</span> }</div>
|
||||
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> <span class="keywordflow">default</span>:</div>
|
||||
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> }</div>
|
||||
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span>}</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="comment">// The minus 1 is almost certainly just due to rounding the other way</span></div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> = -<a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(170) - 1;</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> }</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> }</div>
|
||||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> }</div>
|
||||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> }</div>
|
||||
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</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="l00092" name="l00092"></a><span class="lineno"> 92</span> player = &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell-><a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>];</div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> > 0) {</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(20);</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> < 0) {</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> shell-><a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = 2;</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> shell-><a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> = 0x001E;</div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <a class="code hl_function" href="external_8c.html#a2be9efc97a92e19d02aaee90d676acc1">func_800C9060</a>(shell-><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="l00099" name="l00099"></a><span class="lineno"> 99</span> <a class="code hl_function" href="external_8c.html#a337fc3ab94ebb3293a85908229303ac8">func_800C90F4</a>(shell-><a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>,</div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> (player-><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="l00101" name="l00101"></a><span class="lineno"> 101</span> <a class="code hl_function" href="cpu__vehicles__camera__path_8h.html#a9ced11f66f551d339e7b48c98cadb92f">add_green_shell_in_unexpired_actor_list</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell - <a class="code hl_variable" href="code__800029B0_8c.html#a37d0e0553a4cd552f52174f4b33b798d">gActorList</a>);</div>
|
||||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> }</div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(20);</div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a> > 0) {</div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> shell-><a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> = 2;</div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> shell-><a class="code hl_variable" href="structShellActor.html#adaca452aa94770d8d57f99cc1f3b7151">someTimer</a> = 0x001E;</div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <a class="code hl_function" href="external_8c.html#a2be9efc97a92e19d02aaee90d676acc1">func_800C9060</a>(shell-><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="l00109" name="l00109"></a><span class="lineno"> 109</span> <a class="code hl_function" href="external_8c.html#a337fc3ab94ebb3293a85908229303ac8">func_800C90F4</a>(shell-><a class="code hl_variable" href="structShellActor.html#a77c5d4878d9a0867430326a1d63491dc">playerId</a>,</div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> (player-><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="l00111" name="l00111"></a><span class="lineno"> 111</span> <a class="code hl_function" href="cpu__vehicles__camera__path_8h.html#a9ced11f66f551d339e7b48c98cadb92f">add_green_shell_in_unexpired_actor_list</a>((<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>*) shell - <a class="code hl_variable" href="code__800029B0_8c.html#a37d0e0553a4cd552f52174f4b33b798d">gActorList</a>);</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> }</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> }</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#a62b51240387f83c669e3e279aaecbed8">state</a> == 2) {</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> var_f2 = 8.0f;</div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> <span class="keywordflow">if</span> (player-><a class="code hl_variable" href="structPlayer.html#a1eb7b22cb98924aa32fa909b969dee34">speed</a> > 8.0f) {</div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> var_f2 = player-><a class="code hl_variable" href="structPlayer.html#a1eb7b22cb98924aa32fa909b969dee34">speed</a> * 1.2f;</div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> }</div>
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> somePosVel[0] = 0.0f;</div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> somePosVel[1] = 0.0f;</div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> somePosVel[2] = var_f2;</div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <a class="code hl_function" href="math__util_8c.html#aaf8278d014b133b37e18b614a9f66647">vec3f_rotate_y</a>(somePosVel, player-><a class="code hl_variable" href="structPlayer.html#a4fafb84477d127ff2a1b74331c904f3f">rotation</a>[1] + player-><a class="code hl_variable" href="structPlayer.html#a0dae7ee727c1fd1f3d07b2b7231e85cf">unk_0C0</a>);</div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[0] = somePosVel[0];</div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] = somePosVel[1];</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[2] = somePosVel[2];</div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> somePosVel[0] = <a class="code hl_function" href="math__util_8c.html#adcf81d47666b5d86c4a1dbcb06e47faf">sins</a>(shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a>) * 6.0f;</div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> somePosVel[1] = shell-><a class="code hl_variable" href="structShellActor.html#a610da60b5b38774fba6b6bb3076fd007">boundingBoxSize</a> - player-><a class="code hl_variable" href="structPlayer.html#a681f0fac4abe58cf5919dd4c6ac503d0">boundingBoxSize</a>;</div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> somePosVel[2] = <a class="code hl_function" href="math__util_8c.html#a5eb0d9752bc1557b7f4ae3809352a0eb">coss</a>(shell-><a class="code hl_variable" href="structShellActor.html#a10e3cd03ca10c5502ebe7af20829a565">rotAngle</a>) * 6.0f;</div>
|
||||
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> <a class="code hl_function" href="math__util_8c.html#a2af320f247ee4c117aff9eff1b920da3">mtxf_transform_vec3f_mat3</a>(somePosVel, player-><a class="code hl_variable" href="structPlayer.html#a28df2c989598022073df6fc2425cbefe">orientationMatrix</a>);</div>
|
||||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0] + somePosVel[0];</div>
|
||||
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[1] + somePosVel[1];</div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[2] + somePosVel[2];</div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> }</div>
|
||||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</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="l00137" name="l00137"></a><span class="lineno"> 137</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#ac40ddee32f5d1a093578e3f23ed76e0b">parentIndex</a> > 0) {</div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> shell-><a class="code hl_variable" href="structShellActor.html#ac40ddee32f5d1a093578e3f23ed76e0b">parentIndex</a> -= 1;</div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#ac40ddee32f5d1a093578e3f23ed76e0b">parentIndex</a> == 0) {</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> shell-><a class="code hl_variable" href="structShellActor.html#a5368cbbb7b090d3f5abb520ca3ab9bf6">flags</a> &= ~0x1000;</div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> }</div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> }</div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] -= 0.5f;</div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] < -2.0f) {</div>
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1] = -2.0f;</div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> }</div>
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> somePos2[0] = shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0];</div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> somePos2[1] = shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1];</div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> somePos2[2] = shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2];</div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0] += shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[0];</div>
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1] += shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[1];</div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2] += shell-><a class="code hl_variable" href="structShellActor.html#a89a884c6ba2b5b022b7dcb5e74d50910">velocity</a>[2];</div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <a class="code hl_function" href="collision_8c.html#a79293dbdae52d290fdaf8dde9d5244ca">actor_terrain_collision</a>(&shell-><a class="code hl_variable" href="structShellActor.html#acf7c6324c79136005a8a16b0280862d4">unk30</a>, 4.0f, shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[0], shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[1], shell-><a class="code hl_variable" href="structShellActor.html#acd41b01d05450b6a241a81907bb4fbb8">pos</a>[2], somePos2[0],</div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> somePos2[1], somePos2[2]);</div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</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="l00156" name="l00156"></a><span class="lineno"> 156</span> <span class="keywordflow">if</span> ((shell-><a class="code hl_variable" href="structActor.html#acd34f66c2555a2b2dba239da10475057">unk30</a>.<a class="code hl_variable" href="structCollision.html#a1f4571abf7b64d0f1e2ee7cf70b63079">surfaceDistance</a>[0] < 0.0f) || (shell-><a class="code hl_variable" href="structActor.html#acd34f66c2555a2b2dba239da10475057">unk30</a>.<a class="code hl_variable" href="structCollision.html#a1f4571abf7b64d0f1e2ee7cf70b63079">surfaceDistance</a>[1] < 0.0f)) {</div>
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <a class="code hl_function" href="collision_8c.html#a24c9df6b00fc739e341b6f28b06396e4">shell_collision</a>(&shell-><a class="code hl_variable" href="structActor.html#acd34f66c2555a2b2dba239da10475057">unk30</a>, shell-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>);</div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <a class="code hl_function" href="external_8c.html#acb60983213d09ee795e80ca3c8b5975e">func_800C98B8</a>(shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>, shell-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>, <a class="code hl_define" href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a>(0x19, 0x00, 0x80, 0x54));</div>
|
||||
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> shell-><a class="code hl_variable" href="structActor.html#af49bb0c1202a06dc594529a2e77249c6">flags</a> |= 0x80;</div>
|
||||
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> }</div>
|
||||
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</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="l00163" name="l00163"></a><span class="lineno"> 163</span> player = &<a class="code hl_variable" href="main_8c.html#a5f24aafa500466dbf1a7154ff7041fc2">gPlayers</a>[shell->playerId];</div>
|
||||
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> parent = (<a class="code hl_struct" href="structTripleShellParent.html">TripleShellParent</a>*) &<a class="code hl_variable" href="code__800029B0_8c.html#a37d0e0553a4cd552f52174f4b33b798d">gActorList</a>[shell->parentIndex];</div>
|
||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> <span class="keywordflow">if</span> (parent-><a class="code hl_variable" href="structTripleShellParent.html#a4fcf64256c3c06258809ee9a0871f6b6">type</a> != <a class="code hl_enumvalue" href="actor__types_8h.html#a06ad3f803827afd107e7682c8c22d990ad997bebb06b8cc8d826960f077cbef2f">ACTOR_TRIPLE_GREEN_SHELL</a>) {</div>
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</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="l00167" name="l00167"></a><span class="lineno"> 167</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> shell->rotAngle += parent-><a class="code hl_variable" href="structTripleShellParent.html#a31471d3847195ba9618a684764b96043">rotVelocity</a>;</div>
|
||||
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> somePosVel[0] = <a class="code hl_function" href="math__util_8c.html#adcf81d47666b5d86c4a1dbcb06e47faf">sins</a>(shell->rotAngle) * 8.0f;</div>
|
||||
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> somePosVel[1] = shell-><a class="code hl_variable" href="structActor.html#afa5dea9480abaa994c912de779986ef9">boundingBoxSize</a> - player-><a class="code hl_variable" href="structPlayer.html#a681f0fac4abe58cf5919dd4c6ac503d0">boundingBoxSize</a>;</div>
|
||||
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> somePosVel[2] = <a class="code hl_function" href="math__util_8c.html#a5eb0d9752bc1557b7f4ae3809352a0eb">coss</a>(shell->rotAngle) * 8.0f;</div>
|
||||
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> <a class="code hl_function" href="math__util_8c.html#a2af320f247ee4c117aff9eff1b920da3">mtxf_transform_vec3f_mat3</a>(somePosVel, player-><a class="code hl_variable" href="structPlayer.html#a28df2c989598022073df6fc2425cbefe">orientationMatrix</a>);</div>
|
||||
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> somePos2[0] = shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0];</div>
|
||||
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> somePos2[1] = shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1];</div>
|
||||
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> somePos2[2] = shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2];</div>
|
||||
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[0] + somePosVel[0];</div>
|
||||
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[1] + somePosVel[1];</div>
|
||||
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2] = player-><a class="code hl_variable" href="structPlayer.html#aff7447121b2e0bd051e58a276fce7b36">pos</a>[2] + somePosVel[2];</div>
|
||||
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> <a class="code hl_function" href="collision_8c.html#a79293dbdae52d290fdaf8dde9d5244ca">actor_terrain_collision</a>(&shell-><a class="code hl_variable" href="structActor.html#acd34f66c2555a2b2dba239da10475057">unk30</a>, 4.0f, shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[0], shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1], shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[2], somePos2[0],</div>
|
||||
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> somePos2[1], somePos2[2]);</div>
|
||||
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</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="l00182" name="l00182"></a><span class="lineno"> 182</span> }</div>
|
||||
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</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="l00185" name="l00185"></a><span class="lineno"> 185</span> <span class="comment">// Somehow, this fake match affects stack management up in case 2</span></div>
|
||||
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> shell-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] -= (0, 0.3f);</div>
|
||||
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <span class="keywordflow">if</span> (shell-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] < -5.0f) {</div>
|
||||
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> shell-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1] = -5.0f;</div>
|
||||
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> }</div>
|
||||
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> shell->rotAngle += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(8);</div>
|
||||
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> shell->someTimer -= 1;</div>
|
||||
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> shell-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1] += shell-><a class="code hl_variable" href="structActor.html#abb823b9528b91c1bc292f8729803785a">velocity</a>[1];</div>
|
||||
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> <span class="keywordflow">if</span> (shell->someTimer == 0) {</div>
|
||||
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</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="l00195" name="l00195"></a><span class="lineno"> 195</span> }</div>
|
||||
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> <span class="keywordflow">default</span>:</div>
|
||||
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> }</div>
|
||||
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span>}</div>
|
||||
</div>
|
||||
<div class="ttc" id="aactor__types_8h_html_a06ad3f803827afd107e7682c8c22d990ad997bebb06b8cc8d826960f077cbef2f"><div class="ttname"><a href="actor__types_8h.html#a06ad3f803827afd107e7682c8c22d990ad997bebb06b8cc8d826960f077cbef2f">ACTOR_TRIPLE_GREEN_SHELL</a></div><div class="ttdeci">@ ACTOR_TRIPLE_GREEN_SHELL</div><div class="ttdef"><b>Definition</b> actor_types.h:59</div></div>
|
||||
<div class="ttc" id="aactor__types_8h_html_ac01c8e97d91d8f2968ca1f8d4eb0495ba453f34a714854991280e3f087d9715af"><div class="ttname"><a href="actor__types_8h.html#ac01c8e97d91d8f2968ca1f8d4eb0495ba453f34a714854991280e3f087d9715af">MOVING_SHELL</a></div><div class="ttdeci">@ MOVING_SHELL</div><div class="ttdef"><b>Definition</b> actor_types.h:95</div></div>
|
||||
@@ -314,7 +315,7 @@ $(function(){initNavTree('green__shell_2update_8inc_8c_source.html',''); initRes
|
||||
<div class="ttc" id="aactors_8c_html_a694ec6ef7548b8618aeb35c038d3a9b9"><div class="ttname"><a href="actors_8c.html#a694ec6ef7548b8618aeb35c038d3a9b9">destroy_actor</a></div><div class="ttdeci">void destroy_actor(struct Actor *actor)</div><div class="ttdef"><b>Definition</b> actors.c:1321</div></div>
|
||||
<div class="ttc" id="aactors_8h_html"><div class="ttname"><a href="actors_8h.html">actors.h</a></div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a407d30d307b990cf22e979f7180477e5"><div class="ttname"><a href="actors__extended_8c.html#a407d30d307b990cf22e979f7180477e5">copy_collision</a></div><div class="ttdeci">void copy_collision(Collision *src, Collision *dest)</div><div class="ttdef"><b>Definition</b> actors_extended.c:19</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a78e98c146f1f4dd6e3608016486172a4"><div class="ttname"><a href="actors__extended_8c.html#a78e98c146f1f4dd6e3608016486172a4">func_802B4E30</a></div><div class="ttdeci">void func_802B4E30(struct Actor *arg0)</div><div class="ttdef"><b>Definition</b> actors_extended.c:972</div></div>
|
||||
<div class="ttc" id="aactors__extended_8c_html_a78e98c146f1f4dd6e3608016486172a4"><div class="ttname"><a href="actors__extended_8c.html#a78e98c146f1f4dd6e3608016486172a4">func_802B4E30</a></div><div class="ttdeci">void func_802B4E30(struct Actor *arg0)</div><div class="ttdef"><b>Definition</b> actors_extended.c:973</div></div>
|
||||
<div class="ttc" id="acode__800029B0_8c_html_a161879cca91eaae1535e6640e78d0ce9"><div class="ttname"><a href="code__800029B0_8c.html#a161879cca91eaae1535e6640e78d0ce9">gCourseMinZ</a></div><div class="ttdeci">s16 gCourseMinZ</div><div class="ttdef"><b>Definition</b> code_800029B0.c:95</div></div>
|
||||
<div class="ttc" id="acode__800029B0_8c_html_a1b0406ea3ec906cf85496afbfe00e23e"><div class="ttname"><a href="code__800029B0_8c.html#a1b0406ea3ec906cf85496afbfe00e23e">gCourseMaxZ</a></div><div class="ttdeci">s16 gCourseMaxZ</div><div class="ttdef"><b>Definition</b> code_800029B0.c:94</div></div>
|
||||
<div class="ttc" id="acode__800029B0_8c_html_a2b6aea08cfc79f5869a84f0075561043"><div class="ttname"><a href="code__800029B0_8c.html#a2b6aea08cfc79f5869a84f0075561043">gCourseMinX</a></div><div class="ttdeci">s16 gCourseMinX</div><div class="ttdef"><b>Definition</b> code_800029B0.c:89</div></div>
|
||||
@@ -329,6 +330,7 @@ $(function(){initNavTree('green__shell_2update_8inc_8c_source.html',''); initRes
|
||||
<div class="ttc" id="acommon__structs_8h_html_a5290523279339ea495248ab3a36cb46e"><div class="ttname"><a href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a></div><div class="ttdeci">f32 Vec3f[3]</div><div class="ttdef"><b>Definition</b> common_structs.h:6</div></div>
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8h_html_a9ced11f66f551d339e7b48c98cadb92f"><div class="ttname"><a href="cpu__vehicles__camera__path_8h.html#a9ced11f66f551d339e7b48c98cadb92f">add_green_shell_in_unexpired_actor_list</a></div><div class="ttdeci">s32 add_green_shell_in_unexpired_actor_list(s32)</div><div class="ttdef"><b>Definition</b> actor_utils.inc.c:30</div></div>
|
||||
<div class="ttc" id="adefines_8h_html"><div class="ttname"><a href="defines_8h.html">defines.h</a></div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a29a687ccf66fa4e1e852ecfaca24a63b"><div class="ttname"><a href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a></div><div class="ttdeci">#define DEGREES(degree)</div><div class="ttdef"><b>Definition</b> defines.h:347</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab30d6efeb8601088397fff50c25c2424"><div class="ttname"><a href="defines_8h.html#ab30d6efeb8601088397fff50c25c2424">PLAYER_HUMAN</a></div><div class="ttdeci">#define PLAYER_HUMAN</div><div class="ttdef"><b>Definition</b> defines.h:105</div></div>
|
||||
<div class="ttc" id="aexternal_8c_html_a2be9efc97a92e19d02aaee90d676acc1"><div class="ttname"><a href="external_8c.html#a2be9efc97a92e19d02aaee90d676acc1">func_800C9060</a></div><div class="ttdeci">void func_800C9060(u8 playerId, u32 soundBits)</div><div class="ttdef"><b>Definition</b> external.c:2922</div></div>
|
||||
<div class="ttc" id="aexternal_8c_html_a337fc3ab94ebb3293a85908229303ac8"><div class="ttname"><a href="external_8c.html#a337fc3ab94ebb3293a85908229303ac8">func_800C90F4</a></div><div class="ttdeci">void func_800C90F4(u8 playerId, u32 soundBits)</div><div class="ttdef"><b>Definition</b> external.c:2935</div></div>
|
||||
|
||||
+1
-1
@@ -184,7 +184,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>Move gGfxPool out of <a class="el" href="main_8h.html">main.h</a> </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000037">Todo</a></b></dt><dd>Move gGfxPool out of <a class="el" href="main_8h.html">main.h</a> </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
|
||||
@@ -176,112 +176,113 @@ $(function(){initNavTree('item__box_2render_8inc_8c_source.html',''); initResiza
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> </div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> gSPClearGeometryMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#ace7a0e559b5d01f76f0481a2c23ba2e1">G_LIGHTING</a>);</div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> gDPSetCombineMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#ae4a9361eec8b90bd63962d8aed9d87b0">G_CC_MODULATEIA</a>, <a class="code hl_define" href="gbi_8h.html#ae4a9361eec8b90bd63962d8aed9d87b0">G_CC_MODULATEIA</a>);</div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <span class="keywordflow">if</span> ((item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] < 0xAA1) && (item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] > 0)) {</div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] >= 0x6AA5) && (item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] < 0x754E)) {</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] >= 0x38E1) && (item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] < 0x438A)) {</div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] >= 0xC711) && (item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] < 0xD1BA)) {</div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> gDPSetBlendMask(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, 0xFF);</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a3c459a4e5bf4dd4bd2eda0bf5a259537">G_RM_ZB_CLD_SURF</a>, <a class="code hl_define" href="gbi_8h.html#a2c6a4394801fed186134d0ce2e5d2540">G_RM_ZB_CLD_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> }</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> gSPSetGeometryMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a4852da1637d1a485912732ce54324d8e">G_SHADING_SMOOTH</a>);</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a0b5aeaeaa66e36a0ee643980e4573739">D_0D003090</a>);</div>
|
||||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> gSPClearGeometryMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#ace7a0e559b5d01f76f0481a2c23ba2e1">G_LIGHTING</a>);</div>
|
||||
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> gSPClearGeometryMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a1d9c1bb13064e0e1726ed802cfb2697a">G_CULL_BACK</a>);</div>
|
||||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> gDPSetBlendMask(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, 0xFF);</div>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> thing = item_box-><a class="code hl_variable" href="structItemBox.html#a0da3ae45931357d0c3e53712f842069d">someTimer</a>;</div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <a class="code hl_function" href="math__util_8c.html#a2579bc73da43221eb3b79821c7d59099">mtxf_rotate_zxy_translate</a>(someMatrix1, item_box-><a class="code hl_variable" href="structItemBox.html#a7a0945c90ee7304aa05729d0b59a4413">pos</a>, item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>);</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <span class="keywordflow">if</span> (thing < 10.0f) {</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> someMultiplier = 1.0f;</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> someMultiplier = 1.0f - ((thing - 10.0f) * 0.1f);</div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> }</div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <a class="code hl_function" href="math__util_8c.html#a2dc65f493d949462720d4a5ff509f25e">mtxf_scale</a>(someMatrix1, someMultiplier);</div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keywordflow">if</span> (item_box-><a class="code hl_variable" href="structItemBox.html#a0da3ae45931357d0c3e53712f842069d">someTimer</a> & 1) {</div>
|
||||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#ac72e82c8b09752df0ecb6c7ef16f6de4">G_RM_AA_ZB_XLU_INTER</a>, <a class="code hl_define" href="gbi_8h.html#a27262ffe4dcd32c858dcdcbac77a221f">G_RM_NOOP2</a>);</div>
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> }</div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> temp_f2 = 2.0f * thing;</div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> someVec1[0] = 0.0f;</div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> someVec1[1] = temp_f2;</div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> someVec1[2] = thing;</div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix1, someMatrix2, someVec1);</div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> </div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix2, 0)) {</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> }</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a8f97d1efdd71dddfe7b0f4cd706d7c04">D_0D003158</a>);</div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> temp_f2_2 = 0.8f * thing;</div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> temp_f12 = 0.5f * thing;</div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> someVec1[0] = temp_f2_2;</div>
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> someVec1[1] = 2.3f * thing;</div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> someVec1[2] = temp_f12;</div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix1, someMatrix2, someVec1);</div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> </div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix2, 0)) {</div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> }</div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> </div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#ab4f8b1718361ae420613d677f3ffd292">D_0D0031B8</a>);</div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> temp_f0_2 = -0.5f * thing;</div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> someVec1[0] = temp_f2_2;</div>
|
||||
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> someVec1[1] = 1.2f * thing;</div>
|
||||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> someVec1[2] = temp_f0_2;</div>
|
||||
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix1, someMatrix2, someVec1);</div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> </div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix2, 0)) {</div>
|
||||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> }</div>
|
||||
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> </div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a89b4424b3a16ef5a7edb07eed96d25c1">D_0D003128</a>);</div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="keywordflow">if</span> (!(item_box-><a class="code hl_variable" href="structItemBox.html#a0da3ae45931357d0c3e53712f842069d">someTimer</a> & 1)) {</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#ac72e82c8b09752df0ecb6c7ef16f6de4">G_RM_AA_ZB_XLU_INTER</a>, <a class="code hl_define" href="gbi_8h.html#a27262ffe4dcd32c858dcdcbac77a221f">G_RM_NOOP2</a>);</div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> }</div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> someVec1[0] = 0.0f;</div>
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> someVec1[1] = 1.8f * thing;</div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> someVec1[2] = -1.0f * thing;</div>
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix1, someMatrix2, someVec1);</div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> </div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix2, 0)) {</div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> }</div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> </div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a657613583cc3b8a7a7bb9e2d762ecc32">D_0D0031E8</a>);</div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> temp_f0_3 = -0.8f * thing;</div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> someVec1[0] = temp_f0_3;</div>
|
||||
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> someVec1[1] = 0.6f * thing;</div>
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> someVec1[2] = temp_f0_2;</div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix1, someMatrix2, someVec1);</div>
|
||||
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> </div>
|
||||
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix2, 0)) {</div>
|
||||
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> }</div>
|
||||
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> </div>
|
||||
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a5c49cadc53af9e157e9e03a53b93e9d7">D_0D003188</a>);</div>
|
||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> someVec1[0] = temp_f0_3;</div>
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> someVec1[1] = temp_f2;</div>
|
||||
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> someVec1[2] = temp_f12;</div>
|
||||
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix1, someMatrix2, someVec1);</div>
|
||||
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> </div>
|
||||
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix2, 0)) {</div>
|
||||
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> }</div>
|
||||
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> </div>
|
||||
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#af5ade14fff5b64c439d84c9922e908a9">D_0D0030F8</a>);</div>
|
||||
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> gSPSetGeometryMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a1d9c1bb13064e0e1726ed802cfb2697a">G_CULL_BACK</a>);</div>
|
||||
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> }</div>
|
||||
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> gSPTexture(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, 0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, <a class="code hl_define" href="mbi_8h.html#a3502935c4007f9c00550286d895ca296">G_ON</a>);</div>
|
||||
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> }</div>
|
||||
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span>}</div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <span class="comment">// unclear why it is 14.95 degrees instead of 15. Perhaps just a typo when entering the value as a s16.</span></div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> <span class="keywordflow">if</span> ((item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] < <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(14.95f)) && (item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] > 0)) {</div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] > (150 * <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1))) && (item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] < (165 * <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1)))) {</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] > (80 * <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1))) && (item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] < (95 * <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1)))) {</div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] > (280 * <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1))) && (item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] < (295 * <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1)))) {</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> gDPSetBlendMask(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, 0xFF);</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a3c459a4e5bf4dd4bd2eda0bf5a259537">G_RM_ZB_CLD_SURF</a>, <a class="code hl_define" href="gbi_8h.html#a2c6a4394801fed186134d0ce2e5d2540">G_RM_ZB_CLD_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> }</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> gSPSetGeometryMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a4852da1637d1a485912732ce54324d8e">G_SHADING_SMOOTH</a>);</div>
|
||||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a0b5aeaeaa66e36a0ee643980e4573739">D_0D003090</a>);</div>
|
||||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> gSPClearGeometryMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#ace7a0e559b5d01f76f0481a2c23ba2e1">G_LIGHTING</a>);</div>
|
||||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> gSPClearGeometryMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a1d9c1bb13064e0e1726ed802cfb2697a">G_CULL_BACK</a>);</div>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> gDPSetBlendMask(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, 0xFF);</div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> thing = item_box-><a class="code hl_variable" href="structItemBox.html#a0da3ae45931357d0c3e53712f842069d">someTimer</a>;</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <a class="code hl_function" href="math__util_8c.html#a2579bc73da43221eb3b79821c7d59099">mtxf_rotate_zxy_translate</a>(someMatrix1, item_box-><a class="code hl_variable" href="structItemBox.html#a7a0945c90ee7304aa05729d0b59a4413">pos</a>, item_box-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>);</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keywordflow">if</span> (thing < 10.0f) {</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> someMultiplier = 1.0f;</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> someMultiplier = 1.0f - ((thing - 10.0f) * 0.1f);</div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> }</div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <a class="code hl_function" href="math__util_8c.html#a2dc65f493d949462720d4a5ff509f25e">mtxf_scale</a>(someMatrix1, someMultiplier);</div>
|
||||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <span class="keywordflow">if</span> (item_box-><a class="code hl_variable" href="structItemBox.html#a0da3ae45931357d0c3e53712f842069d">someTimer</a> & 1) {</div>
|
||||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#ac72e82c8b09752df0ecb6c7ef16f6de4">G_RM_AA_ZB_XLU_INTER</a>, <a class="code hl_define" href="gbi_8h.html#a27262ffe4dcd32c858dcdcbac77a221f">G_RM_NOOP2</a>);</div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> }</div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> temp_f2 = 2.0f * thing;</div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> someVec1[0] = 0.0f;</div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> someVec1[1] = temp_f2;</div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> someVec1[2] = thing;</div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix1, someMatrix2, someVec1);</div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> </div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix2, 0)) {</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> }</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> </div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a8f97d1efdd71dddfe7b0f4cd706d7c04">D_0D003158</a>);</div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> temp_f2_2 = 0.8f * thing;</div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> temp_f12 = 0.5f * thing;</div>
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> someVec1[0] = temp_f2_2;</div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> someVec1[1] = 2.3f * thing;</div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> someVec1[2] = temp_f12;</div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix1, someMatrix2, someVec1);</div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> </div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix2, 0)) {</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> }</div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> </div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#ab4f8b1718361ae420613d677f3ffd292">D_0D0031B8</a>);</div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> temp_f0_2 = -0.5f * thing;</div>
|
||||
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> someVec1[0] = temp_f2_2;</div>
|
||||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> someVec1[1] = 1.2f * thing;</div>
|
||||
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> someVec1[2] = temp_f0_2;</div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix1, someMatrix2, someVec1);</div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> </div>
|
||||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix2, 0)) {</div>
|
||||
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> }</div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> </div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a89b4424b3a16ef5a7edb07eed96d25c1">D_0D003128</a>);</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keywordflow">if</span> (!(item_box-><a class="code hl_variable" href="structItemBox.html#a0da3ae45931357d0c3e53712f842069d">someTimer</a> & 1)) {</div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a96be6076a8e6bb27804f871a035d1210">G_RM_AA_ZB_OPA_SURF</a>, <a class="code hl_define" href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a>);</div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> gDPSetRenderMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#ac72e82c8b09752df0ecb6c7ef16f6de4">G_RM_AA_ZB_XLU_INTER</a>, <a class="code hl_define" href="gbi_8h.html#a27262ffe4dcd32c858dcdcbac77a221f">G_RM_NOOP2</a>);</div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> }</div>
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> someVec1[0] = 0.0f;</div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> someVec1[1] = 1.8f * thing;</div>
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> someVec1[2] = -1.0f * thing;</div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix1, someMatrix2, someVec1);</div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> </div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix2, 0)) {</div>
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> }</div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> </div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a657613583cc3b8a7a7bb9e2d762ecc32">D_0D0031E8</a>);</div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> temp_f0_3 = -0.8f * thing;</div>
|
||||
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> someVec1[0] = temp_f0_3;</div>
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> someVec1[1] = 0.6f * thing;</div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> someVec1[2] = temp_f0_2;</div>
|
||||
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix1, someMatrix2, someVec1);</div>
|
||||
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> </div>
|
||||
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix2, 0)) {</div>
|
||||
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> }</div>
|
||||
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> </div>
|
||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#a5c49cadc53af9e157e9e03a53b93e9d7">D_0D003188</a>);</div>
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> someVec1[0] = temp_f0_3;</div>
|
||||
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> someVec1[1] = temp_f2;</div>
|
||||
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> someVec1[2] = temp_f12;</div>
|
||||
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <a class="code hl_function" href="math__util_8c.html#a80398dfff8ba991831cee173713514f4">add_translate_mat4_vec3f</a>(someMatrix1, someMatrix2, someVec1);</div>
|
||||
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> </div>
|
||||
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="math__util_8c.html#a37b6e37ab5d04e0e2701015911b05296">render_set_position</a>(someMatrix2, 0)) {</div>
|
||||
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> }</div>
|
||||
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> </div>
|
||||
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="common__data_8h.html#af5ade14fff5b64c439d84c9922e908a9">D_0D0030F8</a>);</div>
|
||||
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> gSPSetGeometryMode(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a1d9c1bb13064e0e1726ed802cfb2697a">G_CULL_BACK</a>);</div>
|
||||
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> }</div>
|
||||
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> gSPTexture(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, 0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, <a class="code hl_define" href="mbi_8h.html#a3502935c4007f9c00550286d895ca296">G_ON</a>);</div>
|
||||
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> }</div>
|
||||
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span>}</div>
|
||||
</div>
|
||||
<div class="ttc" id="aactors_8h_html"><div class="ttname"><a href="actors_8h.html">actors.h</a></div></div>
|
||||
<div class="ttc" id="acamera_8c_html_a55c57426bead74311a6710cc88980ead"><div class="ttname"><a href="camera_8c.html#a55c57426bead74311a6710cc88980ead">camera1</a></div><div class="ttdeci">Camera * camera1</div><div class="ttdef"><b>Definition</b> camera.c:25</div></div>
|
||||
@@ -297,6 +298,7 @@ $(function(){initNavTree('item__box_2render_8inc_8c_source.html',''); initResiza
|
||||
<div class="ttc" id="acommon__structs_8h_html_a5290523279339ea495248ab3a36cb46e"><div class="ttname"><a href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a></div><div class="ttdeci">f32 Vec3f[3]</div><div class="ttdef"><b>Definition</b> common_structs.h:6</div></div>
|
||||
<div class="ttc" id="acommon__structs_8h_html_a95eb48a2f3630571bea260858dd23e92"><div class="ttname"><a href="common__structs_8h.html#a95eb48a2f3630571bea260858dd23e92">Vec3s</a></div><div class="ttdeci">s16 Vec3s[3]</div><div class="ttdef"><b>Definition</b> common_structs.h:11</div></div>
|
||||
<div class="ttc" id="acommon__structs_8h_html_ab7160f77e736961cfa2aff581aeee005"><div class="ttname"><a href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a></div><div class="ttdeci">f32 Mat4[4][4]</div><div class="ttdef"><b>Definition</b> common_structs.h:16</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a29a687ccf66fa4e1e852ecfaca24a63b"><div class="ttname"><a href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a></div><div class="ttdeci">#define DEGREES(degree)</div><div class="ttdef"><b>Definition</b> defines.h:347</div></div>
|
||||
<div class="ttc" id="agbi_8h_html_a1d9c1bb13064e0e1726ed802cfb2697a"><div class="ttname"><a href="gbi_8h.html#a1d9c1bb13064e0e1726ed802cfb2697a">G_CULL_BACK</a></div><div class="ttdeci">#define G_CULL_BACK</div><div class="ttdef"><b>Definition</b> gbi.h:351</div></div>
|
||||
<div class="ttc" id="agbi_8h_html_a27262ffe4dcd32c858dcdcbac77a221f"><div class="ttname"><a href="gbi_8h.html#a27262ffe4dcd32c858dcdcbac77a221f">G_RM_NOOP2</a></div><div class="ttdeci">#define G_RM_NOOP2</div><div class="ttdef"><b>Definition</b> gbi.h:968</div></div>
|
||||
<div class="ttc" id="agbi_8h_html_a2c6a4394801fed186134d0ce2e5d2540"><div class="ttname"><a href="gbi_8h.html#a2c6a4394801fed186134d0ce2e5d2540">G_RM_ZB_CLD_SURF2</a></div><div class="ttdeci">#define G_RM_ZB_CLD_SURF2</div><div class="ttdef"><b>Definition</b> gbi.h:949</div></div>
|
||||
|
||||
@@ -114,9 +114,9 @@ $(function(){initNavTree('item__box_2update_8inc_8c_source.html',''); initResiza
|
||||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"><a class="line" href="item__box_2update_8inc_8c.html#a7ab7a73caa2b37b8c336b7b2e8283e17"> 10</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="item__box_2update_8inc_8c.html#a7ab7a73caa2b37b8c336b7b2e8283e17">update_actor_item_box_hot_air_balloon</a>(<span class="keyword">struct</span> <a class="code hl_struct" href="structItemBox.html">ItemBox</a>* itemBox) {</div>
|
||||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> <span class="keywordflow">switch</span> (itemBox-><a class="code hl_variable" href="structItemBox.html#a8770643814f0a75ee870072d5600055a">state</a>) {</div>
|
||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> <span class="keywordflow">case</span> 5:</div>
|
||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[0] += 0xB6;</div>
|
||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] -= 0x16C;</div>
|
||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[2] += 0xB6;</div>
|
||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[0] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1);</div>
|
||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(2);</div>
|
||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[2] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1);</div>
|
||||
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> <span class="keywordflow">case</span> 3:</div>
|
||||
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> <span class="keywordflow">if</span> (itemBox-><a class="code hl_variable" href="structItemBox.html#a0da3ae45931357d0c3e53712f842069d">someTimer</a> == 0x14) {</div>
|
||||
@@ -124,9 +124,9 @@ $(function(){initNavTree('item__box_2update_8inc_8c_source.html',''); initResiza
|
||||
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> itemBox-><a class="code hl_variable" href="structItemBox.html#a160bba22d28fcae6f869677df5788390">flags</a> = -0x4000;</div>
|
||||
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> itemBox-><a class="code hl_variable" href="structItemBox.html#a0da3ae45931357d0c3e53712f842069d">someTimer</a>++;</div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[0] += 0x444;</div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] -= 0x2D8;</div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[2] += 0x16C;</div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[0] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(6);</div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(4);</div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[2] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(2);</div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> }</div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> }</div>
|
||||
@@ -149,9 +149,9 @@ $(function(){initNavTree('item__box_2update_8inc_8c_source.html',''); initResiza
|
||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> }</div>
|
||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="keywordflow">case</span> 2:</div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[0] += 0xB6;</div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] -= 0x16C;</div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[2] += 0xB6;</div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[0] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1);</div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(2);</div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[2] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1);</div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <span class="keywordflow">case</span> 3:</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keywordflow">if</span> (itemBox-><a class="code hl_variable" href="structItemBox.html#a0da3ae45931357d0c3e53712f842069d">someTimer</a> == 20) {</div>
|
||||
@@ -160,15 +160,16 @@ $(function(){initNavTree('item__box_2update_8inc_8c_source.html',''); initResiza
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> itemBox-><a class="code hl_variable" href="structItemBox.html#a160bba22d28fcae6f869677df5788390">flags</a> = 0xC000;</div>
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> itemBox-><a class="code hl_variable" href="structItemBox.html#a0da3ae45931357d0c3e53712f842069d">someTimer</a>++;</div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[0] += 0x444;</div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] -= 0x2D8;</div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[2] += 0x16C;</div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[0] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(6);</div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[1] -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(4);</div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> itemBox-><a class="code hl_variable" href="structItemBox.html#aad7a9f46654608486a15ebd5251b70e7">rot</a>[2] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(2);</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> }</div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> }</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span>}</div>
|
||||
</div>
|
||||
<div class="ttc" id="aactors_8h_html"><div class="ttname"><a href="actors_8h.html">actors.h</a></div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a29a687ccf66fa4e1e852ecfaca24a63b"><div class="ttname"><a href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a></div><div class="ttdeci">#define DEGREES(degree)</div><div class="ttdef"><b>Definition</b> defines.h:347</div></div>
|
||||
<div class="ttc" id="aitem__box_2update_8inc_8c_html_a7ab7a73caa2b37b8c336b7b2e8283e17"><div class="ttname"><a href="item__box_2update_8inc_8c.html#a7ab7a73caa2b37b8c336b7b2e8283e17">update_actor_item_box_hot_air_balloon</a></div><div class="ttdeci">void update_actor_item_box_hot_air_balloon(struct ItemBox *itemBox)</div><div class="ttdoc">Updates the item box under the hot air balloon object. It used in Luigi Raceway. (here it's just upda...</div><div class="ttdef"><b>Definition</b> update.inc.c:10</div></div>
|
||||
<div class="ttc" id="aitem__box_2update_8inc_8c_html_af4eb2577ac7d47e62f00eed0de138c2d"><div class="ttname"><a href="item__box_2update_8inc_8c.html#af4eb2577ac7d47e62f00eed0de138c2d">update_actor_item_box</a></div><div class="ttdeci">void update_actor_item_box(struct ItemBox *itemBox)</div><div class="ttdoc">Updates the item box actor.</div><div class="ttdef"><b>Definition</b> update.inc.c:36</div></div>
|
||||
<div class="ttc" id="astructItemBox_html"><div class="ttname"><a href="structItemBox.html">ItemBox</a></div><div class="ttdef"><b>Definition</b> actor_types.h:331</div></div>
|
||||
|
||||
@@ -872,9 +872,9 @@ Variables</h2></td></tr>
|
||||
<div class="line"> { <a class="code hl_variable" href="#a2e69e1e678ba63e02fa2c26df2b978b0">gTextureRailroadTrack</a>, 0x0B5B, 0x1000, 0x0 }, { <a class="code hl_variable" href="#a335aa352c50c49a2022a57de9085e490">gTextureRailroadCrossingTrack</a>, 0x0208, 0x1000, 0x0 },</div>
|
||||
<div class="line"> { <a class="code hl_variable" href="#a9ef426c16b3440032a5d3944a1e2076b">gTexture67291C</a>, 0x059C, 0x0800, 0x0 }, { <a class="code hl_variable" href="#af99b8182eae090013bdf28e917159a58">gTextureFenceBarbedWire</a>, 0x021E, 0x1000, 0x0 },</div>
|
||||
<div class="line"> { <a class="code hl_variable" href="#a713215e4eed6e80049a9c2486469b53f">gTexture67D304</a>, 0x091C, 0x1000, 0x0 }, { <a class="code hl_variable" href="#a08855ee524be31d738537a5e5955fdca">gTexture67E010</a>, 0x0415, 0x0800, 0x0 },</div>
|
||||
<div class="line"> { <a class="code hl_variable" href="#aa7f58c231121c253da47477da760c6c6">gTexture67EEAC</a>, 0x0140, 0x0800, 0x0 }, { <a class="code hl_variable" href="luigi__raceway_2course__offsets_8c.html#a7d74c4fbbe37319b5b3d58accf0e11de">gTextureSignShellShot0</a>, 0x038C, 0x1000, 0x0 },</div>
|
||||
<div class="line"> { <a class="code hl_variable" href="luigi__raceway_2course__offsets_8c.html#a6a35f5915120c6a557901bcaef614161">gTextureSignShellShot1</a>, 0x0247, 0x1000, 0x0 }, { <a class="code hl_variable" href="luigi__raceway_2course__offsets_8c.html#a4994761aa04ca80fcdf86e98b9cdb0b4">gTextureSignKoopaAir0</a>, 0x0360, 0x1000, 0x0 },</div>
|
||||
<div class="line"> { <a class="code hl_variable" href="luigi__raceway_2course__offsets_8c.html#ac1a169ef764460f3048de26773ec3539">gTextureSignKoopaAir1</a>, 0x0304, 0x1000, 0x0 }, { 0x00000000, 0x0000, 0x0000, 0x0 },</div>
|
||||
<div class="line"> { <a class="code hl_variable" href="#aa7f58c231121c253da47477da760c6c6">gTexture67EEAC</a>, 0x0140, 0x0800, 0x0 }, { <a class="code hl_variable" href="#a7d74c4fbbe37319b5b3d58accf0e11de">gTextureSignShellShot0</a>, 0x038C, 0x1000, 0x0 },</div>
|
||||
<div class="line"> { <a class="code hl_variable" href="#a6a35f5915120c6a557901bcaef614161">gTextureSignShellShot1</a>, 0x0247, 0x1000, 0x0 }, { <a class="code hl_variable" href="#a4994761aa04ca80fcdf86e98b9cdb0b4">gTextureSignKoopaAir0</a>, 0x0360, 0x1000, 0x0 },</div>
|
||||
<div class="line"> { <a class="code hl_variable" href="#ac1a169ef764460f3048de26773ec3539">gTextureSignKoopaAir1</a>, 0x0304, 0x1000, 0x0 }, { 0x00000000, 0x0000, 0x0000, 0x0 },</div>
|
||||
<div class="line">}</div>
|
||||
<div class="ttc" id="abig__donut_2course__offsets_8c_html_a222676f35914439ae5416e5e30ba9945"><div class="ttname"><a href="big__donut_2course__offsets_8c.html#a222676f35914439ae5416e5e30ba9945">gTexture67490C</a></div><div class="ttdeci">u8 gTexture67490C[]</div></div>
|
||||
<div class="ttc" id="achoco__mountain_2course__offsets_8c_html_a217920af9d4b8a5c334a7ed1cc4f0c16"><div class="ttname"><a href="choco__mountain_2course__offsets_8c.html#a217920af9d4b8a5c334a7ed1cc4f0c16">gTextureCheckerboardBlueGray</a></div><div class="ttdeci">u8 gTextureCheckerboardBlueGray[]</div></div>
|
||||
@@ -887,20 +887,20 @@ Variables</h2></td></tr>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_a08855ee524be31d738537a5e5955fdca"><div class="ttname"><a href="#a08855ee524be31d738537a5e5955fdca">gTexture67E010</a></div><div class="ttdeci">u8 gTexture67E010[]</div></div>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_a2e69e1e678ba63e02fa2c26df2b978b0"><div class="ttname"><a href="#a2e69e1e678ba63e02fa2c26df2b978b0">gTextureRailroadTrack</a></div><div class="ttdeci">u8 gTextureRailroadTrack[]</div></div>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_a335aa352c50c49a2022a57de9085e490"><div class="ttname"><a href="#a335aa352c50c49a2022a57de9085e490">gTextureRailroadCrossingTrack</a></div><div class="ttdeci">u8 gTextureRailroadCrossingTrack[]</div></div>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_a4994761aa04ca80fcdf86e98b9cdb0b4"><div class="ttname"><a href="#a4994761aa04ca80fcdf86e98b9cdb0b4">gTextureSignKoopaAir0</a></div><div class="ttdeci">u8 gTextureSignKoopaAir0[]</div></div>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_a4abe7825de1ae312db2c47d9178f32fd"><div class="ttname"><a href="#a4abe7825de1ae312db2c47d9178f32fd">gTexture6473E4</a></div><div class="ttdeci">u8 gTexture6473E4[]</div></div>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_a6a35f5915120c6a557901bcaef614161"><div class="ttname"><a href="#a6a35f5915120c6a557901bcaef614161">gTextureSignShellShot1</a></div><div class="ttdeci">u8 gTextureSignShellShot1[]</div></div>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_a713215e4eed6e80049a9c2486469b53f"><div class="ttname"><a href="#a713215e4eed6e80049a9c2486469b53f">gTexture67D304</a></div><div class="ttdeci">u8 gTexture67D304[]</div></div>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_a7d74c4fbbe37319b5b3d58accf0e11de"><div class="ttname"><a href="#a7d74c4fbbe37319b5b3d58accf0e11de">gTextureSignShellShot0</a></div><div class="ttdeci">u8 gTextureSignShellShot0[]</div></div>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_a82701f0cc86fef92eb4a06718a1a8741"><div class="ttname"><a href="#a82701f0cc86fef92eb4a06718a1a8741">gTextureSignMarioStar0</a></div><div class="ttdeci">u8 gTextureSignMarioStar0[]</div></div>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_a8b2f9cd1f5d27784245c8d065772755b"><div class="ttname"><a href="#a8b2f9cd1f5d27784245c8d065772755b">gTexture668920</a></div><div class="ttdeci">u8 gTexture668920[]</div></div>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_a9ef426c16b3440032a5d3944a1e2076b"><div class="ttname"><a href="#a9ef426c16b3440032a5d3944a1e2076b">gTexture67291C</a></div><div class="ttdeci">u8 gTexture67291C[]</div></div>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_aa7f58c231121c253da47477da760c6c6"><div class="ttname"><a href="#aa7f58c231121c253da47477da760c6c6">gTexture67EEAC</a></div><div class="ttdeci">u8 gTexture67EEAC[]</div></div>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_abe554d1e5a920516277595d11db5f509"><div class="ttname"><a href="#abe554d1e5a920516277595d11db5f509">gTexture646CA8</a></div><div class="ttdeci">u8 gTexture646CA8[]</div></div>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_ac1a169ef764460f3048de26773ec3539"><div class="ttname"><a href="#ac1a169ef764460f3048de26773ec3539">gTextureSignKoopaAir1</a></div><div class="ttdeci">u8 gTextureSignKoopaAir1[]</div></div>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_ac7425bb345a79282781ed815f364d947"><div class="ttname"><a href="#ac7425bb345a79282781ed815f364d947">gTexture647994</a></div><div class="ttdeci">u8 gTexture647994[]</div></div>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_af99b8182eae090013bdf28e917159a58"><div class="ttname"><a href="#af99b8182eae090013bdf28e917159a58">gTextureFenceBarbedWire</a></div><div class="ttdeci">u8 gTextureFenceBarbedWire[]</div></div>
|
||||
<div class="ttc" id="akalimari__desert_2course__offsets_8c_html_afe4fbe8cd1d58805fc55a58b6dc15727"><div class="ttname"><a href="#afe4fbe8cd1d58805fc55a58b6dc15727">gTextureSignMarioStar1</a></div><div class="ttdeci">u8 gTextureSignMarioStar1[]</div></div>
|
||||
<div class="ttc" id="aluigi__raceway_2course__offsets_8c_html_a4994761aa04ca80fcdf86e98b9cdb0b4"><div class="ttname"><a href="luigi__raceway_2course__offsets_8c.html#a4994761aa04ca80fcdf86e98b9cdb0b4">gTextureSignKoopaAir0</a></div><div class="ttdeci">u8 gTextureSignKoopaAir0[]</div></div>
|
||||
<div class="ttc" id="aluigi__raceway_2course__offsets_8c_html_a6a35f5915120c6a557901bcaef614161"><div class="ttname"><a href="luigi__raceway_2course__offsets_8c.html#a6a35f5915120c6a557901bcaef614161">gTextureSignShellShot1</a></div><div class="ttdeci">u8 gTextureSignShellShot1[]</div></div>
|
||||
<div class="ttc" id="aluigi__raceway_2course__offsets_8c_html_a7d74c4fbbe37319b5b3d58accf0e11de"><div class="ttname"><a href="luigi__raceway_2course__offsets_8c.html#a7d74c4fbbe37319b5b3d58accf0e11de">gTextureSignShellShot0</a></div><div class="ttdeci">u8 gTextureSignShellShot0[]</div></div>
|
||||
<div class="ttc" id="aluigi__raceway_2course__offsets_8c_html_ac1a169ef764460f3048de26773ec3539"><div class="ttname"><a href="luigi__raceway_2course__offsets_8c.html#ac1a169ef764460f3048de26773ec3539">gTextureSignKoopaAir1</a></div><div class="ttdeci">u8 gTextureSignKoopaAir1[]</div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -198,9 +198,9 @@ $(function(){initNavTree('kiwano__fruit_2update_8inc_8c_source.html',''); initRe
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8c_html_aec16d5234e8ca789a1000fbf1349ca3e"><div class="ttname"><a href="cpu__vehicles__camera__path_8c.html#aec16d5234e8ca789a1000fbf1349ca3e">gCurrentTrackPath</a></div><div class="ttdeci">TrackPathPoint * gCurrentTrackPath</div><div class="ttdef"><b>Definition</b> cpu_vehicles_camera_path.c:167</div></div>
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8c_html_aecaedcf25130d660c6c5885cb92f3259"><div class="ttname"><a href="cpu__vehicles__camera__path_8c.html#aecaedcf25130d660c6c5885cb92f3259">gNearestPathPointByPlayerId</a></div><div class="ttdeci">u16 gNearestPathPointByPlayerId[12]</div><div class="ttdef"><b>Definition</b> cpu_vehicles_camera_path.c:163</div></div>
|
||||
<div class="ttc" id="adefines_8h_html"><div class="ttname"><a href="defines_8h.html">defines.h</a></div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a8162db60017841c732d51d0c3a4a5269"><div class="ttname"><a href="defines_8h.html#a8162db60017841c732d51d0c3a4a5269">STAR_EFFECT</a></div><div class="ttdeci">#define STAR_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:451</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a8162db60017841c732d51d0c3a4a5269"><div class="ttname"><a href="defines_8h.html#a8162db60017841c732d51d0c3a4a5269">STAR_EFFECT</a></div><div class="ttdeci">#define STAR_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:466</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a8243137b0c8b7200c20479738cdbe365"><div class="ttname"><a href="defines_8h.html#a8243137b0c8b7200c20479738cdbe365">GRAND_PRIX</a></div><div class="ttdeci">#define GRAND_PRIX</div><div class="ttdoc">Options for gModeSelection.</div><div class="ttdef"><b>Definition</b> defines.h:147</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aab5fd7e78e81c0d863df89179d09274e"><div class="ttname"><a href="defines_8h.html#aab5fd7e78e81c0d863df89179d09274e">ENEMY_BONK_EFFECT</a></div><div class="ttdeci">#define ENEMY_BONK_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:457</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_aab5fd7e78e81c0d863df89179d09274e"><div class="ttname"><a href="defines_8h.html#aab5fd7e78e81c0d863df89179d09274e">ENEMY_BONK_EFFECT</a></div><div class="ttdeci">#define ENEMY_BONK_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:472</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_acbc3cc7fd82151c141e9ff5b200ed165"><div class="ttname"><a href="defines_8h.html#acbc3cc7fd82151c141e9ff5b200ed165">PLAYER_CPU</a></div><div class="ttdeci">#define PLAYER_CPU</div><div class="ttdef"><b>Definition</b> defines.h:103</div></div>
|
||||
<div class="ttc" id="aexternal_8c_html_a2be9efc97a92e19d02aaee90d676acc1"><div class="ttname"><a href="external_8c.html#a2be9efc97a92e19d02aaee90d676acc1">func_800C9060</a></div><div class="ttdeci">void func_800C9060(u8 playerId, u32 soundBits)</div><div class="ttdef"><b>Definition</b> external.c:2922</div></div>
|
||||
<div class="ttc" id="akiwano__fruit_2update_8inc_8c_html_a48151e0a9b8ce3c98ec426c640fe6f1d"><div class="ttname"><a href="kiwano__fruit_2update_8inc_8c.html#a48151e0a9b8ce3c98ec426c640fe6f1d">update_actor_kiwano_fruit</a></div><div class="ttdeci">void update_actor_kiwano_fruit(struct KiwanoFruit *fruit)</div><div class="ttdoc">Updates the kiwano fruit actor. Actor used in DK's Jungle Parkway.</div><div class="ttdef"><b>Definition</b> update.inc.c:12</div></div>
|
||||
|
||||
@@ -117,15 +117,16 @@ $(function(){initNavTree('mario__sign_2update_8inc_8c_source.html',''); initResi
|
||||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> arg0-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1] += 4.0f;</div>
|
||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> <span class="keywordflow">if</span> (arg0-><a class="code hl_variable" href="structActor.html#afa1455dbf1a4698584ed8c501439692f">pos</a>[1] > 800.0f) {</div>
|
||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> arg0-><a class="code hl_variable" href="structActor.html#af49bb0c1202a06dc594529a2e77249c6">flags</a> |= 0x800;</div>
|
||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> arg0-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[1] += 1820;</div>
|
||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> arg0-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[1] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(10);</div>
|
||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> }</div>
|
||||
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> arg0-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[1] += 182;</div>
|
||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> arg0-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[1] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1);</div>
|
||||
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> }</div>
|
||||
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> }</div>
|
||||
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span>}</div>
|
||||
</div>
|
||||
<div class="ttc" id="aactors_8h_html"><div class="ttname"><a href="actors_8h.html">actors.h</a></div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a29a687ccf66fa4e1e852ecfaca24a63b"><div class="ttname"><a href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a></div><div class="ttdeci">#define DEGREES(degree)</div><div class="ttdef"><b>Definition</b> defines.h:347</div></div>
|
||||
<div class="ttc" id="amario__sign_2update_8inc_8c_html_ac0ea6010ea017b0c0db4d5a7cff001a3"><div class="ttname"><a href="mario__sign_2update_8inc_8c.html#ac0ea6010ea017b0c0db4d5a7cff001a3">update_actor_mario_sign</a></div><div class="ttdeci">void update_actor_mario_sign(struct Actor *arg0)</div><div class="ttdoc">Updates the Mario sign actor.</div><div class="ttdef"><b>Definition</b> update.inc.c:8</div></div>
|
||||
<div class="ttc" id="astructActor_html"><div class="ttname"><a href="structActor.html">Actor</a></div><div class="ttdef"><b>Definition</b> actor_types.h:120</div></div>
|
||||
<div class="ttc" id="astructActor_html_aafc0746715101e8b4dd9afcd88a90ab9"><div class="ttname"><a href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">Actor::rot</a></div><div class="ttdeci">Vec3s rot</div><div class="ttdef"><b>Definition</b> actor_types.h:127</div></div>
|
||||
|
||||
+2
-2
@@ -2082,7 +2082,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#_todo000033">Todo</a></b></dt><dd>These sizes need to be sizeof() for shiftability if possible </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000038">Todo</a></b></dt><dd>These sizes need to be sizeof() for shiftability if possible </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
@@ -8954,7 +8954,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>Move gGfxPool out of <a class="el" href="main_8h.html">main.h</a> </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000037">Todo</a></b></dt><dd>Move gGfxPool out of <a class="el" href="main_8h.html">main.h</a> </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
|
||||
+1
-1
@@ -2700,7 +2700,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#_todo000033">Todo</a></b></dt><dd>These sizes need to be sizeof() for shiftability if possible </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000038">Todo</a></b></dt><dd>These sizes need to be sizeof() for shiftability if possible </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
|
||||
@@ -492,7 +492,7 @@ Variables</h2></td></tr>
|
||||
<div class="ttc" id="agbi_8h_html_aadb5eb2ba3b0a454682ae544c2d7ab66"><div class="ttname"><a href="gbi_8h.html#aadb5eb2ba3b0a454682ae544c2d7ab66">G_RM_AA_ZB_OPA_SURF2</a></div><div class="ttdeci">#define G_RM_AA_ZB_OPA_SURF2</div><div class="ttdef"><b>Definition</b> gbi.h:879</div></div>
|
||||
<div class="ttc" id="agbi_8h_html_ace7a0e559b5d01f76f0481a2c23ba2e1"><div class="ttname"><a href="gbi_8h.html#ace7a0e559b5d01f76f0481a2c23ba2e1">G_LIGHTING</a></div><div class="ttdeci">#define G_LIGHTING</div><div class="ttdef"><b>Definition</b> gbi.h:355</div></div>
|
||||
<div class="ttc" id="agbi_8h_html_af4ca350056fb68e0331682164f7cddf6"><div class="ttname"><a href="gbi_8h.html#af4ca350056fb68e0331682164f7cddf6">G_CC_MODULATEI</a></div><div class="ttdeci">#define G_CC_MODULATEI</div><div class="ttdef"><b>Definition</b> gbi.h:480</div></div>
|
||||
</div><!-- fragment --><dl class="todo"><dt><b><a class="el" href="todo.html#_todo000061">Todo</a></b></dt><dd>Replace addresses with variables </dd></dl>
|
||||
</div><!-- fragment --><dl class="todo"><dt><b><a class="el" href="todo.html#_todo000062">Todo</a></b></dt><dd>Replace addresses with variables </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -482,7 +482,7 @@ Variables</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000061">Todo</a></b></dt><dd>Replace addresses with variables </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000062">Todo</a></b></dt><dd>Replace addresses with variables </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -173,7 +173,7 @@ var NAVTREEINDEX21 =
|
||||
"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
@@ -117,6 +117,7 @@ var NAVTREEINDEX27 =
|
||||
"defines_8h.html#a26ddda3177948a34eaf3c4d953b92b6b":[8,0,2,11,126],
|
||||
"defines_8h.html#a2871d7a02126585577a298308febbf93":[8,0,2,11,4],
|
||||
"defines_8h.html#a28d1cba03bcdd4fff1922efbd92a2673":[8,0,2,11,33],
|
||||
"defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b":[8,0,2,11,52],
|
||||
"defines_8h.html#a2bbfe6ff4f130e0985ee29c71a816b50":[8,0,2,11,207],
|
||||
"defines_8h.html#a2f525ee1d4444807b6d6d63db4ec8579":[8,0,2,11,45],
|
||||
"defines_8h.html#a31213c9fb13bbc97f0ae1e30c1a6b1cf":[8,0,2,11,110],
|
||||
@@ -168,7 +169,6 @@ var NAVTREEINDEX27 =
|
||||
"defines_8h.html#a5af9b5343563ff68ae7d252d560ebb0d":[8,0,2,11,57],
|
||||
"defines_8h.html#a5c9df8d9502c3c234100b291c1628394":[8,0,2,11,22],
|
||||
"defines_8h.html#a5e748dc6af74a4076772106205f0d897":[8,0,2,11,219],
|
||||
"defines_8h.html#a5fe5c9e278625a540997d87c80f22208":[8,0,2,11,52],
|
||||
"defines_8h.html#a60528aaa3366d7dfd35145c2bfd62f69":[8,0,2,11,107],
|
||||
"defines_8h.html#a60db4f58cdf07e448d79a8806cdf482e":[8,0,2,11,95],
|
||||
"defines_8h.html#a62645260c4c31608ddd6702527a0b9e8":[8,0,2,11,138],
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@ var NAVTREEINDEX85 =
|
||||
"new__func_8h.html#ac8095e2ec1adbd7e74e655c578968a36":[8,0,3,7,55,0],
|
||||
"new__func_8h_source.html":[8,0,3,7,55],
|
||||
"objects.html":[0,1],
|
||||
"objects.html#objects":[0,1,0],
|
||||
"objects.html#objects-1":[0,1,0],
|
||||
"objects_8h.html":[8,0,2,16],
|
||||
"objects_8h.html#a015cc1fa03690348fb398b9be74ecc15":[8,0,2,16,34],
|
||||
"objects_8h.html#a02bd29e49d2089bb6bd1bfe33e360584":[8,0,2,16,86],
|
||||
|
||||
+1
-1
@@ -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 -->
|
||||
|
||||
@@ -191,7 +191,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#_todo000031">Todo</a></b></dt><dd>figure out why this is like this </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000030">Todo</a></b></dt><dd>figure out why this is like this </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -172,7 +172,7 @@ Variables</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000032">Todo</a></b></dt><dd>name magic constants </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000031">Todo</a></b></dt><dd>name magic constants </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
|
||||
+1
-1
@@ -143,7 +143,7 @@ Variables</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000034">Todo</a></b></dt><dd>name magic constants </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000032">Todo</a></b></dt><dd>name magic constants </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
|
||||
@@ -143,7 +143,7 @@ Variables</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000035">Todo</a></b></dt><dd>figure out what this flag means </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000033">Todo</a></b></dt><dd>figure out what this flag means </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
|
||||
+1
-1
@@ -446,7 +446,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#_todo000032">Todo</a></b></dt><dd>name magic constants </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000031">Todo</a></b></dt><dd>name magic constants </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
|
||||
+2
-2
@@ -877,7 +877,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#_todo000034">Todo</a></b></dt><dd>name magic constants </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000032">Todo</a></b></dt><dd>name magic constants </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
@@ -995,7 +995,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#_todo000035">Todo</a></b></dt><dd>figure out what this flag means </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000033">Todo</a></b></dt><dd>figure out what this flag means </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
|
||||
@@ -113,10 +113,11 @@ $(function(){initNavTree('paddle__boat_2update_8inc_8c_source.html',''); initRes
|
||||
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
|
||||
<div class="foldopen" id="foldopen00011" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="paddle__boat_2update_8inc_8c.html#ab0013f066707ccff446faf9e15593840"> 11</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="paddle__boat_2update_8inc_8c.html#ab0013f066707ccff446faf9e15593840">update_actor_paddle_boat</a>(<span class="keyword">struct</span> <a class="code hl_struct" href="structPaddleWheelBoat.html">PaddleWheelBoat</a>* boat) {</div>
|
||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> boat-><a class="code hl_variable" href="structPaddleWheelBoat.html#a500f0d5169fa8601aaba11cf13514b28">wheelRot</a> += 0x38E;</div>
|
||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> boat-><a class="code hl_variable" href="structPaddleWheelBoat.html#a500f0d5169fa8601aaba11cf13514b28">wheelRot</a> += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(5);</div>
|
||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span>}</div>
|
||||
</div>
|
||||
<div class="ttc" id="aactor__types_8h_html"><div class="ttname"><a href="actor__types_8h.html">actor_types.h</a></div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a29a687ccf66fa4e1e852ecfaca24a63b"><div class="ttname"><a href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a></div><div class="ttdeci">#define DEGREES(degree)</div><div class="ttdef"><b>Definition</b> defines.h:347</div></div>
|
||||
<div class="ttc" id="apaddle__boat_2update_8inc_8c_html_ab0013f066707ccff446faf9e15593840"><div class="ttname"><a href="paddle__boat_2update_8inc_8c.html#ab0013f066707ccff446faf9e15593840">update_actor_paddle_boat</a></div><div class="ttdeci">void update_actor_paddle_boat(struct PaddleWheelBoat *boat)</div><div class="ttdoc">Updates the paddle boat actor. Actor used in DK's Jungle Parkway. Rotate only the paddle wheel,...</div><div class="ttdef"><b>Definition</b> update.inc.c:11</div></div>
|
||||
<div class="ttc" id="astructPaddleWheelBoat_html"><div class="ttname"><a href="structPaddleWheelBoat.html">PaddleWheelBoat</a></div><div class="ttdef"><b>Definition</b> actor_types.h:248</div></div>
|
||||
<div class="ttc" id="astructPaddleWheelBoat_html_a500f0d5169fa8601aaba11cf13514b28"><div class="ttname"><a href="structPaddleWheelBoat.html#a500f0d5169fa8601aaba11cf13514b28">PaddleWheelBoat::wheelRot</a></div><div class="ttdeci">s16 wheelRot</div><div class="ttdef"><b>Definition</b> actor_types.h:252</div></div>
|
||||
|
||||
@@ -987,7 +987,7 @@ $(function(){initNavTree('path__utils_8inc_8c_source.html',''); initResizable(tr
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8c_html_aed269448b5be0d1d8513addeae7ad6e0"><div class="ttname"><a href="cpu__vehicles__camera__path_8c.html#aed269448b5be0d1d8513addeae7ad6e0">D_80163488</a></div><div class="ttdeci">s32 D_80163488</div><div class="ttdef"><b>Definition</b> cpu_vehicles_camera_path.c:128</div></div>
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8h_html"><div class="ttname"><a href="cpu__vehicles__camera__path_8h.html">cpu_vehicles_camera_path.h</a></div></div>
|
||||
<div class="ttc" id="adefines_8h_html"><div class="ttname"><a href="defines_8h.html">defines.h</a></div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a026c882dc0f6a882679a816ac30e7aa8"><div class="ttname"><a href="defines_8h.html#a026c882dc0f6a882679a816ac30e7aa8">LAKITU_RETRIEVAL</a></div><div class="ttdeci">#define LAKITU_RETRIEVAL</div><div class="ttdef"><b>Definition</b> defines.h:370</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a026c882dc0f6a882679a816ac30e7aa8"><div class="ttname"><a href="defines_8h.html#a026c882dc0f6a882679a816ac30e7aa8">LAKITU_RETRIEVAL</a></div><div class="ttdeci">#define LAKITU_RETRIEVAL</div><div class="ttdef"><b>Definition</b> defines.h:385</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a697a31ba36158a0ed8ed4facfb70a6c0"><div class="ttname"><a href="defines_8h.html#a697a31ba36158a0ed8ed4facfb70a6c0">PLAYER_EXISTS</a></div><div class="ttdeci">#define PLAYER_EXISTS</div><div class="ttdef"><b>Definition</b> defines.h:106</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab30d6efeb8601088397fff50c25c2424"><div class="ttname"><a href="defines_8h.html#ab30d6efeb8601088397fff50c25c2424">PLAYER_HUMAN</a></div><div class="ttdeci">#define PLAYER_HUMAN</div><div class="ttdef"><b>Definition</b> defines.h:105</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_acbc3cc7fd82151c141e9ff5b200ed165"><div class="ttname"><a href="defines_8h.html#acbc3cc7fd82151c141e9ff5b200ed165">PLAYER_CPU</a></div><div class="ttdeci">#define PLAYER_CPU</div><div class="ttdef"><b>Definition</b> defines.h:103</div></div>
|
||||
|
||||
+3
-3
@@ -786,7 +786,7 @@ Variables</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000036">Todo</a></b></dt><dd>name </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000034">Todo</a></b></dt><dd>name </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -801,7 +801,7 @@ Variables</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000037">Todo</a></b></dt><dd>name </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000035">Todo</a></b></dt><dd>name </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -816,7 +816,7 @@ Variables</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000038">Todo</a></b></dt><dd>name </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000036">Todo</a></b></dt><dd>name </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -306,7 +306,7 @@ $(function(){initNavTree('player__controller_8h_source.html',''); initResizable(
|
||||
<div class="ttc" id="acommon__structs_8h_html"><div class="ttname"><a href="common__structs_8h.html">common_structs.h</a></div></div>
|
||||
<div class="ttc" id="acommon__structs_8h_html_a5290523279339ea495248ab3a36cb46e"><div class="ttname"><a href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a></div><div class="ttdeci">f32 Vec3f[3]</div><div class="ttdef"><b>Definition</b> common_structs.h:6</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a00865cd62046266133e30c00be808f87"><div class="ttname"><a href="player__controller_8h.html#a00865cd62046266133e30c00be808f87">cpu_forMarioAndPeach</a></div><div class="ttdeci">s16 cpu_forMarioAndPeach[]</div><div class="ttdef"><b>Definition</b> player_controller.c:56</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a085ccbeeef6f413ac425a50b754020b0"><div class="ttname"><a href="player__controller_8h.html#a085ccbeeef6f413ac425a50b754020b0">func_800371F4</a></div><div class="ttdeci">void func_800371F4(Player *, Vec3f, Vec3f)</div><div class="ttdef"><b>Definition</b> player_controller.c:4419</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a085ccbeeef6f413ac425a50b754020b0"><div class="ttname"><a href="player__controller_8h.html#a085ccbeeef6f413ac425a50b754020b0">func_800371F4</a></div><div class="ttdeci">void func_800371F4(Player *, Vec3f, Vec3f)</div><div class="ttdef"><b>Definition</b> player_controller.c:4418</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a08d06e8cacc3beba8159a8e230d07c49"><div class="ttname"><a href="player__controller_8h.html#a08d06e8cacc3beba8159a8e230d07c49">player_accelerate</a></div><div class="ttdeci">void player_accelerate(Player *)</div><div class="ttdef"><b>Definition</b> player_controller.c:3708</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a0b04b8c5064d9cc942a016b8f58905ed"><div class="ttname"><a href="player__controller_8h.html#a0b04b8c5064d9cc942a016b8f58905ed">gListCPUforLuigi</a></div><div class="ttdeci">s16 * gListCPUforLuigi[]</div><div class="ttdef"><b>Definition</b> player_controller.c:161</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a0c4e2fc5f4dd28cc25c190d975c8fac0"><div class="ttname"><a href="player__controller_8h.html#a0c4e2fc5f4dd28cc25c190d975c8fac0">func_80029200</a></div><div class="ttdeci">void func_80029200(Player *, s8)</div><div class="ttdef"><b>Definition</b> player_controller.c:694</div></div>
|
||||
@@ -317,7 +317,7 @@ $(function(){initNavTree('player__controller_8h_source.html',''); initResizable(
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a159d20956b9301d34f80c7369791f074"><div class="ttname"><a href="player__controller_8h.html#a159d20956b9301d34f80c7369791f074">detect_triple_a_combo_a_pressed</a></div><div class="ttdeci">void detect_triple_a_combo_a_pressed(Player *)</div><div class="ttdef"><b>Definition</b> player_controller.c:3242</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a182bc38fa6f5d56393682021517b00ea"><div class="ttname"><a href="player__controller_8h.html#a182bc38fa6f5d56393682021517b00ea">apply_effect</a></div><div class="ttdeci">void apply_effect(Player *, s8, s8)</div><div class="ttdef"><b>Definition</b> player_controller.c:1981</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a1a73f096aa69a00dcf69ce22e671c127"><div class="ttname"><a href="player__controller_8h.html#a1a73f096aa69a00dcf69ce22e671c127">func_8002A704</a></div><div class="ttdeci">void func_8002A704(Player *, s8)</div><div class="ttdef"><b>Definition</b> player_controller.c:1112</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a1a78f63780dac815e4dea8800b8be31c"><div class="ttname"><a href="player__controller_8h.html#a1a78f63780dac815e4dea8800b8be31c">cancel_drift_effect</a></div><div class="ttdeci">void cancel_drift_effect(Player *)</div><div class="ttdef"><b>Definition</b> player_controller.c:4336</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a1a78f63780dac815e4dea8800b8be31c"><div class="ttname"><a href="player__controller_8h.html#a1a78f63780dac815e4dea8800b8be31c">cancel_drift_effect</a></div><div class="ttdeci">void cancel_drift_effect(Player *)</div><div class="ttdef"><b>Definition</b> player_controller.c:4335</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a1af8ba960d65268fc51dec5e99856e8b"><div class="ttname"><a href="player__controller_8h.html#a1af8ba960d65268fc51dec5e99856e8b">gListCPUforBowser</a></div><div class="ttdeci">s16 * gListCPUforBowser[]</div><div class="ttdef"><b>Definition</b> player_controller.c:179</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a20a95ce5f5982eb51c1fe32d28966d1d"><div class="ttname"><a href="player__controller_8h.html#a20a95ce5f5982eb51c1fe32d28966d1d">player_decelerate</a></div><div class="ttdeci">void player_decelerate(Player *, f32)</div><div class="ttdef"><b>Definition</b> player_controller.c:3748</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a22c29e24393c51760dfd031ad3b608a0"><div class="ttname"><a href="player__controller_8h.html#a22c29e24393c51760dfd031ad3b608a0">cpu_forWarioAndBowser</a></div><div class="ttdeci">s16 cpu_forWarioAndBowser[]</div><div class="ttdef"><b>Definition</b> player_controller.c:128</div></div>
|
||||
@@ -326,7 +326,7 @@ $(function(){initNavTree('player__controller_8h_source.html',''); initResizable(
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a253d8bdfa03f7b05708b89fbc7f581c4"><div class="ttname"><a href="player__controller_8h.html#a253d8bdfa03f7b05708b89fbc7f581c4">cpu_forLuigiAndMario</a></div><div class="ttdeci">s16 cpu_forLuigiAndMario[]</div><div class="ttdef"><b>Definition</b> player_controller.c:60</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a26c8afe2094b25b60294d8b364f732ea"><div class="ttname"><a href="player__controller_8h.html#a26c8afe2094b25b60294d8b364f732ea">cpu_forToadAndYoshi</a></div><div class="ttdeci">s16 cpu_forToadAndYoshi[]</div><div class="ttdef"><b>Definition</b> player_controller.c:92</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a270d46aeee22e5783b20a904dc2d227c"><div class="ttname"><a href="player__controller_8h.html#a270d46aeee22e5783b20a904dc2d227c">cpu_forBowserAndDk</a></div><div class="ttdeci">s16 cpu_forBowserAndDk[]</div><div class="ttdef"><b>Definition</b> player_controller.c:150</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a279ee453b532c80faac13103186d729c"><div class="ttname"><a href="player__controller_8h.html#a279ee453b532c80faac13103186d729c">apply_cpu_turn</a></div><div class="ttdeci">void apply_cpu_turn(Player *, s16)</div><div class="ttdef"><b>Definition</b> player_controller.c:4247</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a279ee453b532c80faac13103186d729c"><div class="ttname"><a href="player__controller_8h.html#a279ee453b532c80faac13103186d729c">apply_cpu_turn</a></div><div class="ttdeci">void apply_cpu_turn(Player *, s16)</div><div class="ttdef"><b>Definition</b> player_controller.c:4246</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a28454720e02889fa74cb55788ba7e4ba"><div class="ttname"><a href="player__controller_8h.html#a28454720e02889fa74cb55788ba7e4ba">cpu_forMarioAndBowser</a></div><div class="ttdeci">s16 cpu_forMarioAndBowser[]</div><div class="ttdef"><b>Definition</b> player_controller.c:58</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a29c8a63d1a87008492e47976e2209420"><div class="ttname"><a href="player__controller_8h.html#a29c8a63d1a87008492e47976e2209420">player_accelerate_global</a></div><div class="ttdeci">void player_accelerate_global(Player *, s32)</div><div class="ttdef"><b>Definition</b> player_controller.c:3759</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a2a57be910cde349bb7377bfbaad62a7d"><div class="ttname"><a href="player__controller_8h.html#a2a57be910cde349bb7377bfbaad62a7d">detect_triple_a_combo_a_released</a></div><div class="ttdeci">void detect_triple_a_combo_a_released(Player *)</div><div class="ttdef"><b>Definition</b> player_controller.c:3182</div></div>
|
||||
@@ -339,7 +339,7 @@ $(function(){initNavTree('player__controller_8h_source.html',''); initResizable(
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a337e54902b5c5fd457233f91c493df6e"><div class="ttname"><a href="player__controller_8h.html#a337e54902b5c5fd457233f91c493df6e">player_accelerate_during_start_sequence</a></div><div class="ttdeci">void player_accelerate_during_start_sequence(Player *)</div><div class="ttdef"><b>Definition</b> player_controller.c:3633</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a34a914e0fb6b377e115c3c2f36435b84"><div class="ttname"><a href="player__controller_8h.html#a34a914e0fb6b377e115c3c2f36435b84">cpu_forMarioAndLuigi</a></div><div class="ttdeci">s16 cpu_forMarioAndLuigi[]</div><div class="ttdef"><b>Definition</b> player_controller.c:46</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a363734a615d15635c920505a0636e115"><div class="ttname"><a href="player__controller_8h.html#a363734a615d15635c920505a0636e115">func_800291F8</a></div><div class="ttdeci">void func_800291F8(void)</div><div class="ttdef"><b>Definition</b> player_controller.c:691</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a363aad406bef407760eec4724522a169"><div class="ttname"><a href="player__controller_8h.html#a363aad406bef407760eec4724522a169">func_80037A4C</a></div><div class="ttdeci">void func_80037A4C(Player *, Vec3f, Vec3f)</div><div class="ttdef"><b>Definition</b> player_controller.c:4569</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a363aad406bef407760eec4724522a169"><div class="ttname"><a href="player__controller_8h.html#a363aad406bef407760eec4724522a169">func_80037A4C</a></div><div class="ttdeci">void func_80037A4C(Player *, Vec3f, Vec3f)</div><div class="ttdef"><b>Definition</b> player_controller.c:4568</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a3688343a2a18aaca5a69d65e597de82f"><div class="ttname"><a href="player__controller_8h.html#a3688343a2a18aaca5a69d65e597de82f">cpu_forPeachAndDk</a></div><div class="ttdeci">s16 cpu_forPeachAndDk[]</div><div class="ttdef"><b>Definition</b> player_controller.c:136</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a379a41814a67771caaa46b4fcb15192f"><div class="ttname"><a href="player__controller_8h.html#a379a41814a67771caaa46b4fcb15192f">cpu_forToadAndLuigi</a></div><div class="ttdeci">s16 cpu_forToadAndLuigi[]</div><div class="ttdef"><b>Definition</b> player_controller.c:90</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a3ae18b144ce3e7c07c7426efefbd5d67"><div class="ttname"><a href="player__controller_8h.html#a3ae18b144ce3e7c07c7426efefbd5d67">cpu_forDkAndWario</a></div><div class="ttdeci">s16 cpu_forDkAndWario[]</div><div class="ttdef"><b>Definition</b> player_controller.c:110</div></div>
|
||||
@@ -348,10 +348,10 @@ $(function(){initNavTree('player__controller_8h_source.html',''); initResizable(
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a3dc6f14cbb71b774f909f5d477fba89f"><div class="ttname"><a href="player__controller_8h.html#a3dc6f14cbb71b774f909f5d477fba89f">cpu_forLuigiAndPeach</a></div><div class="ttdeci">s16 cpu_forLuigiAndPeach[]</div><div class="ttdef"><b>Definition</b> player_controller.c:70</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a3e256fbf56ac2a20807950db727e9661"><div class="ttname"><a href="player__controller_8h.html#a3e256fbf56ac2a20807950db727e9661">player_decelerate_during_start_sequence</a></div><div class="ttdeci">void player_decelerate_during_start_sequence(Player *, f32)</div><div class="ttdef"><b>Definition</b> player_controller.c:3689</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a419a8b86e2c3d070e49e5681a65dcda1"><div class="ttname"><a href="player__controller_8h.html#a419a8b86e2c3d070e49e5681a65dcda1">cpu_forYoshiAndLuigi</a></div><div class="ttdeci">s16 cpu_forYoshiAndLuigi[]</div><div class="ttdef"><b>Definition</b> player_controller.c:76</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a41c133519f9c185a90af33d05c9f7baa"><div class="ttname"><a href="player__controller_8h.html#a41c133519f9c185a90af33d05c9f7baa">func_80037BB4</a></div><div class="ttdeci">void func_80037BB4(Player *player, Vec3f)</div><div class="ttdef"><b>Definition</b> player_controller.c:4596</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a41c133519f9c185a90af33d05c9f7baa"><div class="ttname"><a href="player__controller_8h.html#a41c133519f9c185a90af33d05c9f7baa">func_80037BB4</a></div><div class="ttdeci">void func_80037BB4(Player *player, Vec3f)</div><div class="ttdef"><b>Definition</b> player_controller.c:4595</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a437779a0650e2548647a2067b6e42123"><div class="ttname"><a href="player__controller_8h.html#a437779a0650e2548647a2067b6e42123">cpu_forWario</a></div><div class="ttdeci">s16 cpu_forWario[]</div><div class="ttdef"><b>Definition</b> player_controller.c:37</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a4379cf9352fe960f8cf917cf4856f4ed"><div class="ttname"><a href="player__controller_8h.html#a4379cf9352fe960f8cf917cf4856f4ed">func_8002C954</a></div><div class="ttdeci">void func_8002C954(Player *, s8, Vec3f)</div><div class="ttdef"><b>Definition</b> player_controller.c:1920</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a461c053d5329fd72a7db0532b50162ef"><div class="ttname"><a href="player__controller_8h.html#a461c053d5329fd72a7db0532b50162ef">func_80036DB4</a></div><div class="ttdeci">void func_80036DB4(Player *, Vec3f, Vec3f)</div><div class="ttdef"><b>Definition</b> player_controller.c:4357</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a461c053d5329fd72a7db0532b50162ef"><div class="ttname"><a href="player__controller_8h.html#a461c053d5329fd72a7db0532b50162ef">func_80036DB4</a></div><div class="ttdeci">void func_80036DB4(Player *, Vec3f, Vec3f)</div><div class="ttdef"><b>Definition</b> player_controller.c:4356</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a462820681103826e7dc505754d26a3f8"><div class="ttname"><a href="player__controller_8h.html#a462820681103826e7dc505754d26a3f8">cpu_forMarioAndWario</a></div><div class="ttdeci">s16 cpu_forMarioAndWario[]</div><div class="ttdef"><b>Definition</b> player_controller.c:54</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a480e4fafe920db11b39aa2459c9dfeb2"><div class="ttname"><a href="player__controller_8h.html#a480e4fafe920db11b39aa2459c9dfeb2">cpu_forToadAndMario</a></div><div class="ttdeci">s16 cpu_forToadAndMario[]</div><div class="ttdef"><b>Definition</b> player_controller.c:88</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a4886a1cd0144806f9f96a87a86a35958"><div class="ttname"><a href="player__controller_8h.html#a4886a1cd0144806f9f96a87a86a35958">update_steering_small</a></div><div class="ttdeci">void update_steering_small(Player *, s32 *, s32 *, s32, s32, s32, f32)</div><div class="ttdef"><b>Definition</b> player_controller.c:3881</div></div>
|
||||
@@ -363,7 +363,7 @@ $(function(){initNavTree('player__controller_8h_source.html',''); initResizable(
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a5881a0bac7fb97bc4c751d7996836c7f"><div class="ttname"><a href="player__controller_8h.html#a5881a0bac7fb97bc4c751d7996836c7f">func_8002A79C</a></div><div class="ttdeci">void func_8002A79C(Player *, s8)</div><div class="ttdef"><b>Definition</b> player_controller.c:1123</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a5be64fa020a15492a4dab050c1ef5600"><div class="ttname"><a href="player__controller_8h.html#a5be64fa020a15492a4dab050c1ef5600">func_8002FE84</a></div><div class="ttdeci">void func_8002FE84(Player *, f32)</div><div class="ttdef"><b>Definition</b> player_controller.c:2943</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a5d86cff72a19aa023cc7ed4ad4de9127"><div class="ttname"><a href="player__controller_8h.html#a5d86cff72a19aa023cc7ed4ad4de9127">update_drift_state_counter</a></div><div class="ttdeci">void update_drift_state_counter(Player *, s8)</div><div class="ttdef"><b>Definition</b> player_controller.c:1148</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a5e4ac3ec0641e83c5dde7dc13440d5aa"><div class="ttname"><a href="player__controller_8h.html#a5e4ac3ec0641e83c5dde7dc13440d5aa">func_80037614</a></div><div class="ttdeci">void func_80037614(Player *, Vec3f, Vec3f)</div><div class="ttdef"><b>Definition</b> player_controller.c:4483</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a5e4ac3ec0641e83c5dde7dc13440d5aa"><div class="ttname"><a href="player__controller_8h.html#a5e4ac3ec0641e83c5dde7dc13440d5aa">func_80037614</a></div><div class="ttdeci">void func_80037614(Player *, Vec3f, Vec3f)</div><div class="ttdef"><b>Definition</b> player_controller.c:4482</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a5f2d6dace2643074ccdb59a3839268bc"><div class="ttname"><a href="player__controller_8h.html#a5f2d6dace2643074ccdb59a3839268bc">func_8002C4F8</a></div><div class="ttdeci">void func_8002C4F8(Player *, s8)</div><div class="ttdef"><b>Definition</b> player_controller.c:1826</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a60b22a77aa4cf0b2be0942a3e115a1eb"><div class="ttname"><a href="player__controller_8h.html#a60b22a77aa4cf0b2be0942a3e115a1eb">func_80028F70</a></div><div class="ttdeci">void func_80028F70(void)</div><div class="ttdef"><b>Definition</b> player_controller.c:650</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a6303bb149bad9c8d22c0919a9bc3dc26"><div class="ttname"><a href="player__controller_8h.html#a6303bb149bad9c8d22c0919a9bc3dc26">func_80029150</a></div><div class="ttdeci">void func_80029150(void)</div><div class="ttdef"><b>Definition</b> player_controller.c:674</div></div>
|
||||
@@ -376,10 +376,10 @@ $(function(){initNavTree('player__controller_8h_source.html',''); initResizable(
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a6e18c268d5850258f841bdb80c6c5ba1"><div class="ttname"><a href="player__controller_8h.html#a6e18c268d5850258f841bdb80c6c5ba1">cpu_forToadAndBowser</a></div><div class="ttdeci">s16 cpu_forToadAndBowser[]</div><div class="ttdef"><b>Definition</b> player_controller.c:100</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a6e5c0e67e55deda79c1b6c3be77cd8c4"><div class="ttname"><a href="player__controller_8h.html#a6e5c0e67e55deda79c1b6c3be77cd8c4">cpu_forPeachAndWario</a></div><div class="ttdeci">s16 cpu_forPeachAndWario[]</div><div class="ttdef"><b>Definition</b> player_controller.c:138</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a6f44b07e387daa69d970f213ba55334a"><div class="ttname"><a href="player__controller_8h.html#a6f44b07e387daa69d970f213ba55334a">cpu_forLuigiAndDk</a></div><div class="ttdeci">s16 cpu_forLuigiAndDk[]</div><div class="ttdef"><b>Definition</b> player_controller.c:66</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a70780be6cd5f4a3c8ac9ab8504e21f90"><div class="ttname"><a href="player__controller_8h.html#a70780be6cd5f4a3c8ac9ab8504e21f90">handle_a_press_for_all_players_during_race</a></div><div class="ttdeci">void handle_a_press_for_all_players_during_race(void)</div><div class="ttdef"><b>Definition</b> player_controller.c:4765</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a70780be6cd5f4a3c8ac9ab8504e21f90"><div class="ttname"><a href="player__controller_8h.html#a70780be6cd5f4a3c8ac9ab8504e21f90">handle_a_press_for_all_players_during_race</a></div><div class="ttdeci">void handle_a_press_for_all_players_during_race(void)</div><div class="ttdef"><b>Definition</b> player_controller.c:4764</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a7081f349ebcd0a5fee7467c1fe5e1212"><div class="ttname"><a href="player__controller_8h.html#a7081f349ebcd0a5fee7467c1fe5e1212">cpu_forYoshiAndToad</a></div><div class="ttdeci">s16 cpu_forYoshiAndToad[]</div><div class="ttdef"><b>Definition</b> player_controller.c:78</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a71572e74fb71589b69ef4c455e52525a"><div class="ttname"><a href="player__controller_8h.html#a71572e74fb71589b69ef4c455e52525a">cpu_forTwoPlayer</a></div><div class="ttdeci">s16 ** cpu_forTwoPlayer[]</div><div class="ttdef"><b>Definition</b> player_controller.c:184</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a732e894c226e2ba9968c5bc9a13c1301"><div class="ttname"><a href="player__controller_8h.html#a732e894c226e2ba9968c5bc9a13c1301">func_80037CFC</a></div><div class="ttdeci">void func_80037CFC(Player *, struct Controller *, s8)</div><div class="ttdef"><b>Definition</b> player_controller.c:4635</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a732e894c226e2ba9968c5bc9a13c1301"><div class="ttname"><a href="player__controller_8h.html#a732e894c226e2ba9968c5bc9a13c1301">func_80037CFC</a></div><div class="ttdeci">void func_80037CFC(Player *, struct Controller *, s8)</div><div class="ttdef"><b>Definition</b> player_controller.c:4634</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a75c5f9eaeac78fc77811c9831f9a1a7e"><div class="ttname"><a href="player__controller_8h.html#a75c5f9eaeac78fc77811c9831f9a1a7e">func_8002AB70</a></div><div class="ttdeci">void func_8002AB70(Player *)</div><div class="ttdef"><b>Definition</b> player_controller.c:1241</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a760a4da363dc2dda8556b7df3cc87b4d"><div class="ttname"><a href="player__controller_8h.html#a760a4da363dc2dda8556b7df3cc87b4d">cpu_forBowserAndMario</a></div><div class="ttdeci">s16 cpu_forBowserAndMario[]</div><div class="ttdef"><b>Definition</b> player_controller.c:144</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a79c52daaabff986726b2484dc19fe884"><div class="ttname"><a href="player__controller_8h.html#a79c52daaabff986726b2484dc19fe884">cpu_forDkAndToad</a></div><div class="ttdeci">s16 cpu_forDkAndToad[]</div><div class="ttdef"><b>Definition</b> player_controller.c:106</div></div>
|
||||
@@ -390,7 +390,7 @@ $(function(){initNavTree('player__controller_8h_source.html',''); initResizable(
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a7ed28112caf8e8dc7b9276b5fc3b93bf"><div class="ttname"><a href="player__controller_8h.html#a7ed28112caf8e8dc7b9276b5fc3b93bf">cpu_forYoshiAndPeach</a></div><div class="ttdeci">s16 cpu_forYoshiAndPeach[]</div><div class="ttdef"><b>Definition</b> player_controller.c:84</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a81cee7f6d7431a87c226e6a23e2558c5"><div class="ttname"><a href="player__controller_8h.html#a81cee7f6d7431a87c226e6a23e2558c5">cpu_forToadAndPeach</a></div><div class="ttdeci">s16 cpu_forToadAndPeach[]</div><div class="ttdef"><b>Definition</b> player_controller.c:98</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a84ecbf5253c558893ce2f6b3fe344119"><div class="ttname"><a href="player__controller_8h.html#a84ecbf5253c558893ce2f6b3fe344119">func_8002C17C</a></div><div class="ttdeci">void func_8002C17C(Player *, s8)</div><div class="ttdef"><b>Definition</b> player_controller.c:1769</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a8866189af2aaa217e1cdd206a5ccb120"><div class="ttname"><a href="player__controller_8h.html#a8866189af2aaa217e1cdd206a5ccb120">get_clamped_stickX_with_deadzone</a></div><div class="ttdeci">s16 get_clamped_stickX_with_deadzone(struct Controller *)</div><div class="ttdef"><b>Definition</b> player_controller.c:4828</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a8866189af2aaa217e1cdd206a5ccb120"><div class="ttname"><a href="player__controller_8h.html#a8866189af2aaa217e1cdd206a5ccb120">get_clamped_stickX_with_deadzone</a></div><div class="ttdeci">s16 get_clamped_stickX_with_deadzone(struct Controller *)</div><div class="ttdef"><b>Definition</b> player_controller.c:4827</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a88fc4dad9173db3e0dd73e870136d1e4"><div class="ttname"><a href="player__controller_8h.html#a88fc4dad9173db3e0dd73e870136d1e4">cpu_forToadAndWario</a></div><div class="ttdeci">s16 cpu_forToadAndWario[]</div><div class="ttdef"><b>Definition</b> player_controller.c:96</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a8985110d1f21fefd493d9457db941bc0"><div class="ttname"><a href="player__controller_8h.html#a8985110d1f21fefd493d9457db941bc0">func_80027EDC</a></div><div class="ttdeci">void func_80027EDC(Player *, s8)</div><div class="ttdef"><b>Definition</b> player_controller.c:241</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a8ae932d3d5d7cef2a8bb8aa76eefa918"><div class="ttname"><a href="player__controller_8h.html#a8ae932d3d5d7cef2a8bb8aa76eefa918">player_accelerate_alternative</a></div><div class="ttdeci">void player_accelerate_alternative(Player *)</div><div class="ttdef"><b>Definition</b> player_controller.c:3302</div></div>
|
||||
@@ -400,14 +400,14 @@ $(function(){initNavTree('player__controller_8h_source.html',''); initResizable(
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a907ad3b4b14fbd0a16fe5bb29f85b844"><div class="ttname"><a href="player__controller_8h.html#a907ad3b4b14fbd0a16fe5bb29f85b844">cpu_forPeach</a></div><div class="ttdeci">s16 cpu_forPeach[]</div><div class="ttdef"><b>Definition</b> player_controller.c:39</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a919b487114a0043438e2f127f148aaf9"><div class="ttname"><a href="player__controller_8h.html#a919b487114a0043438e2f127f148aaf9">cpu_forBowserAndWario</a></div><div class="ttdeci">s16 cpu_forBowserAndWario[]</div><div class="ttdef"><b>Definition</b> player_controller.c:152</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a93beb6f60db4470425aa266cf0ea6abf"><div class="ttname"><a href="player__controller_8h.html#a93beb6f60db4470425aa266cf0ea6abf">func_8002F730</a></div><div class="ttdeci">void func_8002F730(Player *player, Camera *camera, s8 arg2, s8 playerId)</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a96dd8ea5e78695d817a2ec32e45e1c74"><div class="ttname"><a href="player__controller_8h.html#a96dd8ea5e78695d817a2ec32e45e1c74">func_8003777C</a></div><div class="ttdeci">void func_8003777C(Player *, Vec3f, Vec3f)</div><div class="ttdef"><b>Definition</b> player_controller.c:4513</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a96dd8ea5e78695d817a2ec32e45e1c74"><div class="ttname"><a href="player__controller_8h.html#a96dd8ea5e78695d817a2ec32e45e1c74">func_8003777C</a></div><div class="ttdeci">void func_8003777C(Player *, Vec3f, Vec3f)</div><div class="ttdef"><b>Definition</b> player_controller.c:4512</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a9a96f5990349b444d2b4e87458eff8c5"><div class="ttname"><a href="player__controller_8h.html#a9a96f5990349b444d2b4e87458eff8c5">cpu_forYoshiAndMario</a></div><div class="ttdeci">s16 cpu_forYoshiAndMario[]</div><div class="ttdef"><b>Definition</b> player_controller.c:74</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a9c055ca3612e7c9b83bf77149f6b3fb7"><div class="ttname"><a href="player__controller_8h.html#a9c055ca3612e7c9b83bf77149f6b3fb7">func_8002AAC0</a></div><div class="ttdeci">void func_8002AAC0(Player *)</div><div class="ttdef"><b>Definition</b> player_controller.c:1219</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a9c34653b2d0d6553978358b8b1188788"><div class="ttname"><a href="player__controller_8h.html#a9c34653b2d0d6553978358b8b1188788">func_8002D028</a></div><div class="ttdeci">void func_8002D028(Player *, s8)</div><div class="ttdef"><b>Definition</b> player_controller.c:2055</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a9c5839200e76ce2371ba893e5aa56964"><div class="ttname"><a href="player__controller_8h.html#a9c5839200e76ce2371ba893e5aa56964">cpu_forWarioAndDk</a></div><div class="ttdeci">s16 cpu_forWarioAndDk[]</div><div class="ttdef"><b>Definition</b> player_controller.c:122</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a9cebc097a3d44aaf46b4b7732086dc57"><div class="ttname"><a href="player__controller_8h.html#a9cebc097a3d44aaf46b4b7732086dc57">cpu_forToad</a></div><div class="ttdeci">s16 cpu_forToad[]</div><div class="ttdef"><b>Definition</b> player_controller.c:33</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a9ee50a5694766397c98aa17f4278ed96"><div class="ttname"><a href="player__controller_8h.html#a9ee50a5694766397c98aa17f4278ed96">func_800339C4</a></div><div class="ttdeci">void func_800339C4(Player *, s32 *, s32, s32, f32)</div><div class="ttdef"><b>Definition</b> player_controller.c:3864</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a9f92d6bdc3e11b8a805496c4ab1465ae"><div class="ttname"><a href="player__controller_8h.html#a9f92d6bdc3e11b8a805496c4ab1465ae">func_80038BE4</a></div><div class="ttdeci">void func_80038BE4(Player *, s16)</div><div class="ttdef"><b>Definition</b> player_controller.c:4935</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_a9f92d6bdc3e11b8a805496c4ab1465ae"><div class="ttname"><a href="player__controller_8h.html#a9f92d6bdc3e11b8a805496c4ab1465ae">func_80038BE4</a></div><div class="ttdeci">void func_80038BE4(Player *, s16)</div><div class="ttdef"><b>Definition</b> player_controller.c:4934</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_aa1f92cb9c1cf7aea70672cbf13800766"><div class="ttname"><a href="player__controller_8h.html#aa1f92cb9c1cf7aea70672cbf13800766">player_decelerate_global</a></div><div class="ttdeci">void player_decelerate_global(Player *, f32, s32)</div><div class="ttdef"><b>Definition</b> player_controller.c:3801</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_aa39a7d77078269ce8d005c1d3d799055"><div class="ttname"><a href="player__controller_8h.html#aa39a7d77078269ce8d005c1d3d799055">cpu_forPeachAndYoshi</a></div><div class="ttdeci">s16 cpu_forPeachAndYoshi[]</div><div class="ttdef"><b>Definition</b> player_controller.c:134</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_aa3f94145066325a1013e2748ac13f599"><div class="ttname"><a href="player__controller_8h.html#aa3f94145066325a1013e2748ac13f599">apply_triggers</a></div><div class="ttdeci">void apply_triggers(Player *, s8, s8)</div></div>
|
||||
@@ -419,7 +419,7 @@ $(function(){initNavTree('player__controller_8h_source.html',''); initResizable(
|
||||
<div class="ttc" id="aplayer__controller_8h_html_aab4c4057257b6f6e8c470cd20d03c487"><div class="ttname"><a href="player__controller_8h.html#aab4c4057257b6f6e8c470cd20d03c487">cpu_forWarioAndYoshi</a></div><div class="ttdeci">s16 cpu_forWarioAndYoshi[]</div><div class="ttdef"><b>Definition</b> player_controller.c:120</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_aac5f79d9110ad587623358c95740f501"><div class="ttname"><a href="player__controller_8h.html#aac5f79d9110ad587623358c95740f501">kart_hop</a></div><div class="ttdeci">void kart_hop(Player *)</div><div class="ttdef"><b>Definition</b> player_controller.c:1192</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_aaf204d883205b2e49e60bab791e5ff5c"><div class="ttname"><a href="player__controller_8h.html#aaf204d883205b2e49e60bab791e5ff5c">update_player_drift_duration</a></div><div class="ttdeci">void update_player_drift_duration(Player *)</div><div class="ttdef"><b>Definition</b> player_controller.c:1755</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_ab1ce6e814f17fdc40f556fa9b0844b14"><div class="ttname"><a href="player__controller_8h.html#ab1ce6e814f17fdc40f556fa9b0844b14">func_800378E8</a></div><div class="ttdeci">void func_800378E8(Player *, Vec3f, Vec3f)</div><div class="ttdef"><b>Definition</b> player_controller.c:4542</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_ab1ce6e814f17fdc40f556fa9b0844b14"><div class="ttname"><a href="player__controller_8h.html#ab1ce6e814f17fdc40f556fa9b0844b14">func_800378E8</a></div><div class="ttdeci">void func_800378E8(Player *, Vec3f, Vec3f)</div><div class="ttdef"><b>Definition</b> player_controller.c:4541</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_ab4839dc583be28b9f5b1772d6f47a83d"><div class="ttname"><a href="player__controller_8h.html#ab4839dc583be28b9f5b1772d6f47a83d">func_80028C44</a></div><div class="ttdeci">void func_80028C44(Player *, Camera *, s8, s8)</div><div class="ttdef"><b>Definition</b> player_controller.c:571</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_ab4bb07d840a1c124938d2582c2e6b97e"><div class="ttname"><a href="player__controller_8h.html#ab4bb07d840a1c124938d2582c2e6b97e">func_800291F0</a></div><div class="ttdeci">void func_800291F0(void)</div><div class="ttdef"><b>Definition</b> player_controller.c:688</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_ab6a7d333ca8adc69bb0d3fa482d05923"><div class="ttname"><a href="player__controller_8h.html#ab6a7d333ca8adc69bb0d3fa482d05923">cpu_forYoshiAndWario</a></div><div class="ttdeci">s16 cpu_forYoshiAndWario[]</div><div class="ttdef"><b>Definition</b> player_controller.c:82</div></div>
|
||||
@@ -430,12 +430,12 @@ $(function(){initNavTree('player__controller_8h_source.html',''); initResizable(
|
||||
<div class="ttc" id="aplayer__controller_8h_html_abba7765cfb0217fee1ec025f5b1bfe43"><div class="ttname"><a href="player__controller_8h.html#abba7765cfb0217fee1ec025f5b1bfe43">cpu_forYoshiAndDk</a></div><div class="ttdeci">s16 cpu_forYoshiAndDk[]</div><div class="ttdef"><b>Definition</b> player_controller.c:80</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_abc805259fe66ca7e725150d20739e990"><div class="ttname"><a href="player__controller_8h.html#abc805259fe66ca7e725150d20739e990">cpu_forPeachAndBowser</a></div><div class="ttdeci">s16 cpu_forPeachAndBowser[]</div><div class="ttdef"><b>Definition</b> player_controller.c:142</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_abca162a626168d4ece4d1e281872e84d"><div class="ttname"><a href="player__controller_8h.html#abca162a626168d4ece4d1e281872e84d">func_80028F5C</a></div><div class="ttdeci">void func_80028F5C(s32, s32, s32, s32)</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_ac1d70bc71d0e92c290b5d47c9b9ba84a"><div class="ttname"><a href="player__controller_8h.html#ac1d70bc71d0e92c290b5d47c9b9ba84a">func_80036C5C</a></div><div class="ttdeci">void func_80036C5C(Player *)</div><div class="ttdef"><b>Definition</b> player_controller.c:4328</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_ac1d70bc71d0e92c290b5d47c9b9ba84a"><div class="ttname"><a href="player__controller_8h.html#ac1d70bc71d0e92c290b5d47c9b9ba84a">func_80036C5C</a></div><div class="ttdeci">void func_80036C5C(Player *)</div><div class="ttdef"><b>Definition</b> player_controller.c:4327</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_ac4be022886df4b39bf8cc7a2a1685eb2"><div class="ttname"><a href="player__controller_8h.html#ac4be022886df4b39bf8cc7a2a1685eb2">get_player_index_for_player</a></div><div class="ttdeci">s32 get_player_index_for_player(Player *)</div><div class="ttdef"><b>Definition</b> player_controller.c:188</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_ac4f4e4f7af7b72abb6f29c85d39d4b75"><div class="ttname"><a href="player__controller_8h.html#ac4f4e4f7af7b72abb6f29c85d39d4b75">func_8002A5F4</a></div><div class="ttdeci">void func_8002A5F4(Vec3f, f32, Vec3f, f32, f32)</div><div class="ttdef"><b>Definition</b> player_controller.c:1079</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_ac5d54810bf8c9334c5f1bff5c6a5aad6"><div class="ttname"><a href="player__controller_8h.html#ac5d54810bf8c9334c5f1bff5c6a5aad6">cpu_forWarioAndMario</a></div><div class="ttdeci">s16 cpu_forWarioAndMario[]</div><div class="ttdef"><b>Definition</b> player_controller.c:116</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_ac7bf3fa7a7efacb6f6bad44477c2c7ed"><div class="ttname"><a href="player__controller_8h.html#ac7bf3fa7a7efacb6f6bad44477c2c7ed">func_80029060</a></div><div class="ttdeci">void func_80029060(void)</div><div class="ttdef"><b>Definition</b> player_controller.c:662</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_ac9b00d5a019afa296d9faf24e9d422d0"><div class="ttname"><a href="player__controller_8h.html#ac9b00d5a019afa296d9faf24e9d422d0">get_clamped_stickY_with_deadzone</a></div><div class="ttdeci">s16 get_clamped_stickY_with_deadzone(struct Controller *)</div><div class="ttdef"><b>Definition</b> player_controller.c:4881</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_ac9b00d5a019afa296d9faf24e9d422d0"><div class="ttname"><a href="player__controller_8h.html#ac9b00d5a019afa296d9faf24e9d422d0">get_clamped_stickY_with_deadzone</a></div><div class="ttdeci">s16 get_clamped_stickY_with_deadzone(struct Controller *)</div><div class="ttdef"><b>Definition</b> player_controller.c:4880</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_acc2a6a0efa39795eaf415b3aa0bddf96"><div class="ttname"><a href="player__controller_8h.html#acc2a6a0efa39795eaf415b3aa0bddf96">cpu_forDk</a></div><div class="ttdeci">s16 cpu_forDk[]</div><div class="ttdef"><b>Definition</b> player_controller.c:35</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_ace5e79f6dd8c30f0114819443bbcfc57"><div class="ttname"><a href="player__controller_8h.html#ace5e79f6dd8c30f0114819443bbcfc57">cpu_forMario</a></div><div class="ttdeci">s16 cpu_forMario[]</div><div class="ttdef"><b>Definition</b> player_controller.c:27</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_ad030e09c88b7c8494fb330effd518e33"><div class="ttname"><a href="player__controller_8h.html#ad030e09c88b7c8494fb330effd518e33">func_8002AE28</a></div><div class="ttdeci">void func_8002AE28(void)</div><div class="ttdef"><b>Definition</b> player_controller.c:1294</div></div>
|
||||
@@ -457,7 +457,7 @@ $(function(){initNavTree('player__controller_8h_source.html',''); initResizable(
|
||||
<div class="ttc" id="aplayer__controller_8h_html_aeffdbb54b2a18ca66d5fe8f44b942ff3"><div class="ttname"><a href="player__controller_8h.html#aeffdbb54b2a18ca66d5fe8f44b942ff3">func_80029B4C</a></div><div class="ttdeci">void func_80029B4C(Player *, f32, f32, f32)</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_af29a6502ef921511f0a4de4af49ff474"><div class="ttname"><a href="player__controller_8h.html#af29a6502ef921511f0a4de4af49ff474">func_80038C6C</a></div><div class="ttdeci">void func_80038C6C(Player *, Camera *, s8, s8)</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_af320405612ade0d0a926ffdaa75ad30f"><div class="ttname"><a href="player__controller_8h.html#af320405612ade0d0a926ffdaa75ad30f">func_80033940</a></div><div class="ttdeci">void func_80033940(Player *, s32 *, s32, s32, f32)</div><div class="ttdef"><b>Definition</b> player_controller.c:3845</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_af40a7f662a3dd0bd16e6201c6e5700c6"><div class="ttname"><a href="player__controller_8h.html#af40a7f662a3dd0bd16e6201c6e5700c6">handle_a_press_for_player_during_race</a></div><div class="ttdeci">void handle_a_press_for_player_during_race(Player *, struct Controller *, s8)</div><div class="ttdef"><b>Definition</b> player_controller.c:4733</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_af40a7f662a3dd0bd16e6201c6e5700c6"><div class="ttname"><a href="player__controller_8h.html#af40a7f662a3dd0bd16e6201c6e5700c6">handle_a_press_for_player_during_race</a></div><div class="ttdeci">void handle_a_press_for_player_during_race(Player *, struct Controller *, s8)</div><div class="ttdef"><b>Definition</b> player_controller.c:4732</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_af629a9ba6e347180495f707a0e5d45d6"><div class="ttname"><a href="player__controller_8h.html#af629a9ba6e347180495f707a0e5d45d6">cpu_forLuigiAndBowser</a></div><div class="ttdeci">s16 cpu_forLuigiAndBowser[]</div><div class="ttdef"><b>Definition</b> player_controller.c:72</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_af917f12b29f31fbc3e06e36390b08cae"><div class="ttname"><a href="player__controller_8h.html#af917f12b29f31fbc3e06e36390b08cae">func_8002C7E4</a></div><div class="ttdeci">void func_8002C7E4(Player *, s8, s8)</div><div class="ttdef"><b>Definition</b> player_controller.c:1881</div></div>
|
||||
<div class="ttc" id="aplayer__controller_8h_html_af9f721cc38ce7d92a55d15676a961b5e"><div class="ttname"><a href="player__controller_8h.html#af9f721cc38ce7d92a55d15676a961b5e">func_80030A34</a></div><div class="ttdeci">void func_80030A34(Player *)</div><div class="ttdef"><b>Definition</b> player_controller.c:3132</div></div>
|
||||
|
||||
@@ -715,7 +715,7 @@ Variables</h2></td></tr>
|
||||
<div class="ttc" id="agbi_8h_html_ae1cb0caf54e886b7f0d70a4184cb3799"><div class="ttname"><a href="gbi_8h.html#ae1cb0caf54e886b7f0d70a4184cb3799">G_RM_AA_ZB_XLU_SURF2</a></div><div class="ttdeci">#define G_RM_AA_ZB_XLU_SURF2</div><div class="ttdef"><b>Definition</b> gbi.h:881</div></div>
|
||||
<div class="ttc" id="ambi_8h_html_a3502935c4007f9c00550286d895ca296"><div class="ttname"><a href="mbi_8h.html#a3502935c4007f9c00550286d895ca296">G_ON</a></div><div class="ttdeci">#define G_ON</div><div class="ttdef"><b>Definition</b> mbi.h:51</div></div>
|
||||
<div class="ttc" id="arainbow__road_2course__textures_8linkonly_8c_html_a78b373c14f092fe8e7221ecfd975757d"><div class="ttname"><a href="rainbow__road_2course__textures_8linkonly_8c.html#a78b373c14f092fe8e7221ecfd975757d">gRRTextureStarOutline</a></div><div class="ttdeci">u8 gRRTextureStarOutline[]</div><div class="ttdef"><b>Definition</b> course_textures.linkonly.c:4</div></div>
|
||||
</div><!-- fragment --><dl class="todo"><dt><b><a class="el" href="todo.html#_todo000062">Todo</a></b></dt><dd>Replace addresses with variables </dd></dl>
|
||||
</div><!-- fragment --><dl class="todo"><dt><b><a class="el" href="todo.html#_todo000061">Todo</a></b></dt><dd>Replace addresses with variables </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -600,7 +600,7 @@ Variables</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000062">Todo</a></b></dt><dd>Replace addresses with variables </dd></dl>
|
||||
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000061">Todo</a></b></dt><dd>Replace addresses with variables </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ var searchData=
|
||||
['object_5forigin_5fpos_5frandomize_5faround_5fz_16',['object_origin_pos_randomize_around_z',['../code__80086E70_8c.html#ac6428c27f0022ef2f12b28a39c386945',1,'object_origin_pos_randomize_around_z(s32 objectIndex, s16 z, u16 arg2): code_80086E70.c'],['../code__80086E70_8h.html#af49d1527179dc119222464883ebe5174',1,'object_origin_pos_randomize_around_z(s32, s16, u16): code_80086E70.c']]],
|
||||
['objectindex_17',['objectIndex',['../structstruct__D__8018CE10.html#a127e1b12aed47ab382b129edabb71d52',1,'struct_D_8018CE10']]],
|
||||
['objectlistsize_18',['objectListSize',['../code__80057C60_8c.html#a619a9cb4ca05d69a44a5928af9e499ad',1,'code_80057C60.c']]],
|
||||
['objects_19',['Objects',['../objects.html',1,'Objects'],['../objects.html#objects',1,'Objects'],['../controlflow.html#objects-1',1,'Objects']]],
|
||||
['objects_19',['Objects',['../objects.html',1,'Objects'],['../controlflow.html#objects',1,'Objects'],['../objects.html#objects-1',1,'Objects']]],
|
||||
['objects_2eh_20',['objects.h',['../objects_8h.html',1,'']]],
|
||||
['objects_2emd_21',['objects.md',['../objects_8md.html',1,'']]],
|
||||
['objx_22',['objX',['../structuObjSprite__t.html#aa56aa472d1ac710dd829e6f1cd9f7ad0',1,'uObjSprite_t']]],
|
||||
|
||||
+1
-1
@@ -8661,7 +8661,7 @@ var searchData=
|
||||
['defaultcharacterids_8658',['defaultCharacterIds',['../code__80281780_8c.html#ad88934a4bcda92e222b2a466e1e26c12',1,'defaultCharacterIds: code_80281780.c'],['../code__80281780_8h.html#ad88934a4bcda92e222b2a466e1e26c12',1,'defaultCharacterIds: code_80281780.c']]],
|
||||
['defines_2eh_8659',['defines.h',['../defines_8h.html',1,'']]],
|
||||
['definitions_8660',['Technical Definitions',['../terminology.html#technical-definitions',1,'']]],
|
||||
['degrees_5fconversion_5ffactor_8661',['DEGREES_CONVERSION_FACTOR',['../defines_8h.html#a5fe5c9e278625a540997d87c80f22208',1,'defines.h']]],
|
||||
['degrees_8661',['DEGREES',['../defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b',1,'defines.h']]],
|
||||
['delay_8662',['delay',['../structVibratoState.html#ac7b0ebaf890134933a4888c2be0fbfc9',1,'VibratoState::delay'],['../structAdsrEnvelope.html#a0cb5b8f0c8cd0c0133ef589e194dd9a1',1,'AdsrEnvelope::delay'],['../structSequencePlayer.html#aa22d2a5a381563d6357394d5208a1778',1,'SequencePlayer::delay'],['../structAdsrState.html#a6ccfb81ff3259a289e5cc122e788807d',1,'AdsrState::delay'],['../structSequenceChannel.html#aca133567ad3c965a02afe14490e9e4ea',1,'SequenceChannel::delay'],['../structSequenceChannelLayer.html#a847c174ff1b4e29c3e717188bb5b76f4',1,'SequenceChannelLayer::delay']]],
|
||||
['delayunused_8663',['delayUnused',['../structSequenceChannelLayer.html#a9ed3e8ff831716e3e68c38c5131ffc8d',1,'SequenceChannelLayer']]],
|
||||
['delete_5factor_5fin_5funexpired_5factor_5flist_8664',['delete_actor_in_unexpired_actor_list',['../cpu__vehicles__camera__path_8h.html#a6cc38ffe3621fcb43db305340f3ab4c9',1,'delete_actor_in_unexpired_actor_list(s32): actor_utils.inc.c'],['../actor__utils_8inc_8c.html#ad301b978cdd3c4cc190b10be050d51d8',1,'delete_actor_in_unexpired_actor_list(s32 actorIndex): actor_utils.inc.c']]],
|
||||
|
||||
+1
-1
@@ -64,7 +64,7 @@ var searchData=
|
||||
['declare_5fkart_5ftumble_5ftable_61',['DECLARE_KART_TUMBLE_TABLE',['../kart__dma_8c.html#a9ce3390a2f0fbde77667e9ae510e9844',1,'kart_dma.c']]],
|
||||
['default_5flen_5f1ch_62',['DEFAULT_LEN_1CH',['../synthesis_8h.html#a595997d04904dfb0bf3bcef45336e373',1,'synthesis.h']]],
|
||||
['default_5flen_5f2ch_63',['DEFAULT_LEN_2CH',['../synthesis_8h.html#af8e8ccd276f35d9a4cee4a4a3d624373',1,'synthesis.h']]],
|
||||
['degrees_5fconversion_5ffactor_64',['DEGREES_CONVERSION_FACTOR',['../defines_8h.html#a5fe5c9e278625a540997d87c80f22208',1,'defines.h']]],
|
||||
['degrees_64',['DEGREES',['../defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b',1,'defines.h']]],
|
||||
['deleted_5fobject_5fid_65',['DELETED_OBJECT_ID',['../objects_8h.html#a5da8f460a22c441fb5bb00bd5b3bac2a',1,'objects.h']]],
|
||||
['demo_5ffive_66',['DEMO_FIVE',['../defines_8h.html#a4d0cd80c1d8a9c1b8668c6bd4f8509de',1,'defines.h']]],
|
||||
['demo_5ffour_67',['DEMO_FOUR',['../defines_8h.html#a718455dd2e94947933201e3718c5d87e',1,'defines.h']]],
|
||||
|
||||
@@ -150,9 +150,9 @@ $(function(){initNavTree('todo.html',''); initResizable(true); });
|
||||
<dt>Global <a class="el" href="mario__raceway_2course__data_8h.html#a5ce6bf30a3e89e79b1857218c96c16e6">d_course_mario_raceway_dl_0</a> []</dt>
|
||||
<dd><a class="anchor" id="_todo000060"></a>Replace addresses with variables </dd>
|
||||
<dt>Global <a class="el" href="moo__moo__farm_2course__data_8h.html#a080c72d442e86248f6be57e4742c9eac">d_course_moo_moo_farm_dl_0</a> []</dt>
|
||||
<dd><a class="anchor" id="_todo000061"></a>Replace addresses with variables </dd>
|
||||
<dt>Global <a class="el" href="rainbow__road_2course__data_8h.html#a3799e597579b4cac3ad094dde42efc15">d_course_rainbow_road_dl_0</a> []</dt>
|
||||
<dd><a class="anchor" id="_todo000062"></a>Replace addresses with variables </dd>
|
||||
<dt>Global <a class="el" href="rainbow__road_2course__data_8h.html#a3799e597579b4cac3ad094dde42efc15">d_course_rainbow_road_dl_0</a> []</dt>
|
||||
<dd><a class="anchor" id="_todo000061"></a>Replace addresses with variables </dd>
|
||||
<dt>Global <a class="el" href="royal__raceway_2course__data_8h.html#a360d16074a62b64efcedcdf6efcd0a43">d_course_royal_raceway_dl_0</a> []</dt>
|
||||
<dd><a class="anchor" id="_todo000063"></a>Replace addresses with variables </dd>
|
||||
<dt>Global <a class="el" href="sherbet__land_2course__data_8h.html#a062fc54c3c41a1c13e06db4f6b7e0322">d_course_sherbet_land_dl_0</a> []</dt>
|
||||
@@ -164,7 +164,7 @@ $(function(){initNavTree('todo.html',''); initResizable(true); });
|
||||
<dt>Global <a class="el" href="yoshi__valley_2course__data_8h.html#aa0217844fed4adea09db7b4e5047ccf3">d_course_yoshi_valley_dl_0</a> []</dt>
|
||||
<dd><a class="anchor" id="_todo000067"></a>Replace addresses with variables </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="_todo000011"></a>confirm this. </dd>
|
||||
<dt>Union <a class="el" href="uniondu.html">du</a> </dt>
|
||||
<dd><p class="startdd"><a class="anchor" id="_todo000021"></a>is it possible to remove them somehow? </p>
|
||||
<p class="enddd"><a class="anchor" id="_todo000022"></a>is it possible to remove them somehow? </p>
|
||||
@@ -182,13 +182,13 @@ $(function(){initNavTree('todo.html',''); initResizable(true); });
|
||||
<dt>Global <a class="el" href="update__objects_8c.html#a1f05dd9812f9dd03cc7455dfe62292dd">func_800745C8</a> (s32 objectIndex, uintptr_t arg1)</dt>
|
||||
<dd><a class="anchor" id="_todo000047"></a>arg1 should likely be a u8 * </dd>
|
||||
<dt>Global <a class="el" href="menu__items_8h.html#a11daab0c2cb2700179b2325d2c619769">func_80091FA4</a> (void)</dt>
|
||||
<dd><a class="anchor" id="_todo000033"></a>These sizes need to be sizeof() for shiftability if possible </dd>
|
||||
<dd><a class="anchor" id="_todo000038"></a>These sizes need to be sizeof() for shiftability if possible </dd>
|
||||
<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="_todo000009"></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="_todo000011"></a>What does this even do? </dd>
|
||||
<dd><a class="anchor" id="_todo000010"></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="_todo000041"></a>increasing players past four would require increase this loop iterator. </dd>
|
||||
<dt>Global <a class="el" href="update__objects_8c.html#a5d5e90510363f2db4ec1d76839b76d95">gen_random_item</a> (s16 rank, s16 isCpu)</dt>
|
||||
@@ -198,15 +198,15 @@ $(function(){initNavTree('todo.html',''); initResizable(true); });
|
||||
<dt>Global <a class="el" href="some__data_8c.html#af40885efd72dc665a278c6f29e19ecf3">gTorchSpawns</a> []</dt>
|
||||
<dd><a class="anchor" id="_todo000045"></a>fix this extern </dd>
|
||||
<dt>Global <a class="el" href="guMtxCatL_8c.html#a5783e95a8e8e7ef1793dbf79570e339e">guMtxCatL</a> (Mtx *m, Mtx *n, Mtx *res)</dt>
|
||||
<dd><a class="anchor" id="_todo000030"></a>Move gGfxPool out of <a class="el" href="main_8h.html">main.h</a> </dd>
|
||||
<dd><a class="anchor" id="_todo000037"></a>Move gGfxPool out of <a class="el" href="main_8h.html">main.h</a> </dd>
|
||||
<dt>Global <a class="el" href="osEPiRawStartDma_8c.html#a0f405b027addb60288ca287959d8d3d6">IO_WRITE</a> (addr, data)</dt>
|
||||
<dd><a class="anchor" id="_todo000027"></a>These defines are from <a class="el" href="rcp_8h.html">PR/rcp.h</a>, but including that causes problems... </dd>
|
||||
<dt>Global <a class="el" href="piint_8h.html#a8f6729a1dafa49bc6280eb2bcfb787d0">LEO_CMD_TYPE_0</a> </dt>
|
||||
<dd><a class="anchor" id="_todo000036"></a>name </dd>
|
||||
<dd><a class="anchor" id="_todo000034"></a>name </dd>
|
||||
<dt>Global <a class="el" href="piint_8h.html#a0231e88a1290269fd41dc1e4d24e4f55">LEO_CMD_TYPE_1</a> </dt>
|
||||
<dd><a class="anchor" id="_todo000037"></a>name </dd>
|
||||
<dd><a class="anchor" id="_todo000035"></a>name </dd>
|
||||
<dt>Global <a class="el" href="piint_8h.html#ad43c4418deeccdbeaabd6b9657d3c0c1">LEO_CMD_TYPE_2</a> </dt>
|
||||
<dd><a class="anchor" id="_todo000038"></a>name </dd>
|
||||
<dd><a class="anchor" id="_todo000036"></a>name </dd>
|
||||
<dt>Global <a class="el" href="path__calc_8inc_8c.html#ae18f6f7140f2ee549963a3bc404b159e">load_track_path</a> (s32 pathIndex)</dt>
|
||||
<dd><a class="anchor" id="_todo000008"></a>Confirm this comment </dd>
|
||||
<dt>Global <a class="el" href="sptask_8h.html#a3b54c742028b6c1e8246bf9349bad70c">M_TASK_FLAG0</a> </dt>
|
||||
@@ -224,13 +224,13 @@ $(function(){initNavTree('todo.html',''); initResizable(true); });
|
||||
<dt>Global <a class="el" href="osPfsDeleteFile_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="_todo000028"></a>magic constant </dd>
|
||||
<dt>Global <a class="el" href="osPiStartDma_8c.html#ae288a36d96a4db6977d95327e246ec12">osPiStartDma</a> (<a class="el" href="structOSIoMesg.html">OSIoMesg</a> *mb, s32 priority, s32 direction, uintptr_t devAddr, void *vAddr, size_t nbytes, OSMesgQueue *mq)</dt>
|
||||
<dd><a class="anchor" id="_todo000032"></a>name magic constants </dd>
|
||||
<dd><a class="anchor" id="_todo000031"></a>name magic constants </dd>
|
||||
<dt>Global <a class="el" href="osPiRawStartDma_8c.html#aa3a1dc7939fd49721d4353372722722c">osRomBase</a> </dt>
|
||||
<dd><a class="anchor" id="_todo000031"></a>figure out why this is like this </dd>
|
||||
<dd><a class="anchor" id="_todo000030"></a>figure out why this is like this </dd>
|
||||
<dt>Global <a class="el" href="osViBlack_8c.html#a6446513d8cd19001210d458f11b12df4">osViBlack</a> (u8 active)</dt>
|
||||
<dd><a class="anchor" id="_todo000034"></a>name magic constants </dd>
|
||||
<dd><a class="anchor" id="_todo000032"></a>name magic constants </dd>
|
||||
<dt>Global <a class="el" href="osViSwapBuffer_8c.html#ad9fbc8feed5d6cf557a051834e168950">osViSwapBuffer</a> (void *vaddr)</dt>
|
||||
<dd><a class="anchor" id="_todo000035"></a>figure out what this flag means </dd>
|
||||
<dd><a class="anchor" id="_todo000033"></a>figure out what this flag means </dd>
|
||||
<dt>Global <a class="el" href="osEPiRawStartDma_8c.html#a61b4993ebb70a3b701fccc3221c36d81">PI_DOMAIN1</a> </dt>
|
||||
<dd><a class="anchor" id="_todo000026"></a>This define is from <a class="el" href="os_8h.html">os.h</a>, but including that causes problems... </dd>
|
||||
<dt>Global <a class="el" href="actors_8c.html#a244363eb20e950ed94944be1c768a37c">render_actor_shell</a> (<a class="el" href="structCamera.html">Camera</a> *camera, Mat4 matrix, struct <a class="el" href="structShellActor.html">ShellActor</a> *shell)</dt>
|
||||
|
||||
@@ -183,7 +183,7 @@ $(function(){initNavTree('train_2render_8inc_8c_source.html',''); initResizable(
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="kalimari__desert_2course__data_8c.html#a43bd524976e6266eecd31c16b34df8d8">d_course_kalimari_desert_dl_22DB8</a>);</div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> gSPPopMatrix(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a4c9589710f911ec2c38104f51a68a8aa">G_MTX_MODELVIEW</a>);</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> </div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + 0x16C));</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(2)));</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <a class="code hl_function" href="math__util_8c.html#a90e0b3fecb9c2169e5a33f14ed5e33df">vec3f_set</a>(sp160, 17.0f, 6.0f, 16.0f);</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <a class="code hl_function" href="math__util_8c.html#a3011787ec4cef98a1827460577d8eb56">mtxf_translate</a>(spE0, sp160);</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <a class="code hl_function" href="math__util_8c.html#a4b420c1efb18e54899a75aa9cb784433">mtxf_multiplication</a>(spA0, sp120, spE0);</div>
|
||||
@@ -196,7 +196,7 @@ $(function(){initNavTree('train_2render_8inc_8c_source.html',''); initResizable(
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="kalimari__desert_2course__data_8c.html#a43bd524976e6266eecd31c16b34df8d8">d_course_kalimari_desert_dl_22DB8</a>);</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> gSPPopMatrix(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a4c9589710f911ec2c38104f51a68a8aa">G_MTX_MODELVIEW</a>);</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> </div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + 0x16C));</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(2)));</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <a class="code hl_function" href="math__util_8c.html#a90e0b3fecb9c2169e5a33f14ed5e33df">vec3f_set</a>(sp160, -17.0f, 6.0f, 16.0f);</div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <a class="code hl_function" href="math__util_8c.html#a3011787ec4cef98a1827460577d8eb56">mtxf_translate</a>(spE0, sp160);</div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <a class="code hl_function" href="math__util_8c.html#a4b420c1efb18e54899a75aa9cb784433">mtxf_multiplication</a>(spA0, sp120, spE0);</div>
|
||||
@@ -209,7 +209,7 @@ $(function(){initNavTree('train_2render_8inc_8c_source.html',''); initResizable(
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="kalimari__desert_2course__data_8c.html#a43bd524976e6266eecd31c16b34df8d8">d_course_kalimari_desert_dl_22DB8</a>);</div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> gSPPopMatrix(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a4c9589710f911ec2c38104f51a68a8aa">G_MTX_MODELVIEW</a>);</div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> </div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + 0x444));</div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(6)));</div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <a class="code hl_function" href="math__util_8c.html#a90e0b3fecb9c2169e5a33f14ed5e33df">vec3f_set</a>(sp160, 17.0f, 12.0f, -12.0f);</div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <a class="code hl_function" href="math__util_8c.html#a3011787ec4cef98a1827460577d8eb56">mtxf_translate</a>(spE0, sp160);</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <a class="code hl_function" href="math__util_8c.html#a4b420c1efb18e54899a75aa9cb784433">mtxf_multiplication</a>(spA0, sp120, spE0);</div>
|
||||
@@ -222,7 +222,7 @@ $(function(){initNavTree('train_2render_8inc_8c_source.html',''); initResizable(
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="kalimari__desert_2course__data_8c.html#adcb426b610031c4495cf1d7b7ccd7afc">d_course_kalimari_desert_dl_22D70</a>);</div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> gSPPopMatrix(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a4c9589710f911ec2c38104f51a68a8aa">G_MTX_MODELVIEW</a>);</div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> </div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + 0x444));</div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(6)));</div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <a class="code hl_function" href="math__util_8c.html#a90e0b3fecb9c2169e5a33f14ed5e33df">vec3f_set</a>(sp160, -17.0f, 12.0f, -12.0f);</div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <a class="code hl_function" href="math__util_8c.html#a3011787ec4cef98a1827460577d8eb56">mtxf_translate</a>(spE0, sp160);</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> <a class="code hl_function" href="math__util_8c.html#a4b420c1efb18e54899a75aa9cb784433">mtxf_multiplication</a>(spA0, sp120, spE0);</div>
|
||||
@@ -235,7 +235,7 @@ $(function(){initNavTree('train_2render_8inc_8c_source.html',''); initResizable(
|
||||
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="kalimari__desert_2course__data_8c.html#adcb426b610031c4495cf1d7b7ccd7afc">d_course_kalimari_desert_dl_22D70</a>);</div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> gSPPopMatrix(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a4c9589710f911ec2c38104f51a68a8aa">G_MTX_MODELVIEW</a>);</div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> </div>
|
||||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + 0x2D8));</div>
|
||||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(4)));</div>
|
||||
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <a class="code hl_function" href="math__util_8c.html#a90e0b3fecb9c2169e5a33f14ed5e33df">vec3f_set</a>(sp160, 17.0f, 12.0f, -34.0f);</div>
|
||||
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <a class="code hl_function" href="math__util_8c.html#a3011787ec4cef98a1827460577d8eb56">mtxf_translate</a>(spE0, sp160);</div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <a class="code hl_function" href="math__util_8c.html#a4b420c1efb18e54899a75aa9cb784433">mtxf_multiplication</a>(spA0, sp120, spE0);</div>
|
||||
@@ -248,7 +248,7 @@ $(function(){initNavTree('train_2render_8inc_8c_source.html',''); initResizable(
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="kalimari__desert_2course__data_8c.html#adcb426b610031c4495cf1d7b7ccd7afc">d_course_kalimari_desert_dl_22D70</a>);</div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> gSPPopMatrix(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a4c9589710f911ec2c38104f51a68a8aa">G_MTX_MODELVIEW</a>);</div>
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> </div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + 0x2D8));</div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(4)));</div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> <a class="code hl_function" href="math__util_8c.html#a90e0b3fecb9c2169e5a33f14ed5e33df">vec3f_set</a>(sp160, -17.0f, 12.0f, -34.0f);</div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <a class="code hl_function" href="math__util_8c.html#a3011787ec4cef98a1827460577d8eb56">mtxf_translate</a>(spE0, sp160);</div>
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <a class="code hl_function" href="math__util_8c.html#a4b420c1efb18e54899a75aa9cb784433">mtxf_multiplication</a>(spA0, sp120, spE0);</div>
|
||||
@@ -325,7 +325,7 @@ $(function(){initNavTree('train_2render_8inc_8c_source.html',''); initResizable(
|
||||
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="kalimari__desert_2course__data_8c.html#a43bd524976e6266eecd31c16b34df8d8">d_course_kalimari_desert_dl_22DB8</a>);</div>
|
||||
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> gSPPopMatrix(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a4c9589710f911ec2c38104f51a68a8aa">G_MTX_MODELVIEW</a>);</div>
|
||||
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> </div>
|
||||
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + 0x444));</div>
|
||||
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(6)));</div>
|
||||
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> <a class="code hl_function" href="math__util_8c.html#a90e0b3fecb9c2169e5a33f14ed5e33df">vec3f_set</a>(sp160, 17.0f, 6.0f, -8.0f);</div>
|
||||
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> <a class="code hl_function" href="math__util_8c.html#a3011787ec4cef98a1827460577d8eb56">mtxf_translate</a>(spE0, sp160);</div>
|
||||
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> <a class="code hl_function" href="math__util_8c.html#a4b420c1efb18e54899a75aa9cb784433">mtxf_multiplication</a>(spA0, sp120, spE0);</div>
|
||||
@@ -337,7 +337,7 @@ $(function(){initNavTree('train_2render_8inc_8c_source.html',''); initResizable(
|
||||
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="kalimari__desert_2course__data_8c.html#a43bd524976e6266eecd31c16b34df8d8">d_course_kalimari_desert_dl_22DB8</a>);</div>
|
||||
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> gSPPopMatrix(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a4c9589710f911ec2c38104f51a68a8aa">G_MTX_MODELVIEW</a>);</div>
|
||||
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> </div>
|
||||
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + 0x444));</div>
|
||||
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(6)));</div>
|
||||
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> <a class="code hl_function" href="math__util_8c.html#a90e0b3fecb9c2169e5a33f14ed5e33df">vec3f_set</a>(sp160, -17.0f, 6.0f, -8.0f);</div>
|
||||
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> <a class="code hl_function" href="math__util_8c.html#a3011787ec4cef98a1827460577d8eb56">mtxf_translate</a>(spE0, sp160);</div>
|
||||
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> <a class="code hl_function" href="math__util_8c.html#a4b420c1efb18e54899a75aa9cb784433">mtxf_multiplication</a>(spA0, sp120, spE0);</div>
|
||||
@@ -417,7 +417,7 @@ $(function(){initNavTree('train_2render_8inc_8c_source.html',''); initResizable(
|
||||
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="kalimari__desert_2course__data_8c.html#a43bd524976e6266eecd31c16b34df8d8">d_course_kalimari_desert_dl_22DB8</a>);</div>
|
||||
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span> gSPPopMatrix(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a4c9589710f911ec2c38104f51a68a8aa">G_MTX_MODELVIEW</a>);</div>
|
||||
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span> </div>
|
||||
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + 0x222));</div>
|
||||
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(3)));</div>
|
||||
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span> <a class="code hl_function" href="math__util_8c.html#a90e0b3fecb9c2169e5a33f14ed5e33df">vec3f_set</a>(sp160, 17.0f, 6.0f, 12.0f);</div>
|
||||
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span> <a class="code hl_function" href="math__util_8c.html#a3011787ec4cef98a1827460577d8eb56">mtxf_translate</a>(spE0, sp160);</div>
|
||||
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span> <a class="code hl_function" href="math__util_8c.html#a4b420c1efb18e54899a75aa9cb784433">mtxf_multiplication</a>(spA0, sp120, spE0);</div>
|
||||
@@ -429,7 +429,7 @@ $(function(){initNavTree('train_2render_8inc_8c_source.html',''); initResizable(
|
||||
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="kalimari__desert_2course__data_8c.html#a43bd524976e6266eecd31c16b34df8d8">d_course_kalimari_desert_dl_22DB8</a>);</div>
|
||||
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> gSPPopMatrix(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a4c9589710f911ec2c38104f51a68a8aa">G_MTX_MODELVIEW</a>);</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> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + 0x222));</div>
|
||||
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(3)));</div>
|
||||
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span> <a class="code hl_function" href="math__util_8c.html#a90e0b3fecb9c2169e5a33f14ed5e33df">vec3f_set</a>(sp160, -17.0f, 6.0f, 12.0f);</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#a3011787ec4cef98a1827460577d8eb56">mtxf_translate</a>(spE0, sp160);</div>
|
||||
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span> <a class="code hl_function" href="math__util_8c.html#a4b420c1efb18e54899a75aa9cb784433">mtxf_multiplication</a>(spA0, sp120, spE0);</div>
|
||||
@@ -441,7 +441,7 @@ $(function(){initNavTree('train_2render_8inc_8c_source.html',''); initResizable(
|
||||
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="kalimari__desert_2course__data_8c.html#a43bd524976e6266eecd31c16b34df8d8">d_course_kalimari_desert_dl_22DB8</a>);</div>
|
||||
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> gSPPopMatrix(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a4c9589710f911ec2c38104f51a68a8aa">G_MTX_MODELVIEW</a>);</div>
|
||||
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span> </div>
|
||||
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + 0x5B0));</div>
|
||||
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(8)));</div>
|
||||
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> <a class="code hl_function" href="math__util_8c.html#a90e0b3fecb9c2169e5a33f14ed5e33df">vec3f_set</a>(sp160, 17.0f, 6.0f, -8.0f);</div>
|
||||
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span> <a class="code hl_function" href="math__util_8c.html#a3011787ec4cef98a1827460577d8eb56">mtxf_translate</a>(spE0, sp160);</div>
|
||||
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> <a class="code hl_function" href="math__util_8c.html#a4b420c1efb18e54899a75aa9cb784433">mtxf_multiplication</a>(spA0, sp120, spE0);</div>
|
||||
@@ -453,7 +453,7 @@ $(function(){initNavTree('train_2render_8inc_8c_source.html',''); initResizable(
|
||||
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="kalimari__desert_2course__data_8c.html#a43bd524976e6266eecd31c16b34df8d8">d_course_kalimari_desert_dl_22DB8</a>);</div>
|
||||
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span> gSPPopMatrix(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a4c9589710f911ec2c38104f51a68a8aa">G_MTX_MODELVIEW</a>);</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> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + 0x5B0));</div>
|
||||
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(8)));</div>
|
||||
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span> <a class="code hl_function" href="math__util_8c.html#a90e0b3fecb9c2169e5a33f14ed5e33df">vec3f_set</a>(sp160, -17.0f, 6.0f, -8.0f);</div>
|
||||
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span> <a class="code hl_function" href="math__util_8c.html#a3011787ec4cef98a1827460577d8eb56">mtxf_translate</a>(spE0, sp160);</div>
|
||||
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span> <a class="code hl_function" href="math__util_8c.html#a4b420c1efb18e54899a75aa9cb784433">mtxf_multiplication</a>(spA0, sp120, spE0);</div>
|
||||
@@ -465,7 +465,7 @@ $(function(){initNavTree('train_2render_8inc_8c_source.html',''); initResizable(
|
||||
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="kalimari__desert_2course__data_8c.html#a43bd524976e6266eecd31c16b34df8d8">d_course_kalimari_desert_dl_22DB8</a>);</div>
|
||||
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span> gSPPopMatrix(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a4c9589710f911ec2c38104f51a68a8aa">G_MTX_MODELVIEW</a>);</div>
|
||||
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span> </div>
|
||||
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + 0x16C));</div>
|
||||
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(2)));</div>
|
||||
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> <a class="code hl_function" href="math__util_8c.html#a90e0b3fecb9c2169e5a33f14ed5e33df">vec3f_set</a>(sp160, 17.0f, 6.0f, -24.0f);</div>
|
||||
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span> <a class="code hl_function" href="math__util_8c.html#a3011787ec4cef98a1827460577d8eb56">mtxf_translate</a>(spE0, sp160);</div>
|
||||
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span> <a class="code hl_function" href="math__util_8c.html#a4b420c1efb18e54899a75aa9cb784433">mtxf_multiplication</a>(spA0, sp120, spE0);</div>
|
||||
@@ -477,7 +477,7 @@ $(function(){initNavTree('train_2render_8inc_8c_source.html',''); initResizable(
|
||||
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span> gSPDisplayList(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_variable" href="kalimari__desert_2course__data_8c.html#a43bd524976e6266eecd31c16b34df8d8">d_course_kalimari_desert_dl_22DB8</a>);</div>
|
||||
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> gSPPopMatrix(<a class="code hl_variable" href="main_8c.html#a126651d46f16435589024505d8aef7b7">gDisplayListHead</a>++, <a class="code hl_define" href="gbi_8h.html#a4c9589710f911ec2c38104f51a68a8aa">G_MTX_MODELVIEW</a>);</div>
|
||||
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"> 372</span> </div>
|
||||
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"> 373</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + 0x16C));</div>
|
||||
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"> 373</span> <a class="code hl_function" href="math__util_8c.html#a4631e23d28cac1c41fb3e07dba9570d6">mtxf_rotate_x</a>(sp120, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>) (actor-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> + <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(2)));</div>
|
||||
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"> 374</span> <a class="code hl_function" href="math__util_8c.html#a90e0b3fecb9c2169e5a33f14ed5e33df">vec3f_set</a>(sp160, -17.0f, 6.0f, -24.0f);</div>
|
||||
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"> 375</span> <a class="code hl_function" href="math__util_8c.html#a3011787ec4cef98a1827460577d8eb56">mtxf_translate</a>(spE0, sp160);</div>
|
||||
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span> <a class="code hl_function" href="math__util_8c.html#a4b420c1efb18e54899a75aa9cb784433">mtxf_multiplication</a>(spA0, sp120, spE0);</div>
|
||||
@@ -495,6 +495,7 @@ $(function(){initNavTree('train_2render_8inc_8c_source.html',''); initResizable(
|
||||
<div class="ttc" id="acamera_8c_html_a55c57426bead74311a6710cc88980ead"><div class="ttname"><a href="camera_8c.html#a55c57426bead74311a6710cc88980ead">camera1</a></div><div class="ttdeci">Camera * camera1</div><div class="ttdef"><b>Definition</b> camera.c:25</div></div>
|
||||
<div class="ttc" id="acommon__structs_8h_html_a5290523279339ea495248ab3a36cb46e"><div class="ttname"><a href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a></div><div class="ttdeci">f32 Vec3f[3]</div><div class="ttdef"><b>Definition</b> common_structs.h:6</div></div>
|
||||
<div class="ttc" id="acommon__structs_8h_html_ab7160f77e736961cfa2aff581aeee005"><div class="ttname"><a href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a></div><div class="ttdeci">f32 Mat4[4][4]</div><div class="ttdef"><b>Definition</b> common_structs.h:16</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a29a687ccf66fa4e1e852ecfaca24a63b"><div class="ttname"><a href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a></div><div class="ttdeci">#define DEGREES(degree)</div><div class="ttdef"><b>Definition</b> defines.h:347</div></div>
|
||||
<div class="ttc" id="agbi_8h_html"><div class="ttname"><a href="gbi_8h.html">gbi.h</a></div></div>
|
||||
<div class="ttc" id="agbi_8h_html_a1d9c1bb13064e0e1726ed802cfb2697a"><div class="ttname"><a href="gbi_8h.html#a1d9c1bb13064e0e1726ed802cfb2697a">G_CULL_BACK</a></div><div class="ttdeci">#define G_CULL_BACK</div><div class="ttdef"><b>Definition</b> gbi.h:351</div></div>
|
||||
<div class="ttc" id="agbi_8h_html_a4c9589710f911ec2c38104f51a68a8aa"><div class="ttname"><a href="gbi_8h.html#a4c9589710f911ec2c38104f51a68a8aa">G_MTX_MODELVIEW</a></div><div class="ttdeci">#define G_MTX_MODELVIEW</div><div class="ttdef"><b>Definition</b> gbi.h:305</div></div>
|
||||
|
||||
@@ -112,7 +112,7 @@ $(function(){initNavTree('train_2update_8inc_8c_source.html',''); initResizable(
|
||||
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div>
|
||||
<div class="foldopen" id="foldopen00010" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"><a class="line" href="train_2update_8inc_8c.html#a7a57fd958ad862c81447e812d25614bc"> 10</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="train_2update_8inc_8c.html#a7a57fd958ad862c81447e812d25614bc">update_actor_train_engine</a>(<span class="keyword">struct</span> <a class="code hl_struct" href="structTrainCar.html">TrainCar</a>* arg0) {</div>
|
||||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> arg0-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> -= 0x666;</div>
|
||||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> arg0-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(9);</div>
|
||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
|
||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> <span class="keywordflow">if</span> (arg0-><a class="code hl_variable" href="structTrainCar.html#a56993587fa0526769f92973539dfaf43">unk_08</a> != 0.0f) {</div>
|
||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> arg0-><a class="code hl_variable" href="structTrainCar.html#a56993587fa0526769f92973539dfaf43">unk_08</a> = 0.0f;</div>
|
||||
@@ -123,16 +123,17 @@ $(function(){initNavTree('train_2update_8inc_8c_source.html',''); initResizable(
|
||||
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
|
||||
<div class="foldopen" id="foldopen00025" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="train_2update_8inc_8c.html#ac73503521ac05818907bfaf0fd3ec960"> 25</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="train_2update_8inc_8c.html#ac73503521ac05818907bfaf0fd3ec960">update_actor_train_tender</a>(<span class="keyword">struct</span> <a class="code hl_struct" href="structTrainCar.html">TrainCar</a>* tender) {</div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> tender-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> -= 0x4FA;</div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> tender-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(7);</div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
|
||||
<div class="foldopen" id="foldopen00036" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="train_2update_8inc_8c.html#ae8ea049f21e5868d1b360020789652b5"> 36</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="train_2update_8inc_8c.html#ae8ea049f21e5868d1b360020789652b5">update_actor_train_passenger_car</a>(<span class="keyword">struct</span> <a class="code hl_struct" href="structTrainCar.html">TrainCar</a>* arg0) {</div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> arg0-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> -= 0x666;</div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> arg0-><a class="code hl_variable" href="structTrainCar.html#a3e4c6d1091b4cf5a1683496409bda622">wheelRot</a> -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(9);</div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span>}</div>
|
||||
</div>
|
||||
<div class="ttc" id="aactors_8h_html"><div class="ttname"><a href="actors_8h.html">actors.h</a></div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a29a687ccf66fa4e1e852ecfaca24a63b"><div class="ttname"><a href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a></div><div class="ttdeci">#define DEGREES(degree)</div><div class="ttdef"><b>Definition</b> defines.h:347</div></div>
|
||||
<div class="ttc" id="aexternal_8c_html_a903d1c248a30cd68262a6833b9c0b112"><div class="ttname"><a href="external_8c.html#a903d1c248a30cd68262a6833b9c0b112">func_800C9D80</a></div><div class="ttdeci">void func_800C9D80(Vec3f position, Vec3f velocity, u32 soundBits)</div><div class="ttdef"><b>Definition</b> external.c:3177</div></div>
|
||||
<div class="ttc" id="asounds_8h_html_a71288c0bb15b503d4570b441a05013f4"><div class="ttname"><a href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a></div><div class="ttdeci">#define SOUND_ARG_LOAD(sound_bank, byte2, byte3, sound_id)</div><div class="ttdef"><b>Definition</b> sounds.h:14</div></div>
|
||||
<div class="ttc" id="astructTrainCar_html"><div class="ttname"><a href="structTrainCar.html">TrainCar</a></div><div class="ttdef"><b>Definition</b> actor_types.h:144</div></div>
|
||||
|
||||
@@ -161,7 +161,7 @@ $(function(){initNavTree('vehicle__utils_8inc_8c_source.html',''); initResizable
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <a class="code hl_function" href="cpu__vehicles__camera__path_8h.html#a09cab32f89b37ef0154d0ecf1a93f790">func_8000D6D0</a>(vehicle-><a class="code hl_variable" href="structVehicleStuff.html#a503a23964a7da3b7d421aa428899092d">position</a>, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>*) &vehicle-><a class="code hl_variable" href="structVehicleStuff.html#afa6c499b7842b0e24c58334d3f4acd8a">pathPointIndex</a>, vehicle-><a class="code hl_variable" href="structVehicleStuff.html#ab5957c1c4b66fd5c4325fe73c770e30a">speed</a>,</div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> vehicle-><a class="code hl_variable" href="structVehicleStuff.html#adabbb0908d3cb32d925fa954c0834906">someMultiplierTheSequel</a>, 0, 3);</div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> vehicle-><a class="code hl_variable" href="structVehicleStuff.html#a81d029bc8dc229df9564e707b41f7f69">rotation</a>[0] = 0;</div>
|
||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> vehicle-><a class="code hl_variable" href="structVehicleStuff.html#a81d029bc8dc229df9564e707b41f7f69">rotation</a>[1] = -0x8000;</div>
|
||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> vehicle-><a class="code hl_variable" href="structVehicleStuff.html#a81d029bc8dc229df9564e707b41f7f69">rotation</a>[1] = -<a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(180);</div>
|
||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> vehicle-><a class="code hl_variable" href="structVehicleStuff.html#a81d029bc8dc229df9564e707b41f7f69">rotation</a>[2] = 0;</div>
|
||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <a class="code hl_function" href="cpu__vehicles__camera__path_8h.html#a3971a606acd369f625b994899a19d132">func_8000D940</a>(vehicle-><a class="code hl_variable" href="structVehicleStuff.html#a503a23964a7da3b7d421aa428899092d">position</a>, (<a class="code hl_typedef" href="ultratypes_8h.html#a4cb19f4a3324cfe0938ddfbfabaa825b">s16</a>*) &vehicle-><a class="code hl_variable" href="structVehicleStuff.html#afa6c499b7842b0e24c58334d3f4acd8a">pathPointIndex</a>, vehicle-><a class="code hl_variable" href="structVehicleStuff.html#ab5957c1c4b66fd5c4325fe73c770e30a">speed</a>,</div>
|
||||
@@ -1312,17 +1312,18 @@ $(function(){initNavTree('vehicle__utils_8inc_8c_source.html',''); initResizable
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8h_html_aa54f5bf1d1bee97894bfeb1c506dbd17"><div class="ttname"><a href="cpu__vehicles__camera__path_8h.html#aa54f5bf1d1bee97894bfeb1c506dbd17">update_vehicle_following_path</a></div><div class="ttdeci">s16 update_vehicle_following_path(Vec3f, s16 *, f32)</div><div class="ttdef"><b>Definition</b> path_utils.inc.c:794</div></div>
|
||||
<div class="ttc" id="acpu__vehicles__camera__path_8h_html_aafbbe24c6938bbf7755a73976b558df9"><div class="ttname"><a href="cpu__vehicles__camera__path_8h.html#aafbbe24c6938bbf7755a73976b558df9">generate_2d_path</a></div><div class="ttdeci">s32 generate_2d_path(Path2D *, TrackPathPoint *, s32)</div><div class="ttdef"><b>Definition</b> path_calc.inc.c:462</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a133cc2d2348d8a6933a1fbff2b2022c8"><div class="ttname"><a href="defines_8h.html#a133cc2d2348d8a6933a1fbff2b2022c8">SCREEN_MODE_2P_SPLITSCREEN_VERTICAL</a></div><div class="ttdeci">#define SCREEN_MODE_2P_SPLITSCREEN_VERTICAL</div><div class="ttdef"><b>Definition</b> defines.h:226</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a29a687ccf66fa4e1e852ecfaca24a63b"><div class="ttname"><a href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a></div><div class="ttdeci">#define DEGREES(degree)</div><div class="ttdef"><b>Definition</b> defines.h:347</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a367f6b5f1884f03e0479c4af7dfd3e45"><div class="ttname"><a href="defines_8h.html#a367f6b5f1884f03e0479c4af7dfd3e45">SCREEN_MODE_2P_SPLITSCREEN_HORIZONTAL</a></div><div class="ttdeci">#define SCREEN_MODE_2P_SPLITSCREEN_HORIZONTAL</div><div class="ttdef"><b>Definition</b> defines.h:225</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a3a21e993535215f388e0deb8852b31f2"><div class="ttname"><a href="defines_8h.html#a3a21e993535215f388e0deb8852b31f2">SCREEN_MODE_1P</a></div><div class="ttdeci">#define SCREEN_MODE_1P</div><div class="ttdoc">Options for gScreenModeSelection and gActiveScreenMode.</div><div class="ttdef"><b>Definition</b> defines.h:224</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a3aa8951f5d490e4f7c381143fd66e8ee"><div class="ttname"><a href="defines_8h.html#a3aa8951f5d490e4f7c381143fd66e8ee">CC_50</a></div><div class="ttdeci">#define CC_50</div><div class="ttdoc">Options for gCCSelection CC stands for cubic-centimetres. It measures engine displacement composed fr...</div><div class="ttdef"><b>Definition</b> defines.h:160</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a8243137b0c8b7200c20479738cdbe365"><div class="ttname"><a href="defines_8h.html#a8243137b0c8b7200c20479738cdbe365">GRAND_PRIX</a></div><div class="ttdeci">#define GRAND_PRIX</div><div class="ttdoc">Options for gModeSelection.</div><div class="ttdef"><b>Definition</b> defines.h:147</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a94a9f5b69ac28a2ac94c6491e76404bc"><div class="ttname"><a href="defines_8h.html#a94a9f5b69ac28a2ac94c6491e76404bc">HIT_PADDLE_BOAT_TRIGGER</a></div><div class="ttdeci">#define HIT_PADDLE_BOAT_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:416</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a94a9f5b69ac28a2ac94c6491e76404bc"><div class="ttname"><a href="defines_8h.html#a94a9f5b69ac28a2ac94c6491e76404bc">HIT_PADDLE_BOAT_TRIGGER</a></div><div class="ttdeci">#define HIT_PADDLE_BOAT_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:431</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab30d6efeb8601088397fff50c25c2424"><div class="ttname"><a href="defines_8h.html#ab30d6efeb8601088397fff50c25c2424">PLAYER_HUMAN</a></div><div class="ttdeci">#define PLAYER_HUMAN</div><div class="ttdef"><b>Definition</b> defines.h:105</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab575c359be08cc32922e7f88b3634eb9"><div class="ttname"><a href="defines_8h.html#ab575c359be08cc32922e7f88b3634eb9">VERTICAL_TUMBLE_TRIGGER</a></div><div class="ttdeci">#define VERTICAL_TUMBLE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:419</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ab575c359be08cc32922e7f88b3634eb9"><div class="ttname"><a href="defines_8h.html#ab575c359be08cc32922e7f88b3634eb9">VERTICAL_TUMBLE_TRIGGER</a></div><div class="ttdeci">#define VERTICAL_TUMBLE_TRIGGER</div><div class="ttdef"><b>Definition</b> defines.h:434</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_acbc3cc7fd82151c141e9ff5b200ed165"><div class="ttname"><a href="defines_8h.html#acbc3cc7fd82151c141e9ff5b200ed165">PLAYER_CPU</a></div><div class="ttdeci">#define PLAYER_CPU</div><div class="ttdef"><b>Definition</b> defines.h:103</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ae26d8c627161f41ae960b1c9efa2ddd0"><div class="ttname"><a href="defines_8h.html#ae26d8c627161f41ae960b1c9efa2ddd0">EXPLOSION_CRASH_EFFECT</a></div><div class="ttdeci">#define EXPLOSION_CRASH_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:466</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_ae26d8c627161f41ae960b1c9efa2ddd0"><div class="ttname"><a href="defines_8h.html#ae26d8c627161f41ae960b1c9efa2ddd0">EXPLOSION_CRASH_EFFECT</a></div><div class="ttdeci">#define EXPLOSION_CRASH_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:481</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_afbeb33d5671062036763d003c802e378"><div class="ttname"><a href="defines_8h.html#afbeb33d5671062036763d003c802e378">TIME_TRIALS</a></div><div class="ttdeci">#define TIME_TRIALS</div><div class="ttdef"><b>Definition</b> defines.h:148</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_affdab3bd96b2535871eae7865e1bc696"><div class="ttname"><a href="defines_8h.html#affdab3bd96b2535871eae7865e1bc696">HIT_BY_STAR_EFFECT</a></div><div class="ttdeci">#define HIT_BY_STAR_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:467</div></div>
|
||||
<div class="ttc" id="adefines_8h_html_affdab3bd96b2535871eae7865e1bc696"><div class="ttname"><a href="defines_8h.html#affdab3bd96b2535871eae7865e1bc696">HIT_BY_STAR_EFFECT</a></div><div class="ttdeci">#define HIT_BY_STAR_EFFECT</div><div class="ttdef"><b>Definition</b> defines.h:482</div></div>
|
||||
<div class="ttc" id="adks__jungle__parkway_2course__data_8c_html_af5969b3cb17eda89434135ef84067116"><div class="ttname"><a href="dks__jungle__parkway_2course__data_8c.html#af5969b3cb17eda89434135ef84067116">d_course_dks_jungle_parkway_ferry_path</a></div><div class="ttdeci">TrackPathPoint d_course_dks_jungle_parkway_ferry_path[]</div><div class="ttdef"><b>Definition</b> course_data.c:4003</div></div>
|
||||
<div class="ttc" id="aexternal_8c_html_a73831bcbe259500206651a0b4702be9f"><div class="ttname"><a href="external_8c.html#a73831bcbe259500206651a0b4702be9f">func_800C9EF4</a></div><div class="ttdeci">void func_800C9EF4(Vec3f arg0, u32 soundBits)</div><div class="ttdef"><b>Definition</b> external.c:3196</div></div>
|
||||
<div class="ttc" id="aexternal_8c_html_a903d1c248a30cd68262a6833b9c0b112"><div class="ttname"><a href="external_8c.html#a903d1c248a30cd68262a6833b9c0b112">func_800C9D80</a></div><div class="ttdeci">void func_800C9D80(Vec3f position, Vec3f velocity, u32 soundBits)</div><div class="ttdef"><b>Definition</b> external.c:3177</div></div>
|
||||
|
||||
@@ -112,10 +112,11 @@ $(function(){initNavTree('wario__sign_2update_8inc_8c_source.html',''); initResi
|
||||
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div>
|
||||
<div class="foldopen" id="foldopen00009" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"><a class="line" href="wario__sign_2update_8inc_8c.html#ab1a83fa9871a18feff7e7bc49946b7b8"> 9</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="wario__sign_2update_8inc_8c.html#ab1a83fa9871a18feff7e7bc49946b7b8">update_actor_wario_sign</a>(<span class="keyword">struct</span> <a class="code hl_struct" href="structActor.html">Actor</a>* arg0) {</div>
|
||||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> arg0-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[1] += 0xB6;</div>
|
||||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> arg0-><a class="code hl_variable" href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">rot</a>[1] += <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(1);</div>
|
||||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span>}</div>
|
||||
</div>
|
||||
<div class="ttc" id="aactors_8h_html"><div class="ttname"><a href="actors_8h.html">actors.h</a></div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a29a687ccf66fa4e1e852ecfaca24a63b"><div class="ttname"><a href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a></div><div class="ttdeci">#define DEGREES(degree)</div><div class="ttdef"><b>Definition</b> defines.h:347</div></div>
|
||||
<div class="ttc" id="astructActor_html"><div class="ttname"><a href="structActor.html">Actor</a></div><div class="ttdef"><b>Definition</b> actor_types.h:120</div></div>
|
||||
<div class="ttc" id="astructActor_html_aafc0746715101e8b4dd9afcd88a90ab9"><div class="ttname"><a href="structActor.html#aafc0746715101e8b4dd9afcd88a90ab9">Actor::rot</a></div><div class="ttdeci">Vec3s rot</div><div class="ttdef"><b>Definition</b> actor_types.h:127</div></div>
|
||||
<div class="ttc" id="awario__sign_2update_8inc_8c_html_ab1a83fa9871a18feff7e7bc49946b7b8"><div class="ttname"><a href="wario__sign_2update_8inc_8c.html#ab1a83fa9871a18feff7e7bc49946b7b8">update_actor_wario_sign</a></div><div class="ttdeci">void update_actor_wario_sign(struct Actor *arg0)</div><div class="ttdoc">Updates the Wario sign actor. Used in Wario Stadium.</div><div class="ttdef"><b>Definition</b> update.inc.c:9</div></div>
|
||||
|
||||
@@ -112,7 +112,7 @@ $(function(){initNavTree('yoshi__egg_2update_8inc_8c_source.html',''); initResiz
|
||||
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div>
|
||||
<div class="foldopen" id="foldopen00008" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"><a class="line" href="yoshi__egg_2update_8inc_8c.html#ab59d1718525ade7c99a8332e32a20ec2"> 8</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="yoshi__egg_2update_8inc_8c.html#ab59d1718525ade7c99a8332e32a20ec2">update_actor_yoshi_egg</a>(<span class="keyword">struct</span> <a class="code hl_struct" href="structYoshiValleyEgg.html">YoshiValleyEgg</a>* egg) {</div>
|
||||
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#afa5af4be9c951961bc44cff55f16574a">pathRot</a> += 0x5B;</div>
|
||||
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#afa5af4be9c951961bc44cff55f16574a">pathRot</a> += 0x5B; <span class="comment">// half a degree</span></div>
|
||||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#a7486545052cc5b59e18bb1b39dad2be2">pos</a>[0] = egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#af69126005d92263176a9ab66e2d4672d">pathCenter</a>[0] + (<a class="code hl_function" href="math__util_8c.html#adcf81d47666b5d86c4a1dbcb06e47faf">sins</a>(egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#afa5af4be9c951961bc44cff55f16574a">pathRot</a>) * egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#a89e9111131ab6793977cd6be47c76116">pathRadius</a>);</div>
|
||||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#a7486545052cc5b59e18bb1b39dad2be2">pos</a>[2] = egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#af69126005d92263176a9ab66e2d4672d">pathCenter</a>[2] + (<a class="code hl_function" href="math__util_8c.html#a5eb0d9752bc1557b7f4ae3809352a0eb">coss</a>(egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#afa5af4be9c951961bc44cff55f16574a">pathRot</a>) * egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#a89e9111131ab6793977cd6be47c76116">pathRadius</a>);</div>
|
||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> <span class="keywordflow">if</span> ((egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#a697fefc9791a902b358368460f28c6d4">flags</a> & 0x400) != 0) {</div>
|
||||
@@ -126,12 +126,13 @@ $(function(){initNavTree('yoshi__egg_2update_8inc_8c_source.html',''); initResiz
|
||||
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#af69126005d92263176a9ab66e2d4672d">pathCenter</a>[1] = 0.0f;</div>
|
||||
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#a697fefc9791a902b358368460f28c6d4">flags</a> &= ~(1 << 10);</div>
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> }</div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#a310c040e760d3aa654300c466e7598f6">eggRot</a> -= 0x4FA;</div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#a310c040e760d3aa654300c466e7598f6">eggRot</a> -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(7);</div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> }</div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#a310c040e760d3aa654300c466e7598f6">eggRot</a> -= 0x222;</div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> egg-><a class="code hl_variable" href="structYoshiValleyEgg.html#a310c040e760d3aa654300c466e7598f6">eggRot</a> -= <a class="code hl_define" href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a>(3);</div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span>}</div>
|
||||
</div>
|
||||
<div class="ttc" id="aactors_8h_html"><div class="ttname"><a href="actors_8h.html">actors.h</a></div></div>
|
||||
<div class="ttc" id="adefines_8h_html_a29a687ccf66fa4e1e852ecfaca24a63b"><div class="ttname"><a href="defines_8h.html#a29a687ccf66fa4e1e852ecfaca24a63b">DEGREES</a></div><div class="ttdeci">#define DEGREES(degree)</div><div class="ttdef"><b>Definition</b> defines.h:347</div></div>
|
||||
<div class="ttc" id="amath__util_8c_html_a5eb0d9752bc1557b7f4ae3809352a0eb"><div class="ttname"><a href="math__util_8c.html#a5eb0d9752bc1557b7f4ae3809352a0eb">coss</a></div><div class="ttdeci">f32 coss(u16 angle)</div><div class="ttdef"><b>Definition</b> math_util.c:1319</div></div>
|
||||
<div class="ttc" id="amath__util_8c_html_adcf81d47666b5d86c4a1dbcb06e47faf"><div class="ttname"><a href="math__util_8c.html#adcf81d47666b5d86c4a1dbcb06e47faf">sins</a></div><div class="ttdeci">f32 sins(u16 angle)</div><div class="ttdef"><b>Definition</b> math_util.c:1310</div></div>
|
||||
<div class="ttc" id="astructYoshiValleyEgg_html"><div class="ttname"><a href="structYoshiValleyEgg.html">YoshiValleyEgg</a></div><div class="ttdef"><b>Definition</b> actor_types.h:212</div></div>
|
||||
|
||||
Reference in New Issue
Block a user