diff options
| author | Henny022p <Henny022p@users.noreply.github.com> | 2026-02-08 17:33:27 +0000 |
|---|---|---|
| committer | Henny022p <Henny022p@users.noreply.github.com> | 2026-02-08 17:33:27 +0000 |
| commit | 36440e186924d7c8b98c077c2d8ac7dc738b9e83 (patch) | |
| tree | 87f3433d6470a878fd8c06fced909f3e7737abe0 /objectUtils_8c.html | |
deploy: 5ab63f00e522ff69c5bc987e379f0163943f2833gh-pages
Diffstat (limited to 'objectUtils_8c.html')
| -rw-r--r-- | objectUtils_8c.html | 272 |
1 files changed, 272 insertions, 0 deletions
diff --git a/objectUtils_8c.html b/objectUtils_8c.html new file mode 100644 index 00000000..6362deed --- /dev/null +++ b/objectUtils_8c.html @@ -0,0 +1,272 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8" /> + <title>src/objectUtils.c file | The Minish Cap Docs</title> + <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" /> + <link rel="stylesheet" href="m-dark+documentation.compiled.css" /> + <link rel="stylesheet" href="style.css" /> + <link rel="icon" href="https://zelda64.dev/favicon.ico" type="image/vnd.microsoft.icon" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta name="theme-color" content="#22272e" /> +</head> +<body> +<header><nav id="navigation"> + <div class="m-container"> + <div class="m-row"> + <span id="m-navbar-brand" class="m-col-t-8 m-col-m-none m-left-m"> + <a href="https://github.com/zeldaret/tmc">The Minish Cap</a> <span class="m-breadcrumb">|</span> <a href="index.html" class="m-thin">Docs</a> + </span> + <div class="m-col-t-4 m-hide-m m-text-right m-nopadr"> + <a href="#search" class="m-doc-search-icon" title="Search" onclick="return showSearch()"><svg style="height: 0.9rem;" viewBox="0 0 16 16"> + <path id="m-doc-search-icon-path" d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z"/> + </svg></a> + <a id="m-navbar-show" href="#navigation" title="Show navigation"></a> + <a id="m-navbar-hide" href="#" title="Hide navigation"></a> + </div> + <div id="m-navbar-collapse" class="m-col-t-12 m-show-m m-col-m-none m-right-m"> + <div class="m-row"> + <ol class="m-col-t-6 m-col-m-none"> + <li><a href="modules.html">Modules</a></li> + <li><a href="pages.html">Pages</a></li> + </ol> + <ol class="m-col-t-6 m-col-m-none" start="3"> + <li><a href="annotated.html">Classes</a></li> + <li><a href="files.html">Files</a></li> + <li class="m-show-m"><a href="#search" class="m-doc-search-icon" title="Search" onclick="return showSearch()"><svg style="height: 0.9rem;" viewBox="0 0 16 16"> + <use href="#m-doc-search-icon-path" /> + </svg></a></li> + </ol> + </div> + </div> + </div> + </div> +</nav></header> +<main><article> + <div class="m-container m-container-inflatable"> + <div class="m-row"> + <div class="m-col-l-10 m-push-l-1"> + <h1> + <span class="m-breadcrumb"><a href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a>/</span>objectUtils.c <span class="m-thin">file</span> + </h1> + <p><span></span></p> + <nav class="m-block m-default"> + <h3>Contents</h3> + <ul> + <li> + Reference + <ul> + <li><a href="#func-members">Functions</a></li> + <li><a href="#var-members">Variables</a></li> + </ul> + </li> + </ul> + </nav> + <section id="func-members"> + <h2><a href="#func-members">Functions</a></h2> + <dl class="m-doc"> + <dt id="a9b833d6484ceb8e3094e82767af1a902"> + <span class="m-doc-wrap-bumper">static auto <a href="#a9b833d6484ceb8e3094e82767af1a902" class="m-doc-self">CreateSpeechBubble</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>*, + <a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba" class="m-doc">u32</a>, + <a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4" class="m-doc">s32</a>, + <a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4" class="m-doc">s32</a>) -> <a href="structEntity.html" class="m-doc">Entity</a>*</span> + </dt> + <dd><span></span></dd> + <dt id="a2a5d04820509c6edb96d0f62370e650f"> + <span class="m-doc-wrap-bumper">auto <a href="#a2a5d04820509c6edb96d0f62370e650f" class="m-doc-self">CreateLinkAnimation</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parent, + <a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba" class="m-doc">u32</a> type, + <a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba" class="m-doc">u32</a> type2) -> <a href="structEntity.html" class="m-doc">Entity</a>*</span> + </dt> + <dd><span></span></dd> + <dt id="aec70ba2105d2e5832887614e3237b6fa"> + <span class="m-doc-wrap-bumper">void <a href="#aec70ba2105d2e5832887614e3237b6fa" class="m-doc-self">ObjectInit</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* this)</span> + </dt> + <dd><span></span></dd> + <dt id="a3238d844998d5fb0f8a7c3c2c118d39d"> + <span class="m-doc-wrap-bumper">auto <a href="#a3238d844998d5fb0f8a7c3c2c118d39d" class="m-doc-self">LoadObjectSprite</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* this, + <a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4" class="m-doc">s32</a> type, + const <a href="structObjectDefinition.html" class="m-doc">ObjectDefinition</a>* definition) -> <a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba" class="m-doc">u32</a></span> + </dt> + <dd><span></span></dd> + <dt id="aefeff8665afe06fd3c3d08d371167b56"> + <span class="m-doc-wrap-bumper">auto <a href="#aefeff8665afe06fd3c3d08d371167b56" class="m-doc-self">CreateObject</a>(</span><span class="m-doc-wrap"><a href="object_8h.html#a0b29a1e1c76a85a0dbaa7c34a9d2874a" class="m-doc">Object</a> id, + <a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba" class="m-doc">u32</a> type, + <a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba" class="m-doc">u32</a> type2) -> <a href="structEntity.html" class="m-doc">Entity</a>*</span> + </dt> + <dd><span></span></dd> + <dt id="a42c9efc29fba4ac0bd201d34601d9b52"> + <span class="m-doc-wrap-bumper">auto <a href="#a42c9efc29fba4ac0bd201d34601d9b52" class="m-doc-self">CreateObjectWithParent</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parent, + <a href="object_8h.html#a0b29a1e1c76a85a0dbaa7c34a9d2874a" class="m-doc">Object</a> id, + <a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba" class="m-doc">u32</a> type, + <a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba" class="m-doc">u32</a> type2) -> <a href="structEntity.html" class="m-doc">Entity</a>*</span> + </dt> + <dd><span></span></dd> + <dt id="af81295a6b2345331e3f3492d157e61bd"> + <span class="m-doc-wrap-bumper">auto <a href="#af81295a6b2345331e3f3492d157e61bd" class="m-doc-self">CreateFx</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parentEnt, + <a href="effects_8h.html#acd9c2a1cf576f0fd9da232d337d9720c" class="m-doc">Effect</a> type, + <a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba" class="m-doc">u32</a> type2) -> <a href="structEntity.html" class="m-doc">Entity</a>*</span> + </dt> + <dd><span></span></dd> + <dt id="a9cf7d6a0f2fcb21e525fad0224cdcd1b"> + <span class="m-doc-wrap-bumper">void <a href="#a9cf7d6a0f2fcb21e525fad0224cdcd1b" class="m-doc-self">CreateDeathFx</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parent)</span> + </dt> + <dd><span></span></dd> + <dt id="a4daf797518fc0ede4134234176f954c1"> + <span class="m-doc-wrap-bumper">void <a href="#a4daf797518fc0ede4134234176f954c1" class="m-doc-self">CreateDeathFxAt</a>(</span><span class="m-doc-wrap"><a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4" class="m-doc">s32</a> xOff, + <a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4" class="m-doc">s32</a> yOff, + <a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba" class="m-doc">u32</a> layer)</span> + </dt> + <dd><span></span></dd> + <dt id="aba3fe94bdb7d22ebc848593840d721ad"> + <span class="m-doc-wrap-bumper">void <a href="#aba3fe94bdb7d22ebc848593840d721ad" class="m-doc-self">CreateDashFx</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parent)</span> + </dt> + <dd><span></span></dd> + <dt id="adca303d0f26dc5a415c933d343af048f"> + <span class="m-doc-wrap-bumper">void <a href="#adca303d0f26dc5a415c933d343af048f" class="m-doc-self">CreateExplosionBrokenFx</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parent)</span> + </dt> + <dd><span></span></dd> + <dt id="a247780ccfeb366739dce9387d968289e"> + <span class="m-doc-wrap-bumper">void <a href="#a247780ccfeb366739dce9387d968289e" class="m-doc-self">CreateWaterSplashFx</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parent)</span> + </dt> + <dd><span></span></dd> + <dt id="a2674ae1b111f5c613b2835bd64d56559"> + <span class="m-doc-wrap-bumper">auto <a href="#a2674ae1b111f5c613b2835bd64d56559" class="m-doc-self">CreateGroundItem</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parent, + <a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba" class="m-doc">u32</a> item, + <a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba" class="m-doc">u32</a> subvalue) -> <a href="structEntity.html" class="m-doc">Entity</a>*</span> + </dt> + <dd><span></span></dd> + <dt id="a2e2cedf4a376e8222af9bc64177d5e71"> + <span class="m-doc-wrap-bumper">auto <a href="#a2e2cedf4a376e8222af9bc64177d5e71" class="m-doc-self">CreateGroundItemWithFlags</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parent, + <a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba" class="m-doc">u32</a> item, + <a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba" class="m-doc">u32</a> subvalue, + <a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba" class="m-doc">u32</a> flags) -> <a href="structEntity.html" class="m-doc">Entity</a>*</span> + </dt> + <dd><span></span></dd> + <dt id="a1c82f451223d460758546dbd30c9d37d"> + <span class="m-doc-wrap-bumper">auto <a href="#a1c82f451223d460758546dbd30c9d37d" class="m-doc-self">CreateRippleFx</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parent) -> <a href="structEntity.html" class="m-doc">Entity</a>*</span> + </dt> + <dd><span></span></dd> + <dt id="ad6aea9d3c285f105547965bbecc11d82"> + <span class="m-doc-wrap-bumper">void <a href="#ad6aea9d3c285f105547965bbecc11d82" class="m-doc-self">CreateRippleFxRandom</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parent, + <a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4" class="m-doc">s32</a> range)</span> + </dt> + <dd><span></span></dd> + <dt id="ace9f7467afdf041fa9501acdbe26f44b"> + <span class="m-doc-wrap-bumper">auto <a href="#ace9f7467afdf041fa9501acdbe26f44b" class="m-doc-self">CreateLargeRippleFx</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parent) -> <a href="structEntity.html" class="m-doc">Entity</a>*</span> + </dt> + <dd><span></span></dd> + <dt id="a981c1c0340aaf2749e06fcfc63117fa8"> + <span class="m-doc-wrap-bumper">void <a href="#a981c1c0340aaf2749e06fcfc63117fa8" class="m-doc-self">CreateLargeRippleFxRandom</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parent, + <a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4" class="m-doc">s32</a> minDistance, + <a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4" class="m-doc">s32</a> maxDistance)</span> + </dt> + <dd><span></span></dd> + <dt id="a7b3562e674add4184edc9628c04bfc50"> + <span class="m-doc-wrap-bumper">void <a href="#a7b3562e674add4184edc9628c04bfc50" class="m-doc-self">CreateSparkleFx</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parent)</span> + </dt> + <dd><span></span></dd> + <dt id="a3f85222fc2c163a67188eb45207af4e6"> + <span class="m-doc-wrap-bumper">void <a href="#a3f85222fc2c163a67188eb45207af4e6" class="m-doc-self">SyncPlayerToPlatform</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* this, + <a href="types_8h.html#aa638bcc74cb6bf3765b8cbd0167fceae" class="m-doc">bool32</a> param_2)</span> + </dt> + <dd><span></span></dd> + <dt id="ade8030afc237c055f185a09de683bb90"> + <span class="m-doc-wrap-bumper">void <a href="#ade8030afc237c055f185a09de683bb90" class="m-doc-self">UpdateRailMovement</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* this, + <a href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa" class="m-doc">u16</a>** param_2, + <a href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa" class="m-doc">u16</a>* param_3)</span> + </dt> + <dd><span></span></dd> + <dt id="acfe62592a79e465dd4a80ce4d3b4287b"> + <span class="m-doc-wrap-bumper">auto <a href="#acfe62592a79e465dd4a80ce4d3b4287b" class="m-doc-self">CreateSpeechBubbleExclamationMark</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parent, + <a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4" class="m-doc">s32</a> offsetX, + <a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4" class="m-doc">s32</a> offsetY) -> <a href="structEntity.html" class="m-doc">Entity</a>*</span> + </dt> + <dd><span></span></dd> + <dt id="a814576905e3539b31d3e942209fa014b"> + <span class="m-doc-wrap-bumper">auto <a href="#a814576905e3539b31d3e942209fa014b" class="m-doc-self">CreateSpeechBubbleQuestionMark</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parent, + <a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4" class="m-doc">s32</a> offsetX, + <a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4" class="m-doc">s32</a> offsetY) -> <a href="structEntity.html" class="m-doc">Entity</a>*</span> + </dt> + <dd><span></span></dd> + <dt id="a4b95ea36cf5fbdc92e37e6b8c32905ed"> + <span class="m-doc-wrap-bumper">auto <a href="#a4b95ea36cf5fbdc92e37e6b8c32905ed" class="m-doc-self">CreateSpeechBubbleSleep</a>(</span><span class="m-doc-wrap"><a href="structEntity.html" class="m-doc">Entity</a>* parent, + <a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4" class="m-doc">s32</a> offsetX, + <a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4" class="m-doc">s32</a> offsetY) -> <a href="structEntity.html" class="m-doc">Entity</a>*</span> + </dt> + <dd><span></span></dd> + </dl> + </section> + <section id="var-members"> + <h2><a href="#var-members">Variables</a></h2> + <dl class="m-doc"> + <dt id="a33ae10e39fefcbe16fabf9227c894f0c"> + const <a href="structHitbox.html" class="m-doc">Hitbox</a>*const <a href="#a33ae10e39fefcbe16fabf9227c894f0c" class="m-doc-self">gObjectHitboxes</a> + </dt> + <dd><span></span></dd> + <dt id="a3558eacfec081bd2d248e4444079a632"> + const <a href="structObjectDefinition.html" class="m-doc">ObjectDefinition</a> <a href="#a3558eacfec081bd2d248e4444079a632" class="m-doc-self">gObjectDefinitions</a> + </dt> + <dd><span></span></dd> + <dt id="aeed9681d31a70ea546b0373de572ce6d"> + const <a href="types_8h.html#a9e382f207c65ca13ab4ae98363aeda80" class="m-doc">s8</a> <a href="#aeed9681d31a70ea546b0373de572ce6d" class="m-doc-self">gUnk_08126EE4</a> + </dt> + <dd><span></span></dd> + <dt id="adb3bd2475297552ffae95cdf114dec15"> + const <a href="types_8h.html#a9e382f207c65ca13ab4ae98363aeda80" class="m-doc">s8</a> <a href="#adb3bd2475297552ffae95cdf114dec15" class="m-doc-self">gUnk_08126EEC</a> + </dt> + <dd><span></span></dd> + </dl> + </section> + </div> + </div> + </div> +</article></main> +<div class="m-doc-search" id="search"> + <a href="#!" onclick="return hideSearch()"></a> + <div class="m-container"> + <div class="m-row"> + <div class="m-col-m-8 m-push-m-2"> + <div class="m-doc-search-header m-text m-small"> + <div><span class="m-label m-default">Tab</span> / <span class="m-label m-default">T</span> to search, <span class="m-label m-default">Esc</span> to close</div> + <div id="search-symbolcount">…</div> + </div> + <div class="m-doc-search-content"> + <form> + <input type="search" name="q" id="search-input" placeholder="Loading …" disabled="disabled" autofocus="autofocus" autocomplete="off" spellcheck="false" /> + </form> + <noscript class="m-text m-danger m-text-center">Unlike everything else in the docs, the search functionality <em>requires</em> JavaScript.</noscript> + <div id="search-help" class="m-text m-dim m-text-center"> + <p class="m-noindent">Search for symbols, directories, files, pages or + modules. You can omit any prefix from the symbol or file path; adding a + <code>:</code> or <code>/</code> suffix lists all members of given symbol or + directory.</p> + <p class="m-noindent">Use <span class="m-label m-dim">↓</span> + / <span class="m-label m-dim">↑</span> to navigate through the list, + <span class="m-label m-dim">Enter</span> to go. + <span class="m-label m-dim">Tab</span> autocompletes common prefix, you can + copy a link to the result using <span class="m-label m-dim">⌘</span> + <span class="m-label m-dim">L</span> while <span class="m-label m-dim">⌘</span> + <span class="m-label m-dim">M</span> produces a Markdown link.</p> + </div> + <div id="search-notfound" class="m-text m-warning m-text-center">Sorry, nothing was found.</div> + <ul id="search-results"></ul> + </div> + </div> + </div> + </div> +</div> +<script src="search-v2.js"></script> +<script> + Search.download(window.location.pathname.substr(0, window.location.pathname.lastIndexOf('/') + 1) + 'searchdata-v2.bin'); +</script> +<footer><nav> + <div class="m-container"> + <div class="m-row"> + <div class="m-col-l-10 m-push-l-1"> + <p>The Minish Cap Docs. Created with <a href="https://doxygen.org/">Doxygen</a> 1.9.1 and <a href="https://mcss.mosra.cz/">m.css</a>.</p> + </div> + </div> + </div> +</nav></footer> +</body> +</html> |
