tmc/structRoomControls.html

251 lines
15 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>RoomControls struct | 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>
RoomControls <span class="m-thin">struct</span>
<div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="room_8h.html">&lt;include/room.h&gt;</a></div>
</h1>
<p><span></span></p>
<nav class="m-block m-default">
<h3>Contents</h3>
<ul>
<li>
Reference
<ul>
<li><a href="#pub-attribs">Public variables</a></li>
</ul>
</li>
</ul>
</nav>
<section id="pub-attribs">
<h2><a href="#pub-attribs">Public variables</a></h2>
<dl class="m-doc">
<dt id="a0e8091d8be4a63900a99dc16d7191e3c">
<a href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa" class="m-doc">u16</a> <a href="#a0e8091d8be4a63900a99dc16d7191e3c" class="m-doc-self">reload_flags</a>
</dt>
<dd><span></span></dd>
<dt id="ab140d01280a6451a0b0a34f807d1090a">
<a href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca" class="m-doc">u8</a> <a href="#ab140d01280a6451a0b0a34f807d1090a" class="m-doc-self">scrollAction</a>
</dt>
<dd><span></span></dd>
<dt id="aa07cb478fa93a01405a0af0338abf29f">
<a href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca" class="m-doc">u8</a> <a href="#aa07cb478fa93a01405a0af0338abf29f" class="m-doc-self">scrollSubAction</a>
</dt>
<dd><span></span></dd>
<dt id="a9a7c09bff7678fe03e2ccb6cf1645768">
<a href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca" class="m-doc">u8</a> <a href="#a9a7c09bff7678fe03e2ccb6cf1645768" class="m-doc-self">area</a>
</dt>
<dd><span></span></dd>
<dt id="a1e76a0f503fda37f1e1711407ab6745d">
<a href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca" class="m-doc">u8</a> <a href="#a1e76a0f503fda37f1e1711407ab6745d" class="m-doc-self">room</a>
</dt>
<dd><span></span></dd>
<dt id="afebb64f64bdd129a398db72ca06221cd">
<a href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa" class="m-doc">u16</a> <a href="#afebb64f64bdd129a398db72ca06221cd" class="m-doc-self">origin_x</a>
</dt>
<dd><span></span></dd>
<dt id="a0194bf06002cf23dfffcd1ec372f1fe9">
<a href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa" class="m-doc">u16</a> <a href="#a0194bf06002cf23dfffcd1ec372f1fe9" class="m-doc-self">origin_y</a>
</dt>
<dd><span></span></dd>
<dt id="ad248d5ad356830d27fb46a571ee572c4">
<a href="types_8h.html#aa980e2c02ba2305e0f489d5650655425" class="m-doc">s16</a> <a href="#ad248d5ad356830d27fb46a571ee572c4" class="m-doc-self">scroll_x</a>
</dt>
<dd><span></span></dd>
<dt id="a1c0744c4cbf8ce6df664d38c8001aa61">
<a href="types_8h.html#aa980e2c02ba2305e0f489d5650655425" class="m-doc">s16</a> <a href="#a1c0744c4cbf8ce6df664d38c8001aa61" class="m-doc-self">scroll_y</a>
</dt>
<dd><span></span></dd>
<dt id="ac3d96b377ee0feddbde8d6e8973b2ef3">
<a href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca" class="m-doc">u8</a> <a href="#ac3d96b377ee0feddbde8d6e8973b2ef3" class="m-doc-self">scrollSpeed</a>
</dt>
<dd>Pixels per frame that the camera can scroll.</dd>
<dt id="ae935a8c033f2e2f399f694c0cc3c38d6">
<a href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca" class="m-doc">u8</a> <a href="#ae935a8c033f2e2f399f694c0cc3c38d6" class="m-doc-self">scroll_flags</a>
</dt>
<dd><span></span></dd>
<dt id="afd91bd3893a36ffdc80638781a74c01c">
<a href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca" class="m-doc">u8</a> <a href="#afd91bd3893a36ffdc80638781a74c01c" class="m-doc-self">scroll_direction</a>
</dt>
<dd><span></span></dd>
<dt id="a496c362d30ede2fe0b0380cc5aaaf5fc">
<a href="types_8h.html#a9e382f207c65ca13ab4ae98363aeda80" class="m-doc">s8</a> <a href="#a496c362d30ede2fe0b0380cc5aaaf5fc" class="m-doc-self">oam_offset_x</a>
</dt>
<dd><span></span></dd>
<dt id="a17e01ed3516955f93c4ae4fd9a61104e">
<a href="types_8h.html#a9e382f207c65ca13ab4ae98363aeda80" class="m-doc">s8</a> <a href="#a17e01ed3516955f93c4ae4fd9a61104e" class="m-doc-self">oam_offset_y</a>
</dt>
<dd><span></span></dd>
<dt id="a162298c444ef7a2389df67069157a7d9">
<a href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca" class="m-doc">u8</a> <a href="#a162298c444ef7a2389df67069157a7d9" class="m-doc-self">unk_13</a>
</dt>
<dd><span></span></dd>
<dt id="a37ae68fba650dbca79af061eb3180b4e">
<a href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca" class="m-doc">u8</a> <a href="#a37ae68fba650dbca79af061eb3180b4e" class="m-doc-self">shake_magnitude</a>
</dt>
<dd><span></span></dd>
<dt id="a4ecbccf50ad1fe510b174951eac2dd19">
<a href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca" class="m-doc">u8</a> <a href="#a4ecbccf50ad1fe510b174951eac2dd19" class="m-doc-self">unk_15</a>
</dt>
<dd><span></span></dd>
<dt id="a1eff74b5c821a3b0d1d464ec5d7fdbac">
<a href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa" class="m-doc">u16</a> <a href="#a1eff74b5c821a3b0d1d464ec5d7fdbac" class="m-doc-self">shake_duration</a>
</dt>
<dd><span></span></dd>
<dt id="a83d13feeffceaa51ded4cffa9b3f8612">
<a href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa" class="m-doc">u16</a> <a href="#a83d13feeffceaa51ded4cffa9b3f8612" class="m-doc-self">unk_18</a>
</dt>
<dd><span></span></dd>
<dt id="a21026bc7bbc9203b142d5e86ce6d3b86">
<a href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa" class="m-doc">u16</a> <a href="#a21026bc7bbc9203b142d5e86ce6d3b86" class="m-doc-self">unk_1a</a>
</dt>
<dd><span></span></dd>
<dt id="a44156332031634623354eef46f7bb020">
<a href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa" class="m-doc">u16</a> <a href="#a44156332031634623354eef46f7bb020" class="m-doc-self">unk_1c</a>
</dt>
<dd><span></span></dd>
<dt id="a6e8da4374e1e16e0fe70a704849faa2e">
<a href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa" class="m-doc">u16</a> <a href="#a6e8da4374e1e16e0fe70a704849faa2e" class="m-doc-self">width</a>
</dt>
<dd>Width in pixels.</dd>
<dt id="a12c2916408ef6c6d6c64b51cbdeb5390">
<a href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa" class="m-doc">u16</a> <a href="#a12c2916408ef6c6d6c64b51cbdeb5390" class="m-doc-self">height</a>
</dt>
<dd>Height in pixels.</dd>
<dt id="afe613c5b11968dc4678d35532c13a4b2">
<a href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa" class="m-doc">u16</a> <a href="#afe613c5b11968dc4678d35532c13a4b2" class="m-doc-self">unk_22</a>
</dt>
<dd><span></span></dd>
<dt id="acbaba7a6464f51ca0e9c3eb6c1a8a45b">
<a href="types_8h.html#a9e382f207c65ca13ab4ae98363aeda80" class="m-doc">s8</a> <a href="#acbaba7a6464f51ca0e9c3eb6c1a8a45b" class="m-doc-self">aff_x</a>
</dt>
<dd><span></span></dd>
<dt id="a3aa4b022fc0c825b16eb64830c94c5d2">
<a href="types_8h.html#a9e382f207c65ca13ab4ae98363aeda80" class="m-doc">s8</a> <a href="#a3aa4b022fc0c825b16eb64830c94c5d2" class="m-doc-self">aff_y</a>
</dt>
<dd><span></span></dd>
<dt id="aea2e48bc99d1529d64299dbb0a2f96d6">
<a href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca" class="m-doc">u8</a> <a href="#aea2e48bc99d1529d64299dbb0a2f96d6" class="m-doc-self">unk_26</a>
</dt>
<dd><span></span></dd>
<dt id="a07543948a8d10d9896c84676e78ecba8">
<a href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca" class="m-doc">u8</a> <a href="#a07543948a8d10d9896c84676e78ecba8" class="m-doc-self">unk_27</a>
</dt>
<dd><span></span></dd>
<dt id="afc2ffa5443a637edf24c133d3539945b">
union <a href="unionSplitWord.html" class="m-doc">SplitWord</a> <a href="#afc2ffa5443a637edf24c133d3539945b" class="m-doc-self">bg3OffsetX</a>
</dt>
<dd><span></span></dd>
<dt id="aabceb73b6996fc710088edf48e86137c">
union <a href="unionSplitWord.html" class="m-doc">SplitWord</a> <a href="#aabceb73b6996fc710088edf48e86137c" class="m-doc-self">bg3OffsetY</a>
</dt>
<dd><span></span></dd>
<dt id="a7bbe42e74f690d3ab3e554dcc79a3f22">
<a href="structEntity.html" class="m-doc">Entity</a>* <a href="#a7bbe42e74f690d3ab3e554dcc79a3f22" class="m-doc-self">camera_target</a>
</dt>
<dd><span></span></dd>
<dt id="a218cc985f10c577eb8056af4d65efe1e">
<a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba" class="m-doc">u32</a> <a href="#a218cc985f10c577eb8056af4d65efe1e" class="m-doc-self">tileSet</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">&hellip;</div>
</div>
<div class="m-doc-search-content">
<form>
<input type="search" name="q" id="search-input" placeholder="Loading &hellip;" 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">&darr;</span>
/ <span class="m-label m-dim">&uarr;</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>