cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

union__fixed.html (9795B)


      1<!-- HTML header for doxygen 1.8.14-->
      2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      3<html xmlns="http://www.w3.org/1999/xhtml">
      4<head>
      5<meta http-equiv="cache-control" content="max-age=86400"/>
      6<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
      7<meta http-equiv="X-UA-Compatible" content="IE=9"/>
      8<meta name="generator" content="Doxygen 1.8.20"/>
      9<meta name="viewport" content="width=device-width, initial-scale=1"/>
     10<title>GBDK 2020 Docs: _fixed Union Reference</title>
     11<link href="tabs.css" rel="stylesheet" type="text/css"/>
     12<script type="text/javascript" src="jquery.js"></script>
     13<script type="text/javascript" src="dynsections.js"></script>
     14<link href="navtree.css" rel="stylesheet" type="text/css"/>
     15<script type="text/javascript" src="resize.js"></script>
     16<script type="text/javascript" src="navtreedata.js"></script>
     17<script type="text/javascript" src="navtree.js"></script>
     18<link href="search/search.css" rel="stylesheet" type="text/css"/>
     19<script type="text/javascript" src="search/searchdata.js"></script>
     20<script type="text/javascript" src="search/search.js"></script>
     21<link href="doxygen.css" rel="stylesheet" type="text/css" />
     22<link href="doxygen_extra.css" rel="stylesheet" type="text/css"/>
     23</head>
     24<body>
     25<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
     26<div id="titlearea">
     27<table cellspacing="0" cellpadding="0">
     28 <tbody>
     29 <tr style="height: 56px;">
     30  <td id="projectalign" style="padding-left: 0.5em;">
     31   <div id="projectname">GBDK 2020 Docs
     32   &#160;<span id="projectnumber">4.0.6</span>
     33   </div>
     34   <div id="projectbrief">API Documentation for GBDK 2020</div>
     35  </td>
     36 </tr>
     37 </tbody>
     38</table>
     39</div>
     40<!-- end header part -->
     41<!-- Generated by Doxygen 1.8.20 -->
     42<script type="text/javascript">
     43/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
     44var searchBox = new SearchBox("searchBox", "search",false,'Search');
     45/* @license-end */
     46</script>
     47<script type="text/javascript" src="menudata.js"></script>
     48<script type="text/javascript" src="menu.js"></script>
     49<script type="text/javascript">
     50/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
     51$(function() {
     52  initMenu('',true,false,'search.php','Search');
     53  $(document).ready(function() { init_search(); });
     54});
     55/* @license-end */</script>
     56<div id="main-nav"></div>
     57</div><!-- top -->
     58<div id="side-nav" class="ui-resizable side-nav-resizable">
     59  <div id="nav-tree">
     60    <div id="nav-tree-contents">
     61      <div id="nav-sync" class="sync"></div>
     62    </div>
     63  </div>
     64  <div id="splitbar" style="-moz-user-select:none;" 
     65       class="ui-resizable-handle">
     66  </div>
     67</div>
     68<script type="text/javascript">
     69/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
     70$(document).ready(function(){initNavTree('union__fixed.html',''); initResizable(); });
     71/* @license-end */
     72</script>
     73<div id="doc-content">
     74<!-- window showing the filter options -->
     75<div id="MSearchSelectWindow"
     76     onmouseover="return searchBox.OnSearchSelectShow()"
     77     onmouseout="return searchBox.OnSearchSelectHide()"
     78     onkeydown="return searchBox.OnSearchSelectKey(event)">
     79</div>
     80
     81<!-- iframe showing the search results (closed by default) -->
     82<div id="MSearchResultsWindow">
     83<iframe src="javascript:void(0)" frameborder="0" 
     84        name="MSearchResults" id="MSearchResults">
     85</iframe>
     86</div>
     87
     88<div class="header">
     89  <div class="summary">
     90<a href="#pub-attribs">Data Fields</a>  </div>
     91  <div class="headertitle">
     92<div class="title">_fixed Union Reference</div>  </div>
     93</div><!--header-->
     94<div class="contents">
     95
     96<p><code>#include &lt;<a class="el" href="asm_2types_8h_source.html">types.h</a>&gt;</code></p>
     97<table class="memberdecls">
     98<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
     99Data Fields</h2></td></tr>
    100<tr class="memitem:abd9258127ce7af017d5f807fa297950a"><td class="memItemLeft" >struct {</td></tr>
    101<tr class="memitem:a758161becac272b17e015890f6f65c01"><td class="memItemLeft" >&#160;&#160;&#160;<a class="el" href="asm_2types_8h.html#a280213815420791851f7e59bdc8a3c95">UBYTE</a>&#160;&#160;&#160;<a class="el" href="union__fixed.html#ac44ac5f62ed7369c444b6f13d9e1d9bc">l</a></td></tr>
    102<tr class="separator:a758161becac272b17e015890f6f65c01"><td class="memSeparator" colspan="2">&#160;</td></tr>
    103<tr class="memitem:a5959ab210b678e873087b656c8312e54"><td class="memItemLeft" >&#160;&#160;&#160;<a class="el" href="asm_2types_8h.html#a280213815420791851f7e59bdc8a3c95">UBYTE</a>&#160;&#160;&#160;<a class="el" href="union__fixed.html#acd5ac56a5ed6650d5797e89b278a972f">h</a></td></tr>
    104<tr class="separator:a5959ab210b678e873087b656c8312e54"><td class="memSeparator" colspan="2">&#160;</td></tr>
    105<tr class="memitem:abd9258127ce7af017d5f807fa297950a"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
    106<tr class="separator:abd9258127ce7af017d5f807fa297950a"><td class="memSeparator" colspan="2">&#160;</td></tr>
    107<tr class="memitem:ac0efdf5ee7302ad64dbc51cabc3659d3"><td class="memItemLeft" >struct {</td></tr>
    108<tr class="memitem:af73d7a01663884cd7ded5d67ace8478d"><td class="memItemLeft" >&#160;&#160;&#160;<a class="el" href="asm_2types_8h.html#a280213815420791851f7e59bdc8a3c95">UBYTE</a>&#160;&#160;&#160;<a class="el" href="union__fixed.html#ac44ac5f62ed7369c444b6f13d9e1d9bc">l</a></td></tr>
    109<tr class="separator:af73d7a01663884cd7ded5d67ace8478d"><td class="memSeparator" colspan="2">&#160;</td></tr>
    110<tr class="memitem:a5205744cfd93b86119d35265ba4e8bff"><td class="memItemLeft" >&#160;&#160;&#160;<a class="el" href="asm_2types_8h.html#a280213815420791851f7e59bdc8a3c95">UBYTE</a>&#160;&#160;&#160;<a class="el" href="union__fixed.html#acd5ac56a5ed6650d5797e89b278a972f">h</a></td></tr>
    111<tr class="separator:a5205744cfd93b86119d35265ba4e8bff"><td class="memSeparator" colspan="2">&#160;</td></tr>
    112<tr class="memitem:ac0efdf5ee7302ad64dbc51cabc3659d3"><td class="memItemLeft" valign="top">}&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union__fixed.html#ac0efdf5ee7302ad64dbc51cabc3659d3">b</a></td></tr>
    113<tr class="separator:ac0efdf5ee7302ad64dbc51cabc3659d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
    114<tr class="memitem:ab16f9fd51f817308d109b9b35866f310"><td class="memItemLeft" align="right" valign="top"><a class="el" href="asm_2types_8h.html#a9e551e7c1bd8feb51e8eefd109966f75">UWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union__fixed.html#ab16f9fd51f817308d109b9b35866f310">w</a></td></tr>
    115<tr class="separator:ab16f9fd51f817308d109b9b35866f310"><td class="memSeparator" colspan="2">&#160;</td></tr>
    116</table>
    117<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
    118<div class="textblock"><p>Useful definition for working with 8 bit + 8 bit fixed point values</p>
    119<p>Use <code>.w</code> to access the variable as unsigned 16 bit type.</p>
    120<p>Use <code>.b.h</code> and <code>.b.l</code> (or just <code>.h</code> and <code>.l</code>) to directly access it's high and low unsigned 8 bit values. </p>
    121</div><h2 class="groupheader">Field Documentation</h2>
    122<a id="ac44ac5f62ed7369c444b6f13d9e1d9bc"></a>
    123<h2 class="memtitle"><span class="permalink"><a href="#ac44ac5f62ed7369c444b6f13d9e1d9bc">&#9670;&nbsp;</a></span>l</h2>
    124
    125<div class="memitem">
    126<div class="memproto">
    127      <table class="memname">
    128        <tr>
    129          <td class="memname"><a class="el" href="asm_2types_8h.html#a280213815420791851f7e59bdc8a3c95">UBYTE</a> _fixed::l</td>
    130        </tr>
    131      </table>
    132</div><div class="memdoc">
    133
    134</div>
    135</div>
    136<a id="acd5ac56a5ed6650d5797e89b278a972f"></a>
    137<h2 class="memtitle"><span class="permalink"><a href="#acd5ac56a5ed6650d5797e89b278a972f">&#9670;&nbsp;</a></span>h</h2>
    138
    139<div class="memitem">
    140<div class="memproto">
    141      <table class="memname">
    142        <tr>
    143          <td class="memname"><a class="el" href="asm_2types_8h.html#a280213815420791851f7e59bdc8a3c95">UBYTE</a> _fixed::h</td>
    144        </tr>
    145      </table>
    146</div><div class="memdoc">
    147
    148</div>
    149</div>
    150<a id="abd9258127ce7af017d5f807fa297950a"></a>
    151<h2 class="memtitle"><span class="permalink"><a href="#abd9258127ce7af017d5f807fa297950a">&#9670;&nbsp;</a></span>@1</h2>
    152
    153<div class="memitem">
    154<div class="memproto">
    155      <table class="memname">
    156        <tr>
    157          <td class="memname">struct { ... } </td>
    158        </tr>
    159      </table>
    160</div><div class="memdoc">
    161
    162</div>
    163</div>
    164<a id="ac0efdf5ee7302ad64dbc51cabc3659d3"></a>
    165<h2 class="memtitle"><span class="permalink"><a href="#ac0efdf5ee7302ad64dbc51cabc3659d3">&#9670;&nbsp;</a></span>b</h2>
    166
    167<div class="memitem">
    168<div class="memproto">
    169      <table class="memname">
    170        <tr>
    171          <td class="memname">struct { ... }  _fixed::b</td>
    172        </tr>
    173      </table>
    174</div><div class="memdoc">
    175
    176</div>
    177</div>
    178<a id="ab16f9fd51f817308d109b9b35866f310"></a>
    179<h2 class="memtitle"><span class="permalink"><a href="#ab16f9fd51f817308d109b9b35866f310">&#9670;&nbsp;</a></span>w</h2>
    180
    181<div class="memitem">
    182<div class="memproto">
    183      <table class="memname">
    184        <tr>
    185          <td class="memname"><a class="el" href="asm_2types_8h.html#a9e551e7c1bd8feb51e8eefd109966f75">UWORD</a> _fixed::w</td>
    186        </tr>
    187      </table>
    188</div><div class="memdoc">
    189
    190</div>
    191</div>
    192<hr/>The documentation for this union was generated from the following file:<ul>
    193<li>asm/<a class="el" href="asm_2types_8h_source.html">types.h</a></li>
    194</ul>
    195</div><!-- contents -->
    196</div><!-- doc-content -->
    197<!-- HTML footer for doxygen 1.8.14-->
    198<!-- start footer part -->
    199<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
    200</div>
    201</body>
    202</html>