SpaghettiKart/todo.html

253 lines
20 KiB
HTML

<!-- HTML header for doxygen 1.10.0-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Mario Kart 64: Todo List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="doxygen-awesome-sidebar-only.css" rel="stylesheet" type="text/css"/>
<link href="doxygen-awesome-sidebar-only-darkmode-toggle.css" rel="stylesheet" type="text/css"/>
<link href="docs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="doxygen-awesome-darkmode-toggle.js"></script>
<script type="text/javascript">
DoxygenAwesomeDarkModeToggle.init()
</script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">Mario Kart 64
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search',true);
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('todo.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div><div class="header">
<div class="headertitle"><div class="title">Todo List</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><dl class="reflist">
<dt>Global <a class="el" href="controller_8h.html#aab452241c8ea115165a20157fc64fb9e">__osGetId</a> (OSPfs *pfs)</dt>
<dd><p class="startdd"><a class="anchor" id="_todo000030"></a>remove magic constant </p>
<p class="enddd"><a class="anchor" id="_todo000031"></a>loads of magic constants.. </p>
</dd>
<dt>Global <a class="el" href="osPfsDeleteFile_8c.html#a9058bfef76860424d50c262127aabb87">__osPfsReleasePages</a> (OSPfs *pfs, <a class="el" href="struct____OSInode.html">__OSInode</a> *inode, u8 start_page, u16 *sum, u8 bank, <a class="el" href="union____OSInodeUnit.html">__OSInodeUnit</a> *last_page, int flag)</dt>
<dd><a class="anchor" id="_todo000043"></a>magic number </dd>
<dt>Global <a class="el" href="controller_8h.html#aa962180453c026d747ebef163e571966">__osPfsRWInode</a> (OSPfs *pfs, <a class="el" href="struct____OSInode.html">__OSInode</a> *inode, u8 flag, u8 bank)</dt>
<dd><a class="anchor" id="_todo000032"></a>don't like this =/ //maybe &amp;inode-&gt;inode_table[j*PFS_ONE_PAGE].ipage or something </dd>
<dt>Global <a class="el" href="piint_8h.html#a3e05f8f40d1da55183ee0eaec0c5b6bb">__osPiDevMgr</a> </dt>
<dd><a class="anchor" id="_todo000037"></a>In libreultra this is in an include </dd>
<dt>Global <a class="el" href="controller_8h.html#aef46f2f348aa04f58019de1b9036fcec">__osRepairPackId</a> (OSPfs *pfs, <a class="el" href="struct____OSPackId.html">__OSPackId</a> *badid, <a class="el" href="struct____OSPackId.html">__OSPackId</a> *newid)</dt>
<dd><p class="startdd"><a class="anchor" id="_todo000028"></a>fix magic number </p>
<p class="enddd"><a class="anchor" id="_todo000029"></a>remove magic constant </p>
</dd>
<dt>Global <a class="el" href="actors_8c.html#a91fb2e4e37e7c72fea918fe2c1bb4eaf">add_actor_to_empty_slot</a> (<a class="el" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a> pos, <a class="el" href="common__structs_8h.html#a95eb48a2f3630571bea260858dd23e92">Vec3s</a> rot, <a class="el" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a> velocity, s16 actorType)</dt>
<dd><a class="anchor" id="_todo000053"></a>Commented out because deletes too soon. </dd>
<dt>Global <a class="el" href="code__80086E70_8h.html#a5aed2e47470583536b07b8b3bcb9edd6">are_players_in_course_section</a> (s16, s16)</dt>
<dd><a class="anchor" id="_todo000008"></a>This is the easiest solution otherwise actors would not collide on custom courses. </dd>
<dt>Global <a class="el" href="classATrain.html#aa82e623dbfe2747f8be8f2e4781c9973">ATrain::SyncComponents</a> (<a class="el" href="structTrainCarStuff.html">TrainCarStuff</a> *trainCar, s16 orientationY)</dt>
<dd><a class="anchor" id="_todo000021"></a>: Change actorIndex to ptr to <a class="el" href="structTrainCar.html">TrainCar</a> actor </dd>
<dt>Global <a class="el" href="camera_8h.html#a5d473430986a7e9d5ceca3b538321cc8">BAD_RETURN</a> (cmd)</dt>
<dd><a class="anchor" id="_todo000006"></a>put this define in types.h or similar. Certain functions are marked as having return values, but do not actually return a value. This causes undefined behavior, which we'd rather avoid on modern GCC. This only impacts -O2 and can matter for both the function itself and functions that call it. </dd>
<dt>Global <a class="el" href="main_8h.html#a9410901312e9664a26f6a854227f2f8b">clear_framebuffer</a> (s32)</dt>
<dd><a class="anchor" id="_todo000026"></a>Why did void* work for matching </dd>
<dt>Global <a class="el" href="update__objects_8c.html#adf5256c5c92e5b22c984e0b8d171cda6">D_800E43B0</a> []</dt>
<dd><a class="anchor" id="_todo000061"></a>unused? </dd>
<dt>Global <a class="el" href="code__80281780_8h.html#a76c4e29164ea94ce7dd883af83565b45">debug_switch_character_ceremony_cutscene</a> (void)</dt>
<dd><a class="anchor" id="_todo000010"></a>confirm this. </dd>
<dt>Union <a class="el" href="uniondu.html">du</a> </dt>
<dd><p class="startdd"><a class="anchor" id="_todo000033"></a>is it possible to remove them somehow? </p>
<p class="enddd"><a class="anchor" id="_todo000034"></a>is it possible to remove them somehow? </p>
</dd>
<dt>Global <a class="el" href="data_8h.html#aa7ed73e948f47fa899fce22e05095d39">fill</a> [2]</dt>
<dd><a class="anchor" id="_todo000001"></a>file boundary? </dd>
<dt>Global <a class="el" href="data_8h.html#a837f6c2be63a0e045e0df9860e2c4e97">fill2</a> </dt>
<dd><a class="anchor" id="_todo000002"></a>0x00000000800f624c fill2 </dd>
<dt>Global <a class="el" href="freecam_8h.html#a24fe70d9abfdbfce68d126f947aee64d">freecam_keyboard_manager</a> (<a class="el" href="structCamera.html">Camera</a> *, <a class="el" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>)</dt>
<dd><a class="anchor" id="_todo000022"></a>configure this properly </dd>
<dt>Global <a class="el" href="player__controller_8h.html#a56b6cc32d3ba7e190ae4e338292b56f3">func_80028864</a> (<a class="el" href="structPlayer.html">Player</a> *, <a class="el" href="structCamera.html">Camera</a> *, s8, s8)</dt>
<dd><a class="anchor" id="_todo000051"></a>make a proper match </dd>
<dt>Global <a class="el" href="render__objects_8c.html#ae0dda7b003f95d15d72c5d40ed47127e">func_80046030</a> (u8 *tlut, u8 *texture, Vtx *arg2, s32 width, s32 arg4, s32 height)</dt>
<dd><a class="anchor" id="_todo000055"></a>tlut/texture unconfirmed. This could be texture1 and texture2 </dd>
<dt>Global <a class="el" href="render__objects_8c.html#a33fc340f4fc3585368fc4612e85a606c">func_8004C268</a> (u32 arg0, u32 arg1, u8 *texture, u32 width, u32 arg4, u32 height, s32 arg6)</dt>
<dd><a class="anchor" id="_todo000058"></a>fakematch? </dd>
<dt>Global <a class="el" href="render__objects_8c.html#a8d468948e47eb949882ffd71dc6a8d86">func_8004C268_wide</a> (u32 arg0, u32 arg1, u8 *texture, u32 width, u32 arg4, u32 height, s32 arg6)</dt>
<dd><a class="anchor" id="_todo000059"></a>fakematch? </dd>
<dt>Global <a class="el" href="update__objects_8c.html#afb6db6000e381e18cb393c9293ed3a05">func_800745C8</a> (s32 objectIndex, const char **lakituTexturePtr)</dt>
<dd><a class="anchor" id="_todo000062"></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="_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="_todo000011"></a>Does this match as a return of s8? </dd>
<dt>Global <a class="el" href="ceremony__and__credits_8h.html#ad8aba525036323f4e292e63fb2a356d0">func_802846E4</a> (<a class="el" href="structCinematicCamera.html">CinematicCamera</a> *)</dt>
<dd><a class="anchor" id="_todo000012"></a>What does this even do? </dd>
<dt>Global <a class="el" href="race__logic_8h.html#a4eb4cb5c0963bcfceae40d340c2e7756">func_8028F970</a> (void)</dt>
<dd><a class="anchor" id="_todo000054"></a>increasing players past four would require increase this loop iterator. </dd>
<dt>Global <a class="el" href="Game_8h.html#af21f89b45e081c9857c7c6689737ea93">GetCupName</a> (void)</dt>
<dd><a class="anchor" id="_todo000036"></a>Move gGfxPool out of <a class="el" href="main_8h.html">main.h</a> </dd>
<dt>Global <a class="el" href="code__800029B0_8h.html#a8a6a0e5ed8709356fba948d0beeb6a95">gPlayerWinningIndex</a> </dt>
<dd><a class="anchor" id="_todo000007"></a>gPlayerWinningIndex (D_800DC5E8) accessed as word, D_800DC5EB as u8 </dd>
<dt>Global <a class="el" href="some__data_8c.html#af40885efd72dc665a278c6f29e19ecf3">gTorchSpawns</a> []</dt>
<dd><a class="anchor" id="_todo000063"></a>fix this extern </dd>
<dt>Global <a class="el" href="osEPiRawStartDma_8c.html#a0f405b027addb60288ca287959d8d3d6">IO_WRITE</a> (addr, data)</dt>
<dd><a class="anchor" id="_todo000041"></a>These defines are from PR/rcp.h, 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="_todo000047"></a>name </dd>
<dt>Global <a class="el" href="piint_8h.html#a0231e88a1290269fd41dc1e4d24e4f55">LEO_CMD_TYPE_1</a> </dt>
<dd><a class="anchor" id="_todo000048"></a>name </dd>
<dt>Global <a class="el" href="piint_8h.html#ad43c4418deeccdbeaabd6b9657d3c0c1">LEO_CMD_TYPE_2</a> </dt>
<dd><a class="anchor" id="_todo000049"></a>name </dd>
<dt>Global <a class="el" href="code__80005FD0_8h.html#ae7d80d54daf89164e96f79cbd921e85f">load_track_path</a> (s32)</dt>
<dd><a class="anchor" id="_todo000009"></a>Confirm this comment </dd>
<dt>Global <a class="el" href="menus_8c.html#a3d16275034df7858d890273a95a5a4af">logo_intro_menu_act</a> (struct <a class="el" href="structController.html">Controller</a> *controller, UNUSED u16 controllerIdx)</dt>
<dd><a class="anchor" id="_todo000027"></a>Label audio funcs </dd>
<dt>Global <a class="el" href="main_8h.html#a3e7f5dc57f158b3772b2ab86f730b3d7">MTX_KART_POOL_SIZE</a> </dt>
<dd><a class="anchor" id="_todo000025"></a>Verify with proper documentation </dd>
<dt>Global <a class="el" href="main_8h.html#a92feae5b57f31cf54ba83ec8dacfa031">MTX_SHADOW_POOL_SIZE</a> </dt>
<dd><a class="anchor" id="_todo000024"></a>Verify with proper documentation </dd>
<dt>Global <a class="el" href="podium__ceremony__actors_8h.html#a186674a03da1d9fce04a3211d6f4ec4d">new_actor</a> (<a class="el" href="structActorInitParams.html">ActorInitParams</a> *)</dt>
<dd><a class="anchor" id="_todo000013"></a>More indepth error checking/return value </dd>
<dt>Global <a class="el" href="structNote.html#ad84c5a727f09a9ea8140bcf1b56ce512">Note::priority</a> </dt>
<dd><a class="anchor" id="_todo000004"></a>use macros or something instead. </dd>
<dt>Global <a class="el" href="classOBombKart.html#a287eda05ca5a76a2cb8c7d4d719d38e4">OBombKart::Unk_3C</a> </dt>
<dd><a class="anchor" id="_todo000014"></a>Turn WheelPos into a struct </dd>
<dt>Global <a class="el" href="osContInit_8c.html#a3a0e3a0d795150ad033f213754773c34">osContInit</a> (OSMesgQueue *mq, u8 *bitpattern, OSContStatus *status)</dt>
<dd><a class="anchor" id="_todo000035"></a>figure out what it means </dd>
<dt>Class <a class="el" href="classOSeagull.html">OSeagull</a> </dt>
<dd><a class="anchor" id="_todo000015"></a>unk_0D5 needs to be a struct variable probably. What does it do? Behaviour? </dd>
<dt>Global <a class="el" href="classOSnowman.html#abb32ca3bd6c2d1e50779e2b58b94607f">OSnowman::DrawBody</a> (s32)</dt>
<dd><a class="anchor" id="_todo000017"></a>quick hack to add the snow particles on hit. Need to separate into its own class </dd>
<dt>Global <a class="el" href="classOSnowman.html#ae84de267ff70c7e2ac5748b9bd738ada">OSnowman::Tick</a> () override</dt>
<dd><a class="anchor" id="_todo000016"></a>quick hack to add the snow particles on hit. Need to separate into its own class </dd>
<dt>Global <a class="el" href="pak_8cpp.html#a4694169ebbc67d1cab176b4f8945ce51">osPfsDeleteFile</a> (OSPfs *pfs, u16 company_code, u32 game_code, u8 *game_name, u8 *ext_name)</dt>
<dd><a class="anchor" id="_todo000042"></a>magic constant </dd>
<dt>Global <a class="el" href="osPiStartDma_8c.html#ae288a36d96a4db6977d95327e246ec12">osPiStartDma</a> (OSIoMesg *mb, s32 priority, s32 direction, uintptr_t devAddr, void *vAddr, size_t nbytes, OSMesgQueue *mq)</dt>
<dd><a class="anchor" id="_todo000045"></a>name magic constants </dd>
<dt>Global <a class="el" href="osPiRawStartDma_8c.html#aa3a1dc7939fd49721d4353372722722c">osRomBase</a> </dt>
<dd><a class="anchor" id="_todo000044"></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="_todo000046"></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="_todo000050"></a>figure out what this flag means </dd>
<dt>Class <a class="el" href="classOThwomp.html">OThwomp</a> </dt>
<dd><p class="startdd"><a class="anchor" id="_todo000018"></a>Make shadow size bigger if thwomp is scaled up </p>
<p class="interdd"></p>
<p class="enddd">make adjustable properties for squishSize and boundingBoxSize </p>
</dd>
<dt>Global <a class="el" href="osEPiRawStartDma_8c.html#a61b4993ebb70a3b701fccc3221c36d81">PI_DOMAIN1</a> </dt>
<dd><a class="anchor" id="_todo000040"></a>This define is from os.h, but including that causes problems... </dd>
<dt>Global <a class="el" href="collision__viewer_8h.html#afaee40683a3ae56cae11b2c5687e3328">render_collision</a> (void)</dt>
<dd><a class="anchor" id="_todo000023"></a>decide to use colours or textures and fix displaylists because they are buggy </dd>
<dt>Global <a class="el" href="render__objects_8c.html#a33684f0745ad1366fef89d3fd5ef598e">render_texture_rectangle</a> (s32 x, s32 y, s32 width, s32 height, s32 s, s32 w, s32 mode)</dt>
<dd><a class="anchor" id="_todo000056"></a>Update to F3DEX. Uses OLD definition for gspTextureRectangle. </dd>
<dt>Global <a class="el" href="render__objects_8c.html#aadbe7ac97f3cbf7b4c06e645f6dcbb74">render_texture_rectangle_wide</a> (s32 x, s32 y, s32 width, s32 height, s32 arg4, s32 arg5, s32 arg6)</dt>
<dd><a class="anchor" id="_todo000057"></a>Update to F3DEX. Uses OLD definition for gspTextureRectangle. </dd>
<dt>Global <a class="el" href="render__objects_8h.html#a2dfbec4da7f3417bfce9017bc9f65c57">set_minimap_finishline_position</a> (s32)</dt>
<dd><a class="anchor" id="_todo000060"></a>: Hardcode these x and y values. Because why not? </dd>
<dt>Global <a class="el" href="sounds_8h.html#a71288c0bb15b503d4570b441a05013f4">SOUND_ARG_LOAD</a> (sound_bank, byte2, byte3, sound_id)</dt>
<dd><a class="anchor" id="_todo000064"></a>format like sm64 <a class="el" href="sounds_8h.html">sounds.h</a> </dd>
<dt>Global <a class="el" href="actors_8c.html#aa6c218ad25d2200bdbf85cbbd197d1cd">spawn_foliage</a> (struct <a class="el" href="structActorSpawnData.html">ActorSpawnData</a> *actor)</dt>
<dd><a class="anchor" id="_todo000052"></a>actorType needs to be passed into this function for flexibility </dd>
<dt>Global <a class="el" href="Smoke_8h.html#ac60a65eb1961690e911d769968e4c863">TrainSmokeTick</a> (void)</dt>
<dd><a class="anchor" id="_todo000020"></a>: This should be an <a class="el" href="structObject.html">Object</a> class one day </dd>
<dt>Global <a class="el" href="osEPiRawStartDma_8c.html#a9f68445808ae98c1a50579d2c5a95c7f">UPDATE_REG</a> (reg, var)</dt>
<dd><a class="anchor" id="_todo000039"></a>This define is from <a class="el" href="piint_8h.html">piint.h</a>, but including that causes problems... </dd>
<dt>Global <a class="el" href="internal_8h.html#aa8d5fa5d7506353e4e791caab237c721">US_FLOAT</a> (x)</dt>
<dd><a class="anchor" id="_todo000003"></a>US_FLOAT should probably be renamed to JP_DOUBLE since eu seems to use floats too </dd>
</dl>
</div></div><!-- contents -->
</div><!-- PageDoc -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2 </li>
</ul>
</div>
</body>
</html>