This commit is contained in:
ricfehr3
2026-07-18 21:16:07 +00:00
parent b313833aee
commit 76839e07e2
60 changed files with 3552 additions and 1418 deletions

View File

@@ -139,7 +139,7 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable();
<tr id="row_1_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structAudioParamReq.html" target="_self">AudioParamReq</a></td><td class="desc"></td></tr>
<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structBitset.html" target="_self">Bitset</a></td><td class="desc">A bitset spread across multiple <code>uint32_t</code> words </td></tr>
<tr id="row_3_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structBitsetItr.html" target="_self">BitsetItr</a></td><td class="desc">An iterator into a <a class="el" href="structBitset.html">Bitset</a> </td></tr>
<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structBlind.html" target="_self">Blind</a></td><td class="desc"></td></tr>
<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structBlind.html" target="_self">Blind</a></td><td class="desc">Data structure containing data about a BlindType </td></tr>
<tr id="row_5_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structButton.html" target="_self">Button</a></td><td class="desc">A button representation </td></tr>
<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structCard.html" target="_self">Card</a></td><td class="desc"></td></tr>
<tr id="row_7_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structCardObject.html" target="_self">CardObject</a></td><td class="desc"></td></tr>

1056
blind_8c.html Normal file

File diff suppressed because it is too large Load Diff

15
blind_8c.js Normal file
View File

@@ -0,0 +1,15 @@
var blind_8c =
[
[ "apply_blind_colors", "blind_8c.html#a33aca14af98233e87839aec461812517", null ],
[ "apply_blind_tiles", "blind_8c.html#a186aee3247d5b47aaa84b4f6ee3a5947", null ],
[ "blind_get_color", "blind_8c.html#a6d39b4ae4ca73f51bb2d3bc4b7687473", null ],
[ "blind_get_requirement", "blind_8c.html#a85fefafb15d88f710cbe1183ac34f3f4", null ],
[ "blind_get_reward", "blind_8c.html#af2031f17bfb33cfe0a1815fa66b8bde6", null ],
[ "blind_token_new", "blind_8c.html#a5518e6cabc5bcfd4e0ac280abd9f199c", null ],
[ "get_layer_tile_index", "blind_8c.html#a1fe16753cff7230a53901295f6cb7a77", null ],
[ "init_unbeaten_blinds_list", "blind_8c.html#a40c15210bb6306ece0a7240106e42543", null ],
[ "init_unbeaten_blinds_lists", "blind_8c.html#aedfd9b6abb09b4255160fe02ae1d018b", null ],
[ "roll_blind_type", "blind_8c.html#a2826e7fd956be78ad09013ef623c91e3", null ],
[ "set_blind_beaten", "blind_8c.html#ad5c80cb82487220cada4920ecf037f9e", null ],
[ "s_blind_type_map", "blind_8c.html#a6489ccf1d80155cbbb4346054870cb96", null ]
];

View File

@@ -138,281 +138,332 @@ $(document).ready(function(){initNavTree('blind_8c_source.html',''); initResizab
<div class="headertitle"><div class="title">blind.c</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#include &quot;blind.h&quot;</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include &quot;blind_gfx.h&quot;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &quot;game.h&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &quot;<a class="code" href="graphic__utils_8h.html">graphic_utils.h</a>&quot;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &quot;<a class="code" href="hand_8h.html">hand.h</a>&quot;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &quot;<a class="code" href="list_8h.html">list.h</a>&quot;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &quot;<a class="code" href="random_8h.html">random.h</a>&quot;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &quot;stdbool.h&quot;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &quot;<a class="code" href="util_8h.html">util.h</a>&quot;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include &lt;stdlib.h&gt;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#include &lt;tonc.h&gt;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#define NORMAL_BLIND_PB 2</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#define BOSS_BLIND_PB 3</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#define BLIND_BASE_LAYER (MAX_HAND_SIZE + MAX_SELECTION_SIZE)</span></div>
<a href="blind_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &quot;<a class="code" href="blind_8h.html">blind.h</a>&quot;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &quot;blind_gfx.h&quot;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &quot;game.h&quot;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &quot;<a class="code" href="graphic__utils_8h.html">graphic_utils.h</a>&quot;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include &quot;<a class="code" href="hand_8h.html">hand.h</a>&quot;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include &quot;<a class="code" href="list_8h.html">list.h</a>&quot;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#include &quot;<a class="code" href="random_8h.html">random.h</a>&quot;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include &quot;stdbool.h&quot;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include &quot;<a class="code" href="util_8h.html">util.h</a>&quot;</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#include &lt;stdlib.h&gt;</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#include &lt;tonc.h&gt;</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><span class="preprocessor">#define BLIND_SPRITE_OFFSET 16</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#define BLIND_SPRITE_COPY_SIZE (BLIND_SPRITE_OFFSET * TILE_SIZE)</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#define NORMAL_BLIND_PB 2</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#define BOSS_BLIND_PB 3</span></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><span class="preprocessor">#define BLIND_TOKENS_PER_SPRITESHEET 2</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#define BLIND_TOKEN_PALETTE_SIZE 8</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>* blind_gfxTiles[] = {</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#define DEF_BLIND_GFX(idx) blind_gfx##idx##Tiles,</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include &quot;../include/def_blind_gfx_table.h&quot;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#undef DEF_BLIND_GFX</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span>};</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>* blind_gfxPal[] = {</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="preprocessor">#define DEF_BLIND_GFX(idx) blind_gfx##idx##Pal,</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="preprocessor">#include &quot;../include/def_blind_gfx_table.h&quot;</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#undef DEF_BLIND_GFX</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span>};</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><span class="comment">// Bitfields storing blinds we have yet to beat during the current run</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="keyword">static</span> <a class="code hl_struct" href="structList.html">List</a> s_unbeaten_boss_blinds;</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="keyword">static</span> <a class="code hl_struct" href="structList.html">List</a> s_unbeaten_showdown_blinds;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#define BLIND_BASE_LAYER (MAX_HAND_SIZE + MAX_SELECTION_SIZE)</span></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><span class="preprocessor">#define BLIND_SPRITE_OFFSET 16</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#define BLIND_SPRITE_COPY_SIZE (BLIND_SPRITE_OFFSET * TILE_SIZE)</span></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><span class="preprocessor">#define BLIND_TOKENS_PER_SPRITESHEET 2</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#define BLIND_TOKEN_PALETTE_SIZE 8</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="preprocessor">#define SMALL_BLIND_REWARD 3</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor">#define BIG_BLIND_REWARD 4</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="preprocessor">#define BOSS_BLIND_REWARD 5</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="preprocessor">#define SHOWDOWN_BLIND_REWARD 8</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>* blind_gfxTiles[] = {</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="preprocessor">#define DEF_BLIND_GFX(idx) blind_gfx##idx##Tiles,</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="preprocessor">#include &quot;../include/def_blind_gfx_table.h&quot;</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="preprocessor">#undef DEF_BLIND_GFX</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span>};</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="comment">// Maps the ante number to the base blind requirement for that ante.</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><span class="comment">// The game starts at ante 1 which is at index 1 for base requirement 300.</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="comment">// Ante 0 is also there in case it is ever reached.</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="keyword">static</span> <span class="keyword">const</span> u32 ANTE_LUT[] = {100, 300, 800, 2000, 5000, 11000, 20000, 35000, 50000};</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><span class="comment">// clang-format off</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="keyword">static</span> <a class="code hl_struct" href="structBlind.html">Blind</a> s_blind_type_map[BLIND_TYPE_MAX] = {</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> {BLIND_TYPE_SMALL, FIX_ONE, 3},</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> {BLIND_TYPE_BIG, (FIX_ONE * 3) / 2, 4},</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> {BLIND_TYPE_HOOK, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> {BLIND_TYPE_OX, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> {BLIND_TYPE_HOUSE, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> {BLIND_TYPE_WALL, FIX_ONE * 2, 5}, <span class="comment">// x4 score requirement will be part of the effect</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> {BLIND_TYPE_WHEEL, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> {BLIND_TYPE_ARM, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> {BLIND_TYPE_CLUB, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> {BLIND_TYPE_FISH, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> {BLIND_TYPE_PSYCHIC, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> {BLIND_TYPE_GOAD, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> {BLIND_TYPE_WATER, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> {BLIND_TYPE_WINDOW, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> {BLIND_TYPE_MANACLE, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> {BLIND_TYPE_EYE, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> {BLIND_TYPE_MOUTH, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> {BLIND_TYPE_PLANT, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> {BLIND_TYPE_SERPENT, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> {BLIND_TYPE_PILLAR, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> {BLIND_TYPE_NEEDLE, FIX_ONE * 2, 5}, <span class="comment">// Same as the Wall with normal requirement</span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> {BLIND_TYPE_HEAD, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> {BLIND_TYPE_TOOTH, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> {BLIND_TYPE_FLINT, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> {BLIND_TYPE_MARK, FIX_ONE * 2, 5},</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> {BLIND_TYPE_ACORN, FIX_ONE * 2, 8},</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> {BLIND_TYPE_LEAF, FIX_ONE * 2, 8},</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> {BLIND_TYPE_VESSEL, FIX_ONE * 2, 8}, <span class="comment">// Same as the Wall with x6 requirement</span></div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> {BLIND_TYPE_HEART, FIX_ONE * 2, 8},</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> {BLIND_TYPE_BELL, FIX_ONE * 2, 8}</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span>};</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span><span class="comment">// clang-format on</span></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span><span class="keywordtype">void</span> blind_init()</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span>{</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="comment">// Set up the palette used by normal blind tokens.</span></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <span class="comment">// We will never need to edit it ever again.</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> memcpy16(&amp;pal_obj_bank[NORMAL_BLIND_PB], blind_gfxPal[0], <a class="code hl_define" href="util_8h.html#a3494fcb52c3d0ca1bf610facc8c81514">NUM_ELEM_IN_ARR</a>(blind_gfx0Pal));</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">return</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> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span>u32 blind_get_requirement(<span class="keyword">enum</span> BlindType type, <span class="keywordtype">int</span> ante)</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> <span class="comment">// Ensure ante is within valid range</span></div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <span class="keywordflow">if</span> (ante &lt; 0 || ante &gt; MAX_ANTE)</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> ante = 0;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>* blind_gfxPal[] = {</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><span class="preprocessor">#define DEF_BLIND_GFX(idx) blind_gfx##idx##Pal,</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="preprocessor">#include &quot;../include/def_blind_gfx_table.h&quot;</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="preprocessor">#undef DEF_BLIND_GFX</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span>};</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="comment">// Bitfields storing blinds we have yet to beat during the current run</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span><span class="keyword">static</span> <a class="code hl_struct" href="structList.html">List</a> s_unbeaten_boss_blinds = <a class="code hl_define" href="list_8h.html#ae3af686b4f37d17030e55fe7934f9afe">LIST_DEFAULT</a>;</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span><span class="keyword">static</span> <a class="code hl_struct" href="structList.html">List</a> s_unbeaten_showdown_blinds = <a class="code hl_define" href="list_8h.html#ae3af686b4f37d17030e55fe7934f9afe">LIST_DEFAULT</a>;</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="comment">// Maps the ante number to the base blind requirement for that ante.</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><span class="comment">// The game starts at ante 1 which is at index 1 for base requirement 300.</span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="comment">// Ante 0 is also there in case it is ever reached.</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="keyword">static</span> <span class="keyword">const</span> u32 ANTE_LUT[] = {100, 300, 800, 2000, 5000, 11000, 20000, 35000, 50000};</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="comment">// clang-format off</span></div>
<div class="foldopen" id="foldopen00063" data-start="{" data-end="};">
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="blind_8c.html#a6489ccf1d80155cbbb4346054870cb96"> 63</a></span><span class="keyword">static</span> <a class="code hl_struct" href="structBlind.html">Blind</a> <a class="code hl_variable" href="blind_8c.html#a6489ccf1d80155cbbb4346054870cb96">s_blind_type_map</a>[BLIND_TYPE_MAX] = {</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> {BLIND_TYPE_SMALL, FIX_ONE },</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> {BLIND_TYPE_BIG, (FIX_ONE * 3) / 2},</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> {BLIND_TYPE_HOOK, FIX_ONE * 2 },</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> {BLIND_TYPE_OX, FIX_ONE * 2 },</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> {BLIND_TYPE_HOUSE, FIX_ONE * 2 },</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> {BLIND_TYPE_WHEEL, FIX_ONE * 2 },</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> {BLIND_TYPE_WALL, FIX_ONE * 2 }, <span class="comment">// x4 score requirement will be part of the effect</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> {BLIND_TYPE_ARM, FIX_ONE * 2 },</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> {BLIND_TYPE_CLUB, FIX_ONE * 2 },</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> {BLIND_TYPE_FISH, FIX_ONE * 2 },</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> {BLIND_TYPE_PSYCHIC, FIX_ONE * 2 },</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> {BLIND_TYPE_GOAD, FIX_ONE * 2 },</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> {BLIND_TYPE_WATER, FIX_ONE * 2 },</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> {BLIND_TYPE_WINDOW, FIX_ONE * 2 },</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> {BLIND_TYPE_MANACLE, FIX_ONE * 2 },</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> {BLIND_TYPE_EYE, FIX_ONE * 2 },</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> {BLIND_TYPE_MOUTH, FIX_ONE * 2 },</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> {BLIND_TYPE_PLANT, FIX_ONE * 2 },</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> {BLIND_TYPE_SERPENT, FIX_ONE * 2 },</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> {BLIND_TYPE_PILLAR, FIX_ONE * 2 },</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> {BLIND_TYPE_NEEDLE, FIX_ONE * 2 }, <span class="comment">// Same as the Wall with normal requirement</span></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> {BLIND_TYPE_HEAD, FIX_ONE * 2 },</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> {BLIND_TYPE_TOOTH, FIX_ONE * 2 },</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> {BLIND_TYPE_FLINT, FIX_ONE * 2 },</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> {BLIND_TYPE_MARK, FIX_ONE * 2 },</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> {BLIND_TYPE_ACORN, FIX_ONE * 2 },</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> {BLIND_TYPE_LEAF, FIX_ONE * 2 },</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> {BLIND_TYPE_VESSEL, FIX_ONE * 2 }, <span class="comment">// Same as the Wall with x6 requirement</span></div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> {BLIND_TYPE_HEART, FIX_ONE * 2 },</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> {BLIND_TYPE_BELL, FIX_ONE * 2 }</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span>};</div>
</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span><span class="comment">// clang-format on</span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> </div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keywordflow">return</span> fx2int(s_blind_type_map[type].score_req_multipler * ANTE_LUT[ante]);</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> </div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span><span class="keywordtype">int</span> blind_get_reward(<span class="keyword">enum</span> BlindType type)</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">return</span> s_blind_type_map[type].reward;</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> </div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span><span class="comment">// Fills the unbeaten boss blinds lists</span></div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span><span class="comment">// This must be called at the beginning of a run</span></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span><span class="keywordtype">void</span> init_unbeaten_blinds_list(<span class="keywordtype">bool</span> showdown)</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> <span class="comment">// create the lists when calling for the first time</span></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> init = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <span class="keywordflow">if</span> (!init)</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> init = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> s_unbeaten_showdown_blinds = <a class="code hl_function" href="list_8h.html#a3b1939ae3a4c074282ab9f6ebcccb5b3">list_init</a>();</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> s_unbeaten_boss_blinds = <a class="code hl_function" href="list_8h.html#a3b1939ae3a4c074282ab9f6ebcccb5b3">list_init</a>();</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> }</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> <a class="code hl_struct" href="structList.html">List</a>* p_unbeaten_blinds = showdown ? &amp;s_unbeaten_showdown_blinds : &amp;s_unbeaten_boss_blinds;</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="comment">// empty the list just to be sure</span></div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <a class="code hl_function" href="list_8h.html#aac53d4a634fec0aa2adad813d0497056">list_clear</a>(p_unbeaten_blinds);</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="keywordtype">int</span> lower_blind = showdown ? BLIND_TYPE_SHOWDOWN : BLIND_TYPE_BOSS;</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <span class="keywordtype">int</span> upper_blind = showdown ? BLIND_TYPE_MAX - 1 : BLIND_TYPE_SHOWDOWN - 1;</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> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = lower_blind; i &lt;= upper_blind; i++)</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> <a class="code hl_function" href="list_8h.html#aeecf07ac54a546ae3dc7e9f4d2b0d098">list_push_back</a>(p_unbeaten_blinds, &amp;s_blind_type_map[i]);</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> }</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span>}</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><span class="keyword">enum</span> BlindType roll_blind_type(<span class="keywordtype">bool</span> showdown)</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> <a class="code hl_struct" href="structList.html">List</a>* p_unbeaten_blinds = showdown ? &amp;s_unbeaten_showdown_blinds : &amp;s_unbeaten_boss_blinds;</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> </div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <span class="comment">// Fill the list with all blinds if it is empty</span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <span class="comment">// (happens on startup or if we have beaten all blinds)</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="list_8h.html#a1269841dad103a70c861ef88e1bbf9e0">list_is_empty</a>(p_unbeaten_blinds))</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> init_unbeaten_blinds_list(showdown);</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> <span class="comment">// roll a random blind among the unbeaten ones</span></div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <span class="keywordtype">int</span> random_blind_idx = <a class="code hl_function" href="random_8h.html#aa9ae84d9bf14a3987243f76cdf78c67b">rng_get_u32</a>() % <a class="code hl_function" href="list_8h.html#a74047e9a2e7b4652b675fa8be6086b13">list_get_len</a>(p_unbeaten_blinds);</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> <a class="code hl_struct" href="structBlind.html">Blind</a>* random_blind = <a class="code hl_function" href="list_8h.html#a3c604970a7f427ee628ab97749fde17c">list_get_at_idx</a>(p_unbeaten_blinds, random_blind_idx);</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span><span class="keywordtype">void</span> blind_init()</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="comment">// Set up the palette used by normal blind tokens.</span></div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="comment">// We will never need to edit it ever again.</span></div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> memcpy16(&amp;pal_obj_bank[NORMAL_BLIND_PB], blind_gfxPal[0], <a class="code hl_define" href="util_8h.html#a3494fcb52c3d0ca1bf610facc8c81514">NUM_ELEM_IN_ARR</a>(blind_gfx0Pal));</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">return</span>;</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> </div>
<div class="foldopen" id="foldopen00106" data-start="{" data-end="}">
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4"> 106</a></span>u32 <a class="code hl_function" href="blind_8c.html#a85fefafb15d88f710cbe1183ac34f3f4">blind_get_requirement</a>(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type, <span class="keywordtype">int</span> ante)</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span>{</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <span class="comment">// Ensure ante is within valid range</span></div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <span class="keywordflow">if</span> (ante &lt; 0 || ante &gt; MAX_ANTE)</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> ante = 0;</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">return</span> fx2int(<a class="code hl_variable" href="blind_8c.html#a6489ccf1d80155cbbb4346054870cb96">s_blind_type_map</a>[type].score_req_multiplier * ANTE_LUT[ante]);</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span>}</div>
</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div>
<div class="foldopen" id="foldopen00115" data-start="{" data-end="}">
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"><a class="line" href="blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6"> 115</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="blind_8c.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind_get_reward</a>(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type)</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span>{</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <span class="keywordflow">switch</span> (type)</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> <span class="keywordflow">case</span> BLIND_TYPE_SMALL:</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="keywordflow">return</span> SMALL_BLIND_REWARD;</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <span class="keywordflow">case</span> BLIND_TYPE_BIG:</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <span class="keywordflow">return</span> BIG_BLIND_REWARD;</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <span class="keywordflow">case</span> BLIND_TYPE_BOSS ...(BLIND_TYPE_SHOWDOWN - 1):</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <span class="keywordflow">return</span> BOSS_BLIND_REWARD;</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> <span class="keywordflow">default</span>:</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="keywordflow">return</span> SHOWDOWN_BLIND_REWARD;</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>}</div>
</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> </div>
<div class="foldopen" id="foldopen00140" data-start="{" data-end="}">
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"><a class="line" href="blind_8c.html#a40c15210bb6306ece0a7240106e42543"> 140</a></span><span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="blind_8c.html#a40c15210bb6306ece0a7240106e42543">init_unbeaten_blinds_list</a>(<span class="keywordtype">bool</span> showdown)</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> <a class="code hl_struct" href="structList.html">List</a>* p_unbeaten_blinds = showdown ? &amp;s_unbeaten_showdown_blinds : &amp;s_unbeaten_boss_blinds;</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> <span class="comment">// empty the list just to be sure</span></div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> <a class="code hl_function" href="list_8h.html#aac53d4a634fec0aa2adad813d0497056">list_clear</a>(p_unbeaten_blinds);</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> <span class="keywordflow">return</span> random_blind-&gt;type;</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span>}</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> <span class="keywordtype">int</span> lower_blind = showdown ? BLIND_TYPE_SHOWDOWN : BLIND_TYPE_BOSS;</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> <span class="keywordtype">int</span> upper_blind = showdown ? BLIND_TYPE_MAX - 1 : BLIND_TYPE_SHOWDOWN - 1;</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="keywordtype">void</span> set_blind_beaten(<span class="keyword">enum</span> BlindType type)</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> <span class="keywordtype">bool</span> showdown = (type &gt;= BLIND_TYPE_SHOWDOWN);</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <a class="code hl_struct" href="structList.html">List</a>* p_unbeaten_blinds = showdown ? &amp;s_unbeaten_showdown_blinds : &amp;s_unbeaten_boss_blinds;</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> </div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> <span class="comment">// find the beaten blind idx in the list</span></div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> <span class="keywordtype">int</span> beaten_idx = 0;</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <a class="code hl_struct" href="structBlind.html">Blind</a>* beaten_blind = NULL;</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <a class="code hl_struct" href="structListItr.html">ListItr</a> itr = <a class="code hl_function" href="list_8h.html#af580fe52b40b3ee763b5fc145b7890b0">list_itr_create</a>(p_unbeaten_blinds);</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">while</span> ((beaten_blind = <a class="code hl_function" href="list_8h.html#adaa09cca2b970d67f0cd14076e1db988">list_itr_next</a>(&amp;itr)))</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> <span class="keywordflow">if</span> (beaten_blind-&gt;type == type)</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> <span class="keywordflow">break</span>;</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> beaten_idx++;</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> }</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> </div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <span class="keywordflow">if</span> (beaten_idx &lt; <a class="code hl_function" href="list_8h.html#a74047e9a2e7b4652b675fa8be6086b13">list_get_len</a>(p_unbeaten_blinds))</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> <a class="code hl_function" href="list_8h.html#ae2816ca6db0a215748a62831dc64104f">list_remove_at_idx</a>(p_unbeaten_blinds, beaten_idx);</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> </div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span><span class="keyword">static</span> u32 get_blind_pb(<span class="keyword">enum</span> BlindType type)</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> <span class="keywordflow">return</span> (type &lt;= BLIND_TYPE_BIG) ? NORMAL_BLIND_PB : BOSS_BLIND_PB;</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = lower_blind; i &lt;= upper_blind; i++)</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> <a class="code hl_function" href="list_8h.html#aeecf07ac54a546ae3dc7e9f4d2b0d098">list_push_back</a>(p_unbeaten_blinds, &amp;<a class="code hl_variable" href="blind_8c.html#a6489ccf1d80155cbbb4346054870cb96">s_blind_type_map</a>[i]);</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>}</div>
</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> </div>
<div class="foldopen" id="foldopen00156" data-start="{" data-end="}">
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="blind_8h.html#aedfd9b6abb09b4255160fe02ae1d018b"> 156</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="blind_8c.html#aedfd9b6abb09b4255160fe02ae1d018b">init_unbeaten_blinds_lists</a>(<span class="keywordtype">void</span>)</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> <a class="code hl_function" href="blind_8c.html#a40c15210bb6306ece0a7240106e42543">init_unbeaten_blinds_list</a>(<span class="keyword">false</span>);</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> <a class="code hl_function" href="blind_8c.html#a40c15210bb6306ece0a7240106e42543">init_unbeaten_blinds_list</a>(<span class="keyword">true</span>);</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span>}</div>
</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> </div>
<div class="foldopen" id="foldopen00162" data-start="{" data-end="}">
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"><a class="line" href="blind_8h.html#a2826e7fd956be78ad09013ef623c91e3"> 162</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> <a class="code hl_function" href="blind_8c.html#a2826e7fd956be78ad09013ef623c91e3">roll_blind_type</a>(<span class="keywordtype">bool</span> showdown)</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> <a class="code hl_struct" href="structList.html">List</a>* p_unbeaten_blinds = showdown ? &amp;s_unbeaten_showdown_blinds : &amp;s_unbeaten_boss_blinds;</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> <span class="comment">// Fill the list with all blinds if it is empty</span></div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> <span class="comment">// (happens on startup or if we have beaten all blinds)</span></div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> <span class="keywordflow">if</span> (<a class="code hl_function" href="list_8h.html#a1269841dad103a70c861ef88e1bbf9e0">list_is_empty</a>(p_unbeaten_blinds))</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> <a class="code hl_function" href="blind_8c.html#a40c15210bb6306ece0a7240106e42543">init_unbeaten_blinds_list</a>(showdown);</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</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> <span class="comment">// roll a random blind among the unbeaten ones</span></div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> <span class="keywordtype">int</span> random_blind_idx = <a class="code hl_function" href="random_8h.html#aa9ae84d9bf14a3987243f76cdf78c67b">rng_get_u32</a>() % <a class="code hl_function" href="list_8h.html#a74047e9a2e7b4652b675fa8be6086b13">list_get_len</a>(p_unbeaten_blinds);</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> <a class="code hl_struct" href="structBlind.html">Blind</a>* random_blind = <a class="code hl_function" href="list_8h.html#a3c604970a7f427ee628ab97749fde17c">list_get_at_idx</a>(p_unbeaten_blinds, random_blind_idx);</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> <span class="keywordflow">return</span> random_blind-&gt;type;</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span>}</div>
</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><span class="keyword">static</span> u32 get_blind_spritesheet_idx(<span class="keyword">enum</span> BlindType type)</div>
<div class="foldopen" id="foldopen00180" data-start="{" data-end="}">
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"><a class="line" href="blind_8h.html#ad5c80cb82487220cada4920ecf037f9e"> 180</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="blind_8c.html#ad5c80cb82487220cada4920ecf037f9e">set_blind_beaten</a>(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type)</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="comment">// See comment below in blind_get_color why we differenciate before/after the Mark</span></div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <span class="keywordflow">return</span> (type &lt; BLIND_TYPE_MARK)</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> ? type / BLIND_TOKENS_PER_SPRITESHEET</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> : BLIND_TYPE_MARK / BLIND_TOKENS_PER_SPRITESHEET + type - BLIND_TYPE_MARK;</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span>}</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> </div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span>u16 blind_get_color(<span class="keyword">enum</span> BlindType type, <span class="keyword">enum</span> BlindColorIndex index)</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> <span class="comment">// Do a little translation of palette idx -&gt; custom array idx</span></div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> <span class="comment">// All blinds before the Mark are arranged in pairs with their palettte split in two</span></div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> <span class="comment">// | XX | 1 | 2 | 3 | 4 | 5 | 6 | 7 | -&gt; first sprite</span></div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> <span class="comment">// | XX | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -&gt; second sprite</span></div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> <span class="comment">// so we need to offset the color indices by 8 for blinds with an odd type</span></div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> <span class="comment">// From the Mark onwards, all sprites are alone in their spritesheet, so no need to offset</span></div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> u32 color_idx = index + ((type &lt; BLIND_TYPE_MARK)</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> ? BLIND_TOKEN_PALETTE_SIZE * (type % BLIND_TOKENS_PER_SPRITESHEET)</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> : 0);</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> <span class="keywordflow">return</span> blind_gfxPal[get_blind_spritesheet_idx(type)][color_idx];</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span>}</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> </div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span><span class="keywordtype">void</span> apply_blind_colors(<span class="keyword">enum</span> BlindType type)</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span>{</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> <span class="comment">// keep track of active boss blind spritesheet to copy colors only when changing</span></div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> <span class="keyword">static</span> u32 active_boss_spritesheet = BLIND_TYPE_MAX;</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> u32 new_spritesheet = get_blind_spritesheet_idx(type);</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> </div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> <span class="comment">// No need to update normal blind palette</span></div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> <span class="keywordflow">if</span> (type &lt; BLIND_TYPE_BOSS || active_boss_spritesheet == new_spritesheet)</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> {</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> <span class="keywordflow">return</span>;</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> }</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> </div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> active_boss_spritesheet = new_spritesheet;</div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> </div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> <span class="comment">// Just copy the palette as is to the sprite palette bank</span></div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> memcpy16(</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> &amp;pal_obj_bank[BOSS_BLIND_PB],</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> blind_gfxPal[active_boss_spritesheet],</div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> <a class="code hl_define" href="util_8h.html#a3494fcb52c3d0ca1bf610facc8c81514">NUM_ELEM_IN_ARR</a>(blind_gfx0Pal)</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> );</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> </div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span><span class="keyword">static</span> u32 get_layer_tile_index(<span class="keywordtype">int</span> layer)</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span>{</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> <span class="comment">// All Blind sprites are stored sequentially and correspond to their IDs</span></div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> <span class="keywordflow">return</span> (BLIND_BASE_LAYER + layer) * BLIND_SPRITE_OFFSET;</div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span>}</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> </div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span><span class="keywordtype">void</span> apply_blind_tiles(<span class="keyword">enum</span> BlindType type, <span class="keywordtype">int</span> layer)</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span>{</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> u32 spritesheet_idx = get_blind_spritesheet_idx(type);</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> u32 sprite_idx = (type &lt; BLIND_TYPE_MARK) ? type % BLIND_TOKENS_PER_SPRITESHEET : 0;</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> memcpy32(</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> &amp;tile_mem[<a class="code hl_define" href="graphic__utils_8h.html#a7e54edda39e2d955059c92e8c2ad1874">TILE_MEM_OBJ_CHARBLOCK0_IDX</a>][get_layer_tile_index(layer)],</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> &amp;blind_gfxTiles[spritesheet_idx][sprite_idx * BLIND_SPRITE_COPY_SIZE],</div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> BLIND_SPRITE_COPY_SIZE</div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> );</div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> </div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> apply_blind_colors(type);</div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span>}</div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span> </div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span><a class="code hl_struct" href="structSprite.html">Sprite</a>* blind_token_new(<span class="keyword">enum</span> BlindType type, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> layer)</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> apply_blind_tiles(type, layer);</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> </div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> <a class="code hl_struct" href="structSprite.html">Sprite</a>* sprite = <a class="code hl_function" href="sprite_8h.html#a5fbaf037f18d04536127b88417481eb8">sprite_new</a>(</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> ATTR0_SQUARE | ATTR0_4BPP,</div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> ATTR1_SIZE_32x32,</div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span> get_layer_tile_index(layer),</div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span> get_blind_pb(type),</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span> BLIND_BASE_LAYER + layer</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> );</div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> <a class="code hl_function" href="sprite_8h.html#a1ee0e1521651d9a8fd7773a6b4ba127e">sprite_position</a>(sprite, x, y);</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> </div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> <span class="keywordflow">return</span> sprite;</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span>}</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> <span class="keywordtype">bool</span> showdown = (type &gt;= BLIND_TYPE_SHOWDOWN);</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <a class="code hl_struct" href="structList.html">List</a>* p_unbeaten_blinds = showdown ? &amp;s_unbeaten_showdown_blinds : &amp;s_unbeaten_boss_blinds;</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> </div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> <span class="comment">// find the beaten blind idx in the list</span></div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> <span class="keywordtype">int</span> beaten_idx = 0;</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <a class="code hl_struct" href="structBlind.html">Blind</a>* beaten_blind = NULL;</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> <a class="code hl_struct" href="structListItr.html">ListItr</a> itr = <a class="code hl_function" href="list_8h.html#af580fe52b40b3ee763b5fc145b7890b0">list_itr_create</a>(p_unbeaten_blinds);</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> <span class="keywordflow">while</span> ((beaten_blind = <a class="code hl_function" href="list_8h.html#adaa09cca2b970d67f0cd14076e1db988">list_itr_next</a>(&amp;itr)))</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> {</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> <span class="keywordflow">if</span> (beaten_blind-&gt;type == type)</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> {</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> <span class="keywordflow">break</span>;</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> beaten_idx++;</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</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> <span class="keywordflow">if</span> (beaten_idx &lt; <a class="code hl_function" href="list_8h.html#a74047e9a2e7b4652b675fa8be6086b13">list_get_len</a>(p_unbeaten_blinds))</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> {</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> <a class="code hl_function" href="list_8h.html#ae2816ca6db0a215748a62831dc64104f">list_remove_at_idx</a>(p_unbeaten_blinds, beaten_idx);</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> }</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span>}</div>
</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> </div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span><span class="keyword">static</span> u32 get_blind_pb(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type)</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span>{</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> <span class="keywordflow">return</span> (type &lt;= BLIND_TYPE_BIG) ? NORMAL_BLIND_PB : BOSS_BLIND_PB;</div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span>}</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> </div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span><span class="keyword">static</span> u32 get_blind_spritesheet_idx(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type)</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span>{</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> <span class="comment">// See comment below in blind_get_color why we differenciate before/after the Mark</span></div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> <span class="keywordflow">return</span> (type &lt; BLIND_TYPE_MARK)</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> ? type / BLIND_TOKENS_PER_SPRITESHEET</div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> : BLIND_TYPE_MARK / BLIND_TOKENS_PER_SPRITESHEET + type - BLIND_TYPE_MARK;</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span>}</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> </div>
<div class="foldopen" id="foldopen00218" data-start="{" data-end="}">
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"><a class="line" href="blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473"> 218</a></span>u16 <a class="code hl_function" href="blind_8c.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind_get_color</a>(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type, <span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#ab459b45520cab1b163439acc78635be8">BlindColorIndex</a> index)</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span>{</div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> <span class="comment">// Do a little translation of palette idx -&gt; custom array idx</span></div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> <span class="comment">// All blinds before the Mark are arranged in pairs with their palettte split in two</span></div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> <span class="comment">// | XX | 1 | 2 | 3 | 4 | 5 | 6 | 7 | -&gt; first sprite</span></div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> <span class="comment">// | XX | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -&gt; second sprite</span></div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> <span class="comment">// so we need to offset the color indices by 8 for blinds with an odd type</span></div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> <span class="comment">// From the Mark onwards, all sprites are alone in their spritesheet, so no need to offset</span></div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> u32 color_idx = index + ((type &lt; BLIND_TYPE_MARK)</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> ? BLIND_TOKEN_PALETTE_SIZE * (type % BLIND_TOKENS_PER_SPRITESHEET)</div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> : 0);</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> <span class="keywordflow">return</span> blind_gfxPal[get_blind_spritesheet_idx(type)][color_idx];</div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span>}</div>
</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> </div>
<div class="foldopen" id="foldopen00232" data-start="{" data-end="}">
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"><a class="line" href="blind_8h.html#a33aca14af98233e87839aec461812517"> 232</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="blind_8c.html#a33aca14af98233e87839aec461812517">apply_blind_colors</a>(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type)</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span>{</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> <span class="comment">// keep track of active boss blind spritesheet to copy colors only when changing</span></div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> <span class="keyword">static</span> u32 active_boss_spritesheet = BLIND_TYPE_MAX;</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> u32 new_spritesheet = get_blind_spritesheet_idx(type);</div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> </div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> <span class="comment">// No need to update normal blind palette</span></div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> <span class="keywordflow">if</span> (type &lt; BLIND_TYPE_BOSS || active_boss_spritesheet == new_spritesheet)</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> {</div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span> <span class="keywordflow">return</span>;</div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span> }</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> active_boss_spritesheet = new_spritesheet;</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> </div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> <span class="comment">// Just copy the palette as is to the sprite palette bank</span></div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> memcpy16(</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> &amp;pal_obj_bank[BOSS_BLIND_PB],</div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> blind_gfxPal[active_boss_spritesheet],</div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span> <a class="code hl_define" href="util_8h.html#a3494fcb52c3d0ca1bf610facc8c81514">NUM_ELEM_IN_ARR</a>(blind_gfx0Pal)</div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span> );</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span>}</div>
</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> </div>
<div class="foldopen" id="foldopen00262" data-start="{" data-end="}">
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"><a class="line" href="blind_8c.html#a1fe16753cff7230a53901295f6cb7a77"> 262</a></span><span class="keyword">static</span> u32 <a class="code hl_function" href="blind_8c.html#a1fe16753cff7230a53901295f6cb7a77">get_layer_tile_index</a>(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">BlindTokenLayers</a> layer)</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span>{</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> <span class="comment">// All Blind sprites are stored sequentially and correspond to their IDs</span></div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> <span class="keywordflow">return</span> (BLIND_BASE_LAYER + layer) * BLIND_SPRITE_OFFSET;</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span>}</div>
</div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span> </div>
<div class="foldopen" id="foldopen00268" data-start="{" data-end="}">
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"><a class="line" href="blind_8h.html#a186aee3247d5b47aaa84b4f6ee3a5947"> 268</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="blind_8c.html#a186aee3247d5b47aaa84b4f6ee3a5947">apply_blind_tiles</a>(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type, <span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">BlindTokenLayers</a> layer)</div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span>{</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> u32 spritesheet_idx = get_blind_spritesheet_idx(type);</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> u32 sprite_idx = (type &lt; BLIND_TYPE_MARK) ? type % BLIND_TOKENS_PER_SPRITESHEET : 0;</div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> memcpy32(</div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span> &amp;tile_mem[<a class="code hl_define" href="graphic__utils_8h.html#a7e54edda39e2d955059c92e8c2ad1874">TILE_MEM_OBJ_CHARBLOCK0_IDX</a>][<a class="code hl_function" href="blind_8c.html#a1fe16753cff7230a53901295f6cb7a77">get_layer_tile_index</a>(layer)],</div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> &amp;blind_gfxTiles[spritesheet_idx][sprite_idx * BLIND_SPRITE_COPY_SIZE],</div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> BLIND_SPRITE_COPY_SIZE</div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> );</div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> </div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> <a class="code hl_function" href="blind_8c.html#a33aca14af98233e87839aec461812517">apply_blind_colors</a>(type);</div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span>}</div>
</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> </div>
<div class="foldopen" id="foldopen00281" data-start="{" data-end="}">
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"><a class="line" href="blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b"> 281</a></span><a class="code hl_struct" href="structSprite.html">Sprite</a>* <a class="code hl_function" href="blind_8c.html#a5518e6cabc5bcfd4e0ac280abd9f199c">blind_token_new</a>(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">BlindTokenLayers</a> layer)</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span>{</div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> <a class="code hl_function" href="blind_8c.html#a186aee3247d5b47aaa84b4f6ee3a5947">apply_blind_tiles</a>(type, layer);</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> <a class="code hl_struct" href="structSprite.html">Sprite</a>* sprite = <a class="code hl_function" href="sprite_8h.html#a5fbaf037f18d04536127b88417481eb8">sprite_new</a>(</div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> ATTR0_SQUARE | ATTR0_4BPP,</div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> ATTR1_SIZE_32x32,</div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> <a class="code hl_function" href="blind_8c.html#a1fe16753cff7230a53901295f6cb7a77">get_layer_tile_index</a>(layer),</div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> get_blind_pb(type),</div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> BLIND_BASE_LAYER + layer</div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> );</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> <a class="code hl_function" href="sprite_8h.html#a1ee0e1521651d9a8fd7773a6b4ba127e">sprite_position</a>(sprite, x, y);</div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> </div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> <span class="keywordflow">return</span> sprite;</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span>}</div>
</div>
<div class="ttc" id="ablind_8c_html_a186aee3247d5b47aaa84b4f6ee3a5947"><div class="ttname"><a href="blind_8c.html#a186aee3247d5b47aaa84b4f6ee3a5947">apply_blind_tiles</a></div><div class="ttdeci">void apply_blind_tiles(enum BlindType type, enum BlindTokenLayers layer)</div><div class="ttdoc">Change the tiles of the BlindToken Sprite at a given layer to that of the given BlindType.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00268">blind.c:268</a></div></div>
<div class="ttc" id="ablind_8c_html_a1fe16753cff7230a53901295f6cb7a77"><div class="ttname"><a href="blind_8c.html#a1fe16753cff7230a53901295f6cb7a77">get_layer_tile_index</a></div><div class="ttdeci">static u32 get_layer_tile_index(enum BlindTokenLayers layer)</div><div class="ttdoc">Get the starting tile index in tiles memory for the given BlindToken sprite layer.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00262">blind.c:262</a></div></div>
<div class="ttc" id="ablind_8c_html_a2826e7fd956be78ad09013ef623c91e3"><div class="ttname"><a href="blind_8c.html#a2826e7fd956be78ad09013ef623c91e3">roll_blind_type</a></div><div class="ttdeci">enum BlindType roll_blind_type(bool showdown)</div><div class="ttdoc">Choose a random Blind among the ones that haven't been beaten yet.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00162">blind.c:162</a></div></div>
<div class="ttc" id="ablind_8c_html_a33aca14af98233e87839aec461812517"><div class="ttname"><a href="blind_8c.html#a33aca14af98233e87839aec461812517">apply_blind_colors</a></div><div class="ttdeci">void apply_blind_colors(enum BlindType type)</div><div class="ttdoc">Copy the palette associated with the given Blind and copy it in the right spot in the palette memory.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00232">blind.c:232</a></div></div>
<div class="ttc" id="ablind_8c_html_a40c15210bb6306ece0a7240106e42543"><div class="ttname"><a href="blind_8c.html#a40c15210bb6306ece0a7240106e42543">init_unbeaten_blinds_list</a></div><div class="ttdeci">static void init_unbeaten_blinds_list(bool showdown)</div><div class="ttdoc">Fill Lists of unbeaten Boss and Showdown Blinds.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00140">blind.c:140</a></div></div>
<div class="ttc" id="ablind_8c_html_a5518e6cabc5bcfd4e0ac280abd9f199c"><div class="ttname"><a href="blind_8c.html#a5518e6cabc5bcfd4e0ac280abd9f199c">blind_token_new</a></div><div class="ttdeci">Sprite * blind_token_new(enum BlindType type, int x, int y, enum BlindTokenLayers layer)</div><div class="ttdoc">Create a new BlindToken sprite.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00281">blind.c:281</a></div></div>
<div class="ttc" id="ablind_8c_html_a6489ccf1d80155cbbb4346054870cb96"><div class="ttname"><a href="blind_8c.html#a6489ccf1d80155cbbb4346054870cb96">s_blind_type_map</a></div><div class="ttdeci">static Blind s_blind_type_map[BLIND_TYPE_MAX]</div><div class="ttdoc">Stores an instance of the Blind struct for each BlindType value, ordered in the same way....</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00063">blind.c:63</a></div></div>
<div class="ttc" id="ablind_8c_html_a6d39b4ae4ca73f51bb2d3bc4b7687473"><div class="ttname"><a href="blind_8c.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind_get_color</a></div><div class="ttdeci">u16 blind_get_color(enum BlindType type, enum BlindColorIndex index)</div><div class="ttdoc">Get the color associated with a given Blind.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00218">blind.c:218</a></div></div>
<div class="ttc" id="ablind_8c_html_a85fefafb15d88f710cbe1183ac34f3f4"><div class="ttname"><a href="blind_8c.html#a85fefafb15d88f710cbe1183ac34f3f4">blind_get_requirement</a></div><div class="ttdeci">u32 blind_get_requirement(enum BlindType type, int ante)</div><div class="ttdoc">Get the score required to beat a certain blind (either the Small, Big, or any Boss/Showdown blind) at...</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00106">blind.c:106</a></div></div>
<div class="ttc" id="ablind_8c_html_ad5c80cb82487220cada4920ecf037f9e"><div class="ttname"><a href="blind_8c.html#ad5c80cb82487220cada4920ecf037f9e">set_blind_beaten</a></div><div class="ttdeci">void set_blind_beaten(enum BlindType type)</div><div class="ttdoc">Remove the given Blind from the corresponding List so that we don't roll it again in the future.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00180">blind.c:180</a></div></div>
<div class="ttc" id="ablind_8c_html_aedfd9b6abb09b4255160fe02ae1d018b"><div class="ttname"><a href="blind_8c.html#aedfd9b6abb09b4255160fe02ae1d018b">init_unbeaten_blinds_lists</a></div><div class="ttdeci">void init_unbeaten_blinds_lists(void)</div><div class="ttdoc">Initialize Boss and Showdown Blinds lists to roll from.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00156">blind.c:156</a></div></div>
<div class="ttc" id="ablind_8c_html_af2031f17bfb33cfe0a1815fa66b8bde6"><div class="ttname"><a href="blind_8c.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind_get_reward</a></div><div class="ttdeci">int blind_get_reward(enum BlindType type)</div><div class="ttdoc">Get the amount of money gained from beating a certain Blind.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00115">blind.c:115</a></div></div>
<div class="ttc" id="ablind_8h_html"><div class="ttname"><a href="blind_8h.html">blind.h</a></div><div class="ttdoc">Data structures and functions relative to the behaviour and graphics of Blinds.</div></div>
<div class="ttc" id="ablind_8h_html_a360ce6465b5b6a404884c21d37759d4a"><div class="ttname"><a href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a></div><div class="ttdeci">BlindType</div><div class="ttdoc">All Blind types in the game are listed here.</div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00068">blind.h:69</a></div></div>
<div class="ttc" id="ablind_8h_html_a72f525224754ea5b65ce95410fa44408"><div class="ttname"><a href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">BlindTokenLayers</a></div><div class="ttdeci">BlindTokenLayers</div><div class="ttdoc">Sprite IDs of the various Blind Tokens used in the game, expressed as an offset relative to BLIND_BAS...</div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00035">blind.h:36</a></div></div>
<div class="ttc" id="ablind_8h_html_ab459b45520cab1b163439acc78635be8"><div class="ttname"><a href="blind_8h.html#ab459b45520cab1b163439acc78635be8">BlindColorIndex</a></div><div class="ttdeci">BlindColorIndex</div><div class="ttdoc">Indices of the Blind sprites' colors as encoded in the files' palettes with Aseprite.</div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00048">blind.h:49</a></div></div>
<div class="ttc" id="agraphic__utils_8h_html"><div class="ttname"><a href="graphic__utils_8h.html">graphic_utils.h</a></div><div class="ttdoc">Graphic utility functions.</div></div>
<div class="ttc" id="agraphic__utils_8h_html_a7e54edda39e2d955059c92e8c2ad1874"><div class="ttname"><a href="graphic__utils_8h.html#a7e54edda39e2d955059c92e8c2ad1874">TILE_MEM_OBJ_CHARBLOCK0_IDX</a></div><div class="ttdeci">#define TILE_MEM_OBJ_CHARBLOCK0_IDX</div><div class="ttdoc">The index for the first charblock of the object memory in tonc's tile_mem.</div><div class="ttdef"><b>Definition</b> <a href="graphic__utils_8h_source.html#l00050">graphic_utils.h:50</a></div></div>
<div class="ttc" id="ahand_8h_html"><div class="ttname"><a href="hand_8h.html">hand.h</a></div><div class="ttdoc">Functions relative to manipulating and analyzing the contents of the Hand, a.k.a. the Cards we hold a...</div></div>
<div class="ttc" id="alist_8h_html"><div class="ttname"><a href="list_8h.html">list.h</a></div><div class="ttdoc">A doubly-linked list.</div></div>
<div class="ttc" id="alist_8h_html_a1269841dad103a70c861ef88e1bbf9e0"><div class="ttname"><a href="list_8h.html#a1269841dad103a70c861ef88e1bbf9e0">list_is_empty</a></div><div class="ttdeci">bool list_is_empty(const List *list)</div><div class="ttdef"><b>Definition</b> <a href="list_8c_source.html#l00062">list.c:62</a></div></div>
<div class="ttc" id="alist_8h_html_a3b1939ae3a4c074282ab9f6ebcccb5b3"><div class="ttname"><a href="list_8h.html#a3b1939ae3a4c074282ab9f6ebcccb5b3">list_init</a></div><div class="ttdeci">List list_init(void)</div><div class="ttdef"><b>Definition</b> <a href="list_8c_source.html#l00038">list.c:38</a></div></div>
<div class="ttc" id="alist_8h_html_a3c604970a7f427ee628ab97749fde17c"><div class="ttname"><a href="list_8h.html#a3c604970a7f427ee628ab97749fde17c">list_get_at_idx</a></div><div class="ttdeci">void * list_get_at_idx(List *list, unsigned int idx)</div><div class="ttdef"><b>Definition</b> <a href="list_8c_source.html#l00219">list.c:219</a></div></div>
<div class="ttc" id="alist_8h_html_a74047e9a2e7b4652b675fa8be6086b13"><div class="ttname"><a href="list_8h.html#a74047e9a2e7b4652b675fa8be6086b13">list_get_len</a></div><div class="ttdeci">int list_get_len(const List *list)</div><div class="ttdef"><b>Definition</b> <a href="list_8c_source.html#l00214">list.c:214</a></div></div>
<div class="ttc" id="alist_8h_html_aac53d4a634fec0aa2adad813d0497056"><div class="ttname"><a href="list_8h.html#aac53d4a634fec0aa2adad813d0497056">list_clear</a></div><div class="ttdeci">void list_clear(List *list)</div><div class="ttdef"><b>Definition</b> <a href="list_8c_source.html#l00044">list.c:44</a></div></div>
<div class="ttc" id="alist_8h_html_adaa09cca2b970d67f0cd14076e1db988"><div class="ttname"><a href="list_8h.html#adaa09cca2b970d67f0cd14076e1db988">list_itr_next</a></div><div class="ttdeci">void * list_itr_next(ListItr *itr)</div><div class="ttdef"><b>Definition</b> <a href="list_8c_source.html#l00281">list.c:281</a></div></div>
<div class="ttc" id="alist_8h_html_ae2816ca6db0a215748a62831dc64104f"><div class="ttname"><a href="list_8h.html#ae2816ca6db0a215748a62831dc64104f">list_remove_at_idx</a></div><div class="ttdeci">bool list_remove_at_idx(List *list, unsigned int idx)</div><div class="ttdef"><b>Definition</b> <a href="list_8c_source.html#l00237">list.c:237</a></div></div>
<div class="ttc" id="alist_8h_html_ae3af686b4f37d17030e55fe7934f9afe"><div class="ttname"><a href="list_8h.html#ae3af686b4f37d17030e55fe7934f9afe">LIST_DEFAULT</a></div><div class="ttdeci">#define LIST_DEFAULT</div><div class="ttdoc">Default list declaration for empty lists.</div><div class="ttdef"><b>Definition</b> <a href="list_8h_source.html#l00030">list.h:30</a></div></div>
<div class="ttc" id="alist_8h_html_aeecf07ac54a546ae3dc7e9f4d2b0d098"><div class="ttname"><a href="list_8h.html#aeecf07ac54a546ae3dc7e9f4d2b0d098">list_push_back</a></div><div class="ttdeci">void list_push_back(List *list, void *data)</div><div class="ttdef"><b>Definition</b> <a href="list_8c_source.html#l00089">list.c:89</a></div></div>
<div class="ttc" id="alist_8h_html_af580fe52b40b3ee763b5fc145b7890b0"><div class="ttname"><a href="list_8h.html#af580fe52b40b3ee763b5fc145b7890b0">list_itr_create</a></div><div class="ttdeci">ListItr list_itr_create(List *list)</div><div class="ttdef"><b>Definition</b> <a href="list_8c_source.html#l00257">list.c:257</a></div></div>
<div class="ttc" id="arandom_8h_html"><div class="ttname"><a href="random_8h.html">random.h</a></div><div class="ttdoc">Common functions to handle RNG manipulation. Using this interface has three goals:</div></div>
<div class="ttc" id="arandom_8h_html_aa9ae84d9bf14a3987243f76cdf78c67b"><div class="ttname"><a href="random_8h.html#aa9ae84d9bf14a3987243f76cdf78c67b">rng_get_u32</a></div><div class="ttdeci">u32 rng_get_u32(void)</div><div class="ttdoc">Get the next &quot;randomly&quot; generated number in the sequence from the current seed.</div><div class="ttdef"><b>Definition</b> <a href="random_8c_source.html#l00036">random.c:36</a></div></div>
<div class="ttc" id="asprite_8h_html_a1ee0e1521651d9a8fd7773a6b4ba127e"><div class="ttname"><a href="sprite_8h.html#a1ee0e1521651d9a8fd7773a6b4ba127e">sprite_position</a></div><div class="ttdeci">INLINE void sprite_position(Sprite *sprite, int x, int y)</div><div class="ttdoc">Set sprite position. Inlined for efficiency.</div><div class="ttdef"><b>Definition</b> <a href="sprite_8h_source.html#l00368">sprite.h:368</a></div></div>
<div class="ttc" id="asprite_8h_html_a5fbaf037f18d04536127b88417481eb8"><div class="ttname"><a href="sprite_8h.html#a5fbaf037f18d04536127b88417481eb8">sprite_new</a></div><div class="ttdeci">Sprite * sprite_new(u16 a0, u16 a1, u32 tid, u32 pb, int sprite_index)</div><div class="ttdoc">Allocate and retrieve a pointer to a valid Sprite.</div><div class="ttdef"><b>Definition</b> <a href="sprite_8c_source.html#l00036">sprite.c:36</a></div></div>
<div class="ttc" id="astructBlind_html"><div class="ttname"><a href="structBlind.html">Blind</a></div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00097">blind.h:98</a></div></div>
<div class="ttc" id="astructBlind_html"><div class="ttname"><a href="structBlind.html">Blind</a></div><div class="ttdoc">Data structure containing data about a BlindType.</div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00136">blind.h:137</a></div></div>
<div class="ttc" id="astructListItr_html"><div class="ttname"><a href="structListItr.html">ListItr</a></div><div class="ttdoc">An iterator into a list.</div><div class="ttdef"><b>Definition</b> <a href="list_8h_source.html#l00090">list.h:91</a></div></div>
<div class="ttc" id="astructList_html"><div class="ttname"><a href="structList.html">List</a></div><div class="ttdoc">A doubly-linked list.</div><div class="ttdef"><b>Definition</b> <a href="list_8h_source.html#l00060">list.h:61</a></div></div>
<div class="ttc" id="astructSprite_html"><div class="ttname"><a href="structSprite.html">Sprite</a></div><div class="ttdoc">Sprite struct for GBA hardware specifics.</div><div class="ttdef"><b>Definition</b> <a href="sprite_8h_source.html#l00028">sprite.h:29</a></div></div>
@@ -423,7 +474,7 @@ $(document).ready(function(){initNavTree('blind_8c_source.html',''); initResizab
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_b2f33c71d4aa5e7af42a1ca61ff5af1b.html">source</a></li><li class="navelem"><b>blind.c</b></li>
<li class="navelem"><a class="el" href="dir_b2f33c71d4aa5e7af42a1ca61ff5af1b.html">source</a></li><li class="navelem"><a class="el" href="blind_8c.html">blind.c</a></li>
<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.9.8 </li>
</ul>
</div>

737
blind_8h.html Normal file
View File

@@ -0,0 +1,737 @@
<!-- HTML header for doxygen 1.16.1-->
<!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.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GBAlatro: include/blind.h File Reference</title>
<!--BEGIN PROJECT_ICON-->
<link rel="icon" href="$projecticon" type="image/x-icon" />
<!--END PROJECT_ICON-->
<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>
<!--BEGIN COPY_CLIPBOARD-->
<script type="text/javascript" src="clipboard.js"></script>
<!--END COPY_CLIPBOARD-->
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.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="custom.css" rel="stylesheet" type="text/css"/>
<!-- ... other metadata & script includes ... -->
<script type="text/javascript" src="doxygen-awesome-darkmode-toggle.js"></script>
<script type="text/javascript" src="doxygen-awesome-fragment-copy-button.js"></script>
<script type="text/javascript">
DoxygenAwesomeDarkModeToggle.init()
DoxygenAwesomeFragmentCopyButton.init()
</script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<!-- GitHub Corner -->
<a href="https://github.com/GBALATRO/balatro-gba" class="github-corner" aria-label="View source on GitHub" target="_blank">
<svg width="80" height="80" viewBox="0 0 250 250"
style="fill:#715292; color: #1C1D1F; position:fixed; top:0; border:0; right:0; z-index:9999;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"/>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.9,78.6 120.9,78.6
C119.1,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3
C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor" style="transform-origin:130px 106px;" class="octo-arm"/>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6
C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0
C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1
C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4
C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9
C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5
C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9
L141.0,136.5 C139.8,137.8 141.6,141.9 141.8,141.8 Z"
fill="currentColor" class="octo-body"/>
</svg>
</a>
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="icon.png"$logosize/></td>
<td id="projectalign">
<div id="projectname">GBAlatro
</div>
<div id="projectbrief">A Demake of Balatro for the GBA</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<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" 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');
$(document).ready(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 */
$(document).ready(function(){initNavTree('blind_8h.html',''); initResizable(); });
/* @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 class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">blind.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Data structures and functions relative to the behaviour and graphics of Blinds.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="sprite_8h_source.html">sprite.h</a>&quot;</code><br />
</div>
<p><a href="blind_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structBlind.html">Blind</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structure containing data about a BlindType. <a href="structBlind.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ac1b1e20519b861e33ab16845dbe95055" id="r_ac1b1e20519b861e33ab16845dbe95055"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html#ac1b1e20519b861e33ab16845dbe95055">MAX_ANTE</a>&#160;&#160;&#160;8</td></tr>
<tr class="separator:ac1b1e20519b861e33ab16845dbe95055"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ac213b67180e7b74f69beb56ddd17026e" id="r_ac213b67180e7b74f69beb56ddd17026e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e">BlindTokens</a> { <b>SMALL_BLIND</b>
, <b>BIG_BLIND</b>
, <b>BOSS_BLIND</b>
, <b>NUM_BLINDS_PER_ANTE</b>
}</td></tr>
<tr class="memdesc:ac213b67180e7b74f69beb56ddd17026e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The sprites that display the blinds when in "GAME_BLIND_SELECT" state. There are only 3 blinds per Ante, so we don't need more sprites than that. <a href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e">More...</a><br /></td></tr>
<tr class="separator:ac213b67180e7b74f69beb56ddd17026e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72f525224754ea5b65ce95410fa44408" id="r_a72f525224754ea5b65ce95410fa44408"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">BlindTokenLayers</a> { <br />
&#160;&#160;<b>PLAYING_BLIND_TOKEN_LAYER</b>
, <b>ROUND_END_BLIND_TOKEN_LAYER</b>
, <b>SMALL_BLIND_TOKEN_LAYER</b>
, <b>BIG_BLIND_TOKEN_LAYER</b>
, <br />
&#160;&#160;<b>BOSS_BLIND_TOKEN_LAYER</b>
<br />
}</td></tr>
<tr class="memdesc:a72f525224754ea5b65ce95410fa44408"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="structSprite.html" title="Sprite struct for GBA hardware specifics.">Sprite</a> IDs of the various <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> Tokens used in the game, expressed as an offset relative to <code>BLIND_BASE_LAYER</code> <a href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">More...</a><br /></td></tr>
<tr class="separator:a72f525224754ea5b65ce95410fa44408"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab459b45520cab1b163439acc78635be8" id="r_ab459b45520cab1b163439acc78635be8"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html#ab459b45520cab1b163439acc78635be8">BlindColorIndex</a> { <br />
&#160;&#160;<b>BLIND_TEXT_COLOR_INDEX</b> = 1
, <b>BLIND_SHADOW_COLOR_INDEX</b>
, <b>BLIND_HIGHLIGHT_COLOR_INDEX</b>
, <b>BLIND_MAIN_COLOR_INDEX</b>
, <br />
&#160;&#160;<b>BLIND_BACKGROUND_MAIN_COLOR_INDEX</b>
, <b>BLIND_BACKGROUND_SECONDARY_COLOR_INDEX</b>
, <b>BLIND_BACKGROUND_SHADOW_COLOR_INDEX</b>
<br />
}</td></tr>
<tr class="memdesc:ab459b45520cab1b163439acc78635be8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indices of the <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> sprites' colors as encoded in the files' palettes with Aseprite. <a href="blind_8h.html#ab459b45520cab1b163439acc78635be8">More...</a><br /></td></tr>
<tr class="separator:ab459b45520cab1b163439acc78635be8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a360ce6465b5b6a404884c21d37759d4a" id="r_a360ce6465b5b6a404884c21d37759d4a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> { <br />
&#160;&#160;<b>BLIND_TYPE_SMALL</b>
, <b>BLIND_TYPE_BIG</b>
, <b>BLIND_TYPE_BOSS</b>
, <b>BLIND_TYPE_HOOK</b> = BLIND_TYPE_BOSS
, <br />
&#160;&#160;<b>BLIND_TYPE_OX</b>
, <b>BLIND_TYPE_HOUSE</b>
, <b>BLIND_TYPE_WALL</b>
, <b>BLIND_TYPE_WHEEL</b>
, <br />
&#160;&#160;<b>BLIND_TYPE_ARM</b>
, <b>BLIND_TYPE_CLUB</b>
, <b>BLIND_TYPE_FISH</b>
, <b>BLIND_TYPE_PSYCHIC</b>
, <br />
&#160;&#160;<b>BLIND_TYPE_GOAD</b>
, <b>BLIND_TYPE_WATER</b>
, <b>BLIND_TYPE_WINDOW</b>
, <b>BLIND_TYPE_MANACLE</b>
, <br />
&#160;&#160;<b>BLIND_TYPE_EYE</b>
, <b>BLIND_TYPE_MOUTH</b>
, <b>BLIND_TYPE_PLANT</b>
, <b>BLIND_TYPE_SERPENT</b>
, <br />
&#160;&#160;<b>BLIND_TYPE_PILLAR</b>
, <b>BLIND_TYPE_NEEDLE</b>
, <b>BLIND_TYPE_HEAD</b>
, <b>BLIND_TYPE_TOOTH</b>
, <br />
&#160;&#160;<b>BLIND_TYPE_FLINT</b>
, <b>BLIND_TYPE_MARK</b>
, <b>BLIND_TYPE_SHOWDOWN</b>
, <b>BLIND_TYPE_ACORN</b> = BLIND_TYPE_SHOWDOWN
, <br />
&#160;&#160;<b>BLIND_TYPE_LEAF</b>
, <b>BLIND_TYPE_VESSEL</b>
, <b>BLIND_TYPE_HEART</b>
, <b>BLIND_TYPE_BELL</b>
, <br />
&#160;&#160;<b>BLIND_TYPE_MAX</b>
<br />
}</td></tr>
<tr class="memdesc:a360ce6465b5b6a404884c21d37759d4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">All <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> types in the game are listed here. <a href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">More...</a><br /></td></tr>
<tr class="separator:a360ce6465b5b6a404884c21d37759d4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59b2b8e485d0ea561120ae8c6010de1d" id="r_a59b2b8e485d0ea561120ae8c6010de1d"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">BlindState</a> { <br />
&#160;&#160;<b>BLIND_STATE_CURRENT</b>
, <b>BLIND_STATE_UPCOMING</b>
, <b>BLIND_STATE_DEFEATED</b>
, <b>BLIND_STATE_SKIPPED</b>
, <br />
&#160;&#160;<b>BLIND_STATE_MAX</b>
<br />
}</td></tr>
<tr class="memdesc:a59b2b8e485d0ea561120ae8c6010de1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">All the possible states an Ante's Blinds can be in when viewed in the "Blind Select" screen. <a href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">More...</a><br /></td></tr>
<tr class="separator:a59b2b8e485d0ea561120ae8c6010de1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a9adf1f91e4cd0e7f8514667cee1def52" id="r_a9adf1f91e4cd0e7f8514667cee1def52"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html#a9adf1f91e4cd0e7f8514667cee1def52">blind_init</a> ()</td></tr>
<tr class="separator:a9adf1f91e4cd0e7f8514667cee1def52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85fefafb15d88f710cbe1183ac34f3f4" id="r_a85fefafb15d88f710cbe1183ac34f3f4"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4">blind_get_requirement</a> (enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type, int ante)</td></tr>
<tr class="memdesc:a85fefafb15d88f710cbe1183ac34f3f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the score required to beat a certain blind (either the Small, Big, or any Boss/Showdown blind) at a certain Ante. <br /></td></tr>
<tr class="separator:a85fefafb15d88f710cbe1183ac34f3f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2031f17bfb33cfe0a1815fa66b8bde6" id="r_af2031f17bfb33cfe0a1815fa66b8bde6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind_get_reward</a> (enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type)</td></tr>
<tr class="memdesc:af2031f17bfb33cfe0a1815fa66b8bde6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the amount of money gained from beating a certain <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a>. <br /></td></tr>
<tr class="separator:af2031f17bfb33cfe0a1815fa66b8bde6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d39b4ae4ca73f51bb2d3bc4b7687473" id="r_a6d39b4ae4ca73f51bb2d3bc4b7687473"><td class="memItemLeft" align="right" valign="top">u16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind_get_color</a> (enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type, enum <a class="el" href="blind_8h.html#ab459b45520cab1b163439acc78635be8">BlindColorIndex</a> index)</td></tr>
<tr class="memdesc:a6d39b4ae4ca73f51bb2d3bc4b7687473"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the color associated with a given <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a>. <br /></td></tr>
<tr class="separator:a6d39b4ae4ca73f51bb2d3bc4b7687473"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2826e7fd956be78ad09013ef623c91e3" id="r_a2826e7fd956be78ad09013ef623c91e3"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html#a2826e7fd956be78ad09013ef623c91e3">roll_blind_type</a> (bool showdown)</td></tr>
<tr class="memdesc:a2826e7fd956be78ad09013ef623c91e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Choose a random <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> among the ones that haven't been beaten yet. <br /></td></tr>
<tr class="separator:a2826e7fd956be78ad09013ef623c91e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedfd9b6abb09b4255160fe02ae1d018b" id="r_aedfd9b6abb09b4255160fe02ae1d018b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html#aedfd9b6abb09b4255160fe02ae1d018b">init_unbeaten_blinds_lists</a> (void)</td></tr>
<tr class="memdesc:aedfd9b6abb09b4255160fe02ae1d018b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize Boss and Showdown Blinds lists to roll from. <br /></td></tr>
<tr class="separator:aedfd9b6abb09b4255160fe02ae1d018b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5c80cb82487220cada4920ecf037f9e" id="r_ad5c80cb82487220cada4920ecf037f9e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html#ad5c80cb82487220cada4920ecf037f9e">set_blind_beaten</a> (enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type)</td></tr>
<tr class="memdesc:ad5c80cb82487220cada4920ecf037f9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove the given <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> from the corresponding <a class="el" href="structList.html" title="A doubly-linked list.">List</a> so that we don't roll it again in the future. <br /></td></tr>
<tr class="separator:ad5c80cb82487220cada4920ecf037f9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33aca14af98233e87839aec461812517" id="r_a33aca14af98233e87839aec461812517"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html#a33aca14af98233e87839aec461812517">apply_blind_colors</a> (enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type)</td></tr>
<tr class="memdesc:a33aca14af98233e87839aec461812517"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy the palette associated with the given <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> and copy it in the right spot in the palette memory. <br /></td></tr>
<tr class="separator:a33aca14af98233e87839aec461812517"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a186aee3247d5b47aaa84b4f6ee3a5947" id="r_a186aee3247d5b47aaa84b4f6ee3a5947"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html#a186aee3247d5b47aaa84b4f6ee3a5947">apply_blind_tiles</a> (enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type, enum <a class="el" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">BlindTokenLayers</a> layer)</td></tr>
<tr class="memdesc:a186aee3247d5b47aaa84b4f6ee3a5947"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the tiles of the BlindToken <a class="el" href="structSprite.html" title="Sprite struct for GBA hardware specifics.">Sprite</a> at a given layer to that of the given BlindType. <br /></td></tr>
<tr class="separator:a186aee3247d5b47aaa84b4f6ee3a5947"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accef25c77a0711a7f6ab7f2a4774ae9b" id="r_accef25c77a0711a7f6ab7f2a4774ae9b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structSprite.html">Sprite</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b">blind_token_new</a> (enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type, int x, int y, enum <a class="el" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">BlindTokenLayers</a> sprite_index)</td></tr>
<tr class="memdesc:accef25c77a0711a7f6ab7f2a4774ae9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new BlindToken sprite. <br /></td></tr>
<tr class="separator:accef25c77a0711a7f6ab7f2a4774ae9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Data structures and functions relative to the behaviour and graphics of Blinds. </p>
<p class="definition">Definition in file <a class="el" href="blind_8h_source.html">blind.h</a>.</p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ac1b1e20519b861e33ab16845dbe95055" name="ac1b1e20519b861e33ab16845dbe95055"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1b1e20519b861e33ab16845dbe95055">&#9670;&#160;</a></span>MAX_ANTE</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MAX_ANTE&#160;&#160;&#160;8</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="blind_8h_source.html#l00013">13</a> of file <a class="el" href="blind_8h_source.html">blind.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ab459b45520cab1b163439acc78635be8" name="ab459b45520cab1b163439acc78635be8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab459b45520cab1b163439acc78635be8">&#9670;&#160;</a></span>BlindColorIndex</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="blind_8h.html#ab459b45520cab1b163439acc78635be8">BlindColorIndex</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Indices of the <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> sprites' colors as encoded in the files' palettes with Aseprite. </p>
<p class="definition">Definition at line <a class="el" href="blind_8h_source.html#l00048">48</a> of file <a class="el" href="blind_8h_source.html">blind.h</a>.</p>
</div>
</div>
<a id="a59b2b8e485d0ea561120ae8c6010de1d" name="a59b2b8e485d0ea561120ae8c6010de1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59b2b8e485d0ea561120ae8c6010de1d">&#9670;&#160;</a></span>BlindState</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">BlindState</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>All the possible states an Ante's Blinds can be in when viewed in the "Blind Select" screen. </p>
<p class="definition">Definition at line <a class="el" href="blind_8h_source.html#l00120">120</a> of file <a class="el" href="blind_8h_source.html">blind.h</a>.</p>
</div>
</div>
<a id="a72f525224754ea5b65ce95410fa44408" name="a72f525224754ea5b65ce95410fa44408"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72f525224754ea5b65ce95410fa44408">&#9670;&#160;</a></span>BlindTokenLayers</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">BlindTokenLayers</a></td>
</tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="structSprite.html" title="Sprite struct for GBA hardware specifics.">Sprite</a> IDs of the various <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> Tokens used in the game, expressed as an offset relative to <code>BLIND_BASE_LAYER</code> </p>
<dl class="section see"><dt>See also</dt><dd>BLIND_BASE_LAYER </dd></dl>
<p class="definition">Definition at line <a class="el" href="blind_8h_source.html#l00035">35</a> of file <a class="el" href="blind_8h_source.html">blind.h</a>.</p>
</div>
</div>
<a id="ac213b67180e7b74f69beb56ddd17026e" name="ac213b67180e7b74f69beb56ddd17026e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac213b67180e7b74f69beb56ddd17026e">&#9670;&#160;</a></span>BlindTokens</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e">BlindTokens</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>The sprites that display the blinds when in "GAME_BLIND_SELECT" state. There are only 3 blinds per Ante, so we don't need more sprites than that. </p>
<p class="definition">Definition at line <a class="el" href="blind_8h_source.html#l00020">20</a> of file <a class="el" href="blind_8h_source.html">blind.h</a>.</p>
</div>
</div>
<a id="a360ce6465b5b6a404884c21d37759d4a" name="a360ce6465b5b6a404884c21d37759d4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a360ce6465b5b6a404884c21d37759d4a">&#9670;&#160;</a></span>BlindType</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>All <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> types in the game are listed here. </p>
<p>Boss Blinds range from <code>BLIND_TYPE_BOSS</code> to <code>BLIND_TYPE_SHOWDOWN - 1</code>.</p>
<p>Showdown Blinds range from <code>BLIND_TYPE_SHOWDOWN</code> to <code>BLIND_TYPE_MAX - 1</code> </p>
<p class="definition">Definition at line <a class="el" href="blind_8h_source.html#l00068">68</a> of file <a class="el" href="blind_8h_source.html">blind.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a33aca14af98233e87839aec461812517" name="a33aca14af98233e87839aec461812517"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33aca14af98233e87839aec461812517">&#9670;&#160;</a></span>apply_blind_colors()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void apply_blind_colors </td>
<td>(</td>
<td class="paramtype">enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a>&#160;</td>
<td class="paramname"><em>type</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Copy the palette associated with the given <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> and copy it in the right spot in the palette memory. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">type</td><td>of the <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> whose palette we need </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="blind_8c_source.html#l00232">232</a> of file <a class="el" href="blind_8c_source.html">blind.c</a>.</p>
</div>
</div>
<a id="a186aee3247d5b47aaa84b4f6ee3a5947" name="a186aee3247d5b47aaa84b4f6ee3a5947"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a186aee3247d5b47aaa84b4f6ee3a5947">&#9670;&#160;</a></span>apply_blind_tiles()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void apply_blind_tiles </td>
<td>(</td>
<td class="paramtype">enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a>&#160;</td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">enum <a class="el" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">BlindTokenLayers</a>&#160;</td>
<td class="paramname"><em>layer</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Change the tiles of the BlindToken <a class="el" href="structSprite.html" title="Sprite struct for GBA hardware specifics.">Sprite</a> at a given layer to that of the given BlindType. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">type</td><td>of the <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> we want to apply the tiles of. </td></tr>
<tr><td class="paramname">layer</td><td>the <a class="el" href="structSprite.html" title="Sprite struct for GBA hardware specifics.">Sprite</a> will be located at.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408" title="Sprite IDs of the various Blind Tokens used in the game, expressed as an offset relative to BLIND_BAS...">BlindTokenLayers</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="blind_8c_source.html#l00268">268</a> of file <a class="el" href="blind_8c_source.html">blind.c</a>.</p>
</div>
</div>
<a id="a6d39b4ae4ca73f51bb2d3bc4b7687473" name="a6d39b4ae4ca73f51bb2d3bc4b7687473"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d39b4ae4ca73f51bb2d3bc4b7687473">&#9670;&#160;</a></span>blind_get_color()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u16 blind_get_color </td>
<td>(</td>
<td class="paramtype">enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a>&#160;</td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">enum <a class="el" href="blind_8h.html#ab459b45520cab1b163439acc78635be8">BlindColorIndex</a>&#160;</td>
<td class="paramname"><em>index</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the color associated with a given <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">type</td><td>the BlindType whose palette will be used </td></tr>
<tr><td class="paramname">index</td><td>of the color within the <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a>'s palette</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the BGR555 value of the requested color </dd></dl>
<p class="definition">Definition at line <a class="el" href="blind_8c_source.html#l00218">218</a> of file <a class="el" href="blind_8c_source.html">blind.c</a>.</p>
</div>
</div>
<a id="a85fefafb15d88f710cbe1183ac34f3f4" name="a85fefafb15d88f710cbe1183ac34f3f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85fefafb15d88f710cbe1183ac34f3f4">&#9670;&#160;</a></span>blind_get_requirement()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 blind_get_requirement </td>
<td>(</td>
<td class="paramtype">enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a>&#160;</td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>ante</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the score required to beat a certain blind (either the Small, Big, or any Boss/Showdown blind) at a certain Ante. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">type</td><td>the <code>BlindType</code> value of the blind we need the score requirement of </td></tr>
<tr><td class="paramname">ante</td><td>the Ante at which the blind <code>type</code> is encountered</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the required score to beat the requested blind </dd></dl>
<p class="definition">Definition at line <a class="el" href="blind_8c_source.html#l00106">106</a> of file <a class="el" href="blind_8c_source.html">blind.c</a>.</p>
</div>
</div>
<a id="af2031f17bfb33cfe0a1815fa66b8bde6" name="af2031f17bfb33cfe0a1815fa66b8bde6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2031f17bfb33cfe0a1815fa66b8bde6">&#9670;&#160;</a></span>blind_get_reward()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int blind_get_reward </td>
<td>(</td>
<td class="paramtype">enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a>&#160;</td>
<td class="paramname"><em>type</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the amount of money gained from beating a certain <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">type</td><td>the BlindType of the beaten <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>3 for the Small <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a>, 4 for the Big one, 5 for Bosses and 8 for Showdowns </dd></dl>
<p class="definition">Definition at line <a class="el" href="blind_8c_source.html#l00115">115</a> of file <a class="el" href="blind_8c_source.html">blind.c</a>.</p>
</div>
</div>
<a id="a9adf1f91e4cd0e7f8514667cee1def52" name="a9adf1f91e4cd0e7f8514667cee1def52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9adf1f91e4cd0e7f8514667cee1def52">&#9670;&#160;</a></span>blind_init()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void blind_init </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="blind_8c_source.html#l00097">97</a> of file <a class="el" href="blind_8c_source.html">blind.c</a>.</p>
</div>
</div>
<a id="accef25c77a0711a7f6ab7f2a4774ae9b" name="accef25c77a0711a7f6ab7f2a4774ae9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accef25c77a0711a7f6ab7f2a4774ae9b">&#9670;&#160;</a></span>blind_token_new()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structSprite.html">Sprite</a> * blind_token_new </td>
<td>(</td>
<td class="paramtype">enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a>&#160;</td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">enum <a class="el" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">BlindTokenLayers</a>&#160;</td>
<td class="paramname"><em>sprite_index</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a new BlindToken sprite. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">type</td><td>of the <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> the token needs to represent </td></tr>
<tr><td class="paramname">x</td><td>initial position of the new <a class="el" href="structSprite.html" title="Sprite struct for GBA hardware specifics.">Sprite</a> on the horizontal axis </td></tr>
<tr><td class="paramname">y</td><td>initial position of the new <a class="el" href="structSprite.html" title="Sprite struct for GBA hardware specifics.">Sprite</a> on the vertical axis </td></tr>
<tr><td class="paramname">sprite_index</td><td>layer of the new <a class="el" href="structSprite.html" title="Sprite struct for GBA hardware specifics.">Sprite</a></td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408" title="Sprite IDs of the various Blind Tokens used in the game, expressed as an offset relative to BLIND_BAS...">BlindTokenLayers</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="blind_8c_source.html#l00281">281</a> of file <a class="el" href="blind_8c_source.html">blind.c</a>.</p>
</div>
</div>
<a id="aedfd9b6abb09b4255160fe02ae1d018b" name="aedfd9b6abb09b4255160fe02ae1d018b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aedfd9b6abb09b4255160fe02ae1d018b">&#9670;&#160;</a></span>init_unbeaten_blinds_lists()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void init_unbeaten_blinds_lists </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Initialize Boss and Showdown Blinds lists to roll from. </p>
<p class="definition">Definition at line <a class="el" href="blind_8c_source.html#l00156">156</a> of file <a class="el" href="blind_8c_source.html">blind.c</a>.</p>
</div>
</div>
<a id="a2826e7fd956be78ad09013ef623c91e3" name="a2826e7fd956be78ad09013ef623c91e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2826e7fd956be78ad09013ef623c91e3">&#9670;&#160;</a></span>roll_blind_type()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> roll_blind_type </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>showdown</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Choose a random <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> among the ones that haven't been beaten yet. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">showdown</td><td>whether we want to roll a Showdown or a regular Boss <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a>.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a BlindType value chosen at random </dd></dl>
<p class="definition">Definition at line <a class="el" href="blind_8c_source.html#l00162">162</a> of file <a class="el" href="blind_8c_source.html">blind.c</a>.</p>
</div>
</div>
<a id="ad5c80cb82487220cada4920ecf037f9e" name="ad5c80cb82487220cada4920ecf037f9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5c80cb82487220cada4920ecf037f9e">&#9670;&#160;</a></span>set_blind_beaten()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void set_blind_beaten </td>
<td>(</td>
<td class="paramtype">enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a>&#160;</td>
<td class="paramname"><em>type</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Remove the given <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> from the corresponding <a class="el" href="structList.html" title="A doubly-linked list.">List</a> so that we don't roll it again in the future. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">type</td><td>the BlindType of the Boss/Showdown <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> we've just beaten. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="blind_8c_source.html#l00180">180</a> of file <a class="el" href="blind_8c_source.html">blind.c</a>.</p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="blind_8h.html">blind.h</a></li>
<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.9.8 </li>
</ul>
</div>
</body>
</html>

77
blind_8h.js Normal file
View File

@@ -0,0 +1,77 @@
var blind_8h =
[
[ "Blind", "structBlind.html", null ],
[ "BlindColorIndex", "blind_8h.html#ab459b45520cab1b163439acc78635be8", [
[ "BLIND_TEXT_COLOR_INDEX", "blind_8h.html#ab459b45520cab1b163439acc78635be8a97d8eef64d76c644a82a877950bdf547", null ],
[ "BLIND_SHADOW_COLOR_INDEX", "blind_8h.html#ab459b45520cab1b163439acc78635be8acddc4a734d59cf417e454287ca57c39e", null ],
[ "BLIND_HIGHLIGHT_COLOR_INDEX", "blind_8h.html#ab459b45520cab1b163439acc78635be8a0105609b6264a03e76d287a23aa776f7", null ],
[ "BLIND_MAIN_COLOR_INDEX", "blind_8h.html#ab459b45520cab1b163439acc78635be8a96318ff77a183180c6248a16bf9ebc2b", null ],
[ "BLIND_BACKGROUND_MAIN_COLOR_INDEX", "blind_8h.html#ab459b45520cab1b163439acc78635be8ab8583f96d10158dd90cfbbd33f45f48a", null ],
[ "BLIND_BACKGROUND_SECONDARY_COLOR_INDEX", "blind_8h.html#ab459b45520cab1b163439acc78635be8ae1b362f1cf1fec0199ebc82f33384dfd", null ],
[ "BLIND_BACKGROUND_SHADOW_COLOR_INDEX", "blind_8h.html#ab459b45520cab1b163439acc78635be8ae7a17e141606adba21b3080a875183da", null ]
] ],
[ "BlindState", "blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d", [
[ "BLIND_STATE_CURRENT", "blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1da5376f8ff2f03c16cafcba4e1e0867c10", null ],
[ "BLIND_STATE_UPCOMING", "blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1da8bfbd2aa221aa60b7c635b19f116ff2e", null ],
[ "BLIND_STATE_DEFEATED", "blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1daa5adf8910b7b28f5095047bfd8474284", null ],
[ "BLIND_STATE_SKIPPED", "blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1da91eca89d97e5975c544aaace11ab7439", null ],
[ "BLIND_STATE_MAX", "blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1da7f31dff7c22cedd1599a59f24d0dfe2b", null ]
] ],
[ "BlindTokenLayers", "blind_8h.html#a72f525224754ea5b65ce95410fa44408", [
[ "PLAYING_BLIND_TOKEN_LAYER", "blind_8h.html#a72f525224754ea5b65ce95410fa44408aa914ba14cd56ba28180cdcc6ea0b6ade", null ],
[ "ROUND_END_BLIND_TOKEN_LAYER", "blind_8h.html#a72f525224754ea5b65ce95410fa44408a26e650013721f8008ef2aab71c11791c", null ],
[ "SMALL_BLIND_TOKEN_LAYER", "blind_8h.html#a72f525224754ea5b65ce95410fa44408abc6427251f7dac54a243aace82ac4649", null ],
[ "BIG_BLIND_TOKEN_LAYER", "blind_8h.html#a72f525224754ea5b65ce95410fa44408a076cd342939fbcac4f00bdf7b6dff2d8", null ],
[ "BOSS_BLIND_TOKEN_LAYER", "blind_8h.html#a72f525224754ea5b65ce95410fa44408a9e926934a3bf811ac8e0b7c938e4bbe9", null ]
] ],
[ "BlindTokens", "blind_8h.html#ac213b67180e7b74f69beb56ddd17026e", [
[ "SMALL_BLIND", "blind_8h.html#ac213b67180e7b74f69beb56ddd17026eaf6836ec629cee42be0962c8353a49033", null ],
[ "BIG_BLIND", "blind_8h.html#ac213b67180e7b74f69beb56ddd17026eaba7d7ccf3ee0de6001410925d60efa0f", null ],
[ "BOSS_BLIND", "blind_8h.html#ac213b67180e7b74f69beb56ddd17026ea5890a4a7b75a5fe47ecb1fd82c6547c0", null ],
[ "NUM_BLINDS_PER_ANTE", "blind_8h.html#ac213b67180e7b74f69beb56ddd17026eaa1e06914ec1d5ffc2451be886c10ce8a", null ]
] ],
[ "BlindType", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4a", [
[ "BLIND_TYPE_SMALL", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa15167b32634d935c2719a22382a67691", null ],
[ "BLIND_TYPE_BIG", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa47cffffc359e0b4f235e2b16c6e4d9b7", null ],
[ "BLIND_TYPE_BOSS", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa19857db58c1a9fee577b7214306f5c44", null ],
[ "BLIND_TYPE_HOOK", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa818a9f67d528bc54e9b07632433f2342", null ],
[ "BLIND_TYPE_OX", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa81c517350bff2784bf34485b1b834281", null ],
[ "BLIND_TYPE_HOUSE", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa760d7d5a341a641be47a1a75e836da35", null ],
[ "BLIND_TYPE_WALL", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aaeb90802345e3146342a4876ba39070a4", null ],
[ "BLIND_TYPE_WHEEL", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa4c22cb189fe23fb01feb5d2a4d1ce487", null ],
[ "BLIND_TYPE_ARM", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa79c75059dabd3faadda3ce35699b80e8", null ],
[ "BLIND_TYPE_CLUB", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa2d27fba2071bd13ca1915c4e3d1cbac4", null ],
[ "BLIND_TYPE_FISH", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa6aa608764a277725da487c4ae0d3de3a", null ],
[ "BLIND_TYPE_PSYCHIC", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aae3b8e8a01372bb5e4904e7cf73b4e7bd", null ],
[ "BLIND_TYPE_GOAD", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa57d86796d5b672994a7acb2bc04d48f0", null ],
[ "BLIND_TYPE_WATER", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aab40cd57e171a82ff2b59a79903e2f212", null ],
[ "BLIND_TYPE_WINDOW", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aada608bde2074c90e029f0572577d6557", null ],
[ "BLIND_TYPE_MANACLE", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa080e82dd2db9564e572412154125b0f4", null ],
[ "BLIND_TYPE_EYE", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa5a70ec8b22d722e8c4e82bc887c4dec0", null ],
[ "BLIND_TYPE_MOUTH", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aadb28f08231cf31449d63ecc9bbbc1c7a", null ],
[ "BLIND_TYPE_PLANT", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa1af29101f44e4473e630ea368659df51", null ],
[ "BLIND_TYPE_SERPENT", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aacbb3359c2880f0e76bfc1fc75e909d13", null ],
[ "BLIND_TYPE_PILLAR", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa70d6ff194915f634a537512ad5afb413", null ],
[ "BLIND_TYPE_NEEDLE", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa3d7731fac3f4a31ac371d807b1b20e88", null ],
[ "BLIND_TYPE_HEAD", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa65671f00c247265808c0c0fa8d08f074", null ],
[ "BLIND_TYPE_TOOTH", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aadee7412c1b01b4539dfa709342134614", null ],
[ "BLIND_TYPE_FLINT", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa27a9c29e4d001a8316c7b5ebde4d1372", null ],
[ "BLIND_TYPE_MARK", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aac847441612c69b287b5ca306116d3d07", null ],
[ "BLIND_TYPE_SHOWDOWN", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa4277ac388e68f577723994d0e910b3c2", null ],
[ "BLIND_TYPE_ACORN", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa6b42db6f30fdeebd16764393428c93ca", null ],
[ "BLIND_TYPE_LEAF", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aad333023b7eff1c3742bd55e156ea3b7c", null ],
[ "BLIND_TYPE_VESSEL", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa9b1916964ca4f4088f37d154af9489ee", null ],
[ "BLIND_TYPE_HEART", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa9bae10e7cacf84f6b34b935ff3f87558", null ],
[ "BLIND_TYPE_BELL", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aabcb88cee19204a5f3ac100abbf0ed1ae", null ],
[ "BLIND_TYPE_MAX", "blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa9558a99d92ac0fe5f24f9ecc31cba58c", null ]
] ],
[ "apply_blind_colors", "blind_8h.html#a33aca14af98233e87839aec461812517", null ],
[ "apply_blind_tiles", "blind_8h.html#a186aee3247d5b47aaa84b4f6ee3a5947", null ],
[ "blind_get_color", "blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473", null ],
[ "blind_get_requirement", "blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4", null ],
[ "blind_get_reward", "blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6", null ],
[ "blind_token_new", "blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b", null ],
[ "init_unbeaten_blinds_lists", "blind_8h.html#aedfd9b6abb09b4255160fe02ae1d018b", null ],
[ "roll_blind_type", "blind_8h.html#a2826e7fd956be78ad09013ef623c91e3", null ],
[ "set_blind_beaten", "blind_8h.html#ad5c80cb82487220cada4920ecf037f9e", null ]
];

View File

@@ -138,135 +138,163 @@ $(document).ready(function(){initNavTree('blind_8h_source.html',''); initResizab
<div class="headertitle"><div class="title">blind.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef BLIND_H</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define BLIND_H</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &quot;<a class="code" href="sprite_8h.html">sprite.h</a>&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment">// The GBA&#39;s max uint value is around 4 billion, so we&#39;re going to not add endless mode for</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment">// simplicity&#39;s sake</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#define MAX_ANTE 8</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment">// Sprite IDs of the various Blind Tokens used in the game, expressed as an offset</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment">// relative to `BLIND_BASE_LAYER`</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#define PLAYING_BLIND_TOKEN_LAYER 0</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#define ROUND_END_BLIND_TOKEN_LAYER 1</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#define SMALL_BLIND_TOKEN_LAYER 2</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#define BIG_BLIND_TOKEN_LAYER 3</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#define BOSS_BLIND_TOKEN_LAYER 4</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">// The sprites that display the blinds when in &quot;GAME_BLIND_SELECT&quot; state</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="comment">// There are only 3 blinds per Ante, so we don&#39;t need more sprites than that</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="keyword">enum</span> BlindTokens</div>
<a href="blind_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#ifndef BLIND_H</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#define BLIND_H</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span> </div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &quot;<a class="code" href="sprite_8h.html">sprite.h</a>&quot;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment">// The GBA&#39;s max uint value is around 4 billion, so we&#39;re going to not add endless mode for</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment">// simplicity&#39;s sake</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#define MAX_ANTE 8</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
<div class="foldopen" id="foldopen00020" data-start="{" data-end="};">
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e"> 20</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e">BlindTokens</a></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span>{</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> SMALL_BLIND,</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> BIG_BLIND,</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> BOSS_BLIND,</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> NUM_BLINDS_PER_ANTE</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> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="comment">// Order of the Blind sprites&#39; colors as encoded in the files&#39; palettes with Aseprite</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="keyword">enum</span> BlindColorIndex</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span>{</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> BLIND_TEXT_COLOR_INDEX = 1,</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> BLIND_SHADOW_COLOR_INDEX,</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> BLIND_HIGHLIGHT_COLOR_INDEX,</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> BLIND_MAIN_COLOR_INDEX,</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> BLIND_BACKGROUND_MAIN_COLOR_INDEX,</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> BLIND_BACKGROUND_SECONDARY_COLOR_INDEX,</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> BLIND_BACKGROUND_SHADOW_COLOR_INDEX,</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span>};</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="comment">// clang-format off</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="keyword">enum</span> BlindType</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span>{</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="comment">// Normal Blinds</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> BLIND_TYPE_SMALL,</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> BLIND_TYPE_BIG,</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="comment">// Boss Blinds</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> BLIND_TYPE_BOSS,</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> BLIND_TYPE_HOOK = BLIND_TYPE_BOSS,</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> BLIND_TYPE_OX,</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> BLIND_TYPE_HOUSE,</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> BLIND_TYPE_WALL,</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> BLIND_TYPE_WHEEL,</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> BLIND_TYPE_ARM,</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> BLIND_TYPE_CLUB,</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> BLIND_TYPE_FISH,</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> BLIND_TYPE_PSYCHIC,</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> BLIND_TYPE_GOAD,</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> BLIND_TYPE_WATER,</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> BLIND_TYPE_WINDOW,</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> BLIND_TYPE_MANACLE,</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> BLIND_TYPE_EYE,</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> BLIND_TYPE_MOUTH,</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> BLIND_TYPE_PLANT,</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> BLIND_TYPE_SERPENT,</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> BLIND_TYPE_PILLAR,</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> BLIND_TYPE_NEEDLE,</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> BLIND_TYPE_HEAD,</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> BLIND_TYPE_TOOTH,</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> BLIND_TYPE_FLINT,</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> BLIND_TYPE_MARK,</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> <span class="comment">// Showdown Blinds</span></div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> BLIND_TYPE_SHOWDOWN,</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> BLIND_TYPE_ACORN = BLIND_TYPE_SHOWDOWN,</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> BLIND_TYPE_LEAF,</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> BLIND_TYPE_VESSEL,</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> BLIND_TYPE_HEART,</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> BLIND_TYPE_BELL,</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> <span class="comment">// End of Blinds&#39; list</span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> BLIND_TYPE_MAX</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><span class="comment">// clang-format on</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><span class="keyword">enum</span> BlindState</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> BLIND_STATE_CURRENT,</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> BLIND_STATE_UPCOMING,</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> BLIND_STATE_DEFEATED,</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> BLIND_STATE_SKIPPED,</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> BLIND_STATE_MAX,</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> </div>
<div class="foldopen" id="foldopen00097" data-start="{" data-end="};">
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="structBlind.html"> 97</a></span><span class="keyword">typedef</span> <span class="keyword">struct</span></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="keyword">enum</span> BlindType type;</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> FIXED score_req_multipler;</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> s32 reward;</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span>} <a class="code hl_struct" href="structBlind.html">Blind</a>;</div>
</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="foldopen" id="foldopen00035" data-start="{" data-end="};">
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408"> 35</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">BlindTokenLayers</a></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span>{</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> PLAYING_BLIND_TOKEN_LAYER,</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> ROUND_END_BLIND_TOKEN_LAYER,</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> SMALL_BLIND_TOKEN_LAYER,</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> BIG_BLIND_TOKEN_LAYER,</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> BOSS_BLIND_TOKEN_LAYER</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span>};</div>
</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
<div class="foldopen" id="foldopen00048" data-start="{" data-end="};">
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="blind_8h.html#ab459b45520cab1b163439acc78635be8"> 48</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#ab459b45520cab1b163439acc78635be8">BlindColorIndex</a></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span>{</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> BLIND_TEXT_COLOR_INDEX = 1,</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> BLIND_SHADOW_COLOR_INDEX,</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> BLIND_HIGHLIGHT_COLOR_INDEX,</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> BLIND_MAIN_COLOR_INDEX,</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> BLIND_BACKGROUND_MAIN_COLOR_INDEX,</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> BLIND_BACKGROUND_SECONDARY_COLOR_INDEX,</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> BLIND_BACKGROUND_SHADOW_COLOR_INDEX,</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span>};</div>
</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span><span class="comment">// clang-format off</span></div>
<div class="foldopen" id="foldopen00068" data-start="{" data-end="};">
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a"> 68</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a></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> <span class="comment">// Normal Blinds</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> BLIND_TYPE_SMALL,</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> BLIND_TYPE_BIG,</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> <span class="comment">// Boss Blinds</span></div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> BLIND_TYPE_BOSS,</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> BLIND_TYPE_HOOK = BLIND_TYPE_BOSS,</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> BLIND_TYPE_OX,</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> BLIND_TYPE_HOUSE,</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> BLIND_TYPE_WALL,</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> BLIND_TYPE_WHEEL,</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> BLIND_TYPE_ARM,</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> BLIND_TYPE_CLUB,</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> BLIND_TYPE_FISH,</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> BLIND_TYPE_PSYCHIC,</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> BLIND_TYPE_GOAD,</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> BLIND_TYPE_WATER,</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> BLIND_TYPE_WINDOW,</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> BLIND_TYPE_MANACLE,</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> BLIND_TYPE_EYE,</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> BLIND_TYPE_MOUTH,</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> BLIND_TYPE_PLANT,</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> BLIND_TYPE_SERPENT,</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> BLIND_TYPE_PILLAR,</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> BLIND_TYPE_NEEDLE,</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> BLIND_TYPE_HEAD,</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> BLIND_TYPE_TOOTH,</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> BLIND_TYPE_FLINT,</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> BLIND_TYPE_MARK,</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <span class="comment">// Showdown Blinds</span></div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> BLIND_TYPE_SHOWDOWN,</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><span class="keywordtype">void</span> blind_init();</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>u32 blind_get_requirement(<span class="keyword">enum</span> BlindType type, <span class="keywordtype">int</span> ante);</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span><span class="keywordtype">int</span> blind_get_reward(<span class="keyword">enum</span> BlindType type);</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span>u16 blind_get_color(<span class="keyword">enum</span> BlindType type, <span class="keyword">enum</span> BlindColorIndex index);</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> BLIND_TYPE_ACORN = BLIND_TYPE_SHOWDOWN,</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> BLIND_TYPE_LEAF,</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> BLIND_TYPE_VESSEL,</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> BLIND_TYPE_HEART,</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> BLIND_TYPE_BELL,</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> </div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span><span class="keywordtype">void</span> init_unbeaten_blinds_list(<span class="keywordtype">bool</span> showdown);</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span><span class="keyword">enum</span> BlindType roll_blind_type(<span class="keywordtype">bool</span> showdown);</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span><span class="keywordtype">void</span> set_blind_beaten(<span class="keyword">enum</span> BlindType type);</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="keywordtype">void</span> apply_blind_colors(<span class="keyword">enum</span> BlindType type);</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span><span class="keywordtype">void</span> apply_blind_tiles(<span class="keyword">enum</span> BlindType type, <span class="keywordtype">int</span> layer);</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span><a class="code hl_struct" href="structSprite.html">Sprite</a>* blind_token_new(<span class="keyword">enum</span> BlindType type, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> sprite_index);</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><span class="preprocessor">#endif </span><span class="comment">// BLIND_H</span></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <span class="comment">// End of Blinds&#39; list</span></div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> BLIND_TYPE_MAX</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span>};</div>
</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span><span class="comment">// clang-format on</span></div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div>
<div class="foldopen" id="foldopen00120" data-start="{" data-end="};">
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"><a class="line" href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d"> 120</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">BlindState</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> BLIND_STATE_CURRENT,</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> BLIND_STATE_UPCOMING,</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> BLIND_STATE_DEFEATED,</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> BLIND_STATE_SKIPPED,</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> BLIND_STATE_MAX,</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span>};</div>
</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> </div>
<div class="foldopen" id="foldopen00136" data-start="{" data-end="};">
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="structBlind.html"> 136</a></span><span class="keyword">typedef</span> <span class="keyword">struct</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> u8 type;</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> FIXED score_req_multiplier;</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span>} <a class="code hl_struct" href="structBlind.html">Blind</a>;</div>
</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><span class="keywordtype">void</span> blind_init();</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> </div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span>u32 <a class="code hl_function" href="blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4">blind_get_requirement</a>(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type, <span class="keywordtype">int</span> ante);</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> </div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span><span class="keywordtype">int</span> <a class="code hl_function" href="blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind_get_reward</a>(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type);</div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> </div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span>u16 <a class="code hl_function" href="blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind_get_color</a>(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type, <span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#ab459b45520cab1b163439acc78635be8">BlindColorIndex</a> index);</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> </div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span><span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> <a class="code hl_function" href="blind_8h.html#a2826e7fd956be78ad09013ef623c91e3">roll_blind_type</a>(<span class="keywordtype">bool</span> showdown);</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> </div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span><span class="keywordtype">void</span> <a class="code hl_function" href="blind_8h.html#aedfd9b6abb09b4255160fe02ae1d018b">init_unbeaten_blinds_lists</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> </div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span><span class="keywordtype">void</span> <a class="code hl_function" href="blind_8h.html#ad5c80cb82487220cada4920ecf037f9e">set_blind_beaten</a>(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type);</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> </div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span><span class="keywordtype">void</span> <a class="code hl_function" href="blind_8h.html#a33aca14af98233e87839aec461812517">apply_blind_colors</a>(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type);</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> </div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span><span class="keywordtype">void</span> <a class="code hl_function" href="blind_8h.html#a186aee3247d5b47aaa84b4f6ee3a5947">apply_blind_tiles</a>(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type, <span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">BlindTokenLayers</a> layer);</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> </div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span><a class="code hl_struct" href="structSprite.html">Sprite</a>* <a class="code hl_function" href="blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b">blind_token_new</a>(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> type, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">BlindTokenLayers</a> sprite_index);</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> </div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span><span class="preprocessor">#endif </span><span class="comment">// BLIND_H</span></div>
<div class="ttc" id="ablind_8h_html_a186aee3247d5b47aaa84b4f6ee3a5947"><div class="ttname"><a href="blind_8h.html#a186aee3247d5b47aaa84b4f6ee3a5947">apply_blind_tiles</a></div><div class="ttdeci">void apply_blind_tiles(enum BlindType type, enum BlindTokenLayers layer)</div><div class="ttdoc">Change the tiles of the BlindToken Sprite at a given layer to that of the given BlindType.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00268">blind.c:268</a></div></div>
<div class="ttc" id="ablind_8h_html_a2826e7fd956be78ad09013ef623c91e3"><div class="ttname"><a href="blind_8h.html#a2826e7fd956be78ad09013ef623c91e3">roll_blind_type</a></div><div class="ttdeci">enum BlindType roll_blind_type(bool showdown)</div><div class="ttdoc">Choose a random Blind among the ones that haven't been beaten yet.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00162">blind.c:162</a></div></div>
<div class="ttc" id="ablind_8h_html_a33aca14af98233e87839aec461812517"><div class="ttname"><a href="blind_8h.html#a33aca14af98233e87839aec461812517">apply_blind_colors</a></div><div class="ttdeci">void apply_blind_colors(enum BlindType type)</div><div class="ttdoc">Copy the palette associated with the given Blind and copy it in the right spot in the palette memory.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00232">blind.c:232</a></div></div>
<div class="ttc" id="ablind_8h_html_a360ce6465b5b6a404884c21d37759d4a"><div class="ttname"><a href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a></div><div class="ttdeci">BlindType</div><div class="ttdoc">All Blind types in the game are listed here.</div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00068">blind.h:69</a></div></div>
<div class="ttc" id="ablind_8h_html_a59b2b8e485d0ea561120ae8c6010de1d"><div class="ttname"><a href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">BlindState</a></div><div class="ttdeci">BlindState</div><div class="ttdoc">All the possible states an Ante's Blinds can be in when viewed in the &quot;Blind Select&quot; screen.</div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00120">blind.h:121</a></div></div>
<div class="ttc" id="ablind_8h_html_a6d39b4ae4ca73f51bb2d3bc4b7687473"><div class="ttname"><a href="blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind_get_color</a></div><div class="ttdeci">u16 blind_get_color(enum BlindType type, enum BlindColorIndex index)</div><div class="ttdoc">Get the color associated with a given Blind.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00218">blind.c:218</a></div></div>
<div class="ttc" id="ablind_8h_html_a72f525224754ea5b65ce95410fa44408"><div class="ttname"><a href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">BlindTokenLayers</a></div><div class="ttdeci">BlindTokenLayers</div><div class="ttdoc">Sprite IDs of the various Blind Tokens used in the game, expressed as an offset relative to BLIND_BAS...</div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00035">blind.h:36</a></div></div>
<div class="ttc" id="ablind_8h_html_a85fefafb15d88f710cbe1183ac34f3f4"><div class="ttname"><a href="blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4">blind_get_requirement</a></div><div class="ttdeci">u32 blind_get_requirement(enum BlindType type, int ante)</div><div class="ttdoc">Get the score required to beat a certain blind (either the Small, Big, or any Boss/Showdown blind) at...</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00106">blind.c:106</a></div></div>
<div class="ttc" id="ablind_8h_html_ab459b45520cab1b163439acc78635be8"><div class="ttname"><a href="blind_8h.html#ab459b45520cab1b163439acc78635be8">BlindColorIndex</a></div><div class="ttdeci">BlindColorIndex</div><div class="ttdoc">Indices of the Blind sprites' colors as encoded in the files' palettes with Aseprite.</div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00048">blind.h:49</a></div></div>
<div class="ttc" id="ablind_8h_html_ac213b67180e7b74f69beb56ddd17026e"><div class="ttname"><a href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e">BlindTokens</a></div><div class="ttdeci">BlindTokens</div><div class="ttdoc">The sprites that display the blinds when in &quot;GAME_BLIND_SELECT&quot; state. There are only 3 blinds per An...</div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00020">blind.h:21</a></div></div>
<div class="ttc" id="ablind_8h_html_accef25c77a0711a7f6ab7f2a4774ae9b"><div class="ttname"><a href="blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b">blind_token_new</a></div><div class="ttdeci">Sprite * blind_token_new(enum BlindType type, int x, int y, enum BlindTokenLayers sprite_index)</div><div class="ttdoc">Create a new BlindToken sprite.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00281">blind.c:281</a></div></div>
<div class="ttc" id="ablind_8h_html_ad5c80cb82487220cada4920ecf037f9e"><div class="ttname"><a href="blind_8h.html#ad5c80cb82487220cada4920ecf037f9e">set_blind_beaten</a></div><div class="ttdeci">void set_blind_beaten(enum BlindType type)</div><div class="ttdoc">Remove the given Blind from the corresponding List so that we don't roll it again in the future.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00180">blind.c:180</a></div></div>
<div class="ttc" id="ablind_8h_html_aedfd9b6abb09b4255160fe02ae1d018b"><div class="ttname"><a href="blind_8h.html#aedfd9b6abb09b4255160fe02ae1d018b">init_unbeaten_blinds_lists</a></div><div class="ttdeci">void init_unbeaten_blinds_lists(void)</div><div class="ttdoc">Initialize Boss and Showdown Blinds lists to roll from.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00156">blind.c:156</a></div></div>
<div class="ttc" id="ablind_8h_html_af2031f17bfb33cfe0a1815fa66b8bde6"><div class="ttname"><a href="blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind_get_reward</a></div><div class="ttdeci">int blind_get_reward(enum BlindType type)</div><div class="ttdoc">Get the amount of money gained from beating a certain Blind.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00115">blind.c:115</a></div></div>
<div class="ttc" id="asprite_8h_html"><div class="ttname"><a href="sprite_8h.html">sprite.h</a></div><div class="ttdoc">Sprite system for Gbalatro.</div></div>
<div class="ttc" id="astructBlind_html"><div class="ttname"><a href="structBlind.html">Blind</a></div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00097">blind.h:98</a></div></div>
<div class="ttc" id="astructBlind_html"><div class="ttname"><a href="structBlind.html">Blind</a></div><div class="ttdoc">Data structure containing data about a BlindType.</div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00136">blind.h:137</a></div></div>
<div class="ttc" id="astructSprite_html"><div class="ttname"><a href="structSprite.html">Sprite</a></div><div class="ttdoc">Sprite struct for GBA hardware specifics.</div><div class="ttdef"><b>Definition</b> <a href="sprite_8h_source.html#l00028">sprite.h:29</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><b>blind.h</b></li>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="blind_8h.html">blind.h</a></li>
<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.9.8 </li>
</ul>
</div>

View File

@@ -143,7 +143,7 @@ $(document).ready(function(){initNavTree('blind__select_8c_source.html',''); ini
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include &quot;<a class="code" href="affine__background_8h.html">affine_background.h</a>&quot;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &quot;<a class="code" href="audio__utils_8h.html">audio_utils.h</a>&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &quot;background_blind_select_gfx.h&quot;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &quot;blind.h&quot;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &quot;<a class="code" href="blind_8h.html">blind.h</a>&quot;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &quot;<a class="code" href="button_8h.html">button.h</a>&quot;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &quot;game.h&quot;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &quot;<a class="code" href="game__variables_8h.html">game_variables.h</a>&quot;</span></div>
@@ -172,9 +172,9 @@ $(document).ready(function(){initNavTree('blind__select_8c_source.html',''); ini
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">static</span> <span class="keywordtype">void</span> game_blind_select_selected_anim_seq(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="keyword">static</span> <span class="keywordtype">void</span> game_blind_select_display_blind_panel(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="keyword">static</span> <span class="keywordtype">void</span> game_blind_select_exit(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="keyword">static</span> Rect game_blind_select_get_req_score_rect(<span class="keyword">enum</span> BlindTokens blind);</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="keyword">static</span> Rect game_blind_select_get_req_score_rect(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e">BlindTokens</a> blind);</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="keyword">static</span> <span class="keywordtype">void</span> game_blind_select_print_blinds_reqs_and_rewards(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">static</span> <span class="keyword">enum</span> BlindType get_blind_type_from_token(<span class="keyword">enum</span> BlindTokens blind);</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">static</span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> get_blind_type_from_token(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e">BlindTokens</a> blind);</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="keyword">static</span> <span class="keywordtype">void</span> blind_tokens_init(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="keyword">enum</span> BlindSelectState</div>
@@ -247,7 +247,7 @@ $(document).ready(function(){initNavTree('blind__select_8c_source.html',''); ini
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> game_blind_select_erase_blind_reqs_and_rewards()</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span>{</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <span class="keywordflow">for</span> (<span class="keyword">enum</span> BlindTokens curr_blind = SMALL_BLIND; curr_blind &lt; NUM_BLINDS_PER_ANTE; curr_blind++)</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <span class="keywordflow">for</span> (<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e">BlindTokens</a> curr_blind = SMALL_BLIND; curr_blind &lt; NUM_BLINDS_PER_ANTE; curr_blind++)</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> Rect blind_req_and_reward_rect = SINGLE_BLIND_SEL_REQ_SCORE_RECT;</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> </div>
@@ -267,7 +267,7 @@ $(document).ready(function(){initNavTree('blind__select_8c_source.html',''); ini
<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>}</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span><span class="keywordtype">void</span> increment_blind(<span class="keyword">enum</span> BlindState increment_reason)</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span><span class="keywordtype">void</span> increment_blind(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">BlindState</a> increment_reason)</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> <span class="keywordflow">switch</span> (g_game_vars.current_blind)</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> {</div>
@@ -429,7 +429,7 @@ $(document).ready(function(){initNavTree('blind__select_8c_source.html',''); ini
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> <span class="keywordflow">if</span> (g_game_vars.current_blind &gt;= BLIND_TYPE_BOSS)</div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> {</div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> <a class="code hl_function" href="affine__background_8h.html#a18432fdcb05ae0677341522862f4b742">affine_background_set_color</a>(</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> blind_get_color(g_game_vars.current_blind, BLIND_SHADOW_COLOR_INDEX)</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> <a class="code hl_function" href="blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind_get_color</a>(g_game_vars.current_blind, BLIND_SHADOW_COLOR_INDEX)</div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> );</div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> }</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> }</div>
@@ -453,7 +453,7 @@ $(document).ready(function(){initNavTree('blind__select_8c_source.html',''); ini
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> game_change_state(GAME_STATE_ROUND);</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><span class="keyword">static</span> Rect game_blind_select_get_req_score_rect(<span class="keyword">enum</span> BlindTokens blind)</div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span><span class="keyword">static</span> Rect game_blind_select_get_req_score_rect(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e">BlindTokens</a> blind)</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> Rect blind_req_score_rect = SINGLE_BLIND_SEL_REQ_SCORE_RECT;</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> </div>
@@ -470,9 +470,9 @@ $(document).ready(function(){initNavTree('blind__select_8c_source.html',''); ini
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span> <span class="keywordflow">return</span> blind_req_score_rect;</div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</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="keyword">static</span> <span class="keyword">enum</span> BlindType get_blind_type_from_token(<span class="keyword">enum</span> BlindTokens blind)</div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span><span class="keyword">static</span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> get_blind_type_from_token(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e">BlindTokens</a> blind)</div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span>{</div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> <span class="keyword">enum</span> BlindType blind_type;</div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> blind_type;</div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span> <span class="keywordflow">switch</span> (blind)</div>
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> {</div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> <span class="keywordflow">case</span> SMALL_BLIND:</div>
@@ -488,11 +488,11 @@ $(document).ready(function(){initNavTree('blind__select_8c_source.html',''); ini
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span> <span class="keywordflow">return</span> blind_type;</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</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="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> game_blind_select_print_blind_req(<span class="keyword">enum</span> BlindTokens blind)</div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> game_blind_select_print_blind_req(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e">BlindTokens</a> blind)</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> Rect blind_req_score_rect = game_blind_select_get_req_score_rect(blind);</div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"> 354</span> </div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span> u32 blind_req = blind_get_requirement(get_blind_type_from_token(blind), g_game_vars.ante);</div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span> u32 blind_req = <a class="code hl_function" href="blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4">blind_get_requirement</a>(get_blind_type_from_token(blind), g_game_vars.ante);</div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span> </div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span> <span class="keywordtype">char</span> blind_req_str_buff[UINT_MAX_DIGITS + 1];</div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> <a class="code hl_function" href="util_8h.html#a75d2bcf3ada5a77afd676b0c7209556a">truncate_uint_to_suffixed_str</a>(</div>
@@ -512,9 +512,9 @@ $(document).ready(function(){initNavTree('blind__select_8c_source.html',''); ini
<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>}</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><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> game_blind_select_print_blind_reward(<span class="keyword">enum</span> BlindTokens blind)</div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"> 375</span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> game_blind_select_print_blind_reward(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e">BlindTokens</a> blind)</div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span>{</div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span> <span class="keywordtype">int</span> blind_reward = blind_get_reward(get_blind_type_from_token(blind));</div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span> <span class="keywordtype">int</span> blind_reward = <a class="code hl_function" href="blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind_get_reward</a>(get_blind_type_from_token(blind));</div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span> Rect blind_reward_rect = game_blind_select_get_req_score_rect(blind);</div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span> </div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span> <span class="comment">// The reward is right below the score.</span></div>
@@ -537,7 +537,7 @@ $(document).ready(function(){initNavTree('blind__select_8c_source.html',''); ini
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"> 397</span> </div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"> 398</span><span class="keyword">static</span> <span class="keywordtype">void</span> game_blind_select_print_blinds_reqs_and_rewards(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span>{</div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span> <span class="keywordflow">for</span> (<span class="keyword">enum</span> BlindTokens curr_blind = 0; curr_blind &lt; NUM_BLINDS_PER_ANTE; curr_blind++)</div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span> <span class="keywordflow">for</span> (<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e">BlindTokens</a> curr_blind = 0; curr_blind &lt; NUM_BLINDS_PER_ANTE; curr_blind++)</div>
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno"> 401</span> {</div>
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"> 402</span> game_blind_select_print_blind_req(curr_blind);</div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"> 403</span> game_blind_select_print_blind_reward(curr_blind);</div>
@@ -548,10 +548,10 @@ $(document).ready(function(){initNavTree('blind__select_8c_source.html',''); ini
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"> 408</span>{</div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"> 409</span> <span class="comment">// Showdown blinds only show up on ante 8, 16, etc...</span></div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno"> 410</span> g_game_vars.next_boss_blind =</div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno"> 411</span> roll_blind_type((g_game_vars.ante % 8 == 0) &amp;&amp; (g_game_vars.ante &gt; 0));</div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno"> 411</span> <a class="code hl_function" href="blind_8h.html#a2826e7fd956be78ad09013ef623c91e3">roll_blind_type</a>((g_game_vars.ante % 8 == 0) &amp;&amp; (g_game_vars.ante &gt; 0));</div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"> 412</span> <span class="keywordflow">if</span> (!no_tiles)</div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"> 413</span> {</div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"> 414</span> apply_blind_tiles(g_game_vars.next_boss_blind, BOSS_BLIND_TOKEN_LAYER);</div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"> 414</span> <a class="code hl_function" href="blind_8h.html#a186aee3247d5b47aaa84b4f6ee3a5947">apply_blind_tiles</a>(g_game_vars.next_boss_blind, BOSS_BLIND_TOKEN_LAYER);</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>}</div>
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno"> 417</span> </div>
@@ -564,19 +564,19 @@ $(document).ready(function(){initNavTree('blind__select_8c_source.html',''); ini
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno"> 424</span> <a class="code hl_function" href="sprite_8h.html#abbbc989fe5cd8e1e93f9784e1048be47">sprite_destroy</a>(&amp;blind_select_tokens[BIG_BLIND]);</div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"> 425</span> <a class="code hl_function" href="sprite_8h.html#abbbc989fe5cd8e1e93f9784e1048be47">sprite_destroy</a>(&amp;blind_select_tokens[BOSS_BLIND]);</div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"> 426</span> </div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span> blind_select_tokens[SMALL_BLIND] = blind_token_new(</div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span> blind_select_tokens[SMALL_BLIND] = <a class="code hl_function" href="blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b">blind_token_new</a>(</div>
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno"> 428</span> BLIND_TYPE_SMALL,</div>
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno"> 429</span> CUR_BLIND_TOKEN_POS.x,</div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"> 430</span> CUR_BLIND_TOKEN_POS.y,</div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno"> 431</span> SMALL_BLIND_TOKEN_LAYER</div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"> 432</span> );</div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"> 433</span> blind_select_tokens[BIG_BLIND] = blind_token_new(</div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"> 433</span> blind_select_tokens[BIG_BLIND] = <a class="code hl_function" href="blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b">blind_token_new</a>(</div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"> 434</span> BLIND_TYPE_BIG,</div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno"> 435</span> CUR_BLIND_TOKEN_POS.x,</div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"> 436</span> CUR_BLIND_TOKEN_POS.y,</div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"> 437</span> BIG_BLIND_TOKEN_LAYER</div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno"> 438</span> );</div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"> 439</span> blind_select_tokens[BOSS_BLIND] = blind_token_new(</div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"> 439</span> blind_select_tokens[BOSS_BLIND] = <a class="code hl_function" href="blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b">blind_token_new</a>(</div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"> 440</span> g_game_vars.next_boss_blind,</div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span> CUR_BLIND_TOKEN_POS.x,</div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"> 442</span> CUR_BLIND_TOKEN_POS.y,</div>
@@ -661,12 +661,12 @@ $(document).ready(function(){initNavTree('blind__select_8c_source.html',''); ini
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno"> 514</span> <span class="comment">// Copy boss blind colors to blind select palette</span></div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno"> 515</span> memset16(</div>
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno"> 516</span> &amp;pal_bg_mem[1],</div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno"> 517</span> blind_get_color(g_game_vars.next_boss_blind, BLIND_BACKGROUND_MAIN_COLOR_INDEX),</div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno"> 517</span> <a class="code hl_function" href="blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind_get_color</a>(g_game_vars.next_boss_blind, BLIND_BACKGROUND_MAIN_COLOR_INDEX),</div>
<div class="line"><a id="l00518" name="l00518"></a><span class="lineno"> 518</span> 1</div>
<div class="line"><a id="l00519" name="l00519"></a><span class="lineno"> 519</span> );</div>
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno"> 520</span> memset16(</div>
<div class="line"><a id="l00521" name="l00521"></a><span class="lineno"> 521</span> &amp;pal_bg_mem[7],</div>
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno"> 522</span> blind_get_color(g_game_vars.next_boss_blind, BLIND_BACKGROUND_SHADOW_COLOR_INDEX),</div>
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno"> 522</span> <a class="code hl_function" href="blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind_get_color</a>(g_game_vars.next_boss_blind, BLIND_BACKGROUND_SHADOW_COLOR_INDEX),</div>
<div class="line"><a id="l00523" name="l00523"></a><span class="lineno"> 523</span> 1</div>
<div class="line"><a id="l00524" name="l00524"></a><span class="lineno"> 524</span> );</div>
<div class="line"><a id="l00525" name="l00525"></a><span class="lineno"> 525</span> </div>
@@ -802,6 +802,16 @@ $(document).ready(function(){initNavTree('blind__select_8c_source.html',''); ini
<div class="ttc" id="aaudio__utils_8h_html_a44f88da4c9f39b9c23c11f565a4f5fc2"><div class="ttname"><a href="audio__utils_8h.html#a44f88da4c9f39b9c23c11f565a4f5fc2">MM_BASE_PITCH_RATE</a></div><div class="ttdeci">#define MM_BASE_PITCH_RATE</div><div class="ttdoc">The default pitch rate for the sound effect played.</div><div class="ttdef"><b>Definition</b> <a href="audio__utils_8h_source.html#l00037">audio_utils.h:37</a></div></div>
<div class="ttc" id="aaudio__utils_8h_html_aad23876e6c46c118561c5c6733c39d69"><div class="ttname"><a href="audio__utils_8h.html#aad23876e6c46c118561c5c6733c39d69">play_sfx</a></div><div class="ttdeci">void play_sfx(mm_word id, mm_word rate, mm_byte volume)</div><div class="ttdoc">Play a sound effect, wrapper for mmEffectEx() See https://maxmod.org/ref/functions/mm_sound_effect....</div><div class="ttdef"><b>Definition</b> <a href="audio__utils_8c_source.html#l00103">audio_utils.c:103</a></div></div>
<div class="ttc" id="aaudio__utils_8h_html_ada4aed6bf6aa0cfb9b37e393f4c9de86"><div class="ttname"><a href="audio__utils_8h.html#ada4aed6bf6aa0cfb9b37e393f4c9de86">SFX_DEFAULT_VOLUME</a></div><div class="ttdeci">#define SFX_DEFAULT_VOLUME</div><div class="ttdoc">Default volume for sound effects.</div><div class="ttdef"><b>Definition</b> <a href="audio__utils_8h_source.html#l00043">audio_utils.h:43</a></div></div>
<div class="ttc" id="ablind_8h_html"><div class="ttname"><a href="blind_8h.html">blind.h</a></div><div class="ttdoc">Data structures and functions relative to the behaviour and graphics of Blinds.</div></div>
<div class="ttc" id="ablind_8h_html_a186aee3247d5b47aaa84b4f6ee3a5947"><div class="ttname"><a href="blind_8h.html#a186aee3247d5b47aaa84b4f6ee3a5947">apply_blind_tiles</a></div><div class="ttdeci">void apply_blind_tiles(enum BlindType type, enum BlindTokenLayers layer)</div><div class="ttdoc">Change the tiles of the BlindToken Sprite at a given layer to that of the given BlindType.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00268">blind.c:268</a></div></div>
<div class="ttc" id="ablind_8h_html_a2826e7fd956be78ad09013ef623c91e3"><div class="ttname"><a href="blind_8h.html#a2826e7fd956be78ad09013ef623c91e3">roll_blind_type</a></div><div class="ttdeci">enum BlindType roll_blind_type(bool showdown)</div><div class="ttdoc">Choose a random Blind among the ones that haven't been beaten yet.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00162">blind.c:162</a></div></div>
<div class="ttc" id="ablind_8h_html_a360ce6465b5b6a404884c21d37759d4a"><div class="ttname"><a href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a></div><div class="ttdeci">BlindType</div><div class="ttdoc">All Blind types in the game are listed here.</div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00068">blind.h:69</a></div></div>
<div class="ttc" id="ablind_8h_html_a59b2b8e485d0ea561120ae8c6010de1d"><div class="ttname"><a href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">BlindState</a></div><div class="ttdeci">BlindState</div><div class="ttdoc">All the possible states an Ante's Blinds can be in when viewed in the &quot;Blind Select&quot; screen.</div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00120">blind.h:121</a></div></div>
<div class="ttc" id="ablind_8h_html_a6d39b4ae4ca73f51bb2d3bc4b7687473"><div class="ttname"><a href="blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind_get_color</a></div><div class="ttdeci">u16 blind_get_color(enum BlindType type, enum BlindColorIndex index)</div><div class="ttdoc">Get the color associated with a given Blind.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00218">blind.c:218</a></div></div>
<div class="ttc" id="ablind_8h_html_a85fefafb15d88f710cbe1183ac34f3f4"><div class="ttname"><a href="blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4">blind_get_requirement</a></div><div class="ttdeci">u32 blind_get_requirement(enum BlindType type, int ante)</div><div class="ttdoc">Get the score required to beat a certain blind (either the Small, Big, or any Boss/Showdown blind) at...</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00106">blind.c:106</a></div></div>
<div class="ttc" id="ablind_8h_html_ac213b67180e7b74f69beb56ddd17026e"><div class="ttname"><a href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e">BlindTokens</a></div><div class="ttdeci">BlindTokens</div><div class="ttdoc">The sprites that display the blinds when in &quot;GAME_BLIND_SELECT&quot; state. There are only 3 blinds per An...</div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00020">blind.h:21</a></div></div>
<div class="ttc" id="ablind_8h_html_accef25c77a0711a7f6ab7f2a4774ae9b"><div class="ttname"><a href="blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b">blind_token_new</a></div><div class="ttdeci">Sprite * blind_token_new(enum BlindType type, int x, int y, enum BlindTokenLayers sprite_index)</div><div class="ttdoc">Create a new BlindToken sprite.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00281">blind.c:281</a></div></div>
<div class="ttc" id="ablind_8h_html_af2031f17bfb33cfe0a1815fa66b8bde6"><div class="ttname"><a href="blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind_get_reward</a></div><div class="ttdeci">int blind_get_reward(enum BlindType type)</div><div class="ttdoc">Get the amount of money gained from beating a certain Blind.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00115">blind.c:115</a></div></div>
<div class="ttc" id="ablind__select_8h_html"><div class="ttname"><a href="blind__select_8h.html">blind_select.h</a></div><div class="ttdoc">Blind select state functions.</div></div>
<div class="ttc" id="ablind__select_8h_html_a2f3378c3cbf3fe71244d2bd073c14391"><div class="ttname"><a href="blind__select_8h.html#a2f3378c3cbf3fe71244d2bd073c14391">game_blind_select_on_exit</a></div><div class="ttdeci">void game_blind_select_on_exit(void)</div><div class="ttdoc">Blind select cleanup.</div><div class="ttdef"><b>Definition</b> <a href="blind__select_8c_source.html#l00478">blind_select.c:478</a></div></div>
<div class="ttc" id="ablind__select_8h_html_a48e2a881f9f5b63ba66a2bc82055af1e"><div class="ttname"><a href="blind__select_8h.html#a48e2a881f9f5b63ba66a2bc82055af1e">game_blind_select_on_update</a></div><div class="ttdeci">void game_blind_select_on_update(void)</div><div class="ttdoc">Blind select state update.</div><div class="ttdef"><b>Definition</b> <a href="blind__select_8c_source.html#l00473">blind_select.c:473</a></div></div>

View File

@@ -136,9 +136,9 @@ $(document).ready(function(){initNavTree('blind__select_8h.html',''); initResiza
</div><!--header-->
<div class="contents">
<p><a class="el" href="structBlind.html">Blind</a> select state functions.
<p><a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> select state functions.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;blind.h&quot;</code><br />
<div class="textblock"><code>#include &quot;<a class="el" href="blind_8h_source.html">blind.h</a>&quot;</code><br />
</div>
<p><a href="blind__select_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
@@ -148,19 +148,19 @@ Functions</h2></td></tr>
<tr class="memdesc:a75be230022a65f2ec46711abca17ae8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change to the blind select background. <br /></td></tr>
<tr class="separator:a75be230022a65f2ec46711abca17ae8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a658f9305013db2676130834eecc4791a" id="r_a658f9305013db2676130834eecc4791a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind__select_8h.html#a658f9305013db2676130834eecc4791a">game_blind_select_on_init</a> (void)</td></tr>
<tr class="memdesc:a658f9305013db2676130834eecc4791a"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="structBlind.html">Blind</a> select state initialization. <br /></td></tr>
<tr class="memdesc:a658f9305013db2676130834eecc4791a"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> select state initialization. <br /></td></tr>
<tr class="separator:a658f9305013db2676130834eecc4791a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48e2a881f9f5b63ba66a2bc82055af1e" id="r_a48e2a881f9f5b63ba66a2bc82055af1e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind__select_8h.html#a48e2a881f9f5b63ba66a2bc82055af1e">game_blind_select_on_update</a> (void)</td></tr>
<tr class="memdesc:a48e2a881f9f5b63ba66a2bc82055af1e"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="structBlind.html">Blind</a> select state update. <br /></td></tr>
<tr class="memdesc:a48e2a881f9f5b63ba66a2bc82055af1e"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> select state update. <br /></td></tr>
<tr class="separator:a48e2a881f9f5b63ba66a2bc82055af1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f3378c3cbf3fe71244d2bd073c14391" id="r_a2f3378c3cbf3fe71244d2bd073c14391"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind__select_8h.html#a2f3378c3cbf3fe71244d2bd073c14391">game_blind_select_on_exit</a> (void)</td></tr>
<tr class="memdesc:a2f3378c3cbf3fe71244d2bd073c14391"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="structBlind.html">Blind</a> select cleanup. <br /></td></tr>
<tr class="memdesc:a2f3378c3cbf3fe71244d2bd073c14391"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> select cleanup. <br /></td></tr>
<tr class="separator:a2f3378c3cbf3fe71244d2bd073c14391"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeca11c400d4afb3dd75216f77904ca2b" id="r_aeca11c400d4afb3dd75216f77904ca2b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind__select_8h.html#aeca11c400d4afb3dd75216f77904ca2b">increment_blind</a> (enum BlindState increment_reason)</td></tr>
<tr class="memitem:aeca11c400d4afb3dd75216f77904ca2b" id="r_aeca11c400d4afb3dd75216f77904ca2b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind__select_8h.html#aeca11c400d4afb3dd75216f77904ca2b">increment_blind</a> (enum <a class="el" href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">BlindState</a> increment_reason)</td></tr>
<tr class="separator:aeca11c400d4afb3dd75216f77904ca2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="structBlind.html">Blind</a> select state functions. </p>
<div class="textblock"><p><a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> select state functions. </p>
<p class="definition">Definition in file <a class="el" href="blind__select_8h_source.html">blind_select.h</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
@@ -202,7 +202,7 @@ Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="structBlind.html">Blind</a> select cleanup. </p>
<p><a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> select cleanup. </p>
<p class="definition">Definition at line <a class="el" href="blind__select_8c_source.html#l00478">478</a> of file <a class="el" href="blind__select_8c_source.html">blind_select.c</a>.</p>
@@ -224,7 +224,7 @@ Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="structBlind.html">Blind</a> select state initialization. </p>
<p><a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> select state initialization. </p>
<p class="definition">Definition at line <a class="el" href="blind__select_8c_source.html#l00452">452</a> of file <a class="el" href="blind__select_8c_source.html">blind_select.c</a>.</p>
@@ -246,7 +246,7 @@ Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="structBlind.html">Blind</a> select state update. </p>
<p><a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> select state update. </p>
<p class="definition">Definition at line <a class="el" href="blind__select_8c_source.html#l00473">473</a> of file <a class="el" href="blind__select_8c_source.html">blind_select.c</a>.</p>
@@ -261,7 +261,7 @@ Functions</h2></td></tr>
<tr>
<td class="memname">void increment_blind </td>
<td>(</td>
<td class="paramtype">enum BlindState&#160;</td>
<td class="paramtype">enum <a class="el" href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">BlindState</a>&#160;</td>
<td class="paramname"><em>increment_reason</em></td><td>)</td>
<td></td>
</tr>

View File

@@ -142,7 +142,7 @@ $(document).ready(function(){initNavTree('blind__select_8h_source.html',''); ini
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#ifndef GAME_BLIND_SELECT_H</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#define GAME_BLIND_SELECT_H</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span> </div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &quot;blind.h&quot;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &quot;<a class="code" href="blind_8h.html">blind.h</a>&quot;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="keywordtype">void</span> <a class="code hl_function" href="blind__select_8h.html#a75be230022a65f2ec46711abca17ae8c">game_blind_select_change_background</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
@@ -152,9 +152,11 @@ $(document).ready(function(){initNavTree('blind__select_8h_source.html',''); ini
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="keywordtype">void</span> <a class="code hl_function" href="blind__select_8h.html#a2f3378c3cbf3fe71244d2bd073c14391">game_blind_select_on_exit</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keywordtype">void</span> increment_blind(<span class="keyword">enum</span> BlindState increment_reason);</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keywordtype">void</span> increment_blind(<span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">BlindState</a> increment_reason);</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="preprocessor">#endif </span><span class="comment">// GAME_BLIND_SELECT_H</span></div>
<div class="ttc" id="ablind_8h_html"><div class="ttname"><a href="blind_8h.html">blind.h</a></div><div class="ttdoc">Data structures and functions relative to the behaviour and graphics of Blinds.</div></div>
<div class="ttc" id="ablind_8h_html_a59b2b8e485d0ea561120ae8c6010de1d"><div class="ttname"><a href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">BlindState</a></div><div class="ttdeci">BlindState</div><div class="ttdoc">All the possible states an Ante's Blinds can be in when viewed in the &quot;Blind Select&quot; screen.</div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00120">blind.h:121</a></div></div>
<div class="ttc" id="ablind__select_8h_html_a2f3378c3cbf3fe71244d2bd073c14391"><div class="ttname"><a href="blind__select_8h.html#a2f3378c3cbf3fe71244d2bd073c14391">game_blind_select_on_exit</a></div><div class="ttdeci">void game_blind_select_on_exit(void)</div><div class="ttdoc">Blind select cleanup.</div><div class="ttdef"><b>Definition</b> <a href="blind__select_8c_source.html#l00478">blind_select.c:478</a></div></div>
<div class="ttc" id="ablind__select_8h_html_a48e2a881f9f5b63ba66a2bc82055af1e"><div class="ttname"><a href="blind__select_8h.html#a48e2a881f9f5b63ba66a2bc82055af1e">game_blind_select_on_update</a></div><div class="ttdeci">void game_blind_select_on_update(void)</div><div class="ttdoc">Blind select state update.</div><div class="ttdef"><b>Definition</b> <a href="blind__select_8c_source.html#l00473">blind_select.c:473</a></div></div>
<div class="ttc" id="ablind__select_8h_html_a658f9305013db2676130834eecc4791a"><div class="ttname"><a href="blind__select_8h.html#a658f9305013db2676130834eecc4791a">game_blind_select_on_init</a></div><div class="ttdeci">void game_blind_select_on_init(void)</div><div class="ttdoc">Blind select state initialization.</div><div class="ttdef"><b>Definition</b> <a href="blind__select_8c_source.html#l00452">blind_select.c:452</a></div></div>

View File

@@ -148,7 +148,8 @@ Files</h2></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><a href="bitset_8c_source.html"><span class="icondoc"></span></a>&#160;</td><td class="memItemRight" valign="bottom"><b>bitset.c</b></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><a href="blind_8c_source.html"><span class="icondoc"></span></a>&#160;</td><td class="memItemRight" valign="bottom"><b>blind.c</b></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><a href="blind_8c_source.html"><span class="icondoc"></span></a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8c.html">blind.c</a></td></tr>
<tr class="memdesc:blind_8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implementation of functions relative to the behaviour and graphics of Blinds. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><a href="button_8c_source.html"><span class="icondoc"></span></a>&#160;</td><td class="memItemRight" valign="bottom"><b>button.c</b></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>

View File

@@ -4,7 +4,7 @@ var dir_b2f33c71d4aa5e7af42a1ca61ff5af1b =
[ "affine_background.c", "affine__background_8c_source.html", null ],
[ "audio_utils.c", "audio__utils_8c.html", "audio__utils_8c" ],
[ "bitset.c", "bitset_8c_source.html", null ],
[ "blind.c", "blind_8c_source.html", null ],
[ "blind.c", "blind_8c.html", "blind_8c" ],
[ "button.c", "button_8c_source.html", null ],
[ "card.c", "card_8c_source.html", null ],
[ "deck_types.c", "deck__types_8c.html", "deck__types_8c" ],

View File

@@ -150,7 +150,8 @@ Files</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><a href="bitset_8h_source.html"><span class="icondoc"></span></a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="bitset_8h.html">bitset.h</a></td></tr>
<tr class="memdesc:bitset_8h"><td class="mdescLeft">&#160;</td><td class="mdescRight">A bitset for operating on flags. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><a href="blind_8h_source.html"><span class="icondoc"></span></a>&#160;</td><td class="memItemRight" valign="bottom"><b>blind.h</b></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><a href="blind_8h_source.html"><span class="icondoc"></span></a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind_8h.html">blind.h</a></td></tr>
<tr class="memdesc:blind_8h"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structures and functions relative to the behaviour and graphics of Blinds. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><a href="blind__gfx_8h_source.html"><span class="icondoc"></span></a>&#160;</td><td class="memItemRight" valign="bottom"><b>blind_gfx.h</b></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>

View File

@@ -4,7 +4,7 @@ var dir_d44c64559bbebec7f509842c48db8b23 =
[ "affine_background.h", "affine__background_8h.html", "affine__background_8h" ],
[ "audio_utils.h", "audio__utils_8h.html", "audio__utils_8h" ],
[ "bitset.h", "bitset_8h.html", "bitset_8h" ],
[ "blind.h", "blind_8h_source.html", null ],
[ "blind.h", "blind_8h.html", "blind_8h" ],
[ "blind_gfx.h", "blind__gfx_8h_source.html", null ],
[ "button.h", "button_8h.html", "button_8h" ],
[ "card.h", "card_8h_source.html", null ],

View File

@@ -137,7 +137,7 @@ $(document).ready(function(){initNavTree('dir_f307a46daed1218fee22380d1eacedba.h
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="files" name="files"></a>
Files</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><a href="blind__select_8h_source.html"><span class="icondoc"></span></a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="blind__select_8h.html">blind_select.h</a></td></tr>
<tr class="memdesc:blind__select_8h"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="structBlind.html">Blind</a> select state functions. <br /></td></tr>
<tr class="memdesc:blind__select_8h"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> select state functions. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><a href="common__ui_8h_source.html"><span class="icondoc"></span></a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="common__ui_8h.html">common_ui.h</a></td></tr>
<tr class="memdesc:common__ui_8h"><td class="mdescLeft">&#160;</td><td class="mdescRight">Common functions to render UI elements. <br /></td></tr>

View File

@@ -137,7 +137,7 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); });
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span><span onclick="javascript:toggleLevel(3);">3</span>]</div><table class="directory">
<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">&#9660;</span><span id="img_0_" class="iconfopen" onclick="toggleFolder('0_')">&#160;</span><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html" target="_self">include</a></td><td class="desc"></td></tr>
<tr id="row_0_0_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_0_0_" class="arrow" onclick="toggleFolder('0_0_')">&#9660;</span><span id="img_0_0_" class="iconfopen" onclick="toggleFolder('0_0_')">&#160;</span><a class="el" href="dir_f307a46daed1218fee22380d1eacedba.html" target="_self">game</a></td><td class="desc"></td></tr>
<tr id="row_0_0_0_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><a href="blind__select_8h_source.html"><span class="icondoc"></span></a><a class="el" href="blind__select_8h.html" target="_self">blind_select.h</a></td><td class="desc"><a class="el" href="structBlind.html">Blind</a> select state functions </td></tr>
<tr id="row_0_0_0_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><a href="blind__select_8h_source.html"><span class="icondoc"></span></a><a class="el" href="blind__select_8h.html" target="_self">blind_select.h</a></td><td class="desc"><a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a> select state functions </td></tr>
<tr id="row_0_0_1_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><a href="common__ui_8h_source.html"><span class="icondoc"></span></a><a class="el" href="common__ui_8h.html" target="_self">common_ui.h</a></td><td class="desc">Common functions to render UI elements </td></tr>
<tr id="row_0_0_2_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><a href="game__over_8h_source.html"><span class="icondoc"></span></a><a class="el" href="game__over_8h.html" target="_self">game_over.h</a></td><td class="desc">Game Over screen state functions </td></tr>
<tr id="row_0_0_3_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><a href="joker__row_8h_source.html"><span class="icondoc"></span></a><a class="el" href="joker__row_8h.html" target="_self">joker_row.h</a></td><td class="desc">All the functions used specifically to interact with Jokers. This includes browsing, swapping, selling, etc </td></tr>
@@ -150,7 +150,7 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); });
<tr id="row_0_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a href="affine__background_8h_source.html"><span class="icondoc"></span></a><a class="el" href="affine__background_8h.html" target="_self">affine_background.h</a></td><td class="desc">Utilities for affine background on GBA </td></tr>
<tr id="row_0_2_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a href="audio__utils_8h_source.html"><span class="icondoc"></span></a><a class="el" href="audio__utils_8h.html" target="_self">audio_utils.h</a></td><td class="desc">Utilities for using maxmod to play sound effects </td></tr>
<tr id="row_0_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a href="bitset_8h_source.html"><span class="icondoc"></span></a><a class="el" href="bitset_8h.html" target="_self">bitset.h</a></td><td class="desc">A bitset for operating on flags </td></tr>
<tr id="row_0_4_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a href="blind_8h_source.html"><span class="icondoc"></span></a><b>blind.h</b></td><td class="desc"></td></tr>
<tr id="row_0_4_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a href="blind_8h_source.html"><span class="icondoc"></span></a><a class="el" href="blind_8h.html" target="_self">blind.h</a></td><td class="desc">Data structures and functions relative to the behaviour and graphics of Blinds </td></tr>
<tr id="row_0_5_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a href="blind__gfx_8h_source.html"><span class="icondoc"></span></a><b>blind_gfx.h</b></td><td class="desc"></td></tr>
<tr id="row_0_6_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a href="button_8h_source.html"><span class="icondoc"></span></a><a class="el" href="button_8h.html" target="_self">button.h</a></td><td class="desc">A button structure containing the common button functionalities Including highlight and pressing functionalities </td></tr>
<tr id="row_0_7_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a href="card_8h_source.html"><span class="icondoc"></span></a><b>card.h</b></td><td class="desc"></td></tr>
@@ -197,7 +197,7 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); });
<tr id="row_1_1_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a href="affine__background_8c_source.html"><span class="icondoc"></span></a><b>affine_background.c</b></td><td class="desc"></td></tr>
<tr id="row_1_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a href="audio__utils_8c_source.html"><span class="icondoc"></span></a><a class="el" href="audio__utils_8c.html" target="_self">audio_utils.c</a></td><td class="desc">Audio utility functions implementation </td></tr>
<tr id="row_1_3_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a href="bitset_8c_source.html"><span class="icondoc"></span></a><b>bitset.c</b></td><td class="desc"></td></tr>
<tr id="row_1_4_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a href="blind_8c_source.html"><span class="icondoc"></span></a><b>blind.c</b></td><td class="desc"></td></tr>
<tr id="row_1_4_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a href="blind_8c_source.html"><span class="icondoc"></span></a><a class="el" href="blind_8c.html" target="_self">blind.c</a></td><td class="desc">Implementation of functions relative to the behaviour and graphics of Blinds </td></tr>
<tr id="row_1_5_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a href="button_8c_source.html"><span class="icondoc"></span></a><b>button.c</b></td><td class="desc"></td></tr>
<tr id="row_1_6_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a href="card_8c_source.html"><span class="icondoc"></span></a><b>card.c</b></td><td class="desc"></td></tr>
<tr id="row_1_7_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><a href="deck__types_8c_source.html"><span class="icondoc"></span></a><a class="el" href="deck__types_8c.html" target="_self">deck_types.c</a></td><td class="desc">Implementation of functions related to the different types of Decks </td></tr>

View File

@@ -339,513 +339,511 @@ $(document).ready(function(){initNavTree('game_8c_source.html',''); initResizabl
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> g_game_vars.best_hand_score = 0;</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; HAND_TYPE_MAX; i++)</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> g_game_vars.nb_played_hands[i] = 0;</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> </div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> <span class="comment">// Initialize/reset unbeaten Boss/Showdown Blinds so they are all available</span></div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> init_unbeaten_blinds_list(<span class="keyword">false</span>);</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> init_unbeaten_blinds_list(<span class="keyword">true</span>);</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span>}</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> </div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span><span class="keywordtype">void</span> game_reset()</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span>{</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> <span class="keywordflow">while</span> (<a class="code hl_function" href="list_8h.html#a74047e9a2e7b4652b675fa8be6086b13">list_get_len</a>(&amp;s_owned_jokers_list) &gt; 0)</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> {</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> <a class="code hl_struct" href="structJokerObject.html">JokerObject</a>* joker_object = <a class="code hl_function" href="list_8h.html#a3c604970a7f427ee628ab97749fde17c">list_get_at_idx</a>(&amp;s_owned_jokers_list, 0);</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> remove_owned_joker(0);</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> joker_object_destroy(&amp;joker_object);</div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> }</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> </div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> tte_erase_screen();</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> </div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> <span class="comment">// For some reason that I haven&#39;t figured out yet,</span></div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> <span class="comment">// if I don&#39;t destroy the blind tokens they won&#39;t</span></div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> <span class="comment">// show up on the next run.</span></div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> <a class="code hl_function" href="sprite_8h.html#abbbc989fe5cd8e1e93f9784e1048be47">sprite_destroy</a>(&amp;g_game_vars.playing_blind_token);</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> <a class="code hl_function" href="sprite_8h.html#abbbc989fe5cd8e1e93f9784e1048be47">sprite_destroy</a>(&amp;g_game_vars.round_end_blind_token);</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span>}</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> </div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span><span class="keywordtype">void</span> game_reset()</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span>{</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> <span class="keywordflow">while</span> (<a class="code hl_function" href="list_8h.html#a74047e9a2e7b4652b675fa8be6086b13">list_get_len</a>(&amp;s_owned_jokers_list) &gt; 0)</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> {</div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> <a class="code hl_struct" href="structJokerObject.html">JokerObject</a>* joker_object = <a class="code hl_function" href="list_8h.html#a3c604970a7f427ee628ab97749fde17c">list_get_at_idx</a>(&amp;s_owned_jokers_list, 0);</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> remove_owned_joker(0);</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> joker_object_destroy(&amp;joker_object);</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> }</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> </div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> tte_erase_screen();</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> </div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> <span class="comment">// For some reason that I haven&#39;t figured out yet,</span></div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> <span class="comment">// if I don&#39;t destroy the blind tokens they won&#39;t</span></div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> <span class="comment">// show up on the next run.</span></div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> <a class="code hl_function" href="sprite_8h.html#abbbc989fe5cd8e1e93f9784e1048be47">sprite_destroy</a>(&amp;g_game_vars.playing_blind_token);</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> <a class="code hl_function" href="sprite_8h.html#abbbc989fe5cd8e1e93f9784e1048be47">sprite_destroy</a>(&amp;g_game_vars.round_end_blind_token);</div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> </div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> <a class="code hl_function" href="list_8h.html#aac53d4a634fec0aa2adad813d0497056">list_clear</a>(&amp;s_owned_jokers_list);</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> <a class="code hl_function" href="list_8h.html#aac53d4a634fec0aa2adad813d0497056">list_clear</a>(&amp;s_discarded_jokers_list);</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> <a class="code hl_function" href="list_8h.html#aac53d4a634fec0aa2adad813d0497056">list_clear</a>(&amp;s_expired_jokers_list);</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> </div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> <a class="code hl_function" href="list_8h.html#aac53d4a634fec0aa2adad813d0497056">list_clear</a>(&amp;s_owned_jokers_list);</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> <a class="code hl_function" href="list_8h.html#aac53d4a634fec0aa2adad813d0497056">list_clear</a>(&amp;s_discarded_jokers_list);</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> <a class="code hl_function" href="list_8h.html#aac53d4a634fec0aa2adad813d0497056">list_clear</a>(&amp;s_expired_jokers_list);</div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> </div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> game_init();</div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> </div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> display_round();</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> display_score(g_game_vars.score);</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> display_chips();</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> display_mult();</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> display_hands();</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> display_discards();</div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> display_money();</div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> <span class="comment">// Ante</span></div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> display_ante();</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> game_init();</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> <a class="code hl_function" href="blind_8h.html#aedfd9b6abb09b4255160fe02ae1d018b">init_unbeaten_blinds_lists</a>();</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> </div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> display_round();</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> display_score(g_game_vars.score);</div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> display_chips();</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> display_mult();</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> display_hands();</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> display_discards();</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> display_money();</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> <span class="comment">// Ante</span></div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> display_ante();</div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> </div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> <a class="code hl_function" href="affine__background_8h.html#ad1390b2f0cb79fba57be0eb5663b2d76">affine_background_load_palette</a>(affine_background_gfxPal);</div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span>}</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> </div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span> <a class="code hl_function" href="affine__background_8h.html#ad1390b2f0cb79fba57be0eb5663b2d76">affine_background_load_palette</a>(affine_background_gfxPal);</div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span>}</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><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> discarded_jokers_update_loop(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span>{</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> <span class="keywordflow">if</span> (<a class="code hl_function" href="list_8h.html#a1269841dad103a70c861ef88e1bbf9e0">list_is_empty</a>(&amp;s_discarded_jokers_list))</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> {</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> <span class="keywordflow">return</span>;</div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> }</div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> discarded_jokers_update_loop(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span>{</div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> <span class="keywordflow">if</span> (<a class="code hl_function" href="list_8h.html#a1269841dad103a70c861ef88e1bbf9e0">list_is_empty</a>(&amp;s_discarded_jokers_list))</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> <span class="keywordflow">return</span>;</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> }</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> </div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> <a class="code hl_struct" href="structListItr.html">ListItr</a> itr = <a class="code hl_function" href="list_8h.html#af580fe52b40b3ee763b5fc145b7890b0">list_itr_create</a>(&amp;s_discarded_jokers_list);</div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> <a class="code hl_struct" href="structJokerObject.html">JokerObject</a>* joker_object;</div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span> </div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span> <a class="code hl_struct" href="structListItr.html">ListItr</a> itr = <a class="code hl_function" href="list_8h.html#af580fe52b40b3ee763b5fc145b7890b0">list_itr_create</a>(&amp;s_discarded_jokers_list);</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span> <a class="code hl_struct" href="structJokerObject.html">JokerObject</a>* joker_object;</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> </div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> <span class="keywordflow">while</span> ((joker_object = <a class="code hl_function" href="list_8h.html#adaa09cca2b970d67f0cd14076e1db988">list_itr_next</a>(&amp;itr)))</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> {</div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> <span class="keywordflow">if</span> (joker_object-&gt;x == joker_object-&gt;tx &amp;&amp; joker_object-&gt;y == joker_object-&gt;ty)</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span> {</div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> <a class="code hl_function" href="list_8h.html#aadae204b696ed083c90efeb417d786f9">list_itr_remove_current_node</a>(&amp;itr);</div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span> <span class="comment">// TODO: joker_object_dispose() instead?</span></div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> joker_object_destroy(&amp;joker_object);</div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> }</div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> }</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span>}</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> </div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> held_jokers_update_loop(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span>{</div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> SPACING_LUT[MAX_JOKERS_HELD_SIZE][MAX_JOKERS_HELD_SIZE] = {</div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> {0, 0, 0, 0, 0 },</div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> {13, -13, 0, 0, 0 },</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> {26, 0, -26, 0, 0 },</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> {39, 13, -13, -39, 0 },</div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> {40, 20, 0, -20, -40}</div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span> };</div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> </div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> FIXED hand_x = int2fx(HELD_JOKERS_POS.x);</div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> </div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> <a class="code hl_struct" href="structListItr.html">ListItr</a> itr = <a class="code hl_function" href="list_8h.html#af580fe52b40b3ee763b5fc145b7890b0">list_itr_create</a>(&amp;s_owned_jokers_list);</div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> <a class="code hl_struct" href="structJokerObject.html">JokerObject</a>* joker;</div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> <span class="keywordtype">int</span> jokers_top = <a class="code hl_function" href="list_8h.html#a74047e9a2e7b4652b675fa8be6086b13">list_get_len</a>(&amp;s_owned_jokers_list) - 1;</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> <span class="keywordtype">int</span> i = 0;</div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> <span class="keywordflow">while</span> ((joker = <a class="code hl_function" href="list_8h.html#adaa09cca2b970d67f0cd14076e1db988">list_itr_next</a>(&amp;itr)))</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> {</div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> <span class="comment">// Let the Shop handle the position of this Joker</span></div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> <span class="keywordflow">if</span> (joker != <a class="code hl_function" href="shop_8h.html#a0f5e216526e8cf0cb46e46182b7a0cbc">game_shop_get_description_card</a>())</div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> joker-&gt;tx = hand_x - int2fx(SPACING_LUT[jokers_top][i]);</div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> i++;</div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> }</div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span>}</div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> </div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span><span class="keywordtype">bool</span> joker_object_can_acquire(<a class="code hl_struct" href="structItem.html">Item</a>* joker_object)</div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span>{</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> <a class="code hl_define" href="util_8h.html#a481a57617133b2772dd268c341ec98cf">GBAL_RETURN_IF_NULL_RET</a>(joker_object, <span class="keyword">false</span>);</div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> <span class="keywordflow">return</span> (<a class="code hl_function" href="list_8h.html#a74047e9a2e7b4652b675fa8be6086b13">list_get_len</a>(get_jokers_list()) &lt; MAX_JOKERS_HELD_SIZE);</div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span>}</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> </div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> expired_jokers_update_loop(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span>{</div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> <span class="keywordflow">if</span> (<a class="code hl_function" href="list_8h.html#a1269841dad103a70c861ef88e1bbf9e0">list_is_empty</a>(&amp;s_expired_jokers_list))</div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span> {</div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span> <span class="keywordflow">return</span>;</div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> }</div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span> <span class="keywordflow">while</span> ((joker_object = <a class="code hl_function" href="list_8h.html#adaa09cca2b970d67f0cd14076e1db988">list_itr_next</a>(&amp;itr)))</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span> {</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> <span class="keywordflow">if</span> (joker_object-&gt;x == joker_object-&gt;tx &amp;&amp; joker_object-&gt;y == joker_object-&gt;ty)</div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> {</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> <a class="code hl_function" href="list_8h.html#aadae204b696ed083c90efeb417d786f9">list_itr_remove_current_node</a>(&amp;itr);</div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> <span class="comment">// TODO: joker_object_dispose() instead?</span></div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span> joker_object_destroy(&amp;joker_object);</div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> }</div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span> }</div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span>}</div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> </div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> held_jokers_update_loop(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span>{</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> SPACING_LUT[MAX_JOKERS_HELD_SIZE][MAX_JOKERS_HELD_SIZE] = {</div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> {0, 0, 0, 0, 0 },</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span> {13, -13, 0, 0, 0 },</div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span> {26, 0, -26, 0, 0 },</div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> {39, 13, -13, -39, 0 },</div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> {40, 20, 0, -20, -40}</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> };</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> </div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> FIXED hand_x = int2fx(HELD_JOKERS_POS.x);</div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span> </div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> <a class="code hl_struct" href="structListItr.html">ListItr</a> itr = <a class="code hl_function" href="list_8h.html#af580fe52b40b3ee763b5fc145b7890b0">list_itr_create</a>(&amp;s_owned_jokers_list);</div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> <a class="code hl_struct" href="structJokerObject.html">JokerObject</a>* joker;</div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> <span class="keywordtype">int</span> jokers_top = <a class="code hl_function" href="list_8h.html#a74047e9a2e7b4652b675fa8be6086b13">list_get_len</a>(&amp;s_owned_jokers_list) - 1;</div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> <span class="keywordtype">int</span> i = 0;</div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> <span class="keywordflow">while</span> ((joker = <a class="code hl_function" href="list_8h.html#adaa09cca2b970d67f0cd14076e1db988">list_itr_next</a>(&amp;itr)))</div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> {</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> <span class="comment">// Let the Shop handle the position of this Joker</span></div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> <span class="keywordflow">if</span> (joker != <a class="code hl_function" href="shop_8h.html#a0f5e216526e8cf0cb46e46182b7a0cbc">game_shop_get_description_card</a>())</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> joker-&gt;tx = hand_x - int2fx(SPACING_LUT[jokers_top][i]);</div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> i++;</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> </div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span><span class="keywordtype">bool</span> joker_object_can_acquire(<a class="code hl_struct" href="structItem.html">Item</a>* joker_object)</div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span>{</div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> <a class="code hl_define" href="util_8h.html#a481a57617133b2772dd268c341ec98cf">GBAL_RETURN_IF_NULL_RET</a>(joker_object, <span class="keyword">false</span>);</div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> <span class="keywordflow">return</span> (<a class="code hl_function" href="list_8h.html#a74047e9a2e7b4652b675fa8be6086b13">list_get_len</a>(get_jokers_list()) &lt; MAX_JOKERS_HELD_SIZE);</div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span>}</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> </div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> expired_jokers_update_loop(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span>{</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> <span class="keywordflow">if</span> (<a class="code hl_function" href="list_8h.html#a1269841dad103a70c861ef88e1bbf9e0">list_is_empty</a>(&amp;s_expired_jokers_list))</div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> {</div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span> <span class="keywordflow">return</span>;</div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> }</div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span> </div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span> <a class="code hl_struct" href="structListItr.html">ListItr</a> itr = <a class="code hl_function" href="list_8h.html#af580fe52b40b3ee763b5fc145b7890b0">list_itr_create</a>(&amp;s_expired_jokers_list);</div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> <a class="code hl_struct" href="structJokerObject.html">JokerObject</a>* joker_object;</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> <a class="code hl_struct" href="structListItr.html">ListItr</a> itr = <a class="code hl_function" href="list_8h.html#af580fe52b40b3ee763b5fc145b7890b0">list_itr_create</a>(&amp;s_expired_jokers_list);</div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> <a class="code hl_struct" href="structJokerObject.html">JokerObject</a>* joker_object;</div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> </div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span> <span class="keywordflow">while</span> ((joker_object = <a class="code hl_function" href="list_8h.html#adaa09cca2b970d67f0cd14076e1db988">list_itr_next</a>(&amp;itr)))</div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span> {</div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> <span class="comment">// let just enough frames pass that we see it rotating and shrinking</span></div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span> <span class="keywordflow">if</span> (g_game_vars.timer % FRAMES(EXPIRE_ANIMATION_FRAME_COUNT) == 0)</div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span> {</div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span> <span class="comment">// get joker idx</span></div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span> <span class="keywordtype">int</span> expired_joker_idx = 0;</div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> <a class="code hl_struct" href="structListItr.html">ListItr</a> joker_itr = <a class="code hl_function" href="list_8h.html#af580fe52b40b3ee763b5fc145b7890b0">list_itr_create</a>(&amp;s_owned_jokers_list);</div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span> <a class="code hl_struct" href="structJokerObject.html">JokerObject</a>* expired_joker;</div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span> <span class="keywordflow">while</span> ((expired_joker = <a class="code hl_function" href="list_8h.html#adaa09cca2b970d67f0cd14076e1db988">list_itr_next</a>(&amp;joker_itr)) &amp;&amp; expired_joker != joker_object)</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> expired_joker_idx++;</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> }</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> </div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span> <span class="comment">// Removing expired Jokers here, instead of immediately like ones we</span></div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span> <span class="comment">// sell or discard allow us to have a small shrink animation without</span></div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> <span class="comment">// the other owned Jokers rearranging themselves to fill the newly</span></div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> <span class="comment">// freed space, therefore obscuring the animation</span></div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> remove_owned_joker(expired_joker_idx);</div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> <a class="code hl_function" href="list_8h.html#aadae204b696ed083c90efeb417d786f9">list_itr_remove_current_node</a>(&amp;itr);</div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span> joker_object_destroy(&amp;joker_object);</div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> }</div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span> }</div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</span>}</div>
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span> </div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> jokers_update_loop(<span class="keywordtype">void</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> held_jokers_update_loop();</div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span> discarded_jokers_update_loop();</div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> expired_jokers_update_loop();</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> </div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span><span class="keywordtype">void</span> game_update()</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> <a class="code hl_function" href="random_8h.html#a3364aa4a4ff4352d9df2222c4735151a">rng_update</a>();</div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> </div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> g_game_vars.timer++;</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> jokers_update_loop();</div>
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span> </div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> <a class="code hl_function" href="state__machine_8h.html#ad9adae7509d62d10d3f0ad00356ea1e2">state_machine_update</a>();</div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> <span class="keywordflow">while</span> ((joker_object = <a class="code hl_function" href="list_8h.html#adaa09cca2b970d67f0cd14076e1db988">list_itr_next</a>(&amp;itr)))</div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> {</div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> <span class="comment">// let just enough frames pass that we see it rotating and shrinking</span></div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span> <span class="keywordflow">if</span> (g_game_vars.timer % FRAMES(EXPIRE_ANIMATION_FRAME_COUNT) == 0)</div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span> {</div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> <span class="comment">// get joker idx</span></div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span> <span class="keywordtype">int</span> expired_joker_idx = 0;</div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span> <a class="code hl_struct" href="structListItr.html">ListItr</a> joker_itr = <a class="code hl_function" href="list_8h.html#af580fe52b40b3ee763b5fc145b7890b0">list_itr_create</a>(&amp;s_owned_jokers_list);</div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span> <a class="code hl_struct" href="structJokerObject.html">JokerObject</a>* expired_joker;</div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span> <span class="keywordflow">while</span> ((expired_joker = <a class="code hl_function" href="list_8h.html#adaa09cca2b970d67f0cd14076e1db988">list_itr_next</a>(&amp;joker_itr)) &amp;&amp; expired_joker != joker_object)</div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> {</div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span> expired_joker_idx++;</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="comment">// Removing expired Jokers here, instead of immediately like ones we</span></div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> <span class="comment">// sell or discard allow us to have a small shrink animation without</span></div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> <span class="comment">// the other owned Jokers rearranging themselves to fill the newly</span></div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span> <span class="comment">// freed space, therefore obscuring the animation</span></div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span> remove_owned_joker(expired_joker_idx);</div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> <a class="code hl_function" href="list_8h.html#aadae204b696ed083c90efeb417d786f9">list_itr_remove_current_node</a>(&amp;itr);</div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> joker_object_destroy(&amp;joker_object);</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> }</div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span>}</div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> </div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> jokers_update_loop(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</span>{</div>
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span> held_jokers_update_loop();</div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</span> discarded_jokers_update_loop();</div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"> 332</span> expired_jokers_update_loop();</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> </div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span><span class="keywordtype">void</span> game_update()</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="random_8h.html#a3364aa4a4ff4352d9df2222c4735151a">rng_update</a>();</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> g_game_vars.timer++;</div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> </div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> jokers_update_loop();</div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> </div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> <a class="code hl_function" href="state__machine_8h.html#ad9adae7509d62d10d3f0ad00356ea1e2">state_machine_update</a>();</div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span> </div>
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span> <a class="code hl_function" href="sprite_8h.html#a7b5d01a3c39b22115156c4fa9dd0833a">sprite_object_update_all</a>();</div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span>}</div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span> </div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span> <a class="code hl_function" href="sprite_8h.html#a7b5d01a3c39b22115156c4fa9dd0833a">sprite_object_update_all</a>();</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</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="keywordtype">void</span> game_change_state(<span class="keyword">enum</span> GameState new_game_state)</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> g_game_vars.timer = TM_ZERO; <span class="comment">// Reset the timer</span></div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span><span class="keywordtype">void</span> game_change_state(<span class="keyword">enum</span> GameState new_game_state)</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span>{</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span> g_game_vars.timer = TM_ZERO; <span class="comment">// Reset the timer</span></div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span> </div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span> <a class="code hl_function" href="state__machine_8h.html#ac887ec8b325e136d801a6d1c30e55d15">state_machine_change_state</a>(&amp;game_sm, new_game_state);</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> </div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span> <a class="code hl_function" href="state__machine_8h.html#ac887ec8b325e136d801a6d1c30e55d15">state_machine_change_state</a>(&amp;game_sm, new_game_state);</div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span>}</div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span> </div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span><span class="keyword">enum</span> GameState game_get_state(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span>{</div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span> <span class="keywordflow">return</span> game_sm.<a class="code hl_variable" href="structStateMachine.html#a89f234133d3efe315836311cbf21c64b">state</a>;</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span>}</div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> </div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span><span class="keywordtype">bool</span> is_joker_owned(<span class="keywordtype">int</span> joker_id)</div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span>{</div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"> 365</span> <a class="code hl_struct" href="structListItr.html">ListItr</a> itr = <a class="code hl_function" href="list_8h.html#af580fe52b40b3ee763b5fc145b7890b0">list_itr_create</a>(&amp;s_owned_jokers_list);</div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span> <a class="code hl_struct" href="structJokerObject.html">JokerObject</a>* joker;</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> <span class="keywordflow">while</span> ((joker = <a class="code hl_function" href="list_8h.html#adaa09cca2b970d67f0cd14076e1db988">list_itr_next</a>(&amp;itr)))</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"> 370</span> <span class="keywordflow">if</span> (joker-&gt;joker-&gt;id == joker_id)</div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> {</div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"> 372</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</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> }</div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"> 375</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span>}</div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span> </div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span><a class="code hl_struct" href="structList.html">List</a>* get_jokers_list(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span>{</div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span> <span class="keywordflow">return</span> &amp;s_owned_jokers_list;</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> </div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span><a class="code hl_struct" href="structList.html">List</a>* get_expired_jokers_list(<span class="keywordtype">void</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"> 385</span> <span class="keywordflow">return</span> &amp;s_expired_jokers_list;</div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span>}</div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> </div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span><a class="code hl_struct" href="structList.html">List</a>* get_discarded_jokers_list(<span class="keywordtype">void</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> <span class="keywordflow">return</span> &amp;s_discarded_jokers_list;</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> </div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span><span class="keywordtype">bool</span> is_shortcut_joker_active(<span class="keywordtype">void</span>)</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> <span class="keywordflow">return</span> s_shortcut_joker_count &gt; 0;</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"> 397</span> </div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"> 398</span><span class="keywordtype">int</span> get_straight_and_flush_size(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span>{</div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span> <span class="keywordflow">return</span> s_four_fingers_joker_count &gt; 0 ? STRAIGHT_AND_FLUSH_SIZE_FOUR_FINGERS</div>
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno"> 401</span> : STRAIGHT_AND_FLUSH_SIZE_DEFAULT;</div>
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"> 402</span>}</div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"> 403</span> </div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"> 404</span><span class="keywordtype">void</span> add_joker(<a class="code hl_struct" href="structJokerObject.html">JokerObject</a>* joker_object)</div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"> 405</span>{</div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"> 406</span> <a class="code hl_function" href="list_8h.html#aeecf07ac54a546ae3dc7e9f4d2b0d098">list_push_back</a>(&amp;s_owned_jokers_list, joker_object);</div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"> 407</span> </div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"> 408</span> <span class="comment">// TODO: Extract to on_joker_added() callback</span></div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"> 409</span> <span class="comment">// In case the player gets multiple Four Fingers Jokers,</span></div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno"> 410</span> <span class="comment">// only change size when the first one is added</span></div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno"> 411</span> <span class="keywordflow">if</span> (joker_object-&gt;joker-&gt;id == FOUR_FINGERS_JOKER_ID)</div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"> 412</span> {</div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"> 413</span> s_four_fingers_joker_count++;</div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"> 414</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="keywordflow">if</span> (joker_object-&gt;joker-&gt;id == SHORTCUT_JOKER_ID)</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> s_shortcut_joker_count++;</div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"> 419</span> }</div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"> 420</span>}</div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"> 421</span> </div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"> 422</span><span class="keywordtype">void</span> remove_owned_joker(<span class="keywordtype">int</span> owned_joker_idx)</div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno"> 423</span>{</div>
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno"> 424</span> <span class="comment">// TODO: Extract to on_joker_removed() callback</span></div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"> 425</span> <a class="code hl_struct" href="structJokerObject.html">JokerObject</a>* joker_object = <a class="code hl_function" href="list_8h.html#a3c604970a7f427ee628ab97749fde17c">list_get_at_idx</a>(&amp;s_owned_jokers_list, owned_joker_idx);</div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"> 426</span> <span class="comment">// In case the player gets multiple Four Fingers Jokers,</span></div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span> <span class="comment">// and only reset the size when all of them have been removed</span></div>
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno"> 428</span> <span class="keywordflow">if</span> (joker_object-&gt;joker-&gt;id == FOUR_FINGERS_JOKER_ID)</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> s_four_fingers_joker_count--;</div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno"> 431</span> }</div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"> 432</span> </div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"> 433</span> <span class="keywordflow">if</span> (joker_object-&gt;joker-&gt;id == SHORTCUT_JOKER_ID)</div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"> 434</span> {</div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno"> 435</span> s_shortcut_joker_count--;</div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"> 436</span> }</div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"> 437</span> </div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno"> 438</span> <span class="comment">// TODO: Move to site of joker_destroy()?</span></div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"> 439</span> <a class="code hl_function" href="joker_8h.html#afeaee7bccd2b1da5a262b4c124a34f2a">joker_set_rollable</a>(joker_object-&gt;joker-&gt;id, <span class="keyword">true</span>);</div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"> 440</span> <a class="code hl_function" href="list_8h.html#ae2816ca6db0a215748a62831dc64104f">list_remove_at_idx</a>(&amp;s_owned_jokers_list, owned_joker_idx);</div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span>}</div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"> 442</span> </div>
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno"> 443</span><span class="keywordtype">int</span> get_deck_top(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno"> 444</span>{</div>
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno"> 445</span> <span class="keywordflow">return</span> s_deck_top;</div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"> 446</span>}</div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"> 447</span> </div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"> 448</span><span class="keywordtype">int</span> get_num_discards_remaining(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno"> 449</span>{</div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno"> 450</span> <span class="keywordflow">return</span> g_game_vars.discards;</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> </div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno"> 453</span><span class="keywordtype">int</span> get_num_hands_remaining(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno"> 454</span>{</div>
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno"> 455</span> <span class="keywordflow">return</span> g_game_vars.hands;</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> </div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"> 458</span><span class="keywordtype">void</span> display_money()</div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"> 459</span>{</div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"> 460</span> Rect money_text_rect = MONEY_TEXT_RECT;</div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"> 461</span> <a class="code hl_function" href="graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7">tte_erase_rect_wrapper</a>(MONEY_TEXT_RECT);</div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span><span class="keyword">enum</span> GameState game_get_state(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span>{</div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span> <span class="keywordflow">return</span> game_sm.<a class="code hl_variable" href="structStateMachine.html#a89f234133d3efe315836311cbf21c64b">state</a>;</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> </div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span><span class="keywordtype">bool</span> is_joker_owned(<span class="keywordtype">int</span> joker_id)</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span>{</div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> <a class="code hl_struct" href="structListItr.html">ListItr</a> itr = <a class="code hl_function" href="list_8h.html#af580fe52b40b3ee763b5fc145b7890b0">list_itr_create</a>(&amp;s_owned_jokers_list);</div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span> <a class="code hl_struct" href="structJokerObject.html">JokerObject</a>* joker;</div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span> </div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"> 365</span> <span class="keywordflow">while</span> ((joker = <a class="code hl_function" href="list_8h.html#adaa09cca2b970d67f0cd14076e1db988">list_itr_next</a>(&amp;itr)))</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">if</span> (joker-&gt;joker-&gt;id == joker_id)</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="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span> }</div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> }</div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"> 372</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</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> </div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"> 375</span><a class="code hl_struct" href="structList.html">List</a>* get_jokers_list(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span>{</div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span> <span class="keywordflow">return</span> &amp;s_owned_jokers_list;</div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span>}</div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span> </div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span><a class="code hl_struct" href="structList.html">List</a>* get_expired_jokers_list(<span class="keywordtype">void</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"> 382</span> <span class="keywordflow">return</span> &amp;s_expired_jokers_list;</div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</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"> 385</span><a class="code hl_struct" href="structList.html">List</a>* get_discarded_jokers_list(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span>{</div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> <span class="keywordflow">return</span> &amp;s_discarded_jokers_list;</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><span class="keywordtype">bool</span> is_shortcut_joker_active(<span class="keywordtype">void</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> <span class="keywordflow">return</span> s_shortcut_joker_count &gt; 0;</div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span>}</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><span class="keywordtype">int</span> get_straight_and_flush_size(<span class="keywordtype">void</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"> 397</span> <span class="keywordflow">return</span> s_four_fingers_joker_count &gt; 0 ? STRAIGHT_AND_FLUSH_SIZE_FOUR_FINGERS</div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"> 398</span> : STRAIGHT_AND_FLUSH_SIZE_DEFAULT;</div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</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="keywordtype">void</span> add_joker(<a class="code hl_struct" href="structJokerObject.html">JokerObject</a>* joker_object)</div>
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"> 402</span>{</div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"> 403</span> <a class="code hl_function" href="list_8h.html#aeecf07ac54a546ae3dc7e9f4d2b0d098">list_push_back</a>(&amp;s_owned_jokers_list, joker_object);</div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"> 404</span> </div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"> 405</span> <span class="comment">// TODO: Extract to on_joker_added() callback</span></div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"> 406</span> <span class="comment">// In case the player gets multiple Four Fingers Jokers,</span></div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"> 407</span> <span class="comment">// only change size when the first one is added</span></div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"> 408</span> <span class="keywordflow">if</span> (joker_object-&gt;joker-&gt;id == FOUR_FINGERS_JOKER_ID)</div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"> 409</span> {</div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno"> 410</span> s_four_fingers_joker_count++;</div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno"> 411</span> }</div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"> 412</span> </div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"> 413</span> <span class="keywordflow">if</span> (joker_object-&gt;joker-&gt;id == SHORTCUT_JOKER_ID)</div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"> 414</span> {</div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"> 415</span> s_shortcut_joker_count++;</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> </div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"> 419</span><span class="keywordtype">void</span> remove_owned_joker(<span class="keywordtype">int</span> owned_joker_idx)</div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"> 420</span>{</div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"> 421</span> <span class="comment">// TODO: Extract to on_joker_removed() callback</span></div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"> 422</span> <a class="code hl_struct" href="structJokerObject.html">JokerObject</a>* joker_object = <a class="code hl_function" href="list_8h.html#a3c604970a7f427ee628ab97749fde17c">list_get_at_idx</a>(&amp;s_owned_jokers_list, owned_joker_idx);</div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno"> 423</span> <span class="comment">// In case the player gets multiple Four Fingers Jokers,</span></div>
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno"> 424</span> <span class="comment">// and only reset the size when all of them have been removed</span></div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"> 425</span> <span class="keywordflow">if</span> (joker_object-&gt;joker-&gt;id == FOUR_FINGERS_JOKER_ID)</div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"> 426</span> {</div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span> s_four_fingers_joker_count--;</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> </div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"> 430</span> <span class="keywordflow">if</span> (joker_object-&gt;joker-&gt;id == SHORTCUT_JOKER_ID)</div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno"> 431</span> {</div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"> 432</span> s_shortcut_joker_count--;</div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"> 433</span> }</div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"> 434</span> </div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno"> 435</span> <span class="comment">// TODO: Move to site of joker_destroy()?</span></div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"> 436</span> <a class="code hl_function" href="joker_8h.html#afeaee7bccd2b1da5a262b4c124a34f2a">joker_set_rollable</a>(joker_object-&gt;joker-&gt;id, <span class="keyword">true</span>);</div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"> 437</span> <a class="code hl_function" href="list_8h.html#ae2816ca6db0a215748a62831dc64104f">list_remove_at_idx</a>(&amp;s_owned_jokers_list, owned_joker_idx);</div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno"> 438</span>}</div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"> 439</span> </div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"> 440</span><span class="keywordtype">int</span> get_deck_top(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span>{</div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"> 442</span> <span class="keywordflow">return</span> s_deck_top;</div>
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno"> 443</span>}</div>
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno"> 444</span> </div>
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno"> 445</span><span class="keywordtype">int</span> get_num_discards_remaining(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"> 446</span>{</div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"> 447</span> <span class="keywordflow">return</span> g_game_vars.discards;</div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"> 448</span>}</div>
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno"> 449</span> </div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno"> 450</span><span class="keywordtype">int</span> get_num_hands_remaining(<span class="keywordtype">void</span>)</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">return</span> g_game_vars.hands;</div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno"> 453</span>}</div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno"> 454</span> </div>
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno"> 455</span><span class="keywordtype">void</span> display_money()</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> Rect money_text_rect = MONEY_TEXT_RECT;</div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"> 458</span> <a class="code hl_function" href="graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7">tte_erase_rect_wrapper</a>(MONEY_TEXT_RECT);</div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"> 459</span> </div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"> 460</span> <span class="keywordtype">char</span> money_str_buff[INT_MAX_DIGITS + 2]; <span class="comment">// + 2 for null terminator and &quot;$&quot; sign</span></div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"> 461</span> snprintf(money_str_buff, <span class="keyword">sizeof</span>(money_str_buff), <span class="stringliteral">&quot;$%ld&quot;</span>, g_game_vars.money);</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="keywordtype">char</span> money_str_buff[INT_MAX_DIGITS + 2]; <span class="comment">// + 2 for null terminator and &quot;$&quot; sign</span></div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno"> 464</span> snprintf(money_str_buff, <span class="keyword">sizeof</span>(money_str_buff), <span class="stringliteral">&quot;$%ld&quot;</span>, g_game_vars.money);</div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno"> 463</span> <span class="comment">// Bias left so the number is centered and the &quot;$&quot; sign is on the left</span></div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno"> 464</span> <a class="code hl_function" href="graphic__utils_8h.html#a4772becb6d0b30e799686efbe0076bcf">update_text_rect_to_center_str</a>(&amp;money_text_rect, money_str_buff, SCREEN_LEFT);</div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno"> 465</span> </div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno"> 466</span> <span class="comment">// Bias left so the number is centered and the &quot;$&quot; sign is on the left</span></div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno"> 467</span> <a class="code hl_function" href="graphic__utils_8h.html#a4772becb6d0b30e799686efbe0076bcf">update_text_rect_to_center_str</a>(&amp;money_text_rect, money_str_buff, SCREEN_LEFT);</div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno"> 468</span> </div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno"> 469</span> tte_printf(</div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno"> 470</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000}%s&quot;</span>,</div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno"> 471</span> money_text_rect.left,</div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno"> 472</span> money_text_rect.top,</div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno"> 473</span> TTE_YELLOW_PB,</div>
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno"> 474</span> money_str_buff</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>}</div>
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno"> 477</span> </div>
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno"> 478</span><span class="keywordtype">void</span> display_chips(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"> 479</span>{</div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"> 480</span> Rect chips_text_rect = CHIPS_TEXT_RECT;</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> <span class="comment">// In case of overflow, the rect overflow left by 1 char</span></div>
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno"> 483</span> Rect chips_text_overflow_rect = chips_text_rect;</div>
<div class="line"><a id="l00484" name="l00484"></a><span class="lineno"> 484</span> chips_text_overflow_rect.left -= <a class="code hl_define" href="graphic__utils_8h.html#a863b859642d0a74d0765f8c96f972af6">TTE_CHAR_SIZE</a>;</div>
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno"> 485</span> <a class="code hl_function" href="graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7">tte_erase_rect_wrapper</a>(chips_text_overflow_rect);</div>
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno"> 486</span> </div>
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno"> 487</span> <span class="keywordtype">char</span> chips_str_buff[UINT_MAX_DIGITS + 1];</div>
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno"> 488</span> <a class="code hl_function" href="util_8h.html#a75d2bcf3ada5a77afd676b0c7209556a">truncate_uint_to_suffixed_str</a>(</div>
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno"> 489</span> g_game_vars.chips,</div>
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno"> 490</span> <a class="code hl_function" href="graphic__utils_8h.html#ad687d4e104c181d6d8312e6ffa6c459b">rect_width</a>(&amp;chips_text_rect) / <a class="code hl_define" href="graphic__utils_8h.html#a863b859642d0a74d0765f8c96f972af6">TTE_CHAR_SIZE</a>,</div>
<div class="line"><a id="l00491" name="l00491"></a><span class="lineno"> 491</span> chips_str_buff</div>
<div class="line"><a id="l00492" name="l00492"></a><span class="lineno"> 492</span> );</div>
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno"> 493</span> </div>
<div class="line"><a id="l00494" name="l00494"></a><span class="lineno"> 494</span> <a class="code hl_function" href="graphic__utils_8h.html#a42446a057326ed83d4793215df774588">update_text_rect_to_right_align_str</a>(&amp;chips_text_rect, chips_str_buff, OVERFLOW_LEFT);</div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno"> 495</span> </div>
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno"> 496</span> tte_printf(</div>
<div class="line"><a id="l00497" name="l00497"></a><span class="lineno"> 497</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000;}%s&quot;</span>,</div>
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno"> 498</span> chips_text_rect.left,</div>
<div class="line"><a id="l00499" name="l00499"></a><span class="lineno"> 499</span> chips_text_rect.top,</div>
<div class="line"><a id="l00500" name="l00500"></a><span class="lineno"> 500</span> TTE_WHITE_PB,</div>
<div class="line"><a id="l00501" name="l00501"></a><span class="lineno"> 501</span> chips_str_buff</div>
<div class="line"><a id="l00502" name="l00502"></a><span class="lineno"> 502</span> );</div>
<div class="line"><a id="l00503" name="l00503"></a><span class="lineno"> 503</span> <a class="code hl_function" href="round_8h.html#a8e3d34f37a1bbde2018adbe5e137022b">toggle_flaming_score</a>();</div>
<div class="line"><a id="l00504" name="l00504"></a><span class="lineno"> 504</span>}</div>
<div class="line"><a id="l00505" name="l00505"></a><span class="lineno"> 505</span> </div>
<div class="line"><a id="l00506" name="l00506"></a><span class="lineno"> 506</span><span class="keywordtype">void</span> display_mult(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00507" name="l00507"></a><span class="lineno"> 507</span>{</div>
<div class="line"><a id="l00508" name="l00508"></a><span class="lineno"> 508</span> Rect mult_text_overflow_rect = MULT_TEXT_RECT;</div>
<div class="line"><a id="l00509" name="l00509"></a><span class="lineno"> 509</span> <span class="comment">// In case of overflow the rect will overflow right by 1 char</span></div>
<div class="line"><a id="l00510" name="l00510"></a><span class="lineno"> 510</span> mult_text_overflow_rect.right += <a class="code hl_define" href="graphic__utils_8h.html#a863b859642d0a74d0765f8c96f972af6">TTE_CHAR_SIZE</a>;</div>
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno"> 511</span> <a class="code hl_function" href="graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7">tte_erase_rect_wrapper</a>(mult_text_overflow_rect);</div>
<div class="line"><a id="l00512" name="l00512"></a><span class="lineno"> 512</span> </div>
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno"> 513</span> <span class="keywordtype">char</span> mult_str_buff[UINT_MAX_DIGITS + 1];</div>
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno"> 514</span> <a class="code hl_function" href="util_8h.html#a75d2bcf3ada5a77afd676b0c7209556a">truncate_uint_to_suffixed_str</a>(</div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno"> 515</span> g_game_vars.mult,</div>
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno"> 516</span> <a class="code hl_function" href="graphic__utils_8h.html#ad687d4e104c181d6d8312e6ffa6c459b">rect_width</a>(&amp;MULT_TEXT_RECT) / <a class="code hl_define" href="graphic__utils_8h.html#a863b859642d0a74d0765f8c96f972af6">TTE_CHAR_SIZE</a>,</div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno"> 517</span> mult_str_buff</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> </div>
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno"> 520</span> tte_printf(</div>
<div class="line"><a id="l00521" name="l00521"></a><span class="lineno"> 521</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000;}%s&quot;</span>,</div>
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno"> 522</span> MULT_TEXT_RECT.left,</div>
<div class="line"><a id="l00523" name="l00523"></a><span class="lineno"> 523</span> MULT_TEXT_RECT.top,</div>
<div class="line"><a id="l00524" name="l00524"></a><span class="lineno"> 524</span> TTE_WHITE_PB,</div>
<div class="line"><a id="l00525" name="l00525"></a><span class="lineno"> 525</span> mult_str_buff</div>
<div class="line"><a id="l00526" name="l00526"></a><span class="lineno"> 526</span> );</div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno"> 466</span> tte_printf(</div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno"> 467</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000}%s&quot;</span>,</div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno"> 468</span> money_text_rect.left,</div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno"> 469</span> money_text_rect.top,</div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno"> 470</span> TTE_YELLOW_PB,</div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno"> 471</span> money_str_buff</div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno"> 472</span> );</div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno"> 473</span>}</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="keywordtype">void</span> display_chips(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno"> 476</span>{</div>
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno"> 477</span> Rect chips_text_rect = CHIPS_TEXT_RECT;</div>
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno"> 478</span> </div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"> 479</span> <span class="comment">// In case of overflow, the rect overflow left by 1 char</span></div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"> 480</span> Rect chips_text_overflow_rect = chips_text_rect;</div>
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno"> 481</span> chips_text_overflow_rect.left -= <a class="code hl_define" href="graphic__utils_8h.html#a863b859642d0a74d0765f8c96f972af6">TTE_CHAR_SIZE</a>;</div>
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno"> 482</span> <a class="code hl_function" href="graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7">tte_erase_rect_wrapper</a>(chips_text_overflow_rect);</div>
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno"> 483</span> </div>
<div class="line"><a id="l00484" name="l00484"></a><span class="lineno"> 484</span> <span class="keywordtype">char</span> chips_str_buff[UINT_MAX_DIGITS + 1];</div>
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno"> 485</span> <a class="code hl_function" href="util_8h.html#a75d2bcf3ada5a77afd676b0c7209556a">truncate_uint_to_suffixed_str</a>(</div>
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno"> 486</span> g_game_vars.chips,</div>
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno"> 487</span> <a class="code hl_function" href="graphic__utils_8h.html#ad687d4e104c181d6d8312e6ffa6c459b">rect_width</a>(&amp;chips_text_rect) / <a class="code hl_define" href="graphic__utils_8h.html#a863b859642d0a74d0765f8c96f972af6">TTE_CHAR_SIZE</a>,</div>
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno"> 488</span> chips_str_buff</div>
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno"> 489</span> );</div>
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno"> 490</span> </div>
<div class="line"><a id="l00491" name="l00491"></a><span class="lineno"> 491</span> <a class="code hl_function" href="graphic__utils_8h.html#a42446a057326ed83d4793215df774588">update_text_rect_to_right_align_str</a>(&amp;chips_text_rect, chips_str_buff, OVERFLOW_LEFT);</div>
<div class="line"><a id="l00492" name="l00492"></a><span class="lineno"> 492</span> </div>
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno"> 493</span> tte_printf(</div>
<div class="line"><a id="l00494" name="l00494"></a><span class="lineno"> 494</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000;}%s&quot;</span>,</div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno"> 495</span> chips_text_rect.left,</div>
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno"> 496</span> chips_text_rect.top,</div>
<div class="line"><a id="l00497" name="l00497"></a><span class="lineno"> 497</span> TTE_WHITE_PB,</div>
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno"> 498</span> chips_str_buff</div>
<div class="line"><a id="l00499" name="l00499"></a><span class="lineno"> 499</span> );</div>
<div class="line"><a id="l00500" name="l00500"></a><span class="lineno"> 500</span> <a class="code hl_function" href="round_8h.html#a8e3d34f37a1bbde2018adbe5e137022b">toggle_flaming_score</a>();</div>
<div class="line"><a id="l00501" name="l00501"></a><span class="lineno"> 501</span>}</div>
<div class="line"><a id="l00502" name="l00502"></a><span class="lineno"> 502</span> </div>
<div class="line"><a id="l00503" name="l00503"></a><span class="lineno"> 503</span><span class="keywordtype">void</span> display_mult(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00504" name="l00504"></a><span class="lineno"> 504</span>{</div>
<div class="line"><a id="l00505" name="l00505"></a><span class="lineno"> 505</span> Rect mult_text_overflow_rect = MULT_TEXT_RECT;</div>
<div class="line"><a id="l00506" name="l00506"></a><span class="lineno"> 506</span> <span class="comment">// In case of overflow the rect will overflow right by 1 char</span></div>
<div class="line"><a id="l00507" name="l00507"></a><span class="lineno"> 507</span> mult_text_overflow_rect.right += <a class="code hl_define" href="graphic__utils_8h.html#a863b859642d0a74d0765f8c96f972af6">TTE_CHAR_SIZE</a>;</div>
<div class="line"><a id="l00508" name="l00508"></a><span class="lineno"> 508</span> <a class="code hl_function" href="graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7">tte_erase_rect_wrapper</a>(mult_text_overflow_rect);</div>
<div class="line"><a id="l00509" name="l00509"></a><span class="lineno"> 509</span> </div>
<div class="line"><a id="l00510" name="l00510"></a><span class="lineno"> 510</span> <span class="keywordtype">char</span> mult_str_buff[UINT_MAX_DIGITS + 1];</div>
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno"> 511</span> <a class="code hl_function" href="util_8h.html#a75d2bcf3ada5a77afd676b0c7209556a">truncate_uint_to_suffixed_str</a>(</div>
<div class="line"><a id="l00512" name="l00512"></a><span class="lineno"> 512</span> g_game_vars.mult,</div>
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno"> 513</span> <a class="code hl_function" href="graphic__utils_8h.html#ad687d4e104c181d6d8312e6ffa6c459b">rect_width</a>(&amp;MULT_TEXT_RECT) / <a class="code hl_define" href="graphic__utils_8h.html#a863b859642d0a74d0765f8c96f972af6">TTE_CHAR_SIZE</a>,</div>
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno"> 514</span> mult_str_buff</div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno"> 515</span> );</div>
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno"> 516</span> </div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno"> 517</span> tte_printf(</div>
<div class="line"><a id="l00518" name="l00518"></a><span class="lineno"> 518</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000;}%s&quot;</span>,</div>
<div class="line"><a id="l00519" name="l00519"></a><span class="lineno"> 519</span> MULT_TEXT_RECT.left,</div>
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno"> 520</span> MULT_TEXT_RECT.top,</div>
<div class="line"><a id="l00521" name="l00521"></a><span class="lineno"> 521</span> TTE_WHITE_PB,</div>
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno"> 522</span> mult_str_buff</div>
<div class="line"><a id="l00523" name="l00523"></a><span class="lineno"> 523</span> );</div>
<div class="line"><a id="l00524" name="l00524"></a><span class="lineno"> 524</span> </div>
<div class="line"><a id="l00525" name="l00525"></a><span class="lineno"> 525</span> <a class="code hl_function" href="round_8h.html#a8e3d34f37a1bbde2018adbe5e137022b">toggle_flaming_score</a>();</div>
<div class="line"><a id="l00526" name="l00526"></a><span class="lineno"> 526</span>}</div>
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno"> 527</span> </div>
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno"> 528</span> <a class="code hl_function" href="round_8h.html#a8e3d34f37a1bbde2018adbe5e137022b">toggle_flaming_score</a>();</div>
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno"> 529</span>}</div>
<div class="line"><a id="l00530" name="l00530"></a><span class="lineno"> 530</span> </div>
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno"> 531</span><span class="keywordtype">void</span> display_deck_size_max(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00532" name="l00532"></a><span class="lineno"> 532</span>{</div>
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno"> 533</span> <span class="comment">// TODO: the text will overflow if deck max size exceeds 99,</span></div>
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno"> 534</span> <span class="comment">// we will need a fix at some point for this</span></div>
<div class="line"><a id="l00535" name="l00535"></a><span class="lineno"> 535</span> <a class="code hl_function" href="graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7">tte_erase_rect_wrapper</a>(DECK_SIZE_RECT);</div>
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno"> 536</span> tte_printf(</div>
<div class="line"><a id="l00537" name="l00537"></a><span class="lineno"> 537</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000}%d/%d&quot;</span>,</div>
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno"> 538</span> DECK_SIZE_RECT.left,</div>
<div class="line"><a id="l00539" name="l00539"></a><span class="lineno"> 539</span> DECK_SIZE_RECT.top,</div>
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno"> 540</span> TTE_WHITE_PB,</div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno"> 541</span> deck_get_size(),</div>
<div class="line"><a id="l00542" name="l00542"></a><span class="lineno"> 542</span> deck_get_max_size()</div>
<div class="line"><a id="l00543" name="l00543"></a><span class="lineno"> 543</span> );</div>
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno"> 544</span>}</div>
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno"> 545</span> </div>
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno"> 546</span><span class="comment">// Returns true if the card is *considered* a face card</span></div>
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno"> 547</span><span class="keywordtype">bool</span> card_is_face(<a class="code hl_struct" href="structCard.html">Card</a>* card)</div>
<div class="line"><a id="l00548" name="l00548"></a><span class="lineno"> 548</span>{</div>
<div class="line"><a id="l00549" name="l00549"></a><span class="lineno"> 549</span> <span class="comment">// Card is a face card, or Pareidolia is present</span></div>
<div class="line"><a id="l00550" name="l00550"></a><span class="lineno"> 550</span> <span class="keywordflow">return</span> (</div>
<div class="line"><a id="l00551" name="l00551"></a><span class="lineno"> 551</span> card-&gt;rank == JACK || card-&gt;rank == QUEEN || card-&gt;rank == KING ||</div>
<div class="line"><a id="l00552" name="l00552"></a><span class="lineno"> 552</span> is_joker_owned(PAREIDOLIA_JOKER_ID)</div>
<div class="line"><a id="l00553" name="l00553"></a><span class="lineno"> 553</span> );</div>
<div class="line"><a id="l00554" name="l00554"></a><span class="lineno"> 554</span>}</div>
<div class="line"><a id="l00555" name="l00555"></a><span class="lineno"> 555</span> </div>
<div class="line"><a id="l00556" name="l00556"></a><span class="lineno"> 556</span><span class="keywordtype">void</span> display_temp_score(u32 value)</div>
<div class="line"><a id="l00557" name="l00557"></a><span class="lineno"> 557</span>{</div>
<div class="line"><a id="l00558" name="l00558"></a><span class="lineno"> 558</span> <span class="keywordtype">char</span> temp_score_str_buff[UINT_MAX_DIGITS + 1];</div>
<div class="line"><a id="l00559" name="l00559"></a><span class="lineno"> 559</span> Rect temp_score_rect = TEMP_SCORE_RECT;</div>
<div class="line"><a id="l00560" name="l00560"></a><span class="lineno"> 560</span> <a class="code hl_function" href="util_8h.html#a75d2bcf3ada5a77afd676b0c7209556a">truncate_uint_to_suffixed_str</a>(</div>
<div class="line"><a id="l00561" name="l00561"></a><span class="lineno"> 561</span> value,</div>
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno"> 562</span> <a class="code hl_function" href="graphic__utils_8h.html#ad687d4e104c181d6d8312e6ffa6c459b">rect_width</a>(&amp;temp_score_rect) / <a class="code hl_define" href="graphic__utils_8h.html#a863b859642d0a74d0765f8c96f972af6">TTE_CHAR_SIZE</a>,</div>
<div class="line"><a id="l00563" name="l00563"></a><span class="lineno"> 563</span> temp_score_str_buff</div>
<div class="line"><a id="l00564" name="l00564"></a><span class="lineno"> 564</span> );</div>
<div class="line"><a id="l00565" name="l00565"></a><span class="lineno"> 565</span> <a class="code hl_function" href="graphic__utils_8h.html#a4772becb6d0b30e799686efbe0076bcf">update_text_rect_to_center_str</a>(&amp;temp_score_rect, temp_score_str_buff, SCREEN_RIGHT);</div>
<div class="line"><a id="l00566" name="l00566"></a><span class="lineno"> 566</span> </div>
<div class="line"><a id="l00567" name="l00567"></a><span class="lineno"> 567</span> <a class="code hl_function" href="graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7">tte_erase_rect_wrapper</a>(TEMP_SCORE_RECT);</div>
<div class="line"><a id="l00568" name="l00568"></a><span class="lineno"> 568</span> tte_printf(</div>
<div class="line"><a id="l00569" name="l00569"></a><span class="lineno"> 569</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000}%s&quot;</span>,</div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno"> 570</span> temp_score_rect.left,</div>
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno"> 571</span> temp_score_rect.top,</div>
<div class="line"><a id="l00572" name="l00572"></a><span class="lineno"> 572</span> TTE_WHITE_PB,</div>
<div class="line"><a id="l00573" name="l00573"></a><span class="lineno"> 573</span> temp_score_str_buff</div>
<div class="line"><a id="l00574" name="l00574"></a><span class="lineno"> 574</span> );</div>
<div class="line"><a id="l00575" name="l00575"></a><span class="lineno"> 575</span>}</div>
<div class="line"><a id="l00576" name="l00576"></a><span class="lineno"> 576</span> </div>
<div class="line"><a id="l00577" name="l00577"></a><span class="lineno"> 577</span><span class="keywordtype">void</span> erase_temp_score(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"> 578</span>{</div>
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno"> 579</span> <a class="code hl_function" href="graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7">tte_erase_rect_wrapper</a>(TEMP_SCORE_RECT);</div>
<div class="line"><a id="l00580" name="l00580"></a><span class="lineno"> 580</span>}</div>
<div class="line"><a id="l00581" name="l00581"></a><span class="lineno"> 581</span> </div>
<div class="line"><a id="l00582" name="l00582"></a><span class="lineno"> 582</span><span class="keywordtype">void</span> display_score(u32 value)</div>
<div class="line"><a id="l00583" name="l00583"></a><span class="lineno"> 583</span>{</div>
<div class="line"><a id="l00584" name="l00584"></a><span class="lineno"> 584</span> Rect score_rect = SCORE_RECT;</div>
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno"> 585</span> <span class="comment">// Clear the existing text before redrawing</span></div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"> 586</span> <a class="code hl_function" href="graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7">tte_erase_rect_wrapper</a>(SCORE_RECT);</div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno"> 587</span> </div>
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno"> 588</span> <span class="keywordtype">char</span> score_str_buff[UINT_MAX_DIGITS + 1];</div>
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno"> 528</span><span class="keywordtype">void</span> display_deck_size_max(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno"> 529</span>{</div>
<div class="line"><a id="l00530" name="l00530"></a><span class="lineno"> 530</span> <span class="comment">// TODO: the text will overflow if deck max size exceeds 99,</span></div>
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno"> 531</span> <span class="comment">// we will need a fix at some point for this</span></div>
<div class="line"><a id="l00532" name="l00532"></a><span class="lineno"> 532</span> <a class="code hl_function" href="graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7">tte_erase_rect_wrapper</a>(DECK_SIZE_RECT);</div>
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno"> 533</span> tte_printf(</div>
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno"> 534</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000}%d/%d&quot;</span>,</div>
<div class="line"><a id="l00535" name="l00535"></a><span class="lineno"> 535</span> DECK_SIZE_RECT.left,</div>
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno"> 536</span> DECK_SIZE_RECT.top,</div>
<div class="line"><a id="l00537" name="l00537"></a><span class="lineno"> 537</span> TTE_WHITE_PB,</div>
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno"> 538</span> deck_get_size(),</div>
<div class="line"><a id="l00539" name="l00539"></a><span class="lineno"> 539</span> deck_get_max_size()</div>
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno"> 540</span> );</div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno"> 541</span>}</div>
<div class="line"><a id="l00542" name="l00542"></a><span class="lineno"> 542</span> </div>
<div class="line"><a id="l00543" name="l00543"></a><span class="lineno"> 543</span><span class="comment">// Returns true if the card is *considered* a face card</span></div>
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno"> 544</span><span class="keywordtype">bool</span> card_is_face(<a class="code hl_struct" href="structCard.html">Card</a>* card)</div>
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno"> 545</span>{</div>
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno"> 546</span> <span class="comment">// Card is a face card, or Pareidolia is present</span></div>
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno"> 547</span> <span class="keywordflow">return</span> (</div>
<div class="line"><a id="l00548" name="l00548"></a><span class="lineno"> 548</span> card-&gt;rank == JACK || card-&gt;rank == QUEEN || card-&gt;rank == KING ||</div>
<div class="line"><a id="l00549" name="l00549"></a><span class="lineno"> 549</span> is_joker_owned(PAREIDOLIA_JOKER_ID)</div>
<div class="line"><a id="l00550" name="l00550"></a><span class="lineno"> 550</span> );</div>
<div class="line"><a id="l00551" name="l00551"></a><span class="lineno"> 551</span>}</div>
<div class="line"><a id="l00552" name="l00552"></a><span class="lineno"> 552</span> </div>
<div class="line"><a id="l00553" name="l00553"></a><span class="lineno"> 553</span><span class="keywordtype">void</span> display_temp_score(u32 value)</div>
<div class="line"><a id="l00554" name="l00554"></a><span class="lineno"> 554</span>{</div>
<div class="line"><a id="l00555" name="l00555"></a><span class="lineno"> 555</span> <span class="keywordtype">char</span> temp_score_str_buff[UINT_MAX_DIGITS + 1];</div>
<div class="line"><a id="l00556" name="l00556"></a><span class="lineno"> 556</span> Rect temp_score_rect = TEMP_SCORE_RECT;</div>
<div class="line"><a id="l00557" name="l00557"></a><span class="lineno"> 557</span> <a class="code hl_function" href="util_8h.html#a75d2bcf3ada5a77afd676b0c7209556a">truncate_uint_to_suffixed_str</a>(</div>
<div class="line"><a id="l00558" name="l00558"></a><span class="lineno"> 558</span> value,</div>
<div class="line"><a id="l00559" name="l00559"></a><span class="lineno"> 559</span> <a class="code hl_function" href="graphic__utils_8h.html#ad687d4e104c181d6d8312e6ffa6c459b">rect_width</a>(&amp;temp_score_rect) / <a class="code hl_define" href="graphic__utils_8h.html#a863b859642d0a74d0765f8c96f972af6">TTE_CHAR_SIZE</a>,</div>
<div class="line"><a id="l00560" name="l00560"></a><span class="lineno"> 560</span> temp_score_str_buff</div>
<div class="line"><a id="l00561" name="l00561"></a><span class="lineno"> 561</span> );</div>
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno"> 562</span> <a class="code hl_function" href="graphic__utils_8h.html#a4772becb6d0b30e799686efbe0076bcf">update_text_rect_to_center_str</a>(&amp;temp_score_rect, temp_score_str_buff, SCREEN_RIGHT);</div>
<div class="line"><a id="l00563" name="l00563"></a><span class="lineno"> 563</span> </div>
<div class="line"><a id="l00564" name="l00564"></a><span class="lineno"> 564</span> <a class="code hl_function" href="graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7">tte_erase_rect_wrapper</a>(TEMP_SCORE_RECT);</div>
<div class="line"><a id="l00565" name="l00565"></a><span class="lineno"> 565</span> tte_printf(</div>
<div class="line"><a id="l00566" name="l00566"></a><span class="lineno"> 566</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000}%s&quot;</span>,</div>
<div class="line"><a id="l00567" name="l00567"></a><span class="lineno"> 567</span> temp_score_rect.left,</div>
<div class="line"><a id="l00568" name="l00568"></a><span class="lineno"> 568</span> temp_score_rect.top,</div>
<div class="line"><a id="l00569" name="l00569"></a><span class="lineno"> 569</span> TTE_WHITE_PB,</div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno"> 570</span> temp_score_str_buff</div>
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno"> 571</span> );</div>
<div class="line"><a id="l00572" name="l00572"></a><span class="lineno"> 572</span>}</div>
<div class="line"><a id="l00573" name="l00573"></a><span class="lineno"> 573</span> </div>
<div class="line"><a id="l00574" name="l00574"></a><span class="lineno"> 574</span><span class="keywordtype">void</span> erase_temp_score(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00575" name="l00575"></a><span class="lineno"> 575</span>{</div>
<div class="line"><a id="l00576" name="l00576"></a><span class="lineno"> 576</span> <a class="code hl_function" href="graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7">tte_erase_rect_wrapper</a>(TEMP_SCORE_RECT);</div>
<div class="line"><a id="l00577" name="l00577"></a><span class="lineno"> 577</span>}</div>
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"> 578</span> </div>
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno"> 579</span><span class="keywordtype">void</span> display_score(u32 value)</div>
<div class="line"><a id="l00580" name="l00580"></a><span class="lineno"> 580</span>{</div>
<div class="line"><a id="l00581" name="l00581"></a><span class="lineno"> 581</span> Rect score_rect = SCORE_RECT;</div>
<div class="line"><a id="l00582" name="l00582"></a><span class="lineno"> 582</span> <span class="comment">// Clear the existing text before redrawing</span></div>
<div class="line"><a id="l00583" name="l00583"></a><span class="lineno"> 583</span> <a class="code hl_function" href="graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7">tte_erase_rect_wrapper</a>(SCORE_RECT);</div>
<div class="line"><a id="l00584" name="l00584"></a><span class="lineno"> 584</span> </div>
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno"> 585</span> <span class="keywordtype">char</span> score_str_buff[UINT_MAX_DIGITS + 1];</div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"> 586</span> </div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno"> 587</span> <a class="code hl_function" href="util_8h.html#a75d2bcf3ada5a77afd676b0c7209556a">truncate_uint_to_suffixed_str</a>(value, <a class="code hl_function" href="graphic__utils_8h.html#ad687d4e104c181d6d8312e6ffa6c459b">rect_width</a>(&amp;score_rect) / <a class="code hl_define" href="graphic__utils_8h.html#a863b859642d0a74d0765f8c96f972af6">TTE_CHAR_SIZE</a>, score_str_buff);</div>
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno"> 588</span> <a class="code hl_function" href="graphic__utils_8h.html#a4772becb6d0b30e799686efbe0076bcf">update_text_rect_to_center_str</a>(&amp;score_rect, score_str_buff, SCREEN_RIGHT);</div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"> 589</span> </div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno"> 590</span> <a class="code hl_function" href="util_8h.html#a75d2bcf3ada5a77afd676b0c7209556a">truncate_uint_to_suffixed_str</a>(value, <a class="code hl_function" href="graphic__utils_8h.html#ad687d4e104c181d6d8312e6ffa6c459b">rect_width</a>(&amp;score_rect) / <a class="code hl_define" href="graphic__utils_8h.html#a863b859642d0a74d0765f8c96f972af6">TTE_CHAR_SIZE</a>, score_str_buff);</div>
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno"> 591</span> <a class="code hl_function" href="graphic__utils_8h.html#a4772becb6d0b30e799686efbe0076bcf">update_text_rect_to_center_str</a>(&amp;score_rect, score_str_buff, SCREEN_RIGHT);</div>
<div class="line"><a id="l00592" name="l00592"></a><span class="lineno"> 592</span> </div>
<div class="line"><a id="l00593" name="l00593"></a><span class="lineno"> 593</span> tte_printf(</div>
<div class="line"><a id="l00594" name="l00594"></a><span class="lineno"> 594</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000}%s&quot;</span>,</div>
<div class="line"><a id="l00595" name="l00595"></a><span class="lineno"> 595</span> score_rect.left,</div>
<div class="line"><a id="l00596" name="l00596"></a><span class="lineno"> 596</span> score_rect.top,</div>
<div class="line"><a id="l00597" name="l00597"></a><span class="lineno"> 597</span> TTE_WHITE_PB,</div>
<div class="line"><a id="l00598" name="l00598"></a><span class="lineno"> 598</span> score_str_buff</div>
<div class="line"><a id="l00599" name="l00599"></a><span class="lineno"> 599</span> );</div>
<div class="line"><a id="l00600" name="l00600"></a><span class="lineno"> 600</span>}</div>
<div class="line"><a id="l00601" name="l00601"></a><span class="lineno"> 601</span> </div>
<div class="line"><a id="l00602" name="l00602"></a><span class="lineno"> 602</span><span class="keywordtype">void</span> display_round(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00603" name="l00603"></a><span class="lineno"> 603</span>{</div>
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno"> 604</span> <span class="comment">// tte_erase_rect_wrapper(ROUND_TEXT_RECT);</span></div>
<div class="line"><a id="l00605" name="l00605"></a><span class="lineno"> 605</span> tte_printf(</div>
<div class="line"><a id="l00606" name="l00606"></a><span class="lineno"> 606</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000}%ld&quot;</span>,</div>
<div class="line"><a id="l00607" name="l00607"></a><span class="lineno"> 607</span> ROUND_TEXT_RECT.left,</div>
<div class="line"><a id="l00608" name="l00608"></a><span class="lineno"> 608</span> ROUND_TEXT_RECT.top,</div>
<div class="line"><a id="l00609" name="l00609"></a><span class="lineno"> 609</span> TTE_YELLOW_PB,</div>
<div class="line"><a id="l00610" name="l00610"></a><span class="lineno"> 610</span> g_game_vars.round</div>
<div class="line"><a id="l00611" name="l00611"></a><span class="lineno"> 611</span> );</div>
<div class="line"><a id="l00612" name="l00612"></a><span class="lineno"> 612</span>}</div>
<div class="line"><a id="l00613" name="l00613"></a><span class="lineno"> 613</span> </div>
<div class="line"><a id="l00614" name="l00614"></a><span class="lineno"> 614</span><span class="keywordtype">void</span> display_hands(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00615" name="l00615"></a><span class="lineno"> 615</span>{</div>
<div class="line"><a id="l00616" name="l00616"></a><span class="lineno"> 616</span> tte_printf(</div>
<div class="line"><a id="l00617" name="l00617"></a><span class="lineno"> 617</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000}%ld&quot;</span>,</div>
<div class="line"><a id="l00618" name="l00618"></a><span class="lineno"> 618</span> HANDS_TEXT_RECT.left,</div>
<div class="line"><a id="l00619" name="l00619"></a><span class="lineno"> 619</span> HANDS_TEXT_RECT.top,</div>
<div class="line"><a id="l00620" name="l00620"></a><span class="lineno"> 620</span> TTE_BLUE_PB,</div>
<div class="line"><a id="l00621" name="l00621"></a><span class="lineno"> 621</span> g_game_vars.hands</div>
<div class="line"><a id="l00622" name="l00622"></a><span class="lineno"> 622</span> );</div>
<div class="line"><a id="l00623" name="l00623"></a><span class="lineno"> 623</span>}</div>
<div class="line"><a id="l00624" name="l00624"></a><span class="lineno"> 624</span> </div>
<div class="line"><a id="l00625" name="l00625"></a><span class="lineno"> 625</span><span class="keywordtype">void</span> display_discards(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00626" name="l00626"></a><span class="lineno"> 626</span>{</div>
<div class="line"><a id="l00627" name="l00627"></a><span class="lineno"> 627</span> tte_printf(</div>
<div class="line"><a id="l00628" name="l00628"></a><span class="lineno"> 628</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000}%ld&quot;</span>,</div>
<div class="line"><a id="l00629" name="l00629"></a><span class="lineno"> 629</span> DISCARDS_TEXT_RECT.left,</div>
<div class="line"><a id="l00630" name="l00630"></a><span class="lineno"> 630</span> DISCARDS_TEXT_RECT.top,</div>
<div class="line"><a id="l00631" name="l00631"></a><span class="lineno"> 631</span> TTE_RED_PB,</div>
<div class="line"><a id="l00632" name="l00632"></a><span class="lineno"> 632</span> g_game_vars.discards</div>
<div class="line"><a id="l00633" name="l00633"></a><span class="lineno"> 633</span> );</div>
<div class="line"><a id="l00634" name="l00634"></a><span class="lineno"> 634</span>}</div>
<div class="line"><a id="l00635" name="l00635"></a><span class="lineno"> 635</span> </div>
<div class="line"><a id="l00636" name="l00636"></a><span class="lineno"> 636</span><span class="keywordtype">int</span> deck_get_size(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00637" name="l00637"></a><span class="lineno"> 637</span>{</div>
<div class="line"><a id="l00638" name="l00638"></a><span class="lineno"> 638</span> <span class="keywordflow">return</span> s_deck_top + 1;</div>
<div class="line"><a id="l00639" name="l00639"></a><span class="lineno"> 639</span>}</div>
<div class="line"><a id="l00640" name="l00640"></a><span class="lineno"> 640</span> </div>
<div class="line"><a id="l00641" name="l00641"></a><span class="lineno"> 641</span><span class="keyword">static</span> <span class="keywordtype">int</span> deck_get_max_size(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00642" name="l00642"></a><span class="lineno"> 642</span>{</div>
<div class="line"><a id="l00643" name="l00643"></a><span class="lineno"> 643</span> <span class="comment">// This is the max amount of cards that the player currently has in their possession</span></div>
<div class="line"><a id="l00644" name="l00644"></a><span class="lineno"> 644</span> <span class="keywordflow">return</span> <a class="code hl_function" href="hand_8h.html#a41c74b16743c1e9a1b7409629d2a5c8e">get_hand_top</a>() + <a class="code hl_function" href="round_8h.html#ac8cec2b58cfa75bf971c1013aa1e9a40">get_played_top</a>() + s_deck_top + <a class="code hl_function" href="round_8h.html#a361ace2f170aa9e9651e2b66f1a4d613">get_discard_top</a>() + 4;</div>
<div class="line"><a id="l00645" name="l00645"></a><span class="lineno"> 645</span>}</div>
<div class="line"><a id="l00646" name="l00646"></a><span class="lineno"> 646</span> </div>
<div class="line"><a id="l00647" name="l00647"></a><span class="lineno"> 647</span><span class="keywordtype">void</span> deck_shuffle(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00648" name="l00648"></a><span class="lineno"> 648</span>{</div>
<div class="line"><a id="l00649" name="l00649"></a><span class="lineno"> 649</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = s_deck_top; i &gt; 0; i--)</div>
<div class="line"><a id="l00650" name="l00650"></a><span class="lineno"> 650</span> {</div>
<div class="line"><a id="l00651" name="l00651"></a><span class="lineno"> 651</span> <span class="keywordtype">int</span> j = <a class="code hl_function" href="random_8h.html#aa9ae84d9bf14a3987243f76cdf78c67b">rng_get_u32</a>() % (i + 1);</div>
<div class="line"><a id="l00652" name="l00652"></a><span class="lineno"> 652</span> <a class="code hl_struct" href="structCard.html">Card</a>* temp = s_deck[i];</div>
<div class="line"><a id="l00653" name="l00653"></a><span class="lineno"> 653</span> s_deck[i] = s_deck[j];</div>
<div class="line"><a id="l00654" name="l00654"></a><span class="lineno"> 654</span> s_deck[j] = temp;</div>
<div class="line"><a id="l00655" name="l00655"></a><span class="lineno"> 655</span> }</div>
<div class="line"><a id="l00656" name="l00656"></a><span class="lineno"> 656</span>}</div>
<div class="line"><a id="l00657" name="l00657"></a><span class="lineno"> 657</span> </div>
<div class="line"><a id="l00658" name="l00658"></a><span class="lineno"> 658</span><span class="keywordtype">void</span> game_start(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00659" name="l00659"></a><span class="lineno"> 659</span>{</div>
<div class="line"><a id="l00660" name="l00660"></a><span class="lineno"> 660</span> <a class="code hl_function" href="affine__background_8h.html#aa6cd0433282441f6df3317b595fef90a">affine_background_change_background</a>(<a class="code hl_enumvalue" href="affine__background_8h.html#a7be0cf280b30b6df358b84c785a35e64a2157eda7fc259fcae0f4d4bda343e4ee">AFFINE_BG_GAME</a>);</div>
<div class="line"><a id="l00661" name="l00661"></a><span class="lineno"> 661</span> tte_colors_setup();</div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno"> 590</span> tte_printf(</div>
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno"> 591</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000}%s&quot;</span>,</div>
<div class="line"><a id="l00592" name="l00592"></a><span class="lineno"> 592</span> score_rect.left,</div>
<div class="line"><a id="l00593" name="l00593"></a><span class="lineno"> 593</span> score_rect.top,</div>
<div class="line"><a id="l00594" name="l00594"></a><span class="lineno"> 594</span> TTE_WHITE_PB,</div>
<div class="line"><a id="l00595" name="l00595"></a><span class="lineno"> 595</span> score_str_buff</div>
<div class="line"><a id="l00596" name="l00596"></a><span class="lineno"> 596</span> );</div>
<div class="line"><a id="l00597" name="l00597"></a><span class="lineno"> 597</span>}</div>
<div class="line"><a id="l00598" name="l00598"></a><span class="lineno"> 598</span> </div>
<div class="line"><a id="l00599" name="l00599"></a><span class="lineno"> 599</span><span class="keywordtype">void</span> display_round(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00600" name="l00600"></a><span class="lineno"> 600</span>{</div>
<div class="line"><a id="l00601" name="l00601"></a><span class="lineno"> 601</span> <span class="comment">// tte_erase_rect_wrapper(ROUND_TEXT_RECT);</span></div>
<div class="line"><a id="l00602" name="l00602"></a><span class="lineno"> 602</span> tte_printf(</div>
<div class="line"><a id="l00603" name="l00603"></a><span class="lineno"> 603</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000}%ld&quot;</span>,</div>
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno"> 604</span> ROUND_TEXT_RECT.left,</div>
<div class="line"><a id="l00605" name="l00605"></a><span class="lineno"> 605</span> ROUND_TEXT_RECT.top,</div>
<div class="line"><a id="l00606" name="l00606"></a><span class="lineno"> 606</span> TTE_YELLOW_PB,</div>
<div class="line"><a id="l00607" name="l00607"></a><span class="lineno"> 607</span> g_game_vars.round</div>
<div class="line"><a id="l00608" name="l00608"></a><span class="lineno"> 608</span> );</div>
<div class="line"><a id="l00609" name="l00609"></a><span class="lineno"> 609</span>}</div>
<div class="line"><a id="l00610" name="l00610"></a><span class="lineno"> 610</span> </div>
<div class="line"><a id="l00611" name="l00611"></a><span class="lineno"> 611</span><span class="keywordtype">void</span> display_hands(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00612" name="l00612"></a><span class="lineno"> 612</span>{</div>
<div class="line"><a id="l00613" name="l00613"></a><span class="lineno"> 613</span> tte_printf(</div>
<div class="line"><a id="l00614" name="l00614"></a><span class="lineno"> 614</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000}%ld&quot;</span>,</div>
<div class="line"><a id="l00615" name="l00615"></a><span class="lineno"> 615</span> HANDS_TEXT_RECT.left,</div>
<div class="line"><a id="l00616" name="l00616"></a><span class="lineno"> 616</span> HANDS_TEXT_RECT.top,</div>
<div class="line"><a id="l00617" name="l00617"></a><span class="lineno"> 617</span> TTE_BLUE_PB,</div>
<div class="line"><a id="l00618" name="l00618"></a><span class="lineno"> 618</span> g_game_vars.hands</div>
<div class="line"><a id="l00619" name="l00619"></a><span class="lineno"> 619</span> );</div>
<div class="line"><a id="l00620" name="l00620"></a><span class="lineno"> 620</span>}</div>
<div class="line"><a id="l00621" name="l00621"></a><span class="lineno"> 621</span> </div>
<div class="line"><a id="l00622" name="l00622"></a><span class="lineno"> 622</span><span class="keywordtype">void</span> display_discards(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00623" name="l00623"></a><span class="lineno"> 623</span>{</div>
<div class="line"><a id="l00624" name="l00624"></a><span class="lineno"> 624</span> tte_printf(</div>
<div class="line"><a id="l00625" name="l00625"></a><span class="lineno"> 625</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000}%ld&quot;</span>,</div>
<div class="line"><a id="l00626" name="l00626"></a><span class="lineno"> 626</span> DISCARDS_TEXT_RECT.left,</div>
<div class="line"><a id="l00627" name="l00627"></a><span class="lineno"> 627</span> DISCARDS_TEXT_RECT.top,</div>
<div class="line"><a id="l00628" name="l00628"></a><span class="lineno"> 628</span> TTE_RED_PB,</div>
<div class="line"><a id="l00629" name="l00629"></a><span class="lineno"> 629</span> g_game_vars.discards</div>
<div class="line"><a id="l00630" name="l00630"></a><span class="lineno"> 630</span> );</div>
<div class="line"><a id="l00631" name="l00631"></a><span class="lineno"> 631</span>}</div>
<div class="line"><a id="l00632" name="l00632"></a><span class="lineno"> 632</span> </div>
<div class="line"><a id="l00633" name="l00633"></a><span class="lineno"> 633</span><span class="keywordtype">int</span> deck_get_size(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00634" name="l00634"></a><span class="lineno"> 634</span>{</div>
<div class="line"><a id="l00635" name="l00635"></a><span class="lineno"> 635</span> <span class="keywordflow">return</span> s_deck_top + 1;</div>
<div class="line"><a id="l00636" name="l00636"></a><span class="lineno"> 636</span>}</div>
<div class="line"><a id="l00637" name="l00637"></a><span class="lineno"> 637</span> </div>
<div class="line"><a id="l00638" name="l00638"></a><span class="lineno"> 638</span><span class="keyword">static</span> <span class="keywordtype">int</span> deck_get_max_size(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00639" name="l00639"></a><span class="lineno"> 639</span>{</div>
<div class="line"><a id="l00640" name="l00640"></a><span class="lineno"> 640</span> <span class="comment">// This is the max amount of cards that the player currently has in their possession</span></div>
<div class="line"><a id="l00641" name="l00641"></a><span class="lineno"> 641</span> <span class="keywordflow">return</span> <a class="code hl_function" href="hand_8h.html#a41c74b16743c1e9a1b7409629d2a5c8e">get_hand_top</a>() + <a class="code hl_function" href="round_8h.html#ac8cec2b58cfa75bf971c1013aa1e9a40">get_played_top</a>() + s_deck_top + <a class="code hl_function" href="round_8h.html#a361ace2f170aa9e9651e2b66f1a4d613">get_discard_top</a>() + 4;</div>
<div class="line"><a id="l00642" name="l00642"></a><span class="lineno"> 642</span>}</div>
<div class="line"><a id="l00643" name="l00643"></a><span class="lineno"> 643</span> </div>
<div class="line"><a id="l00644" name="l00644"></a><span class="lineno"> 644</span><span class="keywordtype">void</span> deck_shuffle(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00645" name="l00645"></a><span class="lineno"> 645</span>{</div>
<div class="line"><a id="l00646" name="l00646"></a><span class="lineno"> 646</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = s_deck_top; i &gt; 0; i--)</div>
<div class="line"><a id="l00647" name="l00647"></a><span class="lineno"> 647</span> {</div>
<div class="line"><a id="l00648" name="l00648"></a><span class="lineno"> 648</span> <span class="keywordtype">int</span> j = <a class="code hl_function" href="random_8h.html#aa9ae84d9bf14a3987243f76cdf78c67b">rng_get_u32</a>() % (i + 1);</div>
<div class="line"><a id="l00649" name="l00649"></a><span class="lineno"> 649</span> <a class="code hl_struct" href="structCard.html">Card</a>* temp = s_deck[i];</div>
<div class="line"><a id="l00650" name="l00650"></a><span class="lineno"> 650</span> s_deck[i] = s_deck[j];</div>
<div class="line"><a id="l00651" name="l00651"></a><span class="lineno"> 651</span> s_deck[j] = temp;</div>
<div class="line"><a id="l00652" name="l00652"></a><span class="lineno"> 652</span> }</div>
<div class="line"><a id="l00653" name="l00653"></a><span class="lineno"> 653</span>}</div>
<div class="line"><a id="l00654" name="l00654"></a><span class="lineno"> 654</span> </div>
<div class="line"><a id="l00655" name="l00655"></a><span class="lineno"> 655</span><span class="keywordtype">void</span> game_start(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00656" name="l00656"></a><span class="lineno"> 656</span>{</div>
<div class="line"><a id="l00657" name="l00657"></a><span class="lineno"> 657</span> <a class="code hl_function" href="affine__background_8h.html#aa6cd0433282441f6df3317b595fef90a">affine_background_change_background</a>(<a class="code hl_enumvalue" href="affine__background_8h.html#a7be0cf280b30b6df358b84c785a35e64a2157eda7fc259fcae0f4d4bda343e4ee">AFFINE_BG_GAME</a>);</div>
<div class="line"><a id="l00658" name="l00658"></a><span class="lineno"> 658</span> tte_colors_setup();</div>
<div class="line"><a id="l00659" name="l00659"></a><span class="lineno"> 659</span> </div>
<div class="line"><a id="l00660" name="l00660"></a><span class="lineno"> 660</span> g_game_vars.hands = MAX_HANDS;</div>
<div class="line"><a id="l00661" name="l00661"></a><span class="lineno"> 661</span> g_game_vars.discards = MAX_DISCARDS;</div>
<div class="line"><a id="l00662" name="l00662"></a><span class="lineno"> 662</span> </div>
<div class="line"><a id="l00663" name="l00663"></a><span class="lineno"> 663</span> g_game_vars.hands = MAX_HANDS;</div>
<div class="line"><a id="l00664" name="l00664"></a><span class="lineno"> 664</span> g_game_vars.discards = MAX_DISCARDS;</div>
<div class="line"><a id="l00665" name="l00665"></a><span class="lineno"> 665</span> </div>
<div class="line"><a id="l00666" name="l00666"></a><span class="lineno"> 666</span> <span class="comment">// Fill the deck with all the cards. Later on this can be replaced with a more dynamic system</span></div>
<div class="line"><a id="l00667" name="l00667"></a><span class="lineno"> 667</span> <span class="comment">// that allows for different decks and card types.</span></div>
<div class="line"><a id="l00668" name="l00668"></a><span class="lineno"> 668</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> suit = 0; suit &lt; NUM_SUITS; suit++)</div>
<div class="line"><a id="l00669" name="l00669"></a><span class="lineno"> 669</span> {</div>
<div class="line"><a id="l00670" name="l00670"></a><span class="lineno"> 670</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> rank = 0; rank &lt; NUM_RANKS; rank++)</div>
<div class="line"><a id="l00671" name="l00671"></a><span class="lineno"> 671</span> {</div>
<div class="line"><a id="l00672" name="l00672"></a><span class="lineno"> 672</span> <a class="code hl_struct" href="structCard.html">Card</a>* card = card_new(suit, rank);</div>
<div class="line"><a id="l00673" name="l00673"></a><span class="lineno"> 673</span> deck_push(card);</div>
<div class="line"><a id="l00674" name="l00674"></a><span class="lineno"> 674</span> }</div>
<div class="line"><a id="l00675" name="l00675"></a><span class="lineno"> 675</span> }</div>
<div class="line"><a id="l00676" name="l00676"></a><span class="lineno"> 676</span> </div>
<div class="line"><a id="l00677" name="l00677"></a><span class="lineno"> 677</span> <a class="code hl_function" href="common__ui_8h.html#a7cc065b753e494969940447dfb3fb599">change_background</a>(BG_BLIND_SELECT, <span class="keyword">false</span>);</div>
<div class="line"><a id="l00678" name="l00678"></a><span class="lineno"> 678</span> </div>
<div class="line"><a id="l00679" name="l00679"></a><span class="lineno"> 679</span> <span class="comment">// Deck size/max size</span></div>
<div class="line"><a id="l00680" name="l00680"></a><span class="lineno"> 680</span> <a class="code hl_function" href="graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7">tte_erase_rect_wrapper</a>(DECK_SIZE_RECT);</div>
<div class="line"><a id="l00681" name="l00681"></a><span class="lineno"> 681</span> tte_printf(</div>
<div class="line"><a id="l00682" name="l00682"></a><span class="lineno"> 682</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000}%d/%d&quot;</span>,</div>
<div class="line"><a id="l00683" name="l00683"></a><span class="lineno"> 683</span> DECK_SIZE_RECT.left,</div>
<div class="line"><a id="l00684" name="l00684"></a><span class="lineno"> 684</span> DECK_SIZE_RECT.top,</div>
<div class="line"><a id="l00685" name="l00685"></a><span class="lineno"> 685</span> TTE_WHITE_PB,</div>
<div class="line"><a id="l00686" name="l00686"></a><span class="lineno"> 686</span> deck_get_size(),</div>
<div class="line"><a id="l00687" name="l00687"></a><span class="lineno"> 687</span> deck_get_max_size()</div>
<div class="line"><a id="l00688" name="l00688"></a><span class="lineno"> 688</span> );</div>
<div class="line"><a id="l00663" name="l00663"></a><span class="lineno"> 663</span> <span class="comment">// Fill the deck with all the cards. Later on this can be replaced with a more dynamic system</span></div>
<div class="line"><a id="l00664" name="l00664"></a><span class="lineno"> 664</span> <span class="comment">// that allows for different decks and card types.</span></div>
<div class="line"><a id="l00665" name="l00665"></a><span class="lineno"> 665</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> suit = 0; suit &lt; NUM_SUITS; suit++)</div>
<div class="line"><a id="l00666" name="l00666"></a><span class="lineno"> 666</span> {</div>
<div class="line"><a id="l00667" name="l00667"></a><span class="lineno"> 667</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> rank = 0; rank &lt; NUM_RANKS; rank++)</div>
<div class="line"><a id="l00668" name="l00668"></a><span class="lineno"> 668</span> {</div>
<div class="line"><a id="l00669" name="l00669"></a><span class="lineno"> 669</span> <a class="code hl_struct" href="structCard.html">Card</a>* card = card_new(suit, rank);</div>
<div class="line"><a id="l00670" name="l00670"></a><span class="lineno"> 670</span> deck_push(card);</div>
<div class="line"><a id="l00671" name="l00671"></a><span class="lineno"> 671</span> }</div>
<div class="line"><a id="l00672" name="l00672"></a><span class="lineno"> 672</span> }</div>
<div class="line"><a id="l00673" name="l00673"></a><span class="lineno"> 673</span> </div>
<div class="line"><a id="l00674" name="l00674"></a><span class="lineno"> 674</span> <a class="code hl_function" href="common__ui_8h.html#a7cc065b753e494969940447dfb3fb599">change_background</a>(BG_BLIND_SELECT, <span class="keyword">false</span>);</div>
<div class="line"><a id="l00675" name="l00675"></a><span class="lineno"> 675</span> </div>
<div class="line"><a id="l00676" name="l00676"></a><span class="lineno"> 676</span> <span class="comment">// Deck size/max size</span></div>
<div class="line"><a id="l00677" name="l00677"></a><span class="lineno"> 677</span> <a class="code hl_function" href="graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7">tte_erase_rect_wrapper</a>(DECK_SIZE_RECT);</div>
<div class="line"><a id="l00678" name="l00678"></a><span class="lineno"> 678</span> tte_printf(</div>
<div class="line"><a id="l00679" name="l00679"></a><span class="lineno"> 679</span> <span class="stringliteral">&quot;#{P:%d,%d; cx:0x%X000}%d/%d&quot;</span>,</div>
<div class="line"><a id="l00680" name="l00680"></a><span class="lineno"> 680</span> DECK_SIZE_RECT.left,</div>
<div class="line"><a id="l00681" name="l00681"></a><span class="lineno"> 681</span> DECK_SIZE_RECT.top,</div>
<div class="line"><a id="l00682" name="l00682"></a><span class="lineno"> 682</span> TTE_WHITE_PB,</div>
<div class="line"><a id="l00683" name="l00683"></a><span class="lineno"> 683</span> deck_get_size(),</div>
<div class="line"><a id="l00684" name="l00684"></a><span class="lineno"> 684</span> deck_get_max_size()</div>
<div class="line"><a id="l00685" name="l00685"></a><span class="lineno"> 685</span> );</div>
<div class="line"><a id="l00686" name="l00686"></a><span class="lineno"> 686</span> </div>
<div class="line"><a id="l00687" name="l00687"></a><span class="lineno"> 687</span> display_round(); <span class="comment">// Set the round display</span></div>
<div class="line"><a id="l00688" name="l00688"></a><span class="lineno"> 688</span> display_score(g_game_vars.score); <span class="comment">// Set the score display</span></div>
<div class="line"><a id="l00689" name="l00689"></a><span class="lineno"> 689</span> </div>
<div class="line"><a id="l00690" name="l00690"></a><span class="lineno"> 690</span> display_round(); <span class="comment">// Set the round display</span></div>
<div class="line"><a id="l00691" name="l00691"></a><span class="lineno"> 691</span> display_score(g_game_vars.score); <span class="comment">// Set the score display</span></div>
<div class="line"><a id="l00690" name="l00690"></a><span class="lineno"> 690</span> display_chips(); <span class="comment">// Set the chips display</span></div>
<div class="line"><a id="l00691" name="l00691"></a><span class="lineno"> 691</span> display_mult(); <span class="comment">// Set the multiplier display</span></div>
<div class="line"><a id="l00692" name="l00692"></a><span class="lineno"> 692</span> </div>
<div class="line"><a id="l00693" name="l00693"></a><span class="lineno"> 693</span> display_chips(); <span class="comment">// Set the chips display</span></div>
<div class="line"><a id="l00694" name="l00694"></a><span class="lineno"> 694</span> display_mult(); <span class="comment">// Set the multiplier display</span></div>
<div class="line"><a id="l00693" name="l00693"></a><span class="lineno"> 693</span> display_hands(); <span class="comment">// Hand</span></div>
<div class="line"><a id="l00694" name="l00694"></a><span class="lineno"> 694</span> display_discards(); <span class="comment">// Discard</span></div>
<div class="line"><a id="l00695" name="l00695"></a><span class="lineno"> 695</span> </div>
<div class="line"><a id="l00696" name="l00696"></a><span class="lineno"> 696</span> display_hands(); <span class="comment">// Hand</span></div>
<div class="line"><a id="l00697" name="l00697"></a><span class="lineno"> 697</span> display_discards(); <span class="comment">// Discard</span></div>
<div class="line"><a id="l00696" name="l00696"></a><span class="lineno"> 696</span> display_money(); <span class="comment">// Set the money display</span></div>
<div class="line"><a id="l00697" name="l00697"></a><span class="lineno"> 697</span> display_ante();</div>
<div class="line"><a id="l00698" name="l00698"></a><span class="lineno"> 698</span> </div>
<div class="line"><a id="l00699" name="l00699"></a><span class="lineno"> 699</span> display_money(); <span class="comment">// Set the money display</span></div>
<div class="line"><a id="l00700" name="l00700"></a><span class="lineno"> 700</span> display_ante();</div>
<div class="line"><a id="l00701" name="l00701"></a><span class="lineno"> 701</span> </div>
<div class="line"><a id="l00702" name="l00702"></a><span class="lineno"> 702</span> game_change_state(GAME_STATE_BLIND_SELECT);</div>
<div class="line"><a id="l00703" name="l00703"></a><span class="lineno"> 703</span>}</div>
<div class="line"><a id="l00699" name="l00699"></a><span class="lineno"> 699</span> game_change_state(GAME_STATE_BLIND_SELECT);</div>
<div class="line"><a id="l00700" name="l00700"></a><span class="lineno"> 700</span>}</div>
<div class="ttc" id="aaffine__background_8h_html"><div class="ttname"><a href="affine__background_8h.html">affine_background.h</a></div><div class="ttdoc">Utilities for affine background on GBA.</div></div>
<div class="ttc" id="aaffine__background_8h_html_a7be0cf280b30b6df358b84c785a35e64a2157eda7fc259fcae0f4d4bda343e4ee"><div class="ttname"><a href="affine__background_8h.html#a7be0cf280b30b6df358b84c785a35e64a2157eda7fc259fcae0f4d4bda343e4ee">AFFINE_BG_GAME</a></div><div class="ttdeci">@ AFFINE_BG_GAME</div><div class="ttdoc">Display background for game play.</div><div class="ttdef"><b>Definition</b> <a href="affine__background_8h_source.html#l00056">affine_background.h:56</a></div></div>
<div class="ttc" id="aaffine__background_8h_html_aa6cd0433282441f6df3317b595fef90a"><div class="ttname"><a href="affine__background_8h.html#aa6cd0433282441f6df3317b595fef90a">affine_background_change_background</a></div><div class="ttdeci">void affine_background_change_background(enum AffineBackgroundID new_bg)</div><div class="ttdoc">Update the background id.</div><div class="ttdef"><b>Definition</b> <a href="affine__background_8c_source.html#l00081">affine_background.c:81</a></div></div>
<div class="ttc" id="aaffine__background_8h_html_ad1390b2f0cb79fba57be0eb5663b2d76"><div class="ttname"><a href="affine__background_8h.html#ad1390b2f0cb79fba57be0eb5663b2d76">affine_background_load_palette</a></div><div class="ttdeci">void affine_background_load_palette(const u16 *src)</div><div class="ttdoc">Set the background palette.</div><div class="ttdef"><b>Definition</b> <a href="affine__background_8c_source.html#l00076">affine_background.c:76</a></div></div>
<div class="ttc" id="aaudio__utils_8h_html"><div class="ttname"><a href="audio__utils_8h.html">audio_utils.h</a></div><div class="ttdoc">Utilities for using maxmod to play sound effects.</div></div>
<div class="ttc" id="ablind_8h_html_aedfd9b6abb09b4255160fe02ae1d018b"><div class="ttname"><a href="blind_8h.html#aedfd9b6abb09b4255160fe02ae1d018b">init_unbeaten_blinds_lists</a></div><div class="ttdeci">void init_unbeaten_blinds_lists(void)</div><div class="ttdoc">Initialize Boss and Showdown Blinds lists to roll from.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00156">blind.c:156</a></div></div>
<div class="ttc" id="ablind__select_8h_html"><div class="ttname"><a href="blind__select_8h.html">blind_select.h</a></div><div class="ttdoc">Blind select state functions.</div></div>
<div class="ttc" id="abutton_8h_html"><div class="ttname"><a href="button_8h.html">button.h</a></div><div class="ttdoc">A button structure containing the common button functionalities Including highlight and pressing func...</div></div>
<div class="ttc" id="acommon__ui_8h_html"><div class="ttname"><a href="common__ui_8h.html">common_ui.h</a></div><div class="ttdoc">Common functions to render UI elements.</div></div>

View File

@@ -140,7 +140,7 @@ $(document).ready(function(){initNavTree('game__variables_8h.html',''); initResi
<p>Game global game variables struct definition.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;blind.h&quot;</code><br />
<div class="textblock"><code>#include &quot;<a class="el" href="blind_8h_source.html">blind.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="hand_8h_source.html">hand.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="random_8h_source.html">random.h</a>&quot;</code><br />
<code>#include &lt;tonc.h&gt;</code><br />

View File

@@ -142,7 +142,7 @@ $(document).ready(function(){initNavTree('game__variables_8h_source.html',''); i
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#ifndef GAME_VARIABLES_H</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#define GAME_VARIABLES_H</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span> </div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &quot;blind.h&quot;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &quot;<a class="code" href="blind_8h.html">blind.h</a>&quot;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &quot;<a class="code" href="hand_8h.html">hand.h</a>&quot;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include &quot;<a class="code" href="random_8h.html">random.h</a>&quot;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
@@ -186,9 +186,9 @@ $(document).ready(function(){initNavTree('game__variables_8h_source.html',''); i
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="comment">// Blind variables</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <span class="keyword">enum</span> BlindType current_blind;</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <span class="keyword">enum</span> BlindType next_boss_blind;</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="keyword">enum</span> BlindState blinds_states[NUM_BLINDS_PER_ANTE];</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> current_blind;</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> next_boss_blind;</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">BlindState</a> blinds_states[NUM_BLINDS_PER_ANTE];</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> s32 hands;</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> s32 discards;</div>
@@ -211,6 +211,9 @@ $(document).ready(function(){initNavTree('game__variables_8h_source.html',''); i
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span><span class="keyword">extern</span> <a class="code hl_struct" href="structGameVariables.html">GameVariables</a> g_game_vars;</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span><span class="preprocessor">#endif </span><span class="comment">// GAME_VARIABLES_H</span></div>
<div class="ttc" id="ablind_8h_html"><div class="ttname"><a href="blind_8h.html">blind.h</a></div><div class="ttdoc">Data structures and functions relative to the behaviour and graphics of Blinds.</div></div>
<div class="ttc" id="ablind_8h_html_a360ce6465b5b6a404884c21d37759d4a"><div class="ttname"><a href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a></div><div class="ttdeci">BlindType</div><div class="ttdoc">All Blind types in the game are listed here.</div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00068">blind.h:69</a></div></div>
<div class="ttc" id="ablind_8h_html_a59b2b8e485d0ea561120ae8c6010de1d"><div class="ttname"><a href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">BlindState</a></div><div class="ttdeci">BlindState</div><div class="ttdoc">All the possible states an Ante's Blinds can be in when viewed in the &quot;Blind Select&quot; screen.</div><div class="ttdef"><b>Definition</b> <a href="blind_8h_source.html#l00120">blind.h:121</a></div></div>
<div class="ttc" id="ahand_8h_html"><div class="ttname"><a href="hand_8h.html">hand.h</a></div><div class="ttdoc">Functions relative to manipulating and analyzing the contents of the Hand, a.k.a. the Cards we hold a...</div></div>
<div class="ttc" id="arandom_8h_html"><div class="ttname"><a href="random_8h.html">random.h</a></div><div class="ttdoc">Common functions to handle RNG manipulation. Using this interface has three goals:</div></div>
<div class="ttc" id="astructGameVariables_html"><div class="ttname"><a href="structGameVariables.html">GameVariables</a></div><div class="ttdoc">A central location for all game variables.</div><div class="ttdef"><b>Definition</b> <a href="game__variables_8h_source.html#l00038">game_variables.h:39</a></div></div>

View File

@@ -146,6 +146,8 @@ $(document).ready(function(){initNavTree('globals.html',''); initResizable(); })
<li>AFFINE_BG_PAL_LEN&#160;:&#160;<a class="el" href="affine__background_8h.html#abf2b02be405747d46c04fe0d1d29a9f4">affine_background.h</a></li>
<li>AFFINE_BG_PB&#160;:&#160;<a class="el" href="affine__background_8h.html#af2d7cb69277acd5f39d8a48cb1313301">affine_background.h</a></li>
<li>AffineBackgroundID&#160;:&#160;<a class="el" href="affine__background_8h.html#a7be0cf280b30b6df358b84c785a35e64">affine_background.h</a></li>
<li>apply_blind_colors()&#160;:&#160;<a class="el" href="blind_8h.html#a33aca14af98233e87839aec461812517">blind.h</a>, <a class="el" href="blind_8c.html#a33aca14af98233e87839aec461812517">blind.c</a></li>
<li>apply_blind_tiles()&#160;:&#160;<a class="el" href="blind_8h.html#a186aee3247d5b47aaa84b4f6ee3a5947">blind.h</a>, <a class="el" href="blind_8c.html#a186aee3247d5b47aaa84b4f6ee3a5947">blind.c</a></li>
<li>audio_param_update()&#160;:&#160;<a class="el" href="audio__utils_8c.html#af8f10383ee9bbeff6ed044e16c7374e9">audio_utils.c</a></li>
</ul>
</div><!-- contents -->

View File

@@ -152,6 +152,15 @@ $(document).ready(function(){initNavTree('globals_b.html',''); initResizable();
<li>bitset_num_set_bits()&#160;:&#160;<a class="el" href="bitset_8h.html#a414b573ef4e83f9eff939c2372e09d29">bitset.h</a></li>
<li>bitset_set_idx()&#160;:&#160;<a class="el" href="bitset_8h.html#adef0d8a817ab0e3677844bbe2a9f5d59">bitset.h</a></li>
<li>bitset_set_next_free_idx()&#160;:&#160;<a class="el" href="bitset_8h.html#abe34811eb4ac2ad6ccd77871fd049b89">bitset.h</a></li>
<li>blind_get_color()&#160;:&#160;<a class="el" href="blind_8c.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind.c</a>, <a class="el" href="blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind.h</a></li>
<li>blind_get_requirement()&#160;:&#160;<a class="el" href="blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4">blind.h</a>, <a class="el" href="blind_8c.html#a85fefafb15d88f710cbe1183ac34f3f4">blind.c</a></li>
<li>blind_get_reward()&#160;:&#160;<a class="el" href="blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind.h</a>, <a class="el" href="blind_8c.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind.c</a></li>
<li>blind_token_new()&#160;:&#160;<a class="el" href="blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b">blind.h</a>, <a class="el" href="blind_8c.html#a5518e6cabc5bcfd4e0ac280abd9f199c">blind.c</a></li>
<li>BlindColorIndex&#160;:&#160;<a class="el" href="blind_8h.html#ab459b45520cab1b163439acc78635be8">blind.h</a></li>
<li>BlindState&#160;:&#160;<a class="el" href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">blind.h</a></li>
<li>BlindTokenLayers&#160;:&#160;<a class="el" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">blind.h</a></li>
<li>BlindTokens&#160;:&#160;<a class="el" href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e">blind.h</a></li>
<li>BlindType&#160;:&#160;<a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">blind.h</a></li>
<li>button_press()&#160;:&#160;<a class="el" href="button_8h.html#a071a4d1bf72a16a7f4a4153722ce36db">button.h</a></li>
<li>button_set_highlight()&#160;:&#160;<a class="el" href="button_8h.html#ab07bc69b92e6642e2b986debfb152e48">button.h</a></li>
<li>ButtonCanBePressedFunc&#160;:&#160;<a class="el" href="button_8h.html#a35f4dc832e5b998d6595ca06c29f7a50">button.h</a></li>

View File

@@ -133,6 +133,11 @@ $(document).ready(function(){initNavTree('globals_enum.html',''); initResizable(
<div class="textblock">Here is a list of all documented enums with links to the documentation:</div><ul>
<li>AffineBackgroundID&#160;:&#160;<a class="el" href="affine__background_8h.html#a7be0cf280b30b6df358b84c785a35e64">affine_background.h</a></li>
<li>BackgroundId&#160;:&#160;<a class="el" href="common__ui_8h.html#aa1dc226c31d41c9cb14cdf9e2551c5cd">common_ui.h</a></li>
<li>BlindColorIndex&#160;:&#160;<a class="el" href="blind_8h.html#ab459b45520cab1b163439acc78635be8">blind.h</a></li>
<li>BlindState&#160;:&#160;<a class="el" href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">blind.h</a></li>
<li>BlindTokenLayers&#160;:&#160;<a class="el" href="blind_8h.html#a72f525224754ea5b65ce95410fa44408">blind.h</a></li>
<li>BlindTokens&#160;:&#160;<a class="el" href="blind_8h.html#ac213b67180e7b74f69beb56ddd17026e">blind.h</a></li>
<li>BlindType&#160;:&#160;<a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">blind.h</a></li>
<li>ListItrDirection&#160;:&#160;<a class="el" href="list_8h.html#acd43e43d3423800ffb7f1163d636d060">list.h</a></li>
</ul>
</div><!-- contents -->

View File

@@ -139,6 +139,8 @@ $(document).ready(function(){initNavTree('globals_func.html',''); initResizable(
<li>affine_background_load_palette()&#160;:&#160;<a class="el" href="affine__background_8h.html#ad1390b2f0cb79fba57be0eb5663b2d76">affine_background.h</a></li>
<li>affine_background_set_color()&#160;:&#160;<a class="el" href="affine__background_8h.html#a18432fdcb05ae0677341522862f4b742">affine_background.h</a></li>
<li>affine_background_update()&#160;:&#160;<a class="el" href="affine__background_8h.html#a55fdb6345d3e66a7c7af446e3dd5f070">affine_background.h</a></li>
<li>apply_blind_colors()&#160;:&#160;<a class="el" href="blind_8h.html#a33aca14af98233e87839aec461812517">blind.h</a>, <a class="el" href="blind_8c.html#a33aca14af98233e87839aec461812517">blind.c</a></li>
<li>apply_blind_tiles()&#160;:&#160;<a class="el" href="blind_8h.html#a186aee3247d5b47aaa84b4f6ee3a5947">blind.h</a>, <a class="el" href="blind_8c.html#a186aee3247d5b47aaa84b4f6ee3a5947">blind.c</a></li>
<li>audio_param_update()&#160;:&#160;<a class="el" href="audio__utils_8c.html#af8f10383ee9bbeff6ed044e16c7374e9">audio_utils.c</a></li>
</ul>
</div><!-- contents -->

View File

@@ -146,6 +146,10 @@ $(document).ready(function(){initNavTree('globals_func_b.html',''); initResizabl
<li>bitset_num_set_bits()&#160;:&#160;<a class="el" href="bitset_8h.html#a414b573ef4e83f9eff939c2372e09d29">bitset.h</a></li>
<li>bitset_set_idx()&#160;:&#160;<a class="el" href="bitset_8h.html#adef0d8a817ab0e3677844bbe2a9f5d59">bitset.h</a></li>
<li>bitset_set_next_free_idx()&#160;:&#160;<a class="el" href="bitset_8h.html#abe34811eb4ac2ad6ccd77871fd049b89">bitset.h</a></li>
<li>blind_get_color()&#160;:&#160;<a class="el" href="blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind.h</a>, <a class="el" href="blind_8c.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind.c</a></li>
<li>blind_get_requirement()&#160;:&#160;<a class="el" href="blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4">blind.h</a>, <a class="el" href="blind_8c.html#a85fefafb15d88f710cbe1183ac34f3f4">blind.c</a></li>
<li>blind_get_reward()&#160;:&#160;<a class="el" href="blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind.h</a>, <a class="el" href="blind_8c.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind.c</a></li>
<li>blind_token_new()&#160;:&#160;<a class="el" href="blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b">blind.h</a>, <a class="el" href="blind_8c.html#a5518e6cabc5bcfd4e0ac280abd9f199c">blind.c</a></li>
<li>button_press()&#160;:&#160;<a class="el" href="button_8h.html#a071a4d1bf72a16a7f4a4153722ce36db">button.h</a></li>
<li>button_set_highlight()&#160;:&#160;<a class="el" href="button_8h.html#ab07bc69b92e6642e2b986debfb152e48">button.h</a></li>
</ul>

View File

@@ -184,15 +184,16 @@ $(document).ready(function(){initNavTree('globals_func_g.html',''); initResizabl
<li>game_shop_reset()&#160;:&#160;<a class="el" href="shop_8h.html#a5fa7df04d461d36854de8de527fb3a5f">shop.h</a>, <a class="el" href="shop_8c.html#a5fa7df04d461d36854de8de527fb3a5f">shop.c</a></li>
<li>game_win_on_init()&#160;:&#160;<a class="el" href="game__over_8h.html#aaffb8156e7276d62874c7c5db0b8ed02">game_over.h</a></li>
<li>get_contained_hands()&#160;:&#160;<a class="el" href="hand_8h.html#a1e3e4d83612aa7673b107dcc155ef944">hand.h</a>, <a class="el" href="hand_8c.html#a1e3e4d83612aa7673b107dcc155ef944">hand.c</a></li>
<li>get_discard_top()&#160;:&#160;<a class="el" href="round_8h.html#a361ace2f170aa9e9651e2b66f1a4d613">round.h</a>, <a class="el" href="round_8c.html#a361ace2f170aa9e9651e2b66f1a4d613">round.c</a></li>
<li>get_discard_top()&#160;:&#160;<a class="el" href="round_8c.html#a361ace2f170aa9e9651e2b66f1a4d613">round.c</a>, <a class="el" href="round_8h.html#a361ace2f170aa9e9651e2b66f1a4d613">round.h</a></li>
<li>get_font_point_str()&#160;:&#160;<a class="el" href="font_8h.html#a0591d220421f2f0094aa80ae39007374">font.h</a></li>
<li>get_hand_array()&#160;:&#160;<a class="el" href="hand_8h.html#aa5beb0f8bda5c454fea80be021e51df1">hand.h</a>, <a class="el" href="hand_8c.html#aa5beb0f8bda5c454fea80be021e51df1">hand.c</a></li>
<li>get_hand_distribution()&#160;:&#160;<a class="el" href="hand_8c.html#a8c39bac46f180817e774ddb765326979">hand.c</a></li>
<li>get_hand_state()&#160;:&#160;<a class="el" href="hand_8h.html#a4aaf779a75b1c61697315a7d0defdfe1">hand.h</a>, <a class="el" href="hand_8c.html#a4aaf779a75b1c61697315a7d0defdfe1">hand.c</a></li>
<li>get_hand_top()&#160;:&#160;<a class="el" href="hand_8h.html#a41c74b16743c1e9a1b7409629d2a5c8e">hand.h</a>, <a class="el" href="hand_8c.html#a41c74b16743c1e9a1b7409629d2a5c8e">hand.c</a></li>
<li>get_hand_type()&#160;:&#160;<a class="el" href="hand_8c.html#a3b870a7b9c35fe38077088a0a4956ef4">hand.c</a>, <a class="el" href="hand_8h.html#a3b870a7b9c35fe38077088a0a4956ef4">hand.h</a></li>
<li>get_hand_type()&#160;:&#160;<a class="el" href="hand_8h.html#a3b870a7b9c35fe38077088a0a4956ef4">hand.h</a>, <a class="el" href="hand_8c.html#a3b870a7b9c35fe38077088a0a4956ef4">hand.c</a></li>
<li>get_item_type_funcs()&#160;:&#160;<a class="el" href="item__funcs_8h.html#aa487c0d2967bf235725dfe6383fba4a6">item_funcs.h</a></li>
<li>get_keyboard_index_from_sel()&#160;:&#160;<a class="el" href="run__setup_8c.html#a4f8e645ad43810f5bc789c0385b89318">run_setup.c</a></li>
<li>get_layer_tile_index()&#160;:&#160;<a class="el" href="blind_8c.html#a1fe16753cff7230a53901295f6cb7a77">blind.c</a></li>
<li>get_played_distribution()&#160;:&#160;<a class="el" href="round_8c.html#ace375f4cc13086b5d150e53892d471f8">round.c</a></li>
<li>get_played_size()&#160;:&#160;<a class="el" href="round_8h.html#a39727c2ef1584b79537ff9bee3e6a5a5">round.h</a>, <a class="el" href="round_8c.html#a39727c2ef1584b79537ff9bee3e6a5a5">round.c</a></li>
<li>get_played_top()&#160;:&#160;<a class="el" href="round_8h.html#ac8cec2b58cfa75bf971c1013aa1e9a40">round.h</a>, <a class="el" href="round_8c.html#ac8cec2b58cfa75bf971c1013aa1e9a40">round.c</a></li>

View File

@@ -133,6 +133,8 @@ $(document).ready(function(){initNavTree('globals_func_i.html',''); initResizabl
<div class="textblock">Here is a list of all documented functions with links to the documentation:</div>
<h3><a id="index_i" name="index_i"></a>- i -</h3><ul>
<li>init_unbeaten_blinds_list()&#160;:&#160;<a class="el" href="blind_8c.html#a40c15210bb6306ece0a7240106e42543">blind.c</a></li>
<li>init_unbeaten_blinds_lists()&#160;:&#160;<a class="el" href="blind_8h.html#aedfd9b6abb09b4255160fe02ae1d018b">blind.h</a>, <a class="el" href="blind_8c.html#aedfd9b6abb09b4255160fe02ae1d018b">blind.c</a></li>
<li>is_game_data_valid()&#160;:&#160;<a class="el" href="save_8h.html#a0f9f87c5b74807464390321d01eeef80">save.h</a>, <a class="el" href="save_8c.html#a0f9f87c5b74807464390321d01eeef80">save.c</a></li>
<li>is_version_dirty()&#160;:&#160;<a class="el" href="save_8c.html#a5ecd52e574ea02292941949278d4776e">save.c</a></li>
<li>item_acquire()&#160;:&#160;<a class="el" href="item_8h.html#acd9b4c99ac6fe9f9b6eb4543d16fb7db">item.h</a></li>

View File

@@ -140,13 +140,14 @@ $(document).ready(function(){initNavTree('globals_func_r.html',''); initResizabl
<li>reroll_seed_str()&#160;:&#160;<a class="el" href="run__setup_8c.html#ad00a2328e92525b7de20c1eecf2da9bc">run_setup.c</a></li>
<li>reset_top_left_panel_bottom_row()&#160;:&#160;<a class="el" href="common__ui_8h.html#ad91f726cfa93c1262dc1c4108f7c83c9">common_ui.h</a></li>
<li>resume_substate_init()&#160;:&#160;<a class="el" href="run__setup_8c.html#adcc3123e99b0af659149cbfa8df7d366">run_setup.c</a></li>
<li>rev_list_itr_create()&#160;:&#160;<a class="el" href="list_8h.html#a9dd6c8825c0862926490ab49ec008a63">list.h</a>, <a class="el" href="list_8c.html#a9dd6c8825c0862926490ab49ec008a63">list.c</a></li>
<li>rev_list_itr_create()&#160;:&#160;<a class="el" href="list_8c.html#a9dd6c8825c0862926490ab49ec008a63">list.c</a>, <a class="el" href="list_8h.html#a9dd6c8825c0862926490ab49ec008a63">list.h</a></li>
<li>rng_get_u32()&#160;:&#160;<a class="el" href="random_8h.html#aa9ae84d9bf14a3987243f76cdf78c67b">random.h</a></li>
<li>rng_init()&#160;:&#160;<a class="el" href="random_8h.html#ad5a3df3d0092f55f6ea54ccaa7daf3dc">random.h</a></li>
<li>rng_restore()&#160;:&#160;<a class="el" href="random_8h.html#a83ec4c5702aa84b05b24e8335ba7966e">random.h</a></li>
<li>rng_set_seed()&#160;:&#160;<a class="el" href="random_8h.html#a53482f39207d0f9884dda144723fb518">random.h</a></li>
<li>rng_shuffle_seed()&#160;:&#160;<a class="el" href="random_8h.html#a43bd63e66bebf4e4d463a7bee43dd737">random.h</a></li>
<li>rng_update()&#160;:&#160;<a class="el" href="random_8h.html#a3364aa4a4ff4352d9df2222c4735151a">random.h</a></li>
<li>roll_blind_type()&#160;:&#160;<a class="el" href="blind_8h.html#a2826e7fd956be78ad09013ef623c91e3">blind.h</a>, <a class="el" href="blind_8c.html#a2826e7fd956be78ad09013ef623c91e3">blind.c</a></li>
<li>run_setup_tabs_update()&#160;:&#160;<a class="el" href="run__setup_8c.html#ad8f373b6c06e1a2b727bdc2a39dd2cd2">run_setup.c</a></li>
</ul>
</div><!-- contents -->

View File

@@ -146,6 +146,7 @@ $(document).ready(function(){initNavTree('globals_func_s.html',''); initResizabl
<li>selection_grid_move_selection_horz()&#160;:&#160;<a class="el" href="selection__grid_8h.html#a821f365464b75a5ae5f402eaa0d76d24">selection_grid.h</a></li>
<li>selection_grid_move_selection_vert()&#160;:&#160;<a class="el" href="selection__grid_8h.html#a0ce39e190a85488f03024736064a9115">selection_grid.h</a></li>
<li>selection_grid_process_input()&#160;:&#160;<a class="el" href="selection__grid_8h.html#aab5b9794029546e2418e24bd899a3032">selection_grid.h</a></li>
<li>set_blind_beaten()&#160;:&#160;<a class="el" href="blind_8h.html#ad5c80cb82487220cada4920ecf037f9e">blind.h</a>, <a class="el" href="blind_8c.html#ad5c80cb82487220cada4920ecf037f9e">blind.c</a></li>
<li>set_hand_state()&#160;:&#160;<a class="el" href="hand_8h.html#a02fbe6fa56d5eecb06498a94aa3f654f">hand.h</a>, <a class="el" href="hand_8c.html#aaefb19d1e0ab6565858827cd31dc8cac">hand.c</a></li>
<li>set_hand_top()&#160;:&#160;<a class="el" href="hand_8h.html#ad3a7f85ee10f46e9e5434829904a923d">hand.h</a>, <a class="el" href="hand_8c.html#ad3a7f85ee10f46e9e5434829904a923d">hand.c</a></li>
<li>set_retrigger()&#160;:&#160;<a class="el" href="round_8h.html#a502b904f74141ec81e736c49137622ef">round.h</a>, <a class="el" href="round_8c.html#a502b904f74141ec81e736c49137622ef">round.c</a></li>

View File

@@ -187,7 +187,7 @@ $(document).ready(function(){initNavTree('globals_g.html',''); initResizable();
<li>GBAL_RETURN_IF_NULL_RET&#160;:&#160;<a class="el" href="util_8h.html#a481a57617133b2772dd268c341ec98cf">util.h</a></li>
<li>GBAL_RETURN_IF_NULL_VOID&#160;:&#160;<a class="el" href="util_8h.html#a532ad828cb5176e78825f0a9230312d2">util.h</a></li>
<li>GBAL_UNUSED&#160;:&#160;<a class="el" href="util_8h.html#aabfb019556c44576446cc201a0ac5459">util.h</a></li>
<li>get_contained_hands()&#160;:&#160;<a class="el" href="hand_8c.html#a1e3e4d83612aa7673b107dcc155ef944">hand.c</a>, <a class="el" href="hand_8h.html#a1e3e4d83612aa7673b107dcc155ef944">hand.h</a></li>
<li>get_contained_hands()&#160;:&#160;<a class="el" href="hand_8h.html#a1e3e4d83612aa7673b107dcc155ef944">hand.h</a>, <a class="el" href="hand_8c.html#a1e3e4d83612aa7673b107dcc155ef944">hand.c</a></li>
<li>get_discard_top()&#160;:&#160;<a class="el" href="round_8h.html#a361ace2f170aa9e9651e2b66f1a4d613">round.h</a>, <a class="el" href="round_8c.html#a361ace2f170aa9e9651e2b66f1a4d613">round.c</a></li>
<li>get_font_point_str()&#160;:&#160;<a class="el" href="font_8h.html#a0591d220421f2f0094aa80ae39007374">font.h</a></li>
<li>get_hand_array()&#160;:&#160;<a class="el" href="hand_8h.html#aa5beb0f8bda5c454fea80be021e51df1">hand.h</a>, <a class="el" href="hand_8c.html#aa5beb0f8bda5c454fea80be021e51df1">hand.c</a></li>
@@ -197,6 +197,7 @@ $(document).ready(function(){initNavTree('globals_g.html',''); initResizable();
<li>get_hand_type()&#160;:&#160;<a class="el" href="hand_8h.html#a3b870a7b9c35fe38077088a0a4956ef4">hand.h</a>, <a class="el" href="hand_8c.html#a3b870a7b9c35fe38077088a0a4956ef4">hand.c</a></li>
<li>get_item_type_funcs()&#160;:&#160;<a class="el" href="item__funcs_8h.html#aa487c0d2967bf235725dfe6383fba4a6">item_funcs.h</a></li>
<li>get_keyboard_index_from_sel()&#160;:&#160;<a class="el" href="run__setup_8c.html#a4f8e645ad43810f5bc789c0385b89318">run_setup.c</a></li>
<li>get_layer_tile_index()&#160;:&#160;<a class="el" href="blind_8c.html#a1fe16753cff7230a53901295f6cb7a77">blind.c</a></li>
<li>get_played_distribution()&#160;:&#160;<a class="el" href="round_8c.html#ace375f4cc13086b5d150e53892d471f8">round.c</a></li>
<li>get_played_size()&#160;:&#160;<a class="el" href="round_8h.html#a39727c2ef1584b79537ff9bee3e6a5a5">round.h</a>, <a class="el" href="round_8c.html#a39727c2ef1584b79537ff9bee3e6a5a5">round.c</a></li>
<li>get_played_top()&#160;:&#160;<a class="el" href="round_8h.html#ac8cec2b58cfa75bf971c1013aa1e9a40">round.h</a>, <a class="el" href="round_8c.html#ac8cec2b58cfa75bf971c1013aa1e9a40">round.c</a></li>

View File

@@ -133,6 +133,8 @@ $(document).ready(function(){initNavTree('globals_i.html',''); initResizable();
<div class="textblock">Here is a list of all documented functions, variables, defines, enums, and typedefs with links to the documentation:</div>
<h3><a id="index_i" name="index_i"></a>- i -</h3><ul>
<li>init_unbeaten_blinds_list()&#160;:&#160;<a class="el" href="blind_8c.html#a40c15210bb6306ece0a7240106e42543">blind.c</a></li>
<li>init_unbeaten_blinds_lists()&#160;:&#160;<a class="el" href="blind_8h.html#aedfd9b6abb09b4255160fe02ae1d018b">blind.h</a>, <a class="el" href="blind_8c.html#aedfd9b6abb09b4255160fe02ae1d018b">blind.c</a></li>
<li>is_game_data_valid()&#160;:&#160;<a class="el" href="save_8h.html#a0f9f87c5b74807464390321d01eeef80">save.h</a>, <a class="el" href="save_8c.html#a0f9f87c5b74807464390321d01eeef80">save.c</a></li>
<li>is_version_dirty()&#160;:&#160;<a class="el" href="save_8c.html#a5ecd52e574ea02292941949278d4776e">save.c</a></li>
<li>Item&#160;:&#160;<a class="el" href="item_8h.html#a749adef16b111dddf0ab08f96707a3a0">item.h</a></li>

View File

@@ -147,6 +147,7 @@ $(document).ready(function(){initNavTree('globals_r.html',''); initResizable();
<li>rng_set_seed()&#160;:&#160;<a class="el" href="random_8h.html#a53482f39207d0f9884dda144723fb518">random.h</a></li>
<li>rng_shuffle_seed()&#160;:&#160;<a class="el" href="random_8h.html#a43bd63e66bebf4e4d463a7bee43dd737">random.h</a></li>
<li>rng_update()&#160;:&#160;<a class="el" href="random_8h.html#a3364aa4a4ff4352d9df2222c4735151a">random.h</a></li>
<li>roll_blind_type()&#160;:&#160;<a class="el" href="blind_8h.html#a2826e7fd956be78ad09013ef623c91e3">blind.h</a>, <a class="el" href="blind_8c.html#a2826e7fd956be78ad09013ef623c91e3">blind.c</a></li>
<li>RowGetSizeFunc&#160;:&#160;<a class="el" href="selection__grid_8h.html#a938a3d885aa43eb87fd72ec99e426b7e">selection_grid.h</a></li>
<li>RowOnKeyTransitFunc&#160;:&#160;<a class="el" href="selection__grid_8h.html#ac8a820ea55e1e9bcf88a497834130080">selection_grid.h</a></li>
<li>RowOnSelectionChangedFunc&#160;:&#160;<a class="el" href="selection__grid_8h.html#a30261f1ca72f0d97ad46d54e59c30884">selection_grid.h</a></li>

View File

@@ -133,10 +133,11 @@ $(document).ready(function(){initNavTree('globals_s.html',''); initResizable();
<div class="textblock">Here is a list of all documented functions, variables, defines, enums, and typedefs with links to the documentation:</div>
<h3><a id="index_s" name="index_s"></a>- s -</h3><ul>
<li>s_blind_type_map&#160;:&#160;<a class="el" href="blind_8c.html#a6489ccf1d80155cbbb4346054870cb96">blind.c</a></li>
<li>s_list_itr_node_next()&#160;:&#160;<a class="el" href="list_8c.html#a941097920b3761acb1a4a1e803d94438">list.c</a></li>
<li>s_list_remove_node()&#160;:&#160;<a class="el" href="list_8c.html#a64302668721b7ab227627d05c80b4b32">list.c</a></li>
<li>save_game()&#160;:&#160;<a class="el" href="save_8c.html#a9e232271002ca804d61417ca6773b07a">save.c</a>, <a class="el" href="save_8h.html#a9e232271002ca804d61417ca6773b07a">save.h</a></li>
<li>save_options()&#160;:&#160;<a class="el" href="save_8c.html#af08a6f81dc09e7abbf2e4f33f99bec6e">save.c</a>, <a class="el" href="save_8h.html#af08a6f81dc09e7abbf2e4f33f99bec6e">save.h</a></li>
<li>save_game()&#160;:&#160;<a class="el" href="save_8h.html#a9e232271002ca804d61417ca6773b07a">save.h</a>, <a class="el" href="save_8c.html#a9e232271002ca804d61417ca6773b07a">save.c</a></li>
<li>save_options()&#160;:&#160;<a class="el" href="save_8h.html#af08a6f81dc09e7abbf2e4f33f99bec6e">save.h</a>, <a class="el" href="save_8c.html#af08a6f81dc09e7abbf2e4f33f99bec6e">save.c</a></li>
<li>SaveGame&#160;:&#160;<a class="el" href="save_8c.html#ad1dc334d7a91175e24b988b8a05b6042">save.c</a></li>
<li>SaveGame_default&#160;:&#160;<a class="el" href="save_8c.html#ac6be8ba75db77c350611aa6a05a923b3">save.c</a></li>
<li>SaveHeader&#160;:&#160;<a class="el" href="save_8c.html#a2279e64a424ee61d2c76715b839cbf4d">save.c</a></li>
@@ -152,6 +153,7 @@ $(document).ready(function(){initNavTree('globals_s.html',''); initResizable();
<li>selection_grid_move_selection_horz()&#160;:&#160;<a class="el" href="selection__grid_8h.html#a821f365464b75a5ae5f402eaa0d76d24">selection_grid.h</a></li>
<li>selection_grid_move_selection_vert()&#160;:&#160;<a class="el" href="selection__grid_8h.html#a0ce39e190a85488f03024736064a9115">selection_grid.h</a></li>
<li>selection_grid_process_input()&#160;:&#160;<a class="el" href="selection__grid_8h.html#aab5b9794029546e2418e24bd899a3032">selection_grid.h</a></li>
<li>set_blind_beaten()&#160;:&#160;<a class="el" href="blind_8h.html#ad5c80cb82487220cada4920ecf037f9e">blind.h</a>, <a class="el" href="blind_8c.html#ad5c80cb82487220cada4920ecf037f9e">blind.c</a></li>
<li>set_hand_state()&#160;:&#160;<a class="el" href="hand_8h.html#a02fbe6fa56d5eecb06498a94aa3f654f">hand.h</a>, <a class="el" href="hand_8c.html#aaefb19d1e0ab6565858827cd31dc8cac">hand.c</a></li>
<li>set_hand_top()&#160;:&#160;<a class="el" href="hand_8h.html#ad3a7f85ee10f46e9e5434829904a923d">hand.h</a>, <a class="el" href="hand_8c.html#ad3a7f85ee10f46e9e5434829904a923d">hand.c</a></li>
<li>set_retrigger()&#160;:&#160;<a class="el" href="round_8h.html#a502b904f74141ec81e736c49137622ef">round.h</a>, <a class="el" href="round_8c.html#a502b904f74141ec81e736c49137622ef">round.c</a></li>
@@ -165,7 +167,7 @@ $(document).ready(function(){initNavTree('globals_s.html',''); initResizable();
<li>shop_top_row_on_key_transit()&#160;:&#160;<a class="el" href="shop_8c.html#a0dd08021dc2405d8c68d03060ad6b027">shop.c</a></li>
<li>shop_top_row_on_selection_changed()&#160;:&#160;<a class="el" href="shop_8c.html#a1c93ade895a41aa97a9a38bdf425c5e4">shop.c</a></li>
<li>SIGN&#160;:&#160;<a class="el" href="util_8h.html#a8c5ff70b6b28cd0157c50a22406f92c4">util.h</a></li>
<li>sort_cards()&#160;:&#160;<a class="el" href="hand_8h.html#ae939d94185e29e1bbf44072c5d37c273">hand.h</a>, <a class="el" href="hand_8c.html#ae939d94185e29e1bbf44072c5d37c273">hand.c</a></li>
<li>sort_cards()&#160;:&#160;<a class="el" href="hand_8c.html#ae939d94185e29e1bbf44072c5d37c273">hand.c</a>, <a class="el" href="hand_8h.html#ae939d94185e29e1bbf44072c5d37c273">hand.h</a></li>
<li>splash_screen_on_exit()&#160;:&#160;<a class="el" href="splash__screen_8h.html#a9ca7b8370e792a84403f912b7611d2f9">splash_screen.h</a></li>
<li>splash_screen_on_init()&#160;:&#160;<a class="el" href="splash__screen_8h.html#ad6665f68a653bd65b4a353c4ab5ee9e2">splash_screen.h</a></li>
<li>splash_screen_on_update()&#160;:&#160;<a class="el" href="splash__screen_8h.html#abef5b26c1b8c1a453134ae4d8662d4ed">splash_screen.h</a></li>

View File

@@ -132,6 +132,7 @@ $(document).ready(function(){initNavTree('globals_vars.html',''); initResizable(
<div class="contents">
<div class="textblock">Here is a list of all documented variables with links to the documentation:</div><ul>
<li>DECK_NAMES&#160;:&#160;<a class="el" href="deck__types_8c.html#aca3bc778faeef112f513ae0a84c5e378">deck_types.c</a></li>
<li>s_blind_type_map&#160;:&#160;<a class="el" href="blind_8c.html#a6489ccf1d80155cbbb4346054870cb96">blind.c</a></li>
<li>SaveGame_default&#160;:&#160;<a class="el" href="save_8c.html#ac6be8ba75db77c350611aa6a05a923b3">save.c</a></li>
<li>SaveHeader_default&#160;:&#160;<a class="el" href="save_8c.html#ad4c7a26ce01920da160afb04e0ab756f">save.c</a></li>
<li>SaveOptions_default&#160;:&#160;<a class="el" href="save_8c.html#a30da5688e7e13a0664958bde6af12b20">save.c</a></li>

View File

@@ -139,7 +139,7 @@ $(document).ready(function(){initNavTree('main_8c_source.html',''); initResizabl
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#include &quot;<a class="code" href="affine__background_8h.html">affine_background.h</a>&quot;</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#include &quot;blind.h&quot;</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#include &quot;<a class="code" href="blind_8h.html">blind.h</a>&quot;</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include &quot;card.h&quot;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &quot;<a class="code" href="font_8h.html">font.h</a>&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &quot;game.h&quot;</span></div>
@@ -274,6 +274,7 @@ $(document).ready(function(){initNavTree('main_8c_source.html',''); initResizabl
<div class="ttc" id="aaffine__background_8h_html_ad0deca6c4a1ae5bc7d3a7c68a0ccb198"><div class="ttname"><a href="affine__background_8h.html#ad0deca6c4a1ae5bc7d3a7c68a0ccb198">affine_background_hblank</a></div><div class="ttdeci">IWRAM_CODE void affine_background_hblank()</div><div class="ttdoc">Interrupt routine to update display on HBLANK.</div><div class="ttdef"><b>Definition</b> <a href="affine__background_8c_source.html#l00026">affine_background.c:26</a></div></div>
<div class="ttc" id="aaudio__utils_8h_html"><div class="ttname"><a href="audio__utils_8h.html">audio_utils.h</a></div><div class="ttdoc">Utilities for using maxmod to play sound effects.</div></div>
<div class="ttc" id="aaudio__utils_8h_html_aba0f1d3ed33ffa7e3349c6fdf8f92ab8"><div class="ttname"><a href="audio__utils_8h.html#aba0f1d3ed33ffa7e3349c6fdf8f92ab8">GBAL_MM_NUM_CHANNELS</a></div><div class="ttdeci">#define GBAL_MM_NUM_CHANNELS</div><div class="ttdef"><b>Definition</b> <a href="audio__utils_8h_source.html#l00056">audio_utils.h:56</a></div></div>
<div class="ttc" id="ablind_8h_html"><div class="ttname"><a href="blind_8h.html">blind.h</a></div><div class="ttdoc">Data structures and functions relative to the behaviour and graphics of Blinds.</div></div>
<div class="ttc" id="afont_8h_html"><div class="ttname"><a href="font_8h.html">font.h</a></div><div class="ttdoc">Utility file to interact with custom font.</div></div>
<div class="ttc" id="agraphic__utils_8h_html"><div class="ttname"><a href="graphic__utils_8h.html">graphic_utils.h</a></div><div class="ttdoc">Graphic utility functions.</div></div>
<div class="ttc" id="ajoker_8h_html"><div class="ttname"><a href="joker_8h.html">joker.h</a></div><div class="ttdoc">Functions relative to the handling of Jokers.</div></div>

View File

@@ -64,8 +64,9 @@ var NAVTREE =
var NAVTREEINDEX =
[
"affine__background_8c_source.html",
"index.html",
"save_8c.html#ac26962eff871bc587f90a94b6eef1aaf"
"globals_m.html",
"round_8c.html#ac922f137d1d3ab206c5583954ba346fd",
"structSpriteObject.html#a2a19dbfcd2235def5967609ab0c7901a"
];
var SYNCONMSG = 'click to disable panel synchronisation';

View File

@@ -53,7 +53,89 @@ var NAVTREEINDEX0 =
"bitset_8h.html#ac99668db91cefc8264389b938af00a8a":[3,0,0,3,12],
"bitset_8h.html#adef0d8a817ab0e3677844bbe2a9f5d59":[3,0,0,3,14],
"bitset_8h_source.html":[3,0,0,3],
"blind_8c.html":[3,0,1,4],
"blind_8c.html#a186aee3247d5b47aaa84b4f6ee3a5947":[3,0,1,4,1],
"blind_8c.html#a1fe16753cff7230a53901295f6cb7a77":[3,0,1,4,6],
"blind_8c.html#a2826e7fd956be78ad09013ef623c91e3":[3,0,1,4,9],
"blind_8c.html#a33aca14af98233e87839aec461812517":[3,0,1,4,0],
"blind_8c.html#a40c15210bb6306ece0a7240106e42543":[3,0,1,4,7],
"blind_8c.html#a5518e6cabc5bcfd4e0ac280abd9f199c":[3,0,1,4,5],
"blind_8c.html#a6489ccf1d80155cbbb4346054870cb96":[3,0,1,4,11],
"blind_8c.html#a6d39b4ae4ca73f51bb2d3bc4b7687473":[3,0,1,4,2],
"blind_8c.html#a85fefafb15d88f710cbe1183ac34f3f4":[3,0,1,4,3],
"blind_8c.html#ad5c80cb82487220cada4920ecf037f9e":[3,0,1,4,10],
"blind_8c.html#aedfd9b6abb09b4255160fe02ae1d018b":[3,0,1,4,8],
"blind_8c.html#af2031f17bfb33cfe0a1815fa66b8bde6":[3,0,1,4,4],
"blind_8c_source.html":[3,0,1,4],
"blind_8h.html":[3,0,0,4],
"blind_8h.html#a186aee3247d5b47aaa84b4f6ee3a5947":[3,0,0,4,7],
"blind_8h.html#a2826e7fd956be78ad09013ef623c91e3":[3,0,0,4,13],
"blind_8h.html#a33aca14af98233e87839aec461812517":[3,0,0,4,6],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4a":[3,0,0,4,5],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa080e82dd2db9564e572412154125b0f4":[3,0,0,4,5,15],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa15167b32634d935c2719a22382a67691":[3,0,0,4,5,0],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa19857db58c1a9fee577b7214306f5c44":[3,0,0,4,5,2],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa1af29101f44e4473e630ea368659df51":[3,0,0,4,5,18],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa27a9c29e4d001a8316c7b5ebde4d1372":[3,0,0,4,5,24],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa2d27fba2071bd13ca1915c4e3d1cbac4":[3,0,0,4,5,9],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa3d7731fac3f4a31ac371d807b1b20e88":[3,0,0,4,5,21],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa4277ac388e68f577723994d0e910b3c2":[3,0,0,4,5,26],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa47cffffc359e0b4f235e2b16c6e4d9b7":[3,0,0,4,5,1],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa4c22cb189fe23fb01feb5d2a4d1ce487":[3,0,0,4,5,7],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa57d86796d5b672994a7acb2bc04d48f0":[3,0,0,4,5,12],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa5a70ec8b22d722e8c4e82bc887c4dec0":[3,0,0,4,5,16],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa65671f00c247265808c0c0fa8d08f074":[3,0,0,4,5,22],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa6aa608764a277725da487c4ae0d3de3a":[3,0,0,4,5,10],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa6b42db6f30fdeebd16764393428c93ca":[3,0,0,4,5,27],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa70d6ff194915f634a537512ad5afb413":[3,0,0,4,5,20],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa760d7d5a341a641be47a1a75e836da35":[3,0,0,4,5,5],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa79c75059dabd3faadda3ce35699b80e8":[3,0,0,4,5,8],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa818a9f67d528bc54e9b07632433f2342":[3,0,0,4,5,3],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa81c517350bff2784bf34485b1b834281":[3,0,0,4,5,4],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa9558a99d92ac0fe5f24f9ecc31cba58c":[3,0,0,4,5,32],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa9b1916964ca4f4088f37d154af9489ee":[3,0,0,4,5,29],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aa9bae10e7cacf84f6b34b935ff3f87558":[3,0,0,4,5,30],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aab40cd57e171a82ff2b59a79903e2f212":[3,0,0,4,5,13],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aabcb88cee19204a5f3ac100abbf0ed1ae":[3,0,0,4,5,31],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aac847441612c69b287b5ca306116d3d07":[3,0,0,4,5,25],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aacbb3359c2880f0e76bfc1fc75e909d13":[3,0,0,4,5,19],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aad333023b7eff1c3742bd55e156ea3b7c":[3,0,0,4,5,28],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aada608bde2074c90e029f0572577d6557":[3,0,0,4,5,14],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aadb28f08231cf31449d63ecc9bbbc1c7a":[3,0,0,4,5,17],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aadee7412c1b01b4539dfa709342134614":[3,0,0,4,5,23],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aae3b8e8a01372bb5e4904e7cf73b4e7bd":[3,0,0,4,5,11],
"blind_8h.html#a360ce6465b5b6a404884c21d37759d4aaeb90802345e3146342a4876ba39070a4":[3,0,0,4,5,6],
"blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d":[3,0,0,4,2],
"blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1da5376f8ff2f03c16cafcba4e1e0867c10":[3,0,0,4,2,0],
"blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1da7f31dff7c22cedd1599a59f24d0dfe2b":[3,0,0,4,2,4],
"blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1da8bfbd2aa221aa60b7c635b19f116ff2e":[3,0,0,4,2,1],
"blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1da91eca89d97e5975c544aaace11ab7439":[3,0,0,4,2,3],
"blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1daa5adf8910b7b28f5095047bfd8474284":[3,0,0,4,2,2],
"blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473":[3,0,0,4,8],
"blind_8h.html#a72f525224754ea5b65ce95410fa44408":[3,0,0,4,3],
"blind_8h.html#a72f525224754ea5b65ce95410fa44408a076cd342939fbcac4f00bdf7b6dff2d8":[3,0,0,4,3,3],
"blind_8h.html#a72f525224754ea5b65ce95410fa44408a26e650013721f8008ef2aab71c11791c":[3,0,0,4,3,1],
"blind_8h.html#a72f525224754ea5b65ce95410fa44408a9e926934a3bf811ac8e0b7c938e4bbe9":[3,0,0,4,3,4],
"blind_8h.html#a72f525224754ea5b65ce95410fa44408aa914ba14cd56ba28180cdcc6ea0b6ade":[3,0,0,4,3,0],
"blind_8h.html#a72f525224754ea5b65ce95410fa44408abc6427251f7dac54a243aace82ac4649":[3,0,0,4,3,2],
"blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4":[3,0,0,4,9],
"blind_8h.html#ab459b45520cab1b163439acc78635be8":[3,0,0,4,1],
"blind_8h.html#ab459b45520cab1b163439acc78635be8a0105609b6264a03e76d287a23aa776f7":[3,0,0,4,1,2],
"blind_8h.html#ab459b45520cab1b163439acc78635be8a96318ff77a183180c6248a16bf9ebc2b":[3,0,0,4,1,3],
"blind_8h.html#ab459b45520cab1b163439acc78635be8a97d8eef64d76c644a82a877950bdf547":[3,0,0,4,1,0],
"blind_8h.html#ab459b45520cab1b163439acc78635be8ab8583f96d10158dd90cfbbd33f45f48a":[3,0,0,4,1,4],
"blind_8h.html#ab459b45520cab1b163439acc78635be8acddc4a734d59cf417e454287ca57c39e":[3,0,0,4,1,1],
"blind_8h.html#ab459b45520cab1b163439acc78635be8ae1b362f1cf1fec0199ebc82f33384dfd":[3,0,0,4,1,5],
"blind_8h.html#ab459b45520cab1b163439acc78635be8ae7a17e141606adba21b3080a875183da":[3,0,0,4,1,6],
"blind_8h.html#ac213b67180e7b74f69beb56ddd17026e":[3,0,0,4,4],
"blind_8h.html#ac213b67180e7b74f69beb56ddd17026ea5890a4a7b75a5fe47ecb1fd82c6547c0":[3,0,0,4,4,2],
"blind_8h.html#ac213b67180e7b74f69beb56ddd17026eaa1e06914ec1d5ffc2451be886c10ce8a":[3,0,0,4,4,3],
"blind_8h.html#ac213b67180e7b74f69beb56ddd17026eaba7d7ccf3ee0de6001410925d60efa0f":[3,0,0,4,4,1],
"blind_8h.html#ac213b67180e7b74f69beb56ddd17026eaf6836ec629cee42be0962c8353a49033":[3,0,0,4,4,0],
"blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b":[3,0,0,4,11],
"blind_8h.html#ad5c80cb82487220cada4920ecf037f9e":[3,0,0,4,14],
"blind_8h.html#aedfd9b6abb09b4255160fe02ae1d018b":[3,0,0,4,12],
"blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6":[3,0,0,4,10],
"blind_8h_source.html":[3,0,0,4],
"blind__gfx_8h_source.html":[3,0,0,5],
"blind__select_8c_source.html":[3,0,1,0,0],
@@ -132,8 +214,8 @@ var NAVTREEINDEX0 =
"game__variables_8h.html":[3,0,0,15],
"game__variables_8h_source.html":[3,0,0,15],
"gbalatro__sys8_8h_source.html":[3,0,0,16],
"globals.html":[3,1,0,0],
"globals.html":[3,1,0],
"globals.html":[3,1,0,0],
"globals_b.html":[3,1,0,1],
"globals_c.html":[3,1,0,2],
"globals_d.html":[3,1,0,3],
@@ -167,87 +249,5 @@ var NAVTREEINDEX0 =
"globals_i.html":[3,1,0,7],
"globals_j.html":[3,1,0,8],
"globals_k.html":[3,1,0,9],
"globals_l.html":[3,1,0,10],
"globals_m.html":[3,1,0,11],
"globals_n.html":[3,1,0,12],
"globals_p.html":[3,1,0,13],
"globals_r.html":[3,1,0,14],
"globals_s.html":[3,1,0,15],
"globals_t.html":[3,1,0,16],
"globals_type.html":[3,1,3],
"globals_u.html":[3,1,0,17],
"globals_v.html":[3,1,0,18],
"globals_vars.html":[3,1,2],
"globals_w.html":[3,1,0,19],
"graphic__utils_8c_source.html":[3,0,1,10],
"graphic__utils_8h.html":[3,0,0,17],
"graphic__utils_8h.html#a009e80504b0e743e2c4e77de9d32fcd4":[3,0,0,17,13],
"graphic__utils_8h.html#a0314a2505ae246d7e7d6b1b925f3b54d":[3,0,0,17,14],
"graphic__utils_8h.html#a06ee61cf542dc9bb5885fbf5a6b6e17d":[3,0,0,17,16],
"graphic__utils_8h.html#a0ad6eb02f217b725c823cec619cfdf18":[3,0,0,17,12],
"graphic__utils_8h.html#a0d3636aed3d1c8e40b6001e839684912":[3,0,0,17,6],
"graphic__utils_8h.html#a15d8306ebc638d56bf6debc2f2c18a52":[3,0,0,17,11],
"graphic__utils_8h.html#a3da2c63a9da5eae09966791ec4d783f7":[3,0,0,17,18],
"graphic__utils_8h.html#a42446a057326ed83d4793215df774588":[3,0,0,17,22],
"graphic__utils_8h.html#a4772becb6d0b30e799686efbe0076bcf":[3,0,0,17,21],
"graphic__utils_8h.html#a533de5f085674ced95f37ede3b5bae7d":[3,0,0,17,4],
"graphic__utils_8h.html#a62ecd70800687eb2d625af180c4210d7":[3,0,0,17,2],
"graphic__utils_8h.html#a64972a8c3632b0a589aa0c9c89246a74":[3,0,0,17,15],
"graphic__utils_8h.html#a71f811b27a9e3895ab0be4dc68f51405":[3,0,0,17,8],
"graphic__utils_8h.html#a7e54edda39e2d955059c92e8c2ad1874":[3,0,0,17,1],
"graphic__utils_8h.html#a863b859642d0a74d0765f8c96f972af6":[3,0,0,17,3],
"graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7":[3,0,0,17,19],
"graphic__utils_8h.html#a882aaf87f63de6fdbcc83014381d0af3":[3,0,0,17,20],
"graphic__utils_8h.html#a99dfe9a3eb3ff0a11bcef62e9fbb948f":[3,0,0,17,7],
"graphic__utils_8h.html#ab823bbbf97edfa1ca16fcab03cccf4dc":[3,0,0,17,9],
"graphic__utils_8h.html#abe1f3e909ebffd97bbbef3c9aa46b04f":[3,0,0,17,5],
"graphic__utils_8h.html#ad687d4e104c181d6d8312e6ffa6c459b":[3,0,0,17,17],
"graphic__utils_8h.html#aee9baf7cec9e985a69e948e76f074f4a":[3,0,0,17,10],
"graphic__utils_8h_source.html":[3,0,0,17],
"hand_8c.html":[3,0,1,11],
"hand_8c.html#a0a039061bea3c82e0f1f86deb85fdc7d":[3,0,1,11,16],
"hand_8c.html#a1e3e4d83612aa7673b107dcc155ef944":[3,0,1,11,5],
"hand_8c.html#a2e66e88d21fed9071b1c725d987e28ab":[3,0,1,11,3],
"hand_8c.html#a3b870a7b9c35fe38077088a0a4956ef4":[3,0,1,11,10],
"hand_8c.html#a41c74b16743c1e9a1b7409629d2a5c8e":[3,0,1,11,9],
"hand_8c.html#a4aaf779a75b1c61697315a7d0defdfe1":[3,0,1,11,8],
"hand_8c.html#a62aab8570b58813e94d12b33124ccf6c":[3,0,1,11,22],
"hand_8c.html#a63dc3aad83b0d5cdb342bb4db62f67f1":[3,0,1,11,4],
"hand_8c.html#a8c39bac46f180817e774ddb765326979":[3,0,1,11,7],
"hand_8c.html#aa5beb0f8bda5c454fea80be021e51df1":[3,0,1,11,6],
"hand_8c.html#aac8c352a03a71c29be4634442721a502":[3,0,1,11,13],
"hand_8c.html#aaefb19d1e0ab6565858827cd31dc8cac":[3,0,1,11,19],
"hand_8c.html#acb2998d3f72cd139e7dbc9a2a0437c28":[3,0,1,11,17],
"hand_8c.html#ad3a7f85ee10f46e9e5434829904a923d":[3,0,1,11,20],
"hand_8c.html#ad996a34130bd7cc8511f563a1969c690":[3,0,1,11,15],
"hand_8c.html#ae31189b3cd0a76afd9fea79b94ea017f":[3,0,1,11,11],
"hand_8c.html#ae7bd4b295ad0106d523da0c57c798748":[3,0,1,11,2],
"hand_8c.html#ae939d94185e29e1bbf44072c5d37c273":[3,0,1,11,21],
"hand_8c.html#ae964ed1f7566571c174a23be50819080":[3,0,1,11,12],
"hand_8c.html#aea7ba57e47116fba93956a21de49d7a7":[3,0,1,11,14],
"hand_8c.html#af947febbf35dba3823fee4f0e095111e":[3,0,1,11,18],
"hand_8c_source.html":[3,0,1,11],
"hand_8h.html":[3,0,0,18],
"hand_8h.html#a02fbe6fa56d5eecb06498a94aa3f654f":[3,0,0,18,17],
"hand_8h.html#a0a039061bea3c82e0f1f86deb85fdc7d":[3,0,0,18,14],
"hand_8h.html#a1e3e4d83612aa7673b107dcc155ef944":[3,0,0,18,4],
"hand_8h.html#a2e66e88d21fed9071b1c725d987e28ab":[3,0,0,18,2],
"hand_8h.html#a3b870a7b9c35fe38077088a0a4956ef4":[3,0,0,18,8],
"hand_8h.html#a41c74b16743c1e9a1b7409629d2a5c8e":[3,0,0,18,7],
"hand_8h.html#a4aaf779a75b1c61697315a7d0defdfe1":[3,0,0,18,6],
"hand_8h.html#a62aab8570b58813e94d12b33124ccf6c":[3,0,0,18,20],
"hand_8h.html#a63dc3aad83b0d5cdb342bb4db62f67f1":[3,0,0,18,3],
"hand_8h.html#aa5beb0f8bda5c454fea80be021e51df1":[3,0,0,18,5],
"hand_8h.html#aac8c352a03a71c29be4634442721a502":[3,0,0,18,11],
"hand_8h.html#ab31c9562aa23120fd2f2f5bf25a37823":[3,0,0,18,16],
"hand_8h.html#acb2998d3f72cd139e7dbc9a2a0437c28":[3,0,0,18,15],
"hand_8h.html#ad3a7f85ee10f46e9e5434829904a923d":[3,0,0,18,18],
"hand_8h.html#ad996a34130bd7cc8511f563a1969c690":[3,0,0,18,13],
"hand_8h.html#ae31189b3cd0a76afd9fea79b94ea017f":[3,0,0,18,9],
"hand_8h.html#ae7bd4b295ad0106d523da0c57c798748":[3,0,0,18,1],
"hand_8h.html#ae939d94185e29e1bbf44072c5d37c273":[3,0,0,18,19],
"hand_8h.html#ae964ed1f7566571c174a23be50819080":[3,0,0,18,10],
"hand_8h.html#aea7ba57e47116fba93956a21de49d7a7":[3,0,0,18,12],
"hand_8h_source.html":[3,0,0,18],
"index.html":[]
"globals_l.html":[3,1,0,10]
};

View File

@@ -1,5 +1,87 @@
var NAVTREEINDEX1 =
{
"globals_m.html":[3,1,0,11],
"globals_n.html":[3,1,0,12],
"globals_p.html":[3,1,0,13],
"globals_r.html":[3,1,0,14],
"globals_s.html":[3,1,0,15],
"globals_t.html":[3,1,0,16],
"globals_type.html":[3,1,3],
"globals_u.html":[3,1,0,17],
"globals_v.html":[3,1,0,18],
"globals_vars.html":[3,1,2],
"globals_w.html":[3,1,0,19],
"graphic__utils_8c_source.html":[3,0,1,10],
"graphic__utils_8h.html":[3,0,0,17],
"graphic__utils_8h.html#a009e80504b0e743e2c4e77de9d32fcd4":[3,0,0,17,13],
"graphic__utils_8h.html#a0314a2505ae246d7e7d6b1b925f3b54d":[3,0,0,17,14],
"graphic__utils_8h.html#a06ee61cf542dc9bb5885fbf5a6b6e17d":[3,0,0,17,16],
"graphic__utils_8h.html#a0ad6eb02f217b725c823cec619cfdf18":[3,0,0,17,12],
"graphic__utils_8h.html#a0d3636aed3d1c8e40b6001e839684912":[3,0,0,17,6],
"graphic__utils_8h.html#a15d8306ebc638d56bf6debc2f2c18a52":[3,0,0,17,11],
"graphic__utils_8h.html#a3da2c63a9da5eae09966791ec4d783f7":[3,0,0,17,18],
"graphic__utils_8h.html#a42446a057326ed83d4793215df774588":[3,0,0,17,22],
"graphic__utils_8h.html#a4772becb6d0b30e799686efbe0076bcf":[3,0,0,17,21],
"graphic__utils_8h.html#a533de5f085674ced95f37ede3b5bae7d":[3,0,0,17,4],
"graphic__utils_8h.html#a62ecd70800687eb2d625af180c4210d7":[3,0,0,17,2],
"graphic__utils_8h.html#a64972a8c3632b0a589aa0c9c89246a74":[3,0,0,17,15],
"graphic__utils_8h.html#a71f811b27a9e3895ab0be4dc68f51405":[3,0,0,17,8],
"graphic__utils_8h.html#a7e54edda39e2d955059c92e8c2ad1874":[3,0,0,17,1],
"graphic__utils_8h.html#a863b859642d0a74d0765f8c96f972af6":[3,0,0,17,3],
"graphic__utils_8h.html#a86fe19f87df82284e96d7e8aacb001d7":[3,0,0,17,19],
"graphic__utils_8h.html#a882aaf87f63de6fdbcc83014381d0af3":[3,0,0,17,20],
"graphic__utils_8h.html#a99dfe9a3eb3ff0a11bcef62e9fbb948f":[3,0,0,17,7],
"graphic__utils_8h.html#ab823bbbf97edfa1ca16fcab03cccf4dc":[3,0,0,17,9],
"graphic__utils_8h.html#abe1f3e909ebffd97bbbef3c9aa46b04f":[3,0,0,17,5],
"graphic__utils_8h.html#ad687d4e104c181d6d8312e6ffa6c459b":[3,0,0,17,17],
"graphic__utils_8h.html#aee9baf7cec9e985a69e948e76f074f4a":[3,0,0,17,10],
"graphic__utils_8h_source.html":[3,0,0,17],
"hand_8c.html":[3,0,1,11],
"hand_8c.html#a0a039061bea3c82e0f1f86deb85fdc7d":[3,0,1,11,16],
"hand_8c.html#a1e3e4d83612aa7673b107dcc155ef944":[3,0,1,11,5],
"hand_8c.html#a2e66e88d21fed9071b1c725d987e28ab":[3,0,1,11,3],
"hand_8c.html#a3b870a7b9c35fe38077088a0a4956ef4":[3,0,1,11,10],
"hand_8c.html#a41c74b16743c1e9a1b7409629d2a5c8e":[3,0,1,11,9],
"hand_8c.html#a4aaf779a75b1c61697315a7d0defdfe1":[3,0,1,11,8],
"hand_8c.html#a62aab8570b58813e94d12b33124ccf6c":[3,0,1,11,22],
"hand_8c.html#a63dc3aad83b0d5cdb342bb4db62f67f1":[3,0,1,11,4],
"hand_8c.html#a8c39bac46f180817e774ddb765326979":[3,0,1,11,7],
"hand_8c.html#aa5beb0f8bda5c454fea80be021e51df1":[3,0,1,11,6],
"hand_8c.html#aac8c352a03a71c29be4634442721a502":[3,0,1,11,13],
"hand_8c.html#aaefb19d1e0ab6565858827cd31dc8cac":[3,0,1,11,19],
"hand_8c.html#acb2998d3f72cd139e7dbc9a2a0437c28":[3,0,1,11,17],
"hand_8c.html#ad3a7f85ee10f46e9e5434829904a923d":[3,0,1,11,20],
"hand_8c.html#ad996a34130bd7cc8511f563a1969c690":[3,0,1,11,15],
"hand_8c.html#ae31189b3cd0a76afd9fea79b94ea017f":[3,0,1,11,11],
"hand_8c.html#ae7bd4b295ad0106d523da0c57c798748":[3,0,1,11,2],
"hand_8c.html#ae939d94185e29e1bbf44072c5d37c273":[3,0,1,11,21],
"hand_8c.html#ae964ed1f7566571c174a23be50819080":[3,0,1,11,12],
"hand_8c.html#aea7ba57e47116fba93956a21de49d7a7":[3,0,1,11,14],
"hand_8c.html#af947febbf35dba3823fee4f0e095111e":[3,0,1,11,18],
"hand_8c_source.html":[3,0,1,11],
"hand_8h.html":[3,0,0,18],
"hand_8h.html#a02fbe6fa56d5eecb06498a94aa3f654f":[3,0,0,18,17],
"hand_8h.html#a0a039061bea3c82e0f1f86deb85fdc7d":[3,0,0,18,14],
"hand_8h.html#a1e3e4d83612aa7673b107dcc155ef944":[3,0,0,18,4],
"hand_8h.html#a2e66e88d21fed9071b1c725d987e28ab":[3,0,0,18,2],
"hand_8h.html#a3b870a7b9c35fe38077088a0a4956ef4":[3,0,0,18,8],
"hand_8h.html#a41c74b16743c1e9a1b7409629d2a5c8e":[3,0,0,18,7],
"hand_8h.html#a4aaf779a75b1c61697315a7d0defdfe1":[3,0,0,18,6],
"hand_8h.html#a62aab8570b58813e94d12b33124ccf6c":[3,0,0,18,20],
"hand_8h.html#a63dc3aad83b0d5cdb342bb4db62f67f1":[3,0,0,18,3],
"hand_8h.html#aa5beb0f8bda5c454fea80be021e51df1":[3,0,0,18,5],
"hand_8h.html#aac8c352a03a71c29be4634442721a502":[3,0,0,18,11],
"hand_8h.html#ab31c9562aa23120fd2f2f5bf25a37823":[3,0,0,18,16],
"hand_8h.html#acb2998d3f72cd139e7dbc9a2a0437c28":[3,0,0,18,15],
"hand_8h.html#ad3a7f85ee10f46e9e5434829904a923d":[3,0,0,18,18],
"hand_8h.html#ad996a34130bd7cc8511f563a1969c690":[3,0,0,18,13],
"hand_8h.html#ae31189b3cd0a76afd9fea79b94ea017f":[3,0,0,18,9],
"hand_8h.html#ae7bd4b295ad0106d523da0c57c798748":[3,0,0,18,1],
"hand_8h.html#ae939d94185e29e1bbf44072c5d37c273":[3,0,0,18,19],
"hand_8h.html#ae964ed1f7566571c174a23be50819080":[3,0,0,18,10],
"hand_8h.html#aea7ba57e47116fba93956a21de49d7a7":[3,0,0,18,12],
"hand_8h_source.html":[3,0,0,18],
"index.html":[],
"index.html":[0],
"index.html#autotoc_md1":[0,0],
"index.html#autotoc_md10":[0,5,3],
@@ -167,87 +249,5 @@ var NAVTREEINDEX1 =
"round_8c.html#ab8ce5e3b4efa05d10da22bf8e9e81599":[3,0,1,0,6,0],
"round_8c.html#abddd5bcbcc20eb4ce460d53d448acdb4":[3,0,1,0,6,8],
"round_8c.html#ac1a5bcbce9deda8ea2c07a8630a357d1":[3,0,1,0,6,30],
"round_8c.html#ac8cec2b58cfa75bf971c1013aa1e9a40":[3,0,1,0,6,21],
"round_8c.html#ac922f137d1d3ab206c5583954ba346fd":[3,0,1,0,6,23],
"round_8c.html#ac93bf760224522bf82c09b5933b3619d":[3,0,1,0,6,29],
"round_8c.html#ace375f4cc13086b5d150e53892d471f8":[3,0,1,0,6,19],
"round_8c.html#aeb9efbd6a525a3567a44fb94838ff8b4":[3,0,1,0,6,16],
"round_8c.html#af2a0cfd17eb4dd80b1a41b19fd2c4c2e":[3,0,1,0,6,7],
"round_8c.html#af765693e228f67ffcbdd74e9b2c83542":[3,0,1,0,6,28],
"round_8c.html#afe9276c4999f9a36a6a11cab49ce33d5":[3,0,1,0,6,25],
"round_8c_source.html":[3,0,1,0,6],
"round_8h.html":[3,0,0,0,6],
"round_8h.html#a2a4916e063f7e60e36f4f4f95d5a0050":[3,0,0,0,6,7],
"round_8h.html#a361ace2f170aa9e9651e2b66f1a4d613":[3,0,0,0,6,4],
"round_8h.html#a39727c2ef1584b79537ff9bee3e6a5a5":[3,0,0,0,6,5],
"round_8h.html#a502b904f74141ec81e736c49137622ef":[3,0,0,0,6,8],
"round_8h.html#a621c10d9a92f0cd0ab7a0d5a94e10410":[3,0,0,0,6,2],
"round_8h.html#a767cef821019cc29984d70192460b977":[3,0,0,0,6,3],
"round_8h.html#a8e3d34f37a1bbde2018adbe5e137022b":[3,0,0,0,6,9],
"round_8h.html#aa834c019b23c941ee96b8e51554398f7":[3,0,0,0,6,0],
"round_8h.html#ac8cec2b58cfa75bf971c1013aa1e9a40":[3,0,0,0,6,6],
"round_8h.html#af2a0cfd17eb4dd80b1a41b19fd2c4c2e":[3,0,0,0,6,1],
"round_8h_source.html":[3,0,0,0,6],
"round__end_8c_source.html":[3,0,1,0,7],
"round__end_8h.html":[3,0,0,0,7],
"round__end_8h.html#a2fb8a927165aebf53d7f93b7fee68ba1":[3,0,0,0,7,1],
"round__end_8h.html#a422af0c20ef999987ef2d1ccedc2ac54":[3,0,0,0,7,2],
"round__end_8h.html#a45620d5fc2607829039e6667bb075fab":[3,0,0,0,7,3],
"round__end_8h.html#a6cb075ed0669b4a5ec6c72ed98a3dbcd":[3,0,0,0,7,0],
"round__end_8h_source.html":[3,0,0,0,7],
"run__setup_8c.html":[3,0,1,0,8],
"run__setup_8c.html#a000f63ebfc37e17b1e2a28912a0a6bab":[3,0,1,0,8,2],
"run__setup_8c.html#a021d858e94646371f960ac039d09244d":[3,0,1,0,8,1],
"run__setup_8c.html#a07eef7cea0b26def35da2b86655297d2":[3,0,1,0,8,16],
"run__setup_8c.html#a0f1cdfa154c8147d52038214a678a6e8":[3,0,1,0,8,21],
"run__setup_8c.html#a1092fc659186157c9e79f5b8a8505e42":[3,0,1,0,8,15],
"run__setup_8c.html#a1bb89f6f4c58f40852b4447aa2f8a654":[3,0,1,0,8,28],
"run__setup_8c.html#a281f3cfe471fce066974e31091bb0ceb":[3,0,1,0,8,27],
"run__setup_8c.html#a492466e07233299a5f3e327b21ea8753":[3,0,1,0,8,34],
"run__setup_8c.html#a4df8a3b9bce679d0a1b1c0299978a666":[3,0,1,0,8,0],
"run__setup_8c.html#a4f8e645ad43810f5bc789c0385b89318":[3,0,1,0,8,20],
"run__setup_8c.html#a5712e6adfa9e02ff989a8560414276fa":[3,0,1,0,8,32],
"run__setup_8c.html#a5e67c35ecc20a331f8bfd9231584d25f":[3,0,1,0,8,22],
"run__setup_8c.html#a623cf9f201e2d3a2b715f080fe40fe37":[3,0,1,0,8,9],
"run__setup_8c.html#a8a38b7caf89af4c2de2bbfb3bfa87e69":[3,0,1,0,8,17],
"run__setup_8c.html#a8b50b61adfa7d1b1d74e2db26d8dac7f":[3,0,1,0,8,31],
"run__setup_8c.html#a8d1d910d8aacd4c97b4c7a99fe3a9a8f":[3,0,1,0,8,4],
"run__setup_8c.html#a9735699150ee3ada4348da95a030486d":[3,0,1,0,8,8],
"run__setup_8c.html#a9f8aa1689b9152706d73e32f5d237d38":[3,0,1,0,8,11],
"run__setup_8c.html#aa64f33af3c51e7fc5f9c31a6a80f0a82":[3,0,1,0,8,7],
"run__setup_8c.html#aaf56f9b6363b2ce378251ae6e2639c69":[3,0,1,0,8,13],
"run__setup_8c.html#ab295cea158b7e51055006f813e1a4d49":[3,0,1,0,8,12],
"run__setup_8c.html#ab7a3c35bc3341d32deadeac12fef46bf":[3,0,1,0,8,26],
"run__setup_8c.html#abf5ce3f9c6d21d636eb2109e3a06a7b4":[3,0,1,0,8,30],
"run__setup_8c.html#aca2f4d081e3b46eadc1517c073342e2b":[3,0,1,0,8,19],
"run__setup_8c.html#acb466f1a1cd41dd5a87f7d3a26806fde":[3,0,1,0,8,29],
"run__setup_8c.html#acfad8d64b18066b45f53097cc7a4c09f":[3,0,1,0,8,18],
"run__setup_8c.html#ad00a2328e92525b7de20c1eecf2da9bc":[3,0,1,0,8,23],
"run__setup_8c.html#ad8f373b6c06e1a2b727bdc2a39dd2cd2":[3,0,1,0,8,25],
"run__setup_8c.html#adcc3123e99b0af659149cbfa8df7d366":[3,0,1,0,8,24],
"run__setup_8c.html#adccabd02c56aed3f75638fe422e57d01":[3,0,1,0,8,3],
"run__setup_8c.html#adfb29cc263e0dfc5f4140631a2ba3dbc":[3,0,1,0,8,14],
"run__setup_8c.html#ae35eb179e3f4dcb4e6b82c71035377b4":[3,0,1,0,8,35],
"run__setup_8c.html#ae8184c5951dbadce0b185dfb21be9805":[3,0,1,0,8,6],
"run__setup_8c.html#aec2f6732aa17912485bc9df367203f67":[3,0,1,0,8,33],
"run__setup_8c.html#af189764ad43c881821e2754f046a53b8":[3,0,1,0,8,10],
"run__setup_8c.html#af7c0b838f5647c62ebcc1c7e41cd90d4":[3,0,1,0,8,5],
"run__setup_8c_source.html":[3,0,1,0,8],
"run__setup_8h.html":[3,0,0,0,8],
"run__setup_8h.html#a07eef7cea0b26def35da2b86655297d2":[3,0,0,0,8,0],
"run__setup_8h.html#a8a38b7caf89af4c2de2bbfb3bfa87e69":[3,0,0,0,8,1],
"run__setup_8h.html#aca2f4d081e3b46eadc1517c073342e2b":[3,0,0,0,8,3],
"run__setup_8h.html#acfad8d64b18066b45f53097cc7a4c09f":[3,0,0,0,8,2],
"run__setup_8h_source.html":[3,0,0,0,8],
"save_8c.html":[3,0,1,21],
"save_8c.html#a0f9f87c5b74807464390321d01eeef80":[3,0,1,21,10],
"save_8c.html#a2279e64a424ee61d2c76715b839cbf4d":[3,0,1,21,6],
"save_8c.html#a30da5688e7e13a0664958bde6af12b20":[3,0,1,21,21],
"save_8c.html#a5ecd52e574ea02292941949278d4776e":[3,0,1,21,11],
"save_8c.html#a700fd6a8d06a1534a5a66a781215b63b":[3,0,1,21,7],
"save_8c.html#a72e508492f7ca40a43660db261c47f67":[3,0,1,21,8],
"save_8c.html#a74c728ad1200cdda976410f883966567":[3,0,1,21,14],
"save_8c.html#a9e232271002ca804d61417ca6773b07a":[3,0,1,21,15],
"save_8c.html#aa7c710df5af72243541a55e499e53bd9":[3,0,1,21,9],
"save_8c.html#aaa21de2652c53c85a56f9d5af9544fe1":[3,0,1,21,12]
"round_8c.html#ac8cec2b58cfa75bf971c1013aa1e9a40":[3,0,1,0,6,21]
};

View File

@@ -1,5 +1,87 @@
var NAVTREEINDEX2 =
{
"round_8c.html#ac922f137d1d3ab206c5583954ba346fd":[3,0,1,0,6,23],
"round_8c.html#ac93bf760224522bf82c09b5933b3619d":[3,0,1,0,6,29],
"round_8c.html#ace375f4cc13086b5d150e53892d471f8":[3,0,1,0,6,19],
"round_8c.html#aeb9efbd6a525a3567a44fb94838ff8b4":[3,0,1,0,6,16],
"round_8c.html#af2a0cfd17eb4dd80b1a41b19fd2c4c2e":[3,0,1,0,6,7],
"round_8c.html#af765693e228f67ffcbdd74e9b2c83542":[3,0,1,0,6,28],
"round_8c.html#afe9276c4999f9a36a6a11cab49ce33d5":[3,0,1,0,6,25],
"round_8c_source.html":[3,0,1,0,6],
"round_8h.html":[3,0,0,0,6],
"round_8h.html#a2a4916e063f7e60e36f4f4f95d5a0050":[3,0,0,0,6,7],
"round_8h.html#a361ace2f170aa9e9651e2b66f1a4d613":[3,0,0,0,6,4],
"round_8h.html#a39727c2ef1584b79537ff9bee3e6a5a5":[3,0,0,0,6,5],
"round_8h.html#a502b904f74141ec81e736c49137622ef":[3,0,0,0,6,8],
"round_8h.html#a621c10d9a92f0cd0ab7a0d5a94e10410":[3,0,0,0,6,2],
"round_8h.html#a767cef821019cc29984d70192460b977":[3,0,0,0,6,3],
"round_8h.html#a8e3d34f37a1bbde2018adbe5e137022b":[3,0,0,0,6,9],
"round_8h.html#aa834c019b23c941ee96b8e51554398f7":[3,0,0,0,6,0],
"round_8h.html#ac8cec2b58cfa75bf971c1013aa1e9a40":[3,0,0,0,6,6],
"round_8h.html#af2a0cfd17eb4dd80b1a41b19fd2c4c2e":[3,0,0,0,6,1],
"round_8h_source.html":[3,0,0,0,6],
"round__end_8c_source.html":[3,0,1,0,7],
"round__end_8h.html":[3,0,0,0,7],
"round__end_8h.html#a2fb8a927165aebf53d7f93b7fee68ba1":[3,0,0,0,7,1],
"round__end_8h.html#a422af0c20ef999987ef2d1ccedc2ac54":[3,0,0,0,7,2],
"round__end_8h.html#a45620d5fc2607829039e6667bb075fab":[3,0,0,0,7,3],
"round__end_8h.html#a6cb075ed0669b4a5ec6c72ed98a3dbcd":[3,0,0,0,7,0],
"round__end_8h_source.html":[3,0,0,0,7],
"run__setup_8c.html":[3,0,1,0,8],
"run__setup_8c.html#a000f63ebfc37e17b1e2a28912a0a6bab":[3,0,1,0,8,2],
"run__setup_8c.html#a021d858e94646371f960ac039d09244d":[3,0,1,0,8,1],
"run__setup_8c.html#a07eef7cea0b26def35da2b86655297d2":[3,0,1,0,8,16],
"run__setup_8c.html#a0f1cdfa154c8147d52038214a678a6e8":[3,0,1,0,8,21],
"run__setup_8c.html#a1092fc659186157c9e79f5b8a8505e42":[3,0,1,0,8,15],
"run__setup_8c.html#a1bb89f6f4c58f40852b4447aa2f8a654":[3,0,1,0,8,28],
"run__setup_8c.html#a281f3cfe471fce066974e31091bb0ceb":[3,0,1,0,8,27],
"run__setup_8c.html#a492466e07233299a5f3e327b21ea8753":[3,0,1,0,8,34],
"run__setup_8c.html#a4df8a3b9bce679d0a1b1c0299978a666":[3,0,1,0,8,0],
"run__setup_8c.html#a4f8e645ad43810f5bc789c0385b89318":[3,0,1,0,8,20],
"run__setup_8c.html#a5712e6adfa9e02ff989a8560414276fa":[3,0,1,0,8,32],
"run__setup_8c.html#a5e67c35ecc20a331f8bfd9231584d25f":[3,0,1,0,8,22],
"run__setup_8c.html#a623cf9f201e2d3a2b715f080fe40fe37":[3,0,1,0,8,9],
"run__setup_8c.html#a8a38b7caf89af4c2de2bbfb3bfa87e69":[3,0,1,0,8,17],
"run__setup_8c.html#a8b50b61adfa7d1b1d74e2db26d8dac7f":[3,0,1,0,8,31],
"run__setup_8c.html#a8d1d910d8aacd4c97b4c7a99fe3a9a8f":[3,0,1,0,8,4],
"run__setup_8c.html#a9735699150ee3ada4348da95a030486d":[3,0,1,0,8,8],
"run__setup_8c.html#a9f8aa1689b9152706d73e32f5d237d38":[3,0,1,0,8,11],
"run__setup_8c.html#aa64f33af3c51e7fc5f9c31a6a80f0a82":[3,0,1,0,8,7],
"run__setup_8c.html#aaf56f9b6363b2ce378251ae6e2639c69":[3,0,1,0,8,13],
"run__setup_8c.html#ab295cea158b7e51055006f813e1a4d49":[3,0,1,0,8,12],
"run__setup_8c.html#ab7a3c35bc3341d32deadeac12fef46bf":[3,0,1,0,8,26],
"run__setup_8c.html#abf5ce3f9c6d21d636eb2109e3a06a7b4":[3,0,1,0,8,30],
"run__setup_8c.html#aca2f4d081e3b46eadc1517c073342e2b":[3,0,1,0,8,19],
"run__setup_8c.html#acb466f1a1cd41dd5a87f7d3a26806fde":[3,0,1,0,8,29],
"run__setup_8c.html#acfad8d64b18066b45f53097cc7a4c09f":[3,0,1,0,8,18],
"run__setup_8c.html#ad00a2328e92525b7de20c1eecf2da9bc":[3,0,1,0,8,23],
"run__setup_8c.html#ad8f373b6c06e1a2b727bdc2a39dd2cd2":[3,0,1,0,8,25],
"run__setup_8c.html#adcc3123e99b0af659149cbfa8df7d366":[3,0,1,0,8,24],
"run__setup_8c.html#adccabd02c56aed3f75638fe422e57d01":[3,0,1,0,8,3],
"run__setup_8c.html#adfb29cc263e0dfc5f4140631a2ba3dbc":[3,0,1,0,8,14],
"run__setup_8c.html#ae35eb179e3f4dcb4e6b82c71035377b4":[3,0,1,0,8,35],
"run__setup_8c.html#ae8184c5951dbadce0b185dfb21be9805":[3,0,1,0,8,6],
"run__setup_8c.html#aec2f6732aa17912485bc9df367203f67":[3,0,1,0,8,33],
"run__setup_8c.html#af189764ad43c881821e2754f046a53b8":[3,0,1,0,8,10],
"run__setup_8c.html#af7c0b838f5647c62ebcc1c7e41cd90d4":[3,0,1,0,8,5],
"run__setup_8c_source.html":[3,0,1,0,8],
"run__setup_8h.html":[3,0,0,0,8],
"run__setup_8h.html#a07eef7cea0b26def35da2b86655297d2":[3,0,0,0,8,0],
"run__setup_8h.html#a8a38b7caf89af4c2de2bbfb3bfa87e69":[3,0,0,0,8,1],
"run__setup_8h.html#aca2f4d081e3b46eadc1517c073342e2b":[3,0,0,0,8,3],
"run__setup_8h.html#acfad8d64b18066b45f53097cc7a4c09f":[3,0,0,0,8,2],
"run__setup_8h_source.html":[3,0,0,0,8],
"save_8c.html":[3,0,1,21],
"save_8c.html#a0f9f87c5b74807464390321d01eeef80":[3,0,1,21,10],
"save_8c.html#a2279e64a424ee61d2c76715b839cbf4d":[3,0,1,21,6],
"save_8c.html#a30da5688e7e13a0664958bde6af12b20":[3,0,1,21,21],
"save_8c.html#a5ecd52e574ea02292941949278d4776e":[3,0,1,21,11],
"save_8c.html#a700fd6a8d06a1534a5a66a781215b63b":[3,0,1,21,7],
"save_8c.html#a72e508492f7ca40a43660db261c47f67":[3,0,1,21,8],
"save_8c.html#a74c728ad1200cdda976410f883966567":[3,0,1,21,14],
"save_8c.html#a9e232271002ca804d61417ca6773b07a":[3,0,1,21,15],
"save_8c.html#aa7c710df5af72243541a55e499e53bd9":[3,0,1,21,9],
"save_8c.html#aaa21de2652c53c85a56f9d5af9544fe1":[3,0,1,21,12],
"save_8c.html#ac26962eff871bc587f90a94b6eef1aaf":[3,0,1,21,13],
"save_8c.html#ac6be8ba75db77c350611aa6a05a923b3":[3,0,1,21,19],
"save_8c.html#acab90751e92c8ddb2bdf741c6d51245a":[3,0,1,21,4],
@@ -167,44 +249,5 @@ var NAVTREEINDEX2 =
"structSprite.html#abdcca0516e817f6f84009b3ace44c495":[2,0,31,2],
"structSprite.html#ae40354a1051342eb5a9db005715dcfa9":[2,0,31,1],
"structSpriteObject.html":[2,0,32],
"structSpriteObject.html#a2017b28962f789e15c45963f8f25b5d8":[2,0,32,10],
"structSpriteObject.html#a2a19dbfcd2235def5967609ab0c7901a":[2,0,32,0],
"structSpriteObject.html#a2a1e7cf65a6914eba92bb4de0d1eae1e":[2,0,32,8],
"structSpriteObject.html#a512a0f0a39ad91987d003f5f8e7f86ae":[2,0,32,1],
"structSpriteObject.html#a53ba73970f94c3b60071771a6a2e26ab":[2,0,32,6],
"structSpriteObject.html#a5da2ef686423fa4bcc6f39c2416e0039":[2,0,32,4],
"structSpriteObject.html#a6dc35dca53ed4cb47eb805c568f2b344":[2,0,32,9],
"structSpriteObject.html#a6fd1da2014d2160d199c728234245594":[2,0,32,2],
"structSpriteObject.html#a7c54302f990f134ca6e37a2e9ef9999d":[2,0,32,3],
"structSpriteObject.html#a9fac583aa7e114c134394f42e81e4253":[2,0,32,5],
"structSpriteObject.html#abcd79dc8fb5a88ef150ad56c2efcaea7":[2,0,32,7],
"structStateInfo.html":[2,0,33],
"structStateMachine.html":[2,0,34],
"structStateMachine.html#a007fb62416ee346877fa244b16fc8947":[2,0,34,4],
"structStateMachine.html#a32f2643fcbe23cdff8e2da2214c6404a":[2,0,34,2],
"structStateMachine.html#a89f234133d3efe315836311cbf21c64b":[2,0,34,3],
"structStateMachine.html#aa4b2efb54ccb39bbc11dbcfca604fe4e":[2,0,34,1],
"structStateMachine.html#aeb77f1f4212a2c38b9f2015523c79a2f":[2,0,34,0],
"timer_8h.html":[3,0,0,33],
"timer_8h_source.html":[3,0,0,33],
"util_8c_source.html":[3,0,1,26],
"util_8h.html":[3,0,0,34],
"util_8h.html#a16040ec01b3f3d4d27f3576fa5cfa26a":[3,0,0,34,9],
"util_8h.html#a1ad066a26dc9475293bfea55b96973ca":[3,0,0,34,11],
"util_8h.html#a1ce076ed9d155bf8e50c66f6f6c24d5d":[3,0,0,34,3],
"util_8h.html#a3494fcb52c3d0ca1bf610facc8c81514":[3,0,0,34,4],
"util_8h.html#a410cc1e92bb72bede52fbda4f69a6a89":[3,0,0,34,10],
"util_8h.html#a481a57617133b2772dd268c341ec98cf":[3,0,0,34,0],
"util_8h.html#a532ad828cb5176e78825f0a9230312d2":[3,0,0,34,1],
"util_8h.html#a55717746a1b3f98855213356b0aabde8":[3,0,0,34,6],
"util_8h.html#a5875cff92160238ea730aba85090f224":[3,0,0,34,8],
"util_8h.html#a75d2bcf3ada5a77afd676b0c7209556a":[3,0,0,34,7],
"util_8h.html#a8c5ff70b6b28cd0157c50a22406f92c4":[3,0,0,34,5],
"util_8h.html#aabfb019556c44576446cc201a0ac5459":[3,0,0,34,2],
"util_8h.html#af3c969df4739f51591b50af83c57bdf3":[3,0,0,34,12],
"util_8h.html#afebec7bef641870e5c6f83e0ccc21ed4":[3,0,0,34,13],
"util_8h_source.html":[3,0,0,34],
"version_8c_source.html":[3,0,1,27],
"version_8h.html":[3,0,0,35],
"version_8h_source.html":[3,0,0,35]
"structSpriteObject.html#a2017b28962f789e15c45963f8f25b5d8":[2,0,32,10]
};

42
navtreeindex3.js Normal file
View File

@@ -0,0 +1,42 @@
var NAVTREEINDEX3 =
{
"structSpriteObject.html#a2a19dbfcd2235def5967609ab0c7901a":[2,0,32,0],
"structSpriteObject.html#a2a1e7cf65a6914eba92bb4de0d1eae1e":[2,0,32,8],
"structSpriteObject.html#a512a0f0a39ad91987d003f5f8e7f86ae":[2,0,32,1],
"structSpriteObject.html#a53ba73970f94c3b60071771a6a2e26ab":[2,0,32,6],
"structSpriteObject.html#a5da2ef686423fa4bcc6f39c2416e0039":[2,0,32,4],
"structSpriteObject.html#a6dc35dca53ed4cb47eb805c568f2b344":[2,0,32,9],
"structSpriteObject.html#a6fd1da2014d2160d199c728234245594":[2,0,32,2],
"structSpriteObject.html#a7c54302f990f134ca6e37a2e9ef9999d":[2,0,32,3],
"structSpriteObject.html#a9fac583aa7e114c134394f42e81e4253":[2,0,32,5],
"structSpriteObject.html#abcd79dc8fb5a88ef150ad56c2efcaea7":[2,0,32,7],
"structStateInfo.html":[2,0,33],
"structStateMachine.html":[2,0,34],
"structStateMachine.html#a007fb62416ee346877fa244b16fc8947":[2,0,34,4],
"structStateMachine.html#a32f2643fcbe23cdff8e2da2214c6404a":[2,0,34,2],
"structStateMachine.html#a89f234133d3efe315836311cbf21c64b":[2,0,34,3],
"structStateMachine.html#aa4b2efb54ccb39bbc11dbcfca604fe4e":[2,0,34,1],
"structStateMachine.html#aeb77f1f4212a2c38b9f2015523c79a2f":[2,0,34,0],
"timer_8h.html":[3,0,0,33],
"timer_8h_source.html":[3,0,0,33],
"util_8c_source.html":[3,0,1,26],
"util_8h.html":[3,0,0,34],
"util_8h.html#a16040ec01b3f3d4d27f3576fa5cfa26a":[3,0,0,34,9],
"util_8h.html#a1ad066a26dc9475293bfea55b96973ca":[3,0,0,34,11],
"util_8h.html#a1ce076ed9d155bf8e50c66f6f6c24d5d":[3,0,0,34,3],
"util_8h.html#a3494fcb52c3d0ca1bf610facc8c81514":[3,0,0,34,4],
"util_8h.html#a410cc1e92bb72bede52fbda4f69a6a89":[3,0,0,34,10],
"util_8h.html#a481a57617133b2772dd268c341ec98cf":[3,0,0,34,0],
"util_8h.html#a532ad828cb5176e78825f0a9230312d2":[3,0,0,34,1],
"util_8h.html#a55717746a1b3f98855213356b0aabde8":[3,0,0,34,6],
"util_8h.html#a5875cff92160238ea730aba85090f224":[3,0,0,34,8],
"util_8h.html#a75d2bcf3ada5a77afd676b0c7209556a":[3,0,0,34,7],
"util_8h.html#a8c5ff70b6b28cd0157c50a22406f92c4":[3,0,0,34,5],
"util_8h.html#aabfb019556c44576446cc201a0ac5459":[3,0,0,34,2],
"util_8h.html#af3c969df4739f51591b50af83c57bdf3":[3,0,0,34,12],
"util_8h.html#afebec7bef641870e5c6f83e0ccc21ed4":[3,0,0,34,13],
"util_8h_source.html":[3,0,0,34],
"version_8c_source.html":[3,0,1,27],
"version_8h.html":[3,0,0,35],
"version_8h_source.html":[3,0,0,35]
};

View File

@@ -344,7 +344,7 @@ Functions</h2></td></tr>
<tr class="memitem:a26f0bf5ed4483f41155e1b2fd9aadbe3" id="r_a26f0bf5ed4483f41155e1b2fd9aadbe3"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="round_8c.html#a26f0bf5ed4483f41155e1b2fd9aadbe3">game_round_ui_text_update</a> (void)</td></tr>
<tr class="separator:a26f0bf5ed4483f41155e1b2fd9aadbe3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e3d34f37a1bbde2018adbe5e137022b" id="r_a8e3d34f37a1bbde2018adbe5e137022b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="round_8c.html#a8e3d34f37a1bbde2018adbe5e137022b">toggle_flaming_score</a> (void)</td></tr>
<tr class="memdesc:a8e3d34f37a1bbde2018adbe5e137022b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the score that would result from the current Chips and Mult exceeds the current <a class="el" href="structBlind.html">Blind</a>'s score requirement, and applies the flaming effect if needed. <br /></td></tr>
<tr class="memdesc:a8e3d34f37a1bbde2018adbe5e137022b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the score that would result from the current Chips and Mult exceeds the current <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a>'s score requirement, and applies the flaming effect if needed. <br /></td></tr>
<tr class="separator:a8e3d34f37a1bbde2018adbe5e137022b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb99539da1f592bbd9f23c10aa739b18" id="r_adb99539da1f592bbd9f23c10aa739b18"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="round_8c.html#adb99539da1f592bbd9f23c10aa739b18">game_round_process_flaming_score</a> (void)</td></tr>
<tr class="separator:adb99539da1f592bbd9f23c10aa739b18"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -2728,7 +2728,7 @@ Variables</h2></td></tr>
</table>
</div><div class="memdoc">
<p>Checks whether the score that would result from the current Chips and Mult exceeds the current <a class="el" href="structBlind.html">Blind</a>'s score requirement, and applies the flaming effect if needed. </p>
<p>Checks whether the score that would result from the current Chips and Mult exceeds the current <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a>'s score requirement, and applies the flaming effect if needed. </p>
<p class="definition">Definition at line <a class="el" href="round_8c_source.html#l01425">1425</a> of file <a class="el" href="round_8c_source.html">round.c</a>.</p>

View File

@@ -507,17 +507,17 @@ $(document).ready(function(){initNavTree('round_8c_source.html',''); initResizab
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span> <span class="comment">// doesn&#39;t use the blind token&#39;s exact colors so a different approach is required</span></div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span> memset16(</div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span> &amp;pal_bg_mem[BLIND_BG_PRIMARY_PAL_IDX],</div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span> blind_get_color(g_game_vars.current_blind, BLIND_BACKGROUND_MAIN_COLOR_INDEX),</div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span> <a class="code hl_function" href="blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind_get_color</a>(g_game_vars.current_blind, BLIND_BACKGROUND_MAIN_COLOR_INDEX),</div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span> 1</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> memset16(</div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span> &amp;pal_bg_mem[BLIND_BG_SECONDARY_PAL_IDX],</div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span> blind_get_color(g_game_vars.current_blind, BLIND_BACKGROUND_SECONDARY_COLOR_INDEX),</div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span> <a class="code hl_function" href="blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind_get_color</a>(g_game_vars.current_blind, BLIND_BACKGROUND_SECONDARY_COLOR_INDEX),</div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span> 1</div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span> );</div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> memset16(</div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span> &amp;pal_bg_mem[BLIND_BG_SHADOW_PAL_IDX],</div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span> blind_get_color(g_game_vars.current_blind, BLIND_BACKGROUND_SHADOW_COLOR_INDEX),</div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span> <a class="code hl_function" href="blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind_get_color</a>(g_game_vars.current_blind, BLIND_BACKGROUND_SHADOW_COLOR_INDEX),</div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"> 390</span> 1</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> </div>
@@ -839,7 +839,7 @@ $(document).ready(function(){initNavTree('round_8c_source.html',''); initResizab
<div class="line"><a id="l00724" name="l00724"></a><span class="lineno"> 724</span>{</div>
<div class="line"><a id="l00725" name="l00725"></a><span class="lineno"> 725</span> <span class="keyword">enum</span> GameState next_state = GAME_STATE_ROUND_END;</div>
<div class="line"><a id="l00726" name="l00726"></a><span class="lineno"> 726</span> </div>
<div class="line"><a id="l00727" name="l00727"></a><span class="lineno"> 727</span> <span class="keywordflow">if</span> (g_game_vars.score &gt;= blind_get_requirement(g_game_vars.current_blind, g_game_vars.ante))</div>
<div class="line"><a id="l00727" name="l00727"></a><span class="lineno"> 727</span> <span class="keywordflow">if</span> (g_game_vars.score &gt;= <a class="code hl_function" href="blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4">blind_get_requirement</a>(g_game_vars.current_blind, g_game_vars.ante))</div>
<div class="line"><a id="l00728" name="l00728"></a><span class="lineno"> 728</span> {</div>
<div class="line"><a id="l00729" name="l00729"></a><span class="lineno"> 729</span> <span class="keywordflow">if</span> (g_game_vars.current_blind &gt; BLIND_TYPE_BIG)</div>
<div class="line"><a id="l00730" name="l00730"></a><span class="lineno"> 730</span> {</div>
@@ -849,7 +849,7 @@ $(document).ready(function(){initNavTree('round_8c_source.html',''); initResizab
<div class="line"><a id="l00734" name="l00734"></a><span class="lineno"> 734</span> display_ante();</div>
<div class="line"><a id="l00735" name="l00735"></a><span class="lineno"> 735</span> </div>
<div class="line"><a id="l00736" name="l00736"></a><span class="lineno"> 736</span> <span class="comment">// mark current boss blind as beaten and allow for reroll</span></div>
<div class="line"><a id="l00737" name="l00737"></a><span class="lineno"> 737</span> set_blind_beaten(g_game_vars.next_boss_blind);</div>
<div class="line"><a id="l00737" name="l00737"></a><span class="lineno"> 737</span> <a class="code hl_function" href="blind_8h.html#ad5c80cb82487220cada4920ecf037f9e">set_blind_beaten</a>(g_game_vars.next_boss_blind);</div>
<div class="line"><a id="l00738" name="l00738"></a><span class="lineno"> 738</span> }</div>
<div class="line"><a id="l00739" name="l00739"></a><span class="lineno"> 739</span> <span class="keywordflow">else</span></div>
<div class="line"><a id="l00740" name="l00740"></a><span class="lineno"> 740</span> {</div>
@@ -1161,7 +1161,7 @@ $(document).ready(function(){initNavTree('round_8c_source.html',''); initResizab
<div class="line"><a id="l01049" name="l01049"></a><span class="lineno"><a class="line" href="round_8c.html#a032572052cdd083dd00a3a515c53b34b"> 1049</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="round_8c.html#a032572052cdd083dd00a3a515c53b34b">game_round_is_over</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l01050" name="l01050"></a><span class="lineno"> 1050</span>{</div>
<div class="line"><a id="l01051" name="l01051"></a><span class="lineno"> 1051</span> <span class="keywordflow">return</span> g_game_vars.hands == 0 ||</div>
<div class="line"><a id="l01052" name="l01052"></a><span class="lineno"> 1052</span> g_game_vars.score &gt;= blind_get_requirement(g_game_vars.current_blind, g_game_vars.ante);</div>
<div class="line"><a id="l01052" name="l01052"></a><span class="lineno"> 1052</span> g_game_vars.score &gt;= <a class="code hl_function" href="blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4">blind_get_requirement</a>(g_game_vars.current_blind, g_game_vars.ante);</div>
<div class="line"><a id="l01053" name="l01053"></a><span class="lineno"> 1053</span>}</div>
</div>
<div class="line"><a id="l01054" name="l01054"></a><span class="lineno"> 1054</span> </div>
@@ -1537,7 +1537,7 @@ $(document).ready(function(){initNavTree('round_8c_source.html',''); initResizab
<div class="line"><a id="l01425" name="l01425"></a><span class="lineno"><a class="line" href="round_8h.html#a8e3d34f37a1bbde2018adbe5e137022b"> 1425</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="round_8c.html#a8e3d34f37a1bbde2018adbe5e137022b">toggle_flaming_score</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l01426" name="l01426"></a><span class="lineno"> 1426</span>{</div>
<div class="line"><a id="l01427" name="l01427"></a><span class="lineno"> 1427</span> u32 curr_score = <a class="code hl_function" href="util_8h.html#af3c969df4739f51591b50af83c57bdf3">u32_protected_mult</a>(g_game_vars.chips, g_game_vars.mult);</div>
<div class="line"><a id="l01428" name="l01428"></a><span class="lineno"> 1428</span> u32 required_score = blind_get_requirement(g_game_vars.current_blind, g_game_vars.ante);</div>
<div class="line"><a id="l01428" name="l01428"></a><span class="lineno"> 1428</span> u32 required_score = <a class="code hl_function" href="blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4">blind_get_requirement</a>(g_game_vars.current_blind, g_game_vars.ante);</div>
<div class="line"><a id="l01429" name="l01429"></a><span class="lineno"> 1429</span> <span class="keywordflow">if</span> (curr_score &gt;= required_score &amp;&amp; !s_score_flames_active)</div>
<div class="line"><a id="l01430" name="l01430"></a><span class="lineno"> 1430</span> {</div>
<div class="line"><a id="l01431" name="l01431"></a><span class="lineno"> 1431</span> <span class="comment">// start flaming score</span></div>
@@ -2052,7 +2052,7 @@ $(document).ready(function(){initNavTree('round_8c_source.html',''); initResizab
<div class="line"><a id="l01981" name="l01981"></a><span class="lineno"> 1981</span> s_cards_drawn = 0;</div>
<div class="line"><a id="l01982" name="l01982"></a><span class="lineno"> 1982</span> </div>
<div class="line"><a id="l01983" name="l01983"></a><span class="lineno"> 1983</span> <a class="code hl_function" href="sprite_8h.html#abbbc989fe5cd8e1e93f9784e1048be47">sprite_destroy</a>(&amp;g_game_vars.playing_blind_token);</div>
<div class="line"><a id="l01984" name="l01984"></a><span class="lineno"> 1984</span> g_game_vars.playing_blind_token = blind_token_new(</div>
<div class="line"><a id="l01984" name="l01984"></a><span class="lineno"> 1984</span> g_game_vars.playing_blind_token = <a class="code hl_function" href="blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b">blind_token_new</a>(</div>
<div class="line"><a id="l01985" name="l01985"></a><span class="lineno"> 1985</span> g_game_vars.current_blind,</div>
<div class="line"><a id="l01986" name="l01986"></a><span class="lineno"> 1986</span> CUR_BLIND_TOKEN_POS.x,</div>
<div class="line"><a id="l01987" name="l01987"></a><span class="lineno"> 1987</span> CUR_BLIND_TOKEN_POS.y,</div>
@@ -2064,7 +2064,7 @@ $(document).ready(function(){initNavTree('round_8c_source.html',''); initResizab
<div class="line"><a id="l01993" name="l01993"></a><span class="lineno"> 1993</span> <span class="comment">// obj_hide(g_game_vars.playing_blind_token-&gt;obj); // Hide the blind token sprite for now</span></div>
<div class="line"><a id="l01994" name="l01994"></a><span class="lineno"> 1994</span> <span class="comment">//}</span></div>
<div class="line"><a id="l01995" name="l01995"></a><span class="lineno"> 1995</span> <a class="code hl_function" href="sprite_8h.html#abbbc989fe5cd8e1e93f9784e1048be47">sprite_destroy</a>(&amp;g_game_vars.round_end_blind_token);</div>
<div class="line"><a id="l01996" name="l01996"></a><span class="lineno"> 1996</span> g_game_vars.round_end_blind_token = blind_token_new(</div>
<div class="line"><a id="l01996" name="l01996"></a><span class="lineno"> 1996</span> g_game_vars.round_end_blind_token = <a class="code hl_function" href="blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b">blind_token_new</a>(</div>
<div class="line"><a id="l01997" name="l01997"></a><span class="lineno"> 1997</span> g_game_vars.current_blind,</div>
<div class="line"><a id="l01998" name="l01998"></a><span class="lineno"> 1998</span> 81,</div>
<div class="line"><a id="l01999" name="l01999"></a><span class="lineno"> 1999</span> 86,</div>
@@ -2077,7 +2077,7 @@ $(document).ready(function(){initNavTree('round_8c_source.html',''); initResizab
<div class="line"><a id="l02006" name="l02006"></a><span class="lineno"> 2006</span> }</div>
<div class="line"><a id="l02007" name="l02007"></a><span class="lineno"> 2007</span> </div>
<div class="line"><a id="l02008" name="l02008"></a><span class="lineno"> 2008</span> Rect blind_req_text_rect = BLIND_REQ_TEXT_RECT;</div>
<div class="line"><a id="l02009" name="l02009"></a><span class="lineno"> 2009</span> u32 blind_requirement = blind_get_requirement(g_game_vars.current_blind, g_game_vars.ante);</div>
<div class="line"><a id="l02009" name="l02009"></a><span class="lineno"> 2009</span> u32 blind_requirement = <a class="code hl_function" href="blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4">blind_get_requirement</a>(g_game_vars.current_blind, g_game_vars.ante);</div>
<div class="line"><a id="l02010" name="l02010"></a><span class="lineno"> 2010</span> </div>
<div class="line"><a id="l02011" name="l02011"></a><span class="lineno"> 2011</span> <span class="keywordtype">char</span> blind_req_str_buff[UINT_MAX_DIGITS + 1];</div>
<div class="line"><a id="l02012" name="l02012"></a><span class="lineno"> 2012</span> </div>
@@ -2102,7 +2102,7 @@ $(document).ready(function(){initNavTree('round_8c_source.html',''); initResizab
<div class="line"><a id="l02031" name="l02031"></a><span class="lineno"> 2031</span> BLIND_REWARD_RECT.left,</div>
<div class="line"><a id="l02032" name="l02032"></a><span class="lineno"> 2032</span> BLIND_REWARD_RECT.top,</div>
<div class="line"><a id="l02033" name="l02033"></a><span class="lineno"> 2033</span> TTE_YELLOW_PB,</div>
<div class="line"><a id="l02034" name="l02034"></a><span class="lineno"> 2034</span> blind_get_reward(g_game_vars.current_blind)</div>
<div class="line"><a id="l02034" name="l02034"></a><span class="lineno"> 2034</span> <a class="code hl_function" href="blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind_get_reward</a>(g_game_vars.current_blind)</div>
<div class="line"><a id="l02035" name="l02035"></a><span class="lineno"> 2035</span> ); <span class="comment">// Blind reward</span></div>
<div class="line"><a id="l02036" name="l02036"></a><span class="lineno"> 2036</span> </div>
<div class="line"><a id="l02037" name="l02037"></a><span class="lineno"> 2037</span> deck_shuffle(); <span class="comment">// Shuffle the deck at the start of the round</span></div>
@@ -2152,6 +2152,11 @@ $(document).ready(function(){initNavTree('round_8c_source.html',''); initResizab
<div class="ttc" id="aaudio__utils_8h_html_a44f88da4c9f39b9c23c11f565a4f5fc2"><div class="ttname"><a href="audio__utils_8h.html#a44f88da4c9f39b9c23c11f565a4f5fc2">MM_BASE_PITCH_RATE</a></div><div class="ttdeci">#define MM_BASE_PITCH_RATE</div><div class="ttdoc">The default pitch rate for the sound effect played.</div><div class="ttdef"><b>Definition</b> <a href="audio__utils_8h_source.html#l00037">audio_utils.h:37</a></div></div>
<div class="ttc" id="aaudio__utils_8h_html_aad23876e6c46c118561c5c6733c39d69"><div class="ttname"><a href="audio__utils_8h.html#aad23876e6c46c118561c5c6733c39d69">play_sfx</a></div><div class="ttdeci">void play_sfx(mm_word id, mm_word rate, mm_byte volume)</div><div class="ttdoc">Play a sound effect, wrapper for mmEffectEx() See https://maxmod.org/ref/functions/mm_sound_effect....</div><div class="ttdef"><b>Definition</b> <a href="audio__utils_8c_source.html#l00103">audio_utils.c:103</a></div></div>
<div class="ttc" id="aaudio__utils_8h_html_ada4aed6bf6aa0cfb9b37e393f4c9de86"><div class="ttname"><a href="audio__utils_8h.html#ada4aed6bf6aa0cfb9b37e393f4c9de86">SFX_DEFAULT_VOLUME</a></div><div class="ttdeci">#define SFX_DEFAULT_VOLUME</div><div class="ttdoc">Default volume for sound effects.</div><div class="ttdef"><b>Definition</b> <a href="audio__utils_8h_source.html#l00043">audio_utils.h:43</a></div></div>
<div class="ttc" id="ablind_8h_html_a6d39b4ae4ca73f51bb2d3bc4b7687473"><div class="ttname"><a href="blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473">blind_get_color</a></div><div class="ttdeci">u16 blind_get_color(enum BlindType type, enum BlindColorIndex index)</div><div class="ttdoc">Get the color associated with a given Blind.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00218">blind.c:218</a></div></div>
<div class="ttc" id="ablind_8h_html_a85fefafb15d88f710cbe1183ac34f3f4"><div class="ttname"><a href="blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4">blind_get_requirement</a></div><div class="ttdeci">u32 blind_get_requirement(enum BlindType type, int ante)</div><div class="ttdoc">Get the score required to beat a certain blind (either the Small, Big, or any Boss/Showdown blind) at...</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00106">blind.c:106</a></div></div>
<div class="ttc" id="ablind_8h_html_accef25c77a0711a7f6ab7f2a4774ae9b"><div class="ttname"><a href="blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b">blind_token_new</a></div><div class="ttdeci">Sprite * blind_token_new(enum BlindType type, int x, int y, enum BlindTokenLayers sprite_index)</div><div class="ttdoc">Create a new BlindToken sprite.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00281">blind.c:281</a></div></div>
<div class="ttc" id="ablind_8h_html_ad5c80cb82487220cada4920ecf037f9e"><div class="ttname"><a href="blind_8h.html#ad5c80cb82487220cada4920ecf037f9e">set_blind_beaten</a></div><div class="ttdeci">void set_blind_beaten(enum BlindType type)</div><div class="ttdoc">Remove the given Blind from the corresponding List so that we don't roll it again in the future.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00180">blind.c:180</a></div></div>
<div class="ttc" id="ablind_8h_html_af2031f17bfb33cfe0a1815fa66b8bde6"><div class="ttname"><a href="blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind_get_reward</a></div><div class="ttdeci">int blind_get_reward(enum BlindType type)</div><div class="ttdoc">Get the amount of money gained from beating a certain Blind.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00115">blind.c:115</a></div></div>
<div class="ttc" id="abutton_8h_html"><div class="ttname"><a href="button_8h.html">button.h</a></div><div class="ttdoc">A button structure containing the common button functionalities Including highlight and pressing func...</div></div>
<div class="ttc" id="abutton_8h_html_a071a4d1bf72a16a7f4a4153722ce36db"><div class="ttname"><a href="button_8h.html#a071a4d1bf72a16a7f4a4153722ce36db">button_press</a></div><div class="ttdeci">void button_press(Button *button)</div><div class="ttdoc">Execute a button press, by calling the button's on_pressed function. This checks the button's can_be_...</div><div class="ttdef"><b>Definition</b> <a href="button_8c_source.html#l00018">button.c:18</a></div></div>
<div class="ttc" id="abutton_8h_html_ab07bc69b92e6642e2b986debfb152e48"><div class="ttname"><a href="button_8h.html#ab07bc69b92e6642e2b986debfb152e48">button_set_highlight</a></div><div class="ttdeci">void button_set_highlight(Button *button, bool highlight)</div><div class="ttdoc">Set the button highlight on or off.</div><div class="ttdef"><b>Definition</b> <a href="button_8c_source.html#l00008">button.c:8</a></div></div>

View File

@@ -145,7 +145,7 @@ $(document).ready(function(){initNavTree('round_8h.html',''); initResizable(); }
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a8e3d34f37a1bbde2018adbe5e137022b" id="r_a8e3d34f37a1bbde2018adbe5e137022b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="round_8h.html#a8e3d34f37a1bbde2018adbe5e137022b">toggle_flaming_score</a> (void)</td></tr>
<tr class="memdesc:a8e3d34f37a1bbde2018adbe5e137022b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the score that would result from the current Chips and Mult exceeds the current <a class="el" href="structBlind.html">Blind</a>'s score requirement, and applies the flaming effect if needed. <br /></td></tr>
<tr class="memdesc:a8e3d34f37a1bbde2018adbe5e137022b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the score that would result from the current Chips and Mult exceeds the current <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a>'s score requirement, and applies the flaming effect if needed. <br /></td></tr>
<tr class="separator:a8e3d34f37a1bbde2018adbe5e137022b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8cec2b58cfa75bf971c1013aa1e9a40" id="r_ac8cec2b58cfa75bf971c1013aa1e9a40"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="round_8h.html#ac8cec2b58cfa75bf971c1013aa1e9a40">get_played_top</a> (void)</td></tr>
<tr class="memdesc:ac8cec2b58cfa75bf971c1013aa1e9a40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the index of the last played card. <br /></td></tr>
@@ -404,7 +404,7 @@ Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p>Checks whether the score that would result from the current Chips and Mult exceeds the current <a class="el" href="structBlind.html">Blind</a>'s score requirement, and applies the flaming effect if needed. </p>
<p>Checks whether the score that would result from the current Chips and Mult exceeds the current <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a>'s score requirement, and applies the flaming effect if needed. </p>
<p class="definition">Definition at line <a class="el" href="round_8c_source.html#l01425">1425</a> of file <a class="el" href="round_8c_source.html">round.c</a>.</p>

View File

@@ -237,7 +237,7 @@ $(document).ready(function(){initNavTree('round__end_8c_source.html',''); initRe
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <a class="code hl_function" href="common__ui_8h.html#a7cc065b753e494969940447dfb3fb599">change_background</a>(BG_ROUND_END, <span class="keyword">false</span>); <span class="comment">// Change the background to the round end background</span></div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <a class="code hl_function" href="state__machine_8h.html#ac887ec8b325e136d801a6d1c30e55d15">state_machine_change_state</a>(&amp;round_end_sm, START_EXPAND_POPUP);</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> g_game_vars.timer = TM_ZERO; <span class="comment">// Reset the timer</span></div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> blind_reward = blind_get_reward(g_game_vars.current_blind);</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> blind_reward = <a class="code hl_function" href="blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind_get_reward</a>(g_game_vars.current_blind);</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> hand_reward = g_game_vars.hands;</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> interest_reward = calculate_interest_reward();</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> interest_to_count = interest_reward;</div>
@@ -267,7 +267,7 @@ $(document).ready(function(){initNavTree('round__end_8c_source.html',''); initRe
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> current_ante--;</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> Rect blind_req_rect = ROUND_END_BLIND_REQ_RECT;</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> u32 blind_req = blind_get_requirement(g_game_vars.current_blind, current_ante);</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> u32 blind_req = <a class="code hl_function" href="blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4">blind_get_requirement</a>(g_game_vars.current_blind, current_ante);</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> <span class="comment">/* Not bothering to truncate here because there are 8 tiles</span></div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span><span class="comment"> * and the blind requirement will not increase past ante 8</span></div>
@@ -341,7 +341,7 @@ $(document).ready(function(){initNavTree('round__end_8c_source.html',''); initRe
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> ROUND_END_BLIND_REWARD_RECT.left,</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> ROUND_END_BLIND_REWARD_RECT.top,</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> TTE_YELLOW_PB,</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> blind_get_reward(g_game_vars.current_blind) - blind_reward</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> <a class="code hl_function" href="blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind_get_reward</a>(g_game_vars.current_blind) - blind_reward</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> );</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> }</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (g_game_vars.timer &gt; FRAMES(20))</div>
@@ -508,7 +508,7 @@ $(document).ready(function(){initNavTree('round__end_8c_source.html',''); initRe
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> game_round_end_cashout(<span class="keywordtype">void</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"> 370</span> <span class="comment">// Reward the player</span></div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> g_game_vars.money += g_game_vars.hands + blind_get_reward(g_game_vars.current_blind) +</div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> g_game_vars.money += g_game_vars.hands + <a class="code hl_function" href="blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind_get_reward</a>(g_game_vars.current_blind) +</div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"> 372</span> calculate_interest_reward();</div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"> 373</span> display_money();</div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"> 374</span> </div>
@@ -529,7 +529,7 @@ $(document).ready(function(){initNavTree('round__end_8c_source.html',''); initRe
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span> <span class="comment">// Put the &quot;cash out&quot; button onto the round end panel</span></div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"> 390</span> <a class="code hl_function" href="graphic__utils_8h.html#a71f811b27a9e3895ab0be4dc68f51405">main_bg_se_copy_expand_3x3_rect</a>(CASHOUT_DEST_RECT, CASHOUT_SRC_3X3_RECT_POS);</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> <span class="keywordtype">int</span> cashout_amount = g_game_vars.hands + blind_get_reward(g_game_vars.current_blind) +</div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"> 392</span> <span class="keywordtype">int</span> cashout_amount = g_game_vars.hands + <a class="code hl_function" href="blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind_get_reward</a>(g_game_vars.current_blind) +</div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span> calculate_interest_reward();</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> <span class="keywordtype">bool</span> omit_space = cashout_amount &gt;= 10;</div>
@@ -620,6 +620,8 @@ $(document).ready(function(){initNavTree('round__end_8c_source.html',''); initRe
</div>
<div class="ttc" id="aaffine__background_8h_html"><div class="ttname"><a href="affine__background_8h.html">affine_background.h</a></div><div class="ttdoc">Utilities for affine background on GBA.</div></div>
<div class="ttc" id="aaffine__background_8h_html_ad1390b2f0cb79fba57be0eb5663b2d76"><div class="ttname"><a href="affine__background_8h.html#ad1390b2f0cb79fba57be0eb5663b2d76">affine_background_load_palette</a></div><div class="ttdeci">void affine_background_load_palette(const u16 *src)</div><div class="ttdoc">Set the background palette.</div><div class="ttdef"><b>Definition</b> <a href="affine__background_8c_source.html#l00076">affine_background.c:76</a></div></div>
<div class="ttc" id="ablind_8h_html_a85fefafb15d88f710cbe1183ac34f3f4"><div class="ttname"><a href="blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4">blind_get_requirement</a></div><div class="ttdeci">u32 blind_get_requirement(enum BlindType type, int ante)</div><div class="ttdoc">Get the score required to beat a certain blind (either the Small, Big, or any Boss/Showdown blind) at...</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00106">blind.c:106</a></div></div>
<div class="ttc" id="ablind_8h_html_af2031f17bfb33cfe0a1815fa66b8bde6"><div class="ttname"><a href="blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6">blind_get_reward</a></div><div class="ttdeci">int blind_get_reward(enum BlindType type)</div><div class="ttdoc">Get the amount of money gained from beating a certain Blind.</div><div class="ttdef"><b>Definition</b> <a href="blind_8c_source.html#l00115">blind.c:115</a></div></div>
<div class="ttc" id="acommon__ui_8h_html_a7cc065b753e494969940447dfb3fb599"><div class="ttname"><a href="common__ui_8h.html#a7cc065b753e494969940447dfb3fb599">change_background</a></div><div class="ttdeci">void change_background(enum BackgroundId id, bool force_redraw)</div><div class="ttdef"><b>Definition</b> <a href="common__ui_8c_source.html#l00035">common_ui.c:35</a></div></div>
<div class="ttc" id="acommon__ui_8h_html_ad91f726cfa93c1262dc1c4108f7c83c9"><div class="ttname"><a href="common__ui_8h.html#ad91f726cfa93c1262dc1c4108f7c83c9">reset_top_left_panel_bottom_row</a></div><div class="ttdeci">void reset_top_left_panel_bottom_row(void)</div><div class="ttdoc">Restores the bottom row of the top-left panel from the background map.</div><div class="ttdef"><b>Definition</b> <a href="common__ui_8c_source.html#l00048">common_ui.c:48</a></div></div>
<div class="ttc" id="agame__variables_8h_html"><div class="ttname"><a href="game__variables_8h.html">game_variables.h</a></div><div class="ttdoc">Game global game variables struct definition.</div></div>

View File

@@ -5,7 +5,7 @@ var searchData=
['rect_5fheight_2',['rect_height',['../graphic__utils_8h.html#a06ee61cf542dc9bb5885fbf5a6b6e17d',1,'graphic_utils.h']]],
['rect_5fwidth_3',['rect_width',['../graphic__utils_8h.html#ad687d4e104c181d6d8312e6ffa6c459b',1,'graphic_utils.h']]],
['registered_4',['registered',['../structStateMachine.html#a32f2643fcbe23cdff8e2da2214c6404a',1,'StateMachine']]],
['reorder_5fcard_5fsprites_5flayers_5',['reorder_card_sprites_layers',['../hand_8c.html#acb2998d3f72cd139e7dbc9a2a0437c28',1,'reorder_card_sprites_layers(void):&#160;hand.c'],['../hand_8h.html#acb2998d3f72cd139e7dbc9a2a0437c28',1,'reorder_card_sprites_layers(void):&#160;hand.c']]],
['reorder_5fcard_5fsprites_5flayers_5',['reorder_card_sprites_layers',['../hand_8h.html#acb2998d3f72cd139e7dbc9a2a0437c28',1,'reorder_card_sprites_layers(void):&#160;hand.c'],['../hand_8c.html#acb2998d3f72cd139e7dbc9a2a0437c28',1,'reorder_card_sprites_layers(void):&#160;hand.c']]],
['reroll_5fseed_5fstr_6',['reroll_seed_str',['../run__setup_8c.html#ad00a2328e92525b7de20c1eecf2da9bc',1,'run_setup.c']]],
['reset_5ftop_5fleft_5fpanel_5fbottom_5frow_7',['reset_top_left_panel_bottom_row',['../common__ui_8h.html#ad91f726cfa93c1262dc1c4108f7c83c9',1,'common_ui.c']]],
['resume_5fsubstate_5finit_8',['resume_substate_init',['../run__setup_8c.html#adcc3123e99b0af659149cbfa8df7d366',1,'run_setup.c']]],
@@ -17,17 +17,18 @@ var searchData=
['rng_5fshuffle_5fseed_14',['rng_shuffle_seed',['../random_8h.html#a43bd63e66bebf4e4d463a7bee43dd737',1,'random.c']]],
['rng_5fupdate_15',['rng_update',['../random_8h.html#a3364aa4a4ff4352d9df2222c4735151a',1,'random.c']]],
['rnginfo_16',['RngInfo',['../structRngInfo.html',1,'']]],
['roll_5fnew_17',['roll_new',['../structItemFuncs.html#a0f081ea2f439824dffe6b7cd9461ad7d',1,'ItemFuncs']]],
['rom_18',['2. I can&apos;t find the compiled rom!',['../index.html#autotoc_md20',1,'']]],
['rotation_19',['rotation',['../structSpriteObject.html#a512a0f0a39ad91987d003f5f8e7f86ae',1,'SpriteObject']]],
['round_2ec_20',['round.c',['../round_8c.html',1,'']]],
['round_2eh_21',['round.h',['../round_8h.html',1,'']]],
['round_5fend_2eh_22',['round_end.h',['../round__end_8h.html',1,'']]],
['rowgetsizefunc_23',['RowGetSizeFunc',['../selection__grid_8h.html#a938a3d885aa43eb87fd72ec99e426b7e',1,'selection_grid.h']]],
['rowonkeytransitfunc_24',['RowOnKeyTransitFunc',['../selection__grid_8h.html#ac8a820ea55e1e9bcf88a497834130080',1,'selection_grid.h']]],
['rowonselectionchangedfunc_25',['RowOnSelectionChangedFunc',['../selection__grid_8h.html#a30261f1ca72f0d97ad46d54e59c30884',1,'selection_grid.h']]],
['run_20tt_20make_20tt_20it_20errors_20out_20and_20won_20t_20compile_26',['1. When I run &lt;tt&gt;make&lt;/tt&gt; it errors out and won&apos;t compile!',['../index.html#autotoc_md19',1,'']]],
['run_5fsetup_2ec_27',['run_setup.c',['../run__setup_8c.html',1,'']]],
['run_5fsetup_2eh_28',['run_setup.h',['../run__setup_8h.html',1,'']]],
['run_5fsetup_5ftabs_5fupdate_29',['run_setup_tabs_update',['../run__setup_8c.html#ad8f373b6c06e1a2b727bdc2a39dd2cd2',1,'run_setup.c']]]
['roll_5fblind_5ftype_17',['roll_blind_type',['../blind_8h.html#a2826e7fd956be78ad09013ef623c91e3',1,'roll_blind_type(bool showdown):&#160;blind.c'],['../blind_8c.html#a2826e7fd956be78ad09013ef623c91e3',1,'roll_blind_type(bool showdown):&#160;blind.c']]],
['roll_5fnew_18',['roll_new',['../structItemFuncs.html#a0f081ea2f439824dffe6b7cd9461ad7d',1,'ItemFuncs']]],
['rom_19',['2. I can&apos;t find the compiled rom!',['../index.html#autotoc_md20',1,'']]],
['rotation_20',['rotation',['../structSpriteObject.html#a512a0f0a39ad91987d003f5f8e7f86ae',1,'SpriteObject']]],
['round_2ec_21',['round.c',['../round_8c.html',1,'']]],
['round_2eh_22',['round.h',['../round_8h.html',1,'']]],
['round_5fend_2eh_23',['round_end.h',['../round__end_8h.html',1,'']]],
['rowgetsizefunc_24',['RowGetSizeFunc',['../selection__grid_8h.html#a938a3d885aa43eb87fd72ec99e426b7e',1,'selection_grid.h']]],
['rowonkeytransitfunc_25',['RowOnKeyTransitFunc',['../selection__grid_8h.html#ac8a820ea55e1e9bcf88a497834130080',1,'selection_grid.h']]],
['rowonselectionchangedfunc_26',['RowOnSelectionChangedFunc',['../selection__grid_8h.html#a30261f1ca72f0d97ad46d54e59c30884',1,'selection_grid.h']]],
['run_20tt_20make_20tt_20it_20errors_20out_20and_20won_20t_20compile_27',['1. When I run &lt;tt&gt;make&lt;/tt&gt; it errors out and won&apos;t compile!',['../index.html#autotoc_md19',1,'']]],
['run_5fsetup_2ec_28',['run_setup.c',['../run__setup_8c.html',1,'']]],
['run_5fsetup_2eh_29',['run_setup.h',['../run__setup_8h.html',1,'']]],
['run_5fsetup_5ftabs_5fupdate_30',['run_setup_tabs_update',['../run__setup_8c.html#ad8f373b6c06e1a2b727bdc2a39dd2cd2',1,'run_setup.c']]]
];

View File

@@ -1,104 +1,106 @@
var searchData=
[
['s_5flist_5fitr_5fnode_5fnext_0',['s_list_itr_node_next',['../list_8c.html#a941097920b3761acb1a4a1e803d94438',1,'list.c']]],
['s_5flist_5fremove_5fnode_1',['s_list_remove_node',['../list_8c.html#a64302668721b7ab227627d05c80b4b32',1,'list.c']]],
['save_2ec_2',['save.c',['../save_8c.html',1,'']]],
['save_2eh_3',['save.h',['../save_8h.html',1,'']]],
['save_5fgame_4',['save_game',['../save_8h.html#a9e232271002ca804d61417ca6773b07a',1,'save_game(void):&#160;save.c'],['../save_8c.html#a9e232271002ca804d61417ca6773b07a',1,'save_game(void):&#160;save.c']]],
['save_5foptions_5',['save_options',['../save_8h.html#af08a6f81dc09e7abbf2e4f33f99bec6e',1,'save_options(void):&#160;save.c'],['../save_8c.html#af08a6f81dc09e7abbf2e4f33f99bec6e',1,'save_options(void):&#160;save.c']]],
['savegame_6',['savegame',['../structSaveGame.html',1,'SaveGame'],['../save_8c.html#ad1dc334d7a91175e24b988b8a05b6042',1,'SaveGame:&#160;save.c']]],
['savegame_5fdefault_7',['SaveGame_default',['../save_8c.html#ac6be8ba75db77c350611aa6a05a923b3',1,'save.c']]],
['saveheader_8',['saveheader',['../structSaveHeader.html',1,'SaveHeader'],['../save_8c.html#a2279e64a424ee61d2c76715b839cbf4d',1,'SaveHeader:&#160;save.c']]],
['saveheader_5fdefault_9',['SaveHeader_default',['../save_8c.html#ad4c7a26ce01920da160afb04e0ab756f',1,'save.c']]],
['saveoptions_10',['saveoptions',['../structSaveOptions.html',1,'SaveOptions'],['../save_8c.html#a700fd6a8d06a1534a5a66a781215b63b',1,'SaveOptions:&#160;save.c']]],
['saveoptions_5fdefault_11',['SaveOptions_default',['../save_8c.html#a30da5688e7e13a0664958bde6af12b20',1,'save.c']]],
['says_20i_20don_20t_20have_20tt_20git_20tt_20or_20tt_20make_20tt_20installed_12',['4. It says I don&apos;t have &lt;tt&gt;Git&lt;/tt&gt; or &lt;tt&gt;Make&lt;/tt&gt; installed!',['../index.html#autotoc_md22',1,'']]],
['scale_13',['scale',['../structSpriteObject.html#a6fd1da2014d2160d199c728234245594',1,'SpriteObject']]],
['scope_14',['Scope',['../index.html#autotoc_md1',1,'']]],
['scripts_15',['Custom Scripts',['../index.html#autotoc_md14',1,'']]],
['seed_16',['seed',['../structRngInfo.html#a7cbcfdb2051ed9fffc1cc294a820b7f5',1,'RngInfo']]],
['seed_5fkeyboard_5fsubstate_5finit_17',['seed_keyboard_substate_init',['../run__setup_8c.html#ab7a3c35bc3341d32deadeac12fef46bf',1,'run_setup.c']]],
['seed_5fkeyboard_5fsubstate_5fupdate_18',['seed_keyboard_substate_update',['../run__setup_8c.html#a281f3cfe471fce066974e31091bb0ceb',1,'run_setup.c']]],
['seed_5fon_5fpressed_19',['seed_on_pressed',['../run__setup_8c.html#a1bb89f6f4c58f40852b4447aa2f8a654',1,'run_setup.c']]],
['seed_5fplay_5fget_5frow_5fsize_20',['seed_play_get_row_size',['../run__setup_8c.html#acb466f1a1cd41dd5a87f7d3a26806fde',1,'run_setup.c']]],
['seed_5fplay_5frow_5fon_5fkey_5ftransit_21',['seed_play_row_on_key_transit',['../run__setup_8c.html#abf5ce3f9c6d21d636eb2109e3a06a7b4',1,'run_setup.c']]],
['select_5fpaired_5fcards_5fin_5fhand_22',['select_paired_cards_in_hand',['../hand_8h.html#ab31c9562aa23120fd2f2f5bf25a37823',1,'select_paired_cards_in_hand(CardObject **played, int top, bool *selection):&#160;hand.c'],['../hand_8c.html#af947febbf35dba3823fee4f0e095111e',1,'select_paired_cards_in_hand(CardObject **played, int played_top, bool *selection):&#160;hand.c']]],
['selection_5fgrid_2eh_23',['selection_grid.h',['../selection__grid_8h.html',1,'']]],
['selection_5fgrid_5fmove_5fselection_5fhorz_24',['selection_grid_move_selection_horz',['../selection__grid_8h.html#a821f365464b75a5ae5f402eaa0d76d24',1,'selection_grid.c']]],
['selection_5fgrid_5fmove_5fselection_5fvert_25',['selection_grid_move_selection_vert',['../selection__grid_8h.html#a0ce39e190a85488f03024736064a9115',1,'selection_grid.c']]],
['selection_5fgrid_5fprocess_5finput_26',['selection_grid_process_input',['../selection__grid_8h.html#aab5b9794029546e2418e24bd899a3032',1,'selection_grid.c']]],
['selectiongrid_27',['SelectionGrid',['../structSelectionGrid.html',1,'']]],
['selectiongridrow_28',['SelectionGridRow',['../structSelectionGridRow.html',1,'']]],
['selgridrowattributes_29',['SelGridRowAttributes',['../structSelGridRowAttributes.html',1,'']]],
['set_5fhand_5fstate_30',['set_hand_state',['../hand_8c.html#aaefb19d1e0ab6565858827cd31dc8cac',1,'set_hand_state(enum HandState new_hand_state):&#160;hand.c'],['../hand_8h.html#a02fbe6fa56d5eecb06498a94aa3f654f',1,'set_hand_state(enum HandState):&#160;hand.c']]],
['set_5fhand_5ftop_31',['set_hand_top',['../hand_8h.html#ad3a7f85ee10f46e9e5434829904a923d',1,'set_hand_top(int new_hand_top):&#160;hand.c'],['../hand_8c.html#ad3a7f85ee10f46e9e5434829904a923d',1,'set_hand_top(int new_hand_top):&#160;hand.c']]],
['set_5fretrigger_32',['set_retrigger',['../round_8h.html#a502b904f74141ec81e736c49137622ef',1,'set_retrigger(bool new_retrigger):&#160;round.c'],['../round_8c.html#a502b904f74141ec81e736c49137622ef',1,'set_retrigger(bool new_retrigger):&#160;round.c']]],
['set_5fsave_5fheader_33',['set_save_header',['../save_8c.html#ae0dd7506669cf4ae699a6e232dd59364',1,'save.c']]],
['sfx_5fdefault_5fpan_34',['SFX_DEFAULT_PAN',['../audio__utils_8h.html#abcf10c76d1f03448e68b593bbc1e1f11',1,'audio_utils.h']]],
['sfx_5fdefault_5fvolume_35',['SFX_DEFAULT_VOLUME',['../audio__utils_8h.html#ada4aed6bf6aa0cfb9b37e393f4c9de86',1,'audio_utils.h']]],
['shop_2ec_36',['shop.c',['../shop_8c.html',1,'']]],
['shop_2eh_37',['shop.h',['../shop_8h.html',1,'']]],
['shop_5freroll_5frow_5fget_5fsize_38',['shop_reroll_row_get_size',['../shop_8c.html#a6c9b1b5c9e762eadffd7156376d9b52f',1,'shop.c']]],
['shop_5freroll_5frow_5fon_5fkey_5ftransit_39',['shop_reroll_row_on_key_transit',['../shop_8c.html#a853d7d426bf12e36958bd2b12d87236b',1,'shop.c']]],
['shop_5freroll_5frow_5fon_5fselection_5fchanged_40',['shop_reroll_row_on_selection_changed',['../shop_8c.html#a077e8c72bb06675c7307dec45fd895cb',1,'shop.c']]],
['shop_5ftop_5frow_5fget_5fsize_41',['shop_top_row_get_size',['../shop_8c.html#a75ea42eafb427a9ca2daa6d2f6d70ec9',1,'shop.c']]],
['shop_5ftop_5frow_5fon_5fkey_5ftransit_42',['shop_top_row_on_key_transit',['../shop_8c.html#a0dd08021dc2405d8c68d03060ad6b027',1,'shop.c']]],
['shop_5ftop_5frow_5fon_5fselection_5fchanged_43',['shop_top_row_on_selection_changed',['../shop_8c.html#a1c93ade895a41aa97a9a38bdf425c5e4',1,'shop.c']]],
['sign_44',['SIGN',['../util_8h.html#a8c5ff70b6b28cd0157c50a22406f92c4',1,'util.h']]],
['sort_5fcards_45',['sort_cards',['../hand_8c.html#ae939d94185e29e1bbf44072c5d37c273',1,'sort_cards(void):&#160;hand.c'],['../hand_8h.html#ae939d94185e29e1bbf44072c5d37c273',1,'sort_cards(void):&#160;hand.c']]],
['sounds_20strong_46',['&lt;strong&gt;Sounds&lt;/strong&gt;',['../md_README.html#autotoc_md35',1,'']]],
['sources_20below_3a_47',['Please buy the official full version from these sources below:',['../md_README.html#autotoc_md26',1,'']]],
['splash_5fscreen_2eh_48',['splash_screen.h',['../splash__screen_8h.html',1,'']]],
['splash_5fscreen_5fon_5fexit_49',['splash_screen_on_exit',['../splash__screen_8h.html#a9ca7b8370e792a84403f912b7611d2f9',1,'splash_screen.c']]],
['splash_5fscreen_5fon_5finit_50',['splash_screen_on_init',['../splash__screen_8h.html#ad6665f68a653bd65b4a353c4ab5ee9e2',1,'splash_screen.c']]],
['splash_5fscreen_5fon_5fupdate_51',['splash_screen_on_update',['../splash__screen_8h.html#abef5b26c1b8c1a453134ae4d8662d4ed',1,'splash_screen.c']]],
['sprite_52',['sprite',['../structSpriteObject.html#a7c54302f990f134ca6e37a2e9ef9999d',1,'SpriteObject::sprite'],['../structSprite.html',1,'Sprite']]],
['sprite_2eh_53',['sprite.h',['../sprite_8h.html',1,'']]],
['sprite_5fdestroy_54',['sprite_destroy',['../sprite_8h.html#abbbc989fe5cd8e1e93f9784e1048be47',1,'sprite.c']]],
['sprite_5fdraw_55',['sprite_draw',['../sprite_8h.html#aeae667aa51109000495c9a7f19fa08e8',1,'sprite.c']]],
['sprite_5fget_5fdimensions_56',['sprite_get_dimensions',['../sprite_8h.html#a892674d2db5b33bb55aacffa2686632a',1,'sprite.c']]],
['sprite_5fget_5fheight_57',['sprite_get_height',['../sprite_8h.html#aa9d27d44b0c3310d61bebbc88b443b4c',1,'sprite.c']]],
['sprite_5fget_5flayer_58',['sprite_get_layer',['../sprite_8h.html#aa017c4226720c0aa8f4ab530a6e2f715',1,'sprite.c']]],
['sprite_5fget_5fpb_59',['sprite_get_pb',['../sprite_8h.html#a6938f30020cc51d7baa6cf552fdb884d',1,'sprite.c']]],
['sprite_5fget_5fwidth_60',['sprite_get_width',['../sprite_8h.html#a1da4094cf80f8db62d6cf4a0380acc9d',1,'sprite.c']]],
['sprite_5finit_61',['sprite_init',['../sprite_8h.html#a564c9484883d28c4904b382c2eec5db9',1,'sprite.c']]],
['sprite_5fnew_62',['sprite_new',['../sprite_8h.html#a5fbaf037f18d04536127b88417481eb8',1,'sprite.c']]],
['sprite_5fobject_5fdestroy_63',['sprite_object_destroy',['../sprite_8h.html#a34b18a8546f66dee7a80f6192c9b0e92',1,'sprite.c']]],
['sprite_5fobject_5ferase_5ftext_5funder_64',['sprite_object_erase_text_under',['../sprite_8h.html#aa1adb2bd898e4c580e1c522b6a158eba',1,'sprite.c']]],
['sprite_5fobject_5fget_5fdimensions_65',['sprite_object_get_dimensions',['../sprite_8h.html#a0e8244424d95f4d81a96756e2cf4e17a',1,'sprite.c']]],
['sprite_5fobject_5fget_5fheight_66',['sprite_object_get_height',['../sprite_8h.html#a8e569f7a24f5cde918e8f44d6d91e0f7',1,'sprite.c']]],
['sprite_5fobject_5fget_5fsprite_67',['sprite_object_get_sprite',['../sprite_8h.html#abe95d2088cb9739deb50864189556121',1,'sprite.c']]],
['sprite_5fobject_5fget_5fwidth_68',['sprite_object_get_width',['../sprite_8h.html#a7119e6d7e7c898abb9670952ed45b999',1,'sprite.c']]],
['sprite_5fobject_5finit_69',['sprite_object_init',['../sprite_8h.html#a30997cd0fdc5182591687e67f8bc5d1d',1,'sprite.c']]],
['sprite_5fobject_5fis_5ffocused_70',['sprite_object_is_focused',['../sprite_8h.html#a16ee5e7acf8ecd2bd4a3c928ce270b3b',1,'sprite.c']]],
['sprite_5fobject_5fposition_71',['sprite_object_position',['../sprite_8h.html#a90329a888f65192cc5170085b65ebfde',1,'sprite.h']]],
['sprite_5fobject_5fprint_5fprice_5funder_72',['sprite_object_print_price_under',['../sprite_8h.html#a3d9b736910a0c0671e495dda62be7f91',1,'sprite.c']]],
['sprite_5fobject_5fprint_5ftext_5funder_73',['sprite_object_print_text_under',['../sprite_8h.html#a45d7d6b792b629e6082ae850dcfdf573',1,'sprite.c']]],
['sprite_5fobject_5freset_5ftransform_74',['sprite_object_reset_transform',['../sprite_8h.html#a673f791a81943a40619c246e8eed8f0f',1,'sprite.c']]],
['sprite_5fobject_5fset_5ffocus_75',['sprite_object_set_focus',['../sprite_8h.html#a2b9d31fbf635a9bad37324b4f2ec13bb',1,'sprite.c']]],
['sprite_5fobject_5fset_5fsprite_76',['sprite_object_set_sprite',['../sprite_8h.html#a73a20232ad5676c64b3dc1e548f2bdcf',1,'sprite.c']]],
['sprite_5fobject_5fshake_77',['sprite_object_shake',['../sprite_8h.html#a929ee43cec0d826ecaef2feedf80d1f6',1,'sprite.c']]],
['sprite_5fobject_5fupdate_78',['sprite_object_update',['../sprite_8h.html#aec29df852662063447ff72082fb3ad30',1,'sprite.c']]],
['sprite_5fobject_5fupdate_5fall_79',['sprite_object_update_all',['../sprite_8h.html#a7b5d01a3c39b22115156c4fa9dd0833a',1,'sprite.c']]],
['sprite_5fposition_80',['sprite_position',['../sprite_8h.html#a1ee0e1521651d9a8fd7773a6b4ba127e',1,'sprite.h']]],
['spriteobject_81',['spriteobject',['../structSpriteObject.html',1,'SpriteObject'],['../structItem.html#a89144277bc691613127f9fc4f8030b08',1,'Item::SpriteObject']]],
['start_82',['3. The Game won&apos;t start!',['../index.html#autotoc_md21',1,'']]],
['state_83',['state',['../structStateMachine.html#a89f234133d3efe315836311cbf21c64b',1,'StateMachine']]],
['state_5finfos_84',['state_infos',['../structStateMachine.html#a007fb62416ee346877fa244b16fc8947',1,'StateMachine']]],
['state_5fmachine_2eh_85',['state_machine.h',['../state__machine_8h.html',1,'']]],
['state_5fmachine_5fchange_5fstate_86',['state_machine_change_state',['../state__machine_8h.html#ac887ec8b325e136d801a6d1c30e55d15',1,'state_machine.c']]],
['state_5fmachine_5fregister_87',['state_machine_register',['../state__machine_8h.html#ac3b2a011559ddbcb1f949f0da73ac239',1,'state_machine.c']]],
['state_5fmachine_5fremove_88',['state_machine_remove',['../state__machine_8h.html#aa9b1230f7acdd39a63af8065b6729b5a',1,'state_machine.c']]],
['state_5fmachine_5fupdate_89',['state_machine_update',['../state__machine_8h.html#ad9adae7509d62d10d3f0ad00356ea1e2',1,'state_machine.c']]],
['statecallback_90',['StateCallback',['../state__machine_8h.html#a9510cf55336642bad5ad888b7b6c7a21',1,'state_machine.h']]],
['stateinfo_91',['StateInfo',['../structStateInfo.html',1,'']]],
['statemachine_92',['StateMachine',['../structStateMachine.html',1,'']]],
['step_93',['step',['../structRngInfo.html#add7060bb1806fc83671041faf7c1643a',1,'RngInfo']]],
['strong_20credits_3a_20strong_94',['&lt;strong&gt;Credits:&lt;/strong&gt;',['../md_README.html#autotoc_md31',1,'']]],
['strong_20game_20strong_95',['&lt;strong&gt;Game&lt;/strong&gt;',['../md_README.html#autotoc_md32',1,'']]],
['strong_20imagery_20strong_96',['&lt;strong&gt;Imagery&lt;/strong&gt;',['../md_README.html#autotoc_md34',1,'']]],
['strong_20music_20strong_97',['&lt;strong&gt;Music&lt;/strong&gt;',['../md_README.html#autotoc_md33',1,'']]],
['strong_20sounds_20strong_98',['&lt;strong&gt;Sounds&lt;/strong&gt;',['../md_README.html#autotoc_md35',1,'']]],
['style_99',['Code Style',['../index.html#autotoc_md4',1,'']]],
['swap_5fcards_5fin_5fhand_100',['swap_cards_in_hand',['../hand_8h.html#a62aab8570b58813e94d12b33124ccf6c',1,'swap_cards_in_hand(int idx_a, int idx_b):&#160;hand.c'],['../hand_8c.html#a62aab8570b58813e94d12b33124ccf6c',1,'swap_cards_in_hand(int idx_a, int idx_b):&#160;hand.c']]]
['s_5fblind_5ftype_5fmap_0',['s_blind_type_map',['../blind_8c.html#a6489ccf1d80155cbbb4346054870cb96',1,'blind.c']]],
['s_5flist_5fitr_5fnode_5fnext_1',['s_list_itr_node_next',['../list_8c.html#a941097920b3761acb1a4a1e803d94438',1,'list.c']]],
['s_5flist_5fremove_5fnode_2',['s_list_remove_node',['../list_8c.html#a64302668721b7ab227627d05c80b4b32',1,'list.c']]],
['save_2ec_3',['save.c',['../save_8c.html',1,'']]],
['save_2eh_4',['save.h',['../save_8h.html',1,'']]],
['save_5fgame_5',['save_game',['../save_8c.html#a9e232271002ca804d61417ca6773b07a',1,'save_game(void):&#160;save.c'],['../save_8h.html#a9e232271002ca804d61417ca6773b07a',1,'save_game(void):&#160;save.c']]],
['save_5foptions_6',['save_options',['../save_8c.html#af08a6f81dc09e7abbf2e4f33f99bec6e',1,'save_options(void):&#160;save.c'],['../save_8h.html#af08a6f81dc09e7abbf2e4f33f99bec6e',1,'save_options(void):&#160;save.c']]],
['savegame_7',['savegame',['../save_8c.html#ad1dc334d7a91175e24b988b8a05b6042',1,'SaveGame:&#160;save.c'],['../structSaveGame.html',1,'SaveGame']]],
['savegame_5fdefault_8',['SaveGame_default',['../save_8c.html#ac6be8ba75db77c350611aa6a05a923b3',1,'save.c']]],
['saveheader_9',['saveheader',['../structSaveHeader.html',1,'SaveHeader'],['../save_8c.html#a2279e64a424ee61d2c76715b839cbf4d',1,'SaveHeader:&#160;save.c']]],
['saveheader_5fdefault_10',['SaveHeader_default',['../save_8c.html#ad4c7a26ce01920da160afb04e0ab756f',1,'save.c']]],
['saveoptions_11',['saveoptions',['../structSaveOptions.html',1,'SaveOptions'],['../save_8c.html#a700fd6a8d06a1534a5a66a781215b63b',1,'SaveOptions:&#160;save.c']]],
['saveoptions_5fdefault_12',['SaveOptions_default',['../save_8c.html#a30da5688e7e13a0664958bde6af12b20',1,'save.c']]],
['says_20i_20don_20t_20have_20tt_20git_20tt_20or_20tt_20make_20tt_20installed_13',['4. It says I don&apos;t have &lt;tt&gt;Git&lt;/tt&gt; or &lt;tt&gt;Make&lt;/tt&gt; installed!',['../index.html#autotoc_md22',1,'']]],
['scale_14',['scale',['../structSpriteObject.html#a6fd1da2014d2160d199c728234245594',1,'SpriteObject']]],
['scope_15',['Scope',['../index.html#autotoc_md1',1,'']]],
['scripts_16',['Custom Scripts',['../index.html#autotoc_md14',1,'']]],
['seed_17',['seed',['../structRngInfo.html#a7cbcfdb2051ed9fffc1cc294a820b7f5',1,'RngInfo']]],
['seed_5fkeyboard_5fsubstate_5finit_18',['seed_keyboard_substate_init',['../run__setup_8c.html#ab7a3c35bc3341d32deadeac12fef46bf',1,'run_setup.c']]],
['seed_5fkeyboard_5fsubstate_5fupdate_19',['seed_keyboard_substate_update',['../run__setup_8c.html#a281f3cfe471fce066974e31091bb0ceb',1,'run_setup.c']]],
['seed_5fon_5fpressed_20',['seed_on_pressed',['../run__setup_8c.html#a1bb89f6f4c58f40852b4447aa2f8a654',1,'run_setup.c']]],
['seed_5fplay_5fget_5frow_5fsize_21',['seed_play_get_row_size',['../run__setup_8c.html#acb466f1a1cd41dd5a87f7d3a26806fde',1,'run_setup.c']]],
['seed_5fplay_5frow_5fon_5fkey_5ftransit_22',['seed_play_row_on_key_transit',['../run__setup_8c.html#abf5ce3f9c6d21d636eb2109e3a06a7b4',1,'run_setup.c']]],
['select_5fpaired_5fcards_5fin_5fhand_23',['select_paired_cards_in_hand',['../hand_8c.html#af947febbf35dba3823fee4f0e095111e',1,'select_paired_cards_in_hand(CardObject **played, int played_top, bool *selection):&#160;hand.c'],['../hand_8h.html#ab31c9562aa23120fd2f2f5bf25a37823',1,'select_paired_cards_in_hand(CardObject **played, int top, bool *selection):&#160;hand.c']]],
['selection_5fgrid_2eh_24',['selection_grid.h',['../selection__grid_8h.html',1,'']]],
['selection_5fgrid_5fmove_5fselection_5fhorz_25',['selection_grid_move_selection_horz',['../selection__grid_8h.html#a821f365464b75a5ae5f402eaa0d76d24',1,'selection_grid.c']]],
['selection_5fgrid_5fmove_5fselection_5fvert_26',['selection_grid_move_selection_vert',['../selection__grid_8h.html#a0ce39e190a85488f03024736064a9115',1,'selection_grid.c']]],
['selection_5fgrid_5fprocess_5finput_27',['selection_grid_process_input',['../selection__grid_8h.html#aab5b9794029546e2418e24bd899a3032',1,'selection_grid.c']]],
['selectiongrid_28',['SelectionGrid',['../structSelectionGrid.html',1,'']]],
['selectiongridrow_29',['SelectionGridRow',['../structSelectionGridRow.html',1,'']]],
['selgridrowattributes_30',['SelGridRowAttributes',['../structSelGridRowAttributes.html',1,'']]],
['set_5fblind_5fbeaten_31',['set_blind_beaten',['../blind_8h.html#ad5c80cb82487220cada4920ecf037f9e',1,'set_blind_beaten(enum BlindType type):&#160;blind.c'],['../blind_8c.html#ad5c80cb82487220cada4920ecf037f9e',1,'set_blind_beaten(enum BlindType type):&#160;blind.c']]],
['set_5fhand_5fstate_32',['set_hand_state',['../hand_8h.html#a02fbe6fa56d5eecb06498a94aa3f654f',1,'set_hand_state(enum HandState):&#160;hand.c'],['../hand_8c.html#aaefb19d1e0ab6565858827cd31dc8cac',1,'set_hand_state(enum HandState new_hand_state):&#160;hand.c']]],
['set_5fhand_5ftop_33',['set_hand_top',['../hand_8h.html#ad3a7f85ee10f46e9e5434829904a923d',1,'set_hand_top(int new_hand_top):&#160;hand.c'],['../hand_8c.html#ad3a7f85ee10f46e9e5434829904a923d',1,'set_hand_top(int new_hand_top):&#160;hand.c']]],
['set_5fretrigger_34',['set_retrigger',['../round_8h.html#a502b904f74141ec81e736c49137622ef',1,'set_retrigger(bool new_retrigger):&#160;round.c'],['../round_8c.html#a502b904f74141ec81e736c49137622ef',1,'set_retrigger(bool new_retrigger):&#160;round.c']]],
['set_5fsave_5fheader_35',['set_save_header',['../save_8c.html#ae0dd7506669cf4ae699a6e232dd59364',1,'save.c']]],
['sfx_5fdefault_5fpan_36',['SFX_DEFAULT_PAN',['../audio__utils_8h.html#abcf10c76d1f03448e68b593bbc1e1f11',1,'audio_utils.h']]],
['sfx_5fdefault_5fvolume_37',['SFX_DEFAULT_VOLUME',['../audio__utils_8h.html#ada4aed6bf6aa0cfb9b37e393f4c9de86',1,'audio_utils.h']]],
['shop_2ec_38',['shop.c',['../shop_8c.html',1,'']]],
['shop_2eh_39',['shop.h',['../shop_8h.html',1,'']]],
['shop_5freroll_5frow_5fget_5fsize_40',['shop_reroll_row_get_size',['../shop_8c.html#a6c9b1b5c9e762eadffd7156376d9b52f',1,'shop.c']]],
['shop_5freroll_5frow_5fon_5fkey_5ftransit_41',['shop_reroll_row_on_key_transit',['../shop_8c.html#a853d7d426bf12e36958bd2b12d87236b',1,'shop.c']]],
['shop_5freroll_5frow_5fon_5fselection_5fchanged_42',['shop_reroll_row_on_selection_changed',['../shop_8c.html#a077e8c72bb06675c7307dec45fd895cb',1,'shop.c']]],
['shop_5ftop_5frow_5fget_5fsize_43',['shop_top_row_get_size',['../shop_8c.html#a75ea42eafb427a9ca2daa6d2f6d70ec9',1,'shop.c']]],
['shop_5ftop_5frow_5fon_5fkey_5ftransit_44',['shop_top_row_on_key_transit',['../shop_8c.html#a0dd08021dc2405d8c68d03060ad6b027',1,'shop.c']]],
['shop_5ftop_5frow_5fon_5fselection_5fchanged_45',['shop_top_row_on_selection_changed',['../shop_8c.html#a1c93ade895a41aa97a9a38bdf425c5e4',1,'shop.c']]],
['sign_46',['SIGN',['../util_8h.html#a8c5ff70b6b28cd0157c50a22406f92c4',1,'util.h']]],
['sort_5fcards_47',['sort_cards',['../hand_8c.html#ae939d94185e29e1bbf44072c5d37c273',1,'sort_cards(void):&#160;hand.c'],['../hand_8h.html#ae939d94185e29e1bbf44072c5d37c273',1,'sort_cards(void):&#160;hand.c']]],
['sounds_20strong_48',['&lt;strong&gt;Sounds&lt;/strong&gt;',['../md_README.html#autotoc_md35',1,'']]],
['sources_20below_3a_49',['Please buy the official full version from these sources below:',['../md_README.html#autotoc_md26',1,'']]],
['splash_5fscreen_2eh_50',['splash_screen.h',['../splash__screen_8h.html',1,'']]],
['splash_5fscreen_5fon_5fexit_51',['splash_screen_on_exit',['../splash__screen_8h.html#a9ca7b8370e792a84403f912b7611d2f9',1,'splash_screen.c']]],
['splash_5fscreen_5fon_5finit_52',['splash_screen_on_init',['../splash__screen_8h.html#ad6665f68a653bd65b4a353c4ab5ee9e2',1,'splash_screen.c']]],
['splash_5fscreen_5fon_5fupdate_53',['splash_screen_on_update',['../splash__screen_8h.html#abef5b26c1b8c1a453134ae4d8662d4ed',1,'splash_screen.c']]],
['sprite_54',['sprite',['../structSprite.html',1,'Sprite'],['../structSpriteObject.html#a7c54302f990f134ca6e37a2e9ef9999d',1,'SpriteObject::sprite']]],
['sprite_2eh_55',['sprite.h',['../sprite_8h.html',1,'']]],
['sprite_5fdestroy_56',['sprite_destroy',['../sprite_8h.html#abbbc989fe5cd8e1e93f9784e1048be47',1,'sprite.c']]],
['sprite_5fdraw_57',['sprite_draw',['../sprite_8h.html#aeae667aa51109000495c9a7f19fa08e8',1,'sprite.c']]],
['sprite_5fget_5fdimensions_58',['sprite_get_dimensions',['../sprite_8h.html#a892674d2db5b33bb55aacffa2686632a',1,'sprite.c']]],
['sprite_5fget_5fheight_59',['sprite_get_height',['../sprite_8h.html#aa9d27d44b0c3310d61bebbc88b443b4c',1,'sprite.c']]],
['sprite_5fget_5flayer_60',['sprite_get_layer',['../sprite_8h.html#aa017c4226720c0aa8f4ab530a6e2f715',1,'sprite.c']]],
['sprite_5fget_5fpb_61',['sprite_get_pb',['../sprite_8h.html#a6938f30020cc51d7baa6cf552fdb884d',1,'sprite.c']]],
['sprite_5fget_5fwidth_62',['sprite_get_width',['../sprite_8h.html#a1da4094cf80f8db62d6cf4a0380acc9d',1,'sprite.c']]],
['sprite_5finit_63',['sprite_init',['../sprite_8h.html#a564c9484883d28c4904b382c2eec5db9',1,'sprite.c']]],
['sprite_5fnew_64',['sprite_new',['../sprite_8h.html#a5fbaf037f18d04536127b88417481eb8',1,'sprite.c']]],
['sprite_5fobject_5fdestroy_65',['sprite_object_destroy',['../sprite_8h.html#a34b18a8546f66dee7a80f6192c9b0e92',1,'sprite.c']]],
['sprite_5fobject_5ferase_5ftext_5funder_66',['sprite_object_erase_text_under',['../sprite_8h.html#aa1adb2bd898e4c580e1c522b6a158eba',1,'sprite.c']]],
['sprite_5fobject_5fget_5fdimensions_67',['sprite_object_get_dimensions',['../sprite_8h.html#a0e8244424d95f4d81a96756e2cf4e17a',1,'sprite.c']]],
['sprite_5fobject_5fget_5fheight_68',['sprite_object_get_height',['../sprite_8h.html#a8e569f7a24f5cde918e8f44d6d91e0f7',1,'sprite.c']]],
['sprite_5fobject_5fget_5fsprite_69',['sprite_object_get_sprite',['../sprite_8h.html#abe95d2088cb9739deb50864189556121',1,'sprite.c']]],
['sprite_5fobject_5fget_5fwidth_70',['sprite_object_get_width',['../sprite_8h.html#a7119e6d7e7c898abb9670952ed45b999',1,'sprite.c']]],
['sprite_5fobject_5finit_71',['sprite_object_init',['../sprite_8h.html#a30997cd0fdc5182591687e67f8bc5d1d',1,'sprite.c']]],
['sprite_5fobject_5fis_5ffocused_72',['sprite_object_is_focused',['../sprite_8h.html#a16ee5e7acf8ecd2bd4a3c928ce270b3b',1,'sprite.c']]],
['sprite_5fobject_5fposition_73',['sprite_object_position',['../sprite_8h.html#a90329a888f65192cc5170085b65ebfde',1,'sprite.h']]],
['sprite_5fobject_5fprint_5fprice_5funder_74',['sprite_object_print_price_under',['../sprite_8h.html#a3d9b736910a0c0671e495dda62be7f91',1,'sprite.c']]],
['sprite_5fobject_5fprint_5ftext_5funder_75',['sprite_object_print_text_under',['../sprite_8h.html#a45d7d6b792b629e6082ae850dcfdf573',1,'sprite.c']]],
['sprite_5fobject_5freset_5ftransform_76',['sprite_object_reset_transform',['../sprite_8h.html#a673f791a81943a40619c246e8eed8f0f',1,'sprite.c']]],
['sprite_5fobject_5fset_5ffocus_77',['sprite_object_set_focus',['../sprite_8h.html#a2b9d31fbf635a9bad37324b4f2ec13bb',1,'sprite.c']]],
['sprite_5fobject_5fset_5fsprite_78',['sprite_object_set_sprite',['../sprite_8h.html#a73a20232ad5676c64b3dc1e548f2bdcf',1,'sprite.c']]],
['sprite_5fobject_5fshake_79',['sprite_object_shake',['../sprite_8h.html#a929ee43cec0d826ecaef2feedf80d1f6',1,'sprite.c']]],
['sprite_5fobject_5fupdate_80',['sprite_object_update',['../sprite_8h.html#aec29df852662063447ff72082fb3ad30',1,'sprite.c']]],
['sprite_5fobject_5fupdate_5fall_81',['sprite_object_update_all',['../sprite_8h.html#a7b5d01a3c39b22115156c4fa9dd0833a',1,'sprite.c']]],
['sprite_5fposition_82',['sprite_position',['../sprite_8h.html#a1ee0e1521651d9a8fd7773a6b4ba127e',1,'sprite.h']]],
['spriteobject_83',['spriteobject',['../structItem.html#a89144277bc691613127f9fc4f8030b08',1,'Item::SpriteObject'],['../structSpriteObject.html',1,'SpriteObject']]],
['start_84',['3. The Game won&apos;t start!',['../index.html#autotoc_md21',1,'']]],
['state_85',['state',['../structStateMachine.html#a89f234133d3efe315836311cbf21c64b',1,'StateMachine']]],
['state_5finfos_86',['state_infos',['../structStateMachine.html#a007fb62416ee346877fa244b16fc8947',1,'StateMachine']]],
['state_5fmachine_2eh_87',['state_machine.h',['../state__machine_8h.html',1,'']]],
['state_5fmachine_5fchange_5fstate_88',['state_machine_change_state',['../state__machine_8h.html#ac887ec8b325e136d801a6d1c30e55d15',1,'state_machine.c']]],
['state_5fmachine_5fregister_89',['state_machine_register',['../state__machine_8h.html#ac3b2a011559ddbcb1f949f0da73ac239',1,'state_machine.c']]],
['state_5fmachine_5fremove_90',['state_machine_remove',['../state__machine_8h.html#aa9b1230f7acdd39a63af8065b6729b5a',1,'state_machine.c']]],
['state_5fmachine_5fupdate_91',['state_machine_update',['../state__machine_8h.html#ad9adae7509d62d10d3f0ad00356ea1e2',1,'state_machine.c']]],
['statecallback_92',['StateCallback',['../state__machine_8h.html#a9510cf55336642bad5ad888b7b6c7a21',1,'state_machine.h']]],
['stateinfo_93',['StateInfo',['../structStateInfo.html',1,'']]],
['statemachine_94',['StateMachine',['../structStateMachine.html',1,'']]],
['step_95',['step',['../structRngInfo.html#add7060bb1806fc83671041faf7c1643a',1,'RngInfo']]],
['strong_20credits_3a_20strong_96',['&lt;strong&gt;Credits:&lt;/strong&gt;',['../md_README.html#autotoc_md31',1,'']]],
['strong_20game_20strong_97',['&lt;strong&gt;Game&lt;/strong&gt;',['../md_README.html#autotoc_md32',1,'']]],
['strong_20imagery_20strong_98',['&lt;strong&gt;Imagery&lt;/strong&gt;',['../md_README.html#autotoc_md34',1,'']]],
['strong_20music_20strong_99',['&lt;strong&gt;Music&lt;/strong&gt;',['../md_README.html#autotoc_md33',1,'']]],
['strong_20sounds_20strong_100',['&lt;strong&gt;Sounds&lt;/strong&gt;',['../md_README.html#autotoc_md35',1,'']]],
['style_101',['Code Style',['../index.html#autotoc_md4',1,'']]],
['swap_5fcards_5fin_5fhand_102',['swap_cards_in_hand',['../hand_8h.html#a62aab8570b58813e94d12b33124ccf6c',1,'swap_cards_in_hand(int idx_a, int idx_b):&#160;hand.c'],['../hand_8c.html#a62aab8570b58813e94d12b33124ccf6c',1,'swap_cards_in_hand(int idx_a, int idx_b):&#160;hand.c']]]
];

View File

@@ -17,10 +17,12 @@ var searchData=
['affine_5fbg_5fpb_14',['AFFINE_BG_PB',['../affine__background_8h.html#af2d7cb69277acd5f39d8a48cb1313301',1,'affine_background.h']]],
['affinebackgroundid_15',['AffineBackgroundID',['../affine__background_8h.html#a7be0cf280b30b6df358b84c785a35e64',1,'affine_background.h']]],
['and_20won_20t_20compile_16',['1. When I run &lt;tt&gt;make&lt;/tt&gt; it errors out and won&apos;t compile!',['../index.html#autotoc_md19',1,'']]],
['art_17',['Art',['../index.html#autotoc_md2',1,'']]],
['audio_5fparam_5fupdate_18',['audio_param_update',['../audio__utils_8c.html#af8f10383ee9bbeff6ed044e16c7374e9',1,'audio_utils.c']]],
['audio_5futils_2ec_19',['audio_utils.c',['../audio__utils_8c.html',1,'']]],
['audio_5futils_2eh_20',['audio_utils.h',['../audio__utils_8h.html',1,'']]],
['audioparam_21',['AudioParam',['../structAudioParam.html',1,'']]],
['audioparamreq_22',['AudioParamReq',['../structAudioParamReq.html',1,'']]]
['apply_5fblind_5fcolors_17',['apply_blind_colors',['../blind_8h.html#a33aca14af98233e87839aec461812517',1,'apply_blind_colors(enum BlindType type):&#160;blind.c'],['../blind_8c.html#a33aca14af98233e87839aec461812517',1,'apply_blind_colors(enum BlindType type):&#160;blind.c']]],
['apply_5fblind_5ftiles_18',['apply_blind_tiles',['../blind_8h.html#a186aee3247d5b47aaa84b4f6ee3a5947',1,'apply_blind_tiles(enum BlindType type, enum BlindTokenLayers layer):&#160;blind.c'],['../blind_8c.html#a186aee3247d5b47aaa84b4f6ee3a5947',1,'apply_blind_tiles(enum BlindType type, enum BlindTokenLayers layer):&#160;blind.c']]],
['art_19',['Art',['../index.html#autotoc_md2',1,'']]],
['audio_5fparam_5fupdate_20',['audio_param_update',['../audio__utils_8c.html#af8f10383ee9bbeff6ed044e16c7374e9',1,'audio_utils.c']]],
['audio_5futils_2ec_21',['audio_utils.c',['../audio__utils_8c.html',1,'']]],
['audio_5futils_2eh_22',['audio_utils.h',['../audio__utils_8h.html',1,'']]],
['audioparam_23',['AudioParam',['../structAudioParam.html',1,'']]],
['audioparamreq_24',['AudioParamReq',['../structAudioParamReq.html',1,'']]]
];

View File

@@ -8,7 +8,7 @@ var searchData=
['below_3a_5',['Please buy the official full version from these sources below:',['../md_README.html#autotoc_md26',1,'']]],
['bg_5fse_5fcopy_5frect_5f1_5ftile_5fvert_6',['bg_se_copy_rect_1_tile_vert',['../graphic__utils_8h.html#abe1f3e909ebffd97bbbef3c9aa46b04f',1,'graphic_utils.c']]],
['bit_7',['bit',['../structBitsetItr.html#a276ec4ea44aa77416c732159c90a37b9',1,'BitsetItr']]],
['bitset_8',['bitset',['../structBitset.html',1,'Bitset'],['../structBitsetItr.html#a8eefb48c6688723320e66c51c41a2569',1,'BitsetItr::bitset'],['../bitset_8h.html#a84121fe6bbf9b688fd03fc826d056df6',1,'Bitset:&#160;bitset.h']]],
['bitset_8',['bitset',['../structBitsetItr.html#a8eefb48c6688723320e66c51c41a2569',1,'BitsetItr::bitset'],['../bitset_8h.html#a84121fe6bbf9b688fd03fc826d056df6',1,'Bitset:&#160;bitset.h'],['../structBitset.html',1,'Bitset']]],
['bitset_2eh_9',['bitset.h',['../bitset_8h.html',1,'']]],
['bitset_5farray_5fsize_10',['BITSET_ARRAY_SIZE',['../bitset_8h.html#a162d9c1c0043842aef373e0f827491d0',1,'bitset.h']]],
['bitset_5fbits_5fper_5fword_11',['BITSET_BITS_PER_WORD',['../bitset_8h.html#aa29e409a8814d16c9a8069349e0b22c1',1,'bitset.h']]],
@@ -25,15 +25,26 @@ var searchData=
['bitset_5fset_5fnext_5ffree_5fidx_22',['bitset_set_next_free_idx',['../bitset_8h.html#abe34811eb4ac2ad6ccd77871fd049b89',1,'bitset.c']]],
['bitsetitr_23',['BitsetItr',['../structBitsetItr.html',1,'']]],
['blind_24',['Blind',['../structBlind.html',1,'']]],
['blind_5fselect_2eh_25',['blind_select.h',['../blind__select_8h.html',1,'']]],
['border_5fpal_5fidx_26',['border_pal_idx',['../structButton.html#abea673d241d333d2f16530ac12b36b6d',1,'Button']]],
['build_20label_27',['With optional build label',['../index.html#autotoc_md16',1,'']]],
['button_28',['Button',['../structButton.html',1,'']]],
['button_2eh_29',['button.h',['../button_8h.html',1,'']]],
['button_5fpal_5fidx_30',['button_pal_idx',['../structButton.html#aaec238974eccbed85d01a5c3a87173ce',1,'Button']]],
['button_5fpress_31',['button_press',['../button_8h.html#a071a4d1bf72a16a7f4a4153722ce36db',1,'button.c']]],
['button_5fset_5fhighlight_32',['button_set_highlight',['../button_8h.html#ab07bc69b92e6642e2b986debfb152e48',1,'button.c']]],
['buttoncanbepressedfunc_33',['ButtonCanBePressedFunc',['../button_8h.html#a35f4dc832e5b998d6595ca06c29f7a50',1,'button.h']]],
['buttononpressedfunc_34',['ButtonOnPressedFunc',['../button_8h.html#a6a588233fed69a8f3e5e69683660fedc',1,'button.h']]],
['buy_20the_20official_20full_20version_20from_20these_20sources_20below_3a_35',['Please buy the official full version from these sources below:',['../md_README.html#autotoc_md26',1,'']]]
['blind_2ec_25',['blind.c',['../blind_8c.html',1,'']]],
['blind_2eh_26',['blind.h',['../blind_8h.html',1,'']]],
['blind_5fget_5fcolor_27',['blind_get_color',['../blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473',1,'blind_get_color(enum BlindType type, enum BlindColorIndex index):&#160;blind.c'],['../blind_8c.html#a6d39b4ae4ca73f51bb2d3bc4b7687473',1,'blind_get_color(enum BlindType type, enum BlindColorIndex index):&#160;blind.c']]],
['blind_5fget_5frequirement_28',['blind_get_requirement',['../blind_8c.html#a85fefafb15d88f710cbe1183ac34f3f4',1,'blind_get_requirement(enum BlindType type, int ante):&#160;blind.c'],['../blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4',1,'blind_get_requirement(enum BlindType type, int ante):&#160;blind.c']]],
['blind_5fget_5freward_29',['blind_get_reward',['../blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6',1,'blind_get_reward(enum BlindType type):&#160;blind.c'],['../blind_8c.html#af2031f17bfb33cfe0a1815fa66b8bde6',1,'blind_get_reward(enum BlindType type):&#160;blind.c']]],
['blind_5fselect_2eh_30',['blind_select.h',['../blind__select_8h.html',1,'']]],
['blind_5ftoken_5fnew_31',['blind_token_new',['../blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b',1,'blind_token_new(enum BlindType type, int x, int y, enum BlindTokenLayers sprite_index):&#160;blind.c'],['../blind_8c.html#a5518e6cabc5bcfd4e0ac280abd9f199c',1,'blind_token_new(enum BlindType type, int x, int y, enum BlindTokenLayers layer):&#160;blind.c']]],
['blindcolorindex_32',['BlindColorIndex',['../blind_8h.html#ab459b45520cab1b163439acc78635be8',1,'blind.h']]],
['blindstate_33',['BlindState',['../blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d',1,'blind.h']]],
['blindtokenlayers_34',['BlindTokenLayers',['../blind_8h.html#a72f525224754ea5b65ce95410fa44408',1,'blind.h']]],
['blindtokens_35',['BlindTokens',['../blind_8h.html#ac213b67180e7b74f69beb56ddd17026e',1,'blind.h']]],
['blindtype_36',['BlindType',['../blind_8h.html#a360ce6465b5b6a404884c21d37759d4a',1,'blind.h']]],
['border_5fpal_5fidx_37',['border_pal_idx',['../structButton.html#abea673d241d333d2f16530ac12b36b6d',1,'Button']]],
['build_20label_38',['With optional build label',['../index.html#autotoc_md16',1,'']]],
['button_39',['Button',['../structButton.html',1,'']]],
['button_2eh_40',['button.h',['../button_8h.html',1,'']]],
['button_5fpal_5fidx_41',['button_pal_idx',['../structButton.html#aaec238974eccbed85d01a5c3a87173ce',1,'Button']]],
['button_5fpress_42',['button_press',['../button_8h.html#a071a4d1bf72a16a7f4a4153722ce36db',1,'button.c']]],
['button_5fset_5fhighlight_43',['button_set_highlight',['../button_8h.html#ab07bc69b92e6642e2b986debfb152e48',1,'button.c']]],
['buttoncanbepressedfunc_44',['ButtonCanBePressedFunc',['../button_8h.html#a35f4dc832e5b998d6595ca06c29f7a50',1,'button.h']]],
['buttononpressedfunc_45',['ButtonOnPressedFunc',['../button_8h.html#a6a588233fed69a8f3e5e69683660fedc',1,'button.h']]],
['buy_20the_20official_20full_20version_20from_20these_20sources_20below_3a_46',['Please buy the official full version from these sources below:',['../md_README.html#autotoc_md26',1,'']]]
];

View File

@@ -46,7 +46,7 @@ var searchData=
['game_5fshop_5fintro_43',['game_shop_intro',['../shop_8c.html#a484407ff53bda48be7caddeb4a3182f5',1,'shop.c']]],
['game_5fshop_5flights_5fanim_5fframe_44',['game_shop_lights_anim_frame',['../shop_8c.html#a4eda134181fdd41d27ba407f4000f5d8',1,'shop.c']]],
['game_5fshop_5fon_5fexit_45',['game_shop_on_exit',['../shop_8h.html#a17eee4573edc97f2bb8b4eba2d1d743b',1,'game_shop_on_exit(void):&#160;shop.c'],['../shop_8c.html#a17eee4573edc97f2bb8b4eba2d1d743b',1,'game_shop_on_exit(void):&#160;shop.c']]],
['game_5fshop_5fon_5finit_46',['game_shop_on_init',['../shop_8h.html#a683cb9b742567084b93dcc3e71910a60',1,'game_shop_on_init(void):&#160;shop.c'],['../shop_8c.html#a683cb9b742567084b93dcc3e71910a60',1,'game_shop_on_init(void):&#160;shop.c']]],
['game_5fshop_5fon_5finit_46',['game_shop_on_init',['../shop_8c.html#a683cb9b742567084b93dcc3e71910a60',1,'game_shop_on_init(void):&#160;shop.c'],['../shop_8h.html#a683cb9b742567084b93dcc3e71910a60',1,'game_shop_on_init(void):&#160;shop.c']]],
['game_5fshop_5fon_5fupdate_47',['game_shop_on_update',['../shop_8h.html#af3655830eeb2a559d26ba6c26e5704ee',1,'game_shop_on_update(void):&#160;shop.c'],['../shop_8c.html#af3655830eeb2a559d26ba6c26e5704ee',1,'game_shop_on_update(void):&#160;shop.c']]],
['game_5fshop_5foutro_48',['game_shop_outro',['../shop_8c.html#ac1226dfef8dc6217e92e12941de78acb',1,'shop.c']]],
['game_5fshop_5fprocess_5fuser_5finput_49',['game_shop_process_user_input',['../shop_8c.html#a427185995dbe809f35cb3637fddbcabd',1,'shop.c']]],
@@ -60,22 +60,23 @@ var searchData=
['gbal_5freturn_5fif_5fnull_5fret_57',['GBAL_RETURN_IF_NULL_RET',['../util_8h.html#a481a57617133b2772dd268c341ec98cf',1,'util.h']]],
['gbal_5freturn_5fif_5fnull_5fvoid_58',['GBAL_RETURN_IF_NULL_VOID',['../util_8h.html#a532ad828cb5176e78825f0a9230312d2',1,'util.h']]],
['gbal_5funused_59',['GBAL_UNUSED',['../util_8h.html#aabfb019556c44576446cc201a0ac5459',1,'util.h']]],
['get_5fcontained_5fhands_60',['get_contained_hands',['../hand_8c.html#a1e3e4d83612aa7673b107dcc155ef944',1,'get_contained_hands(void):&#160;hand.c'],['../hand_8h.html#a1e3e4d83612aa7673b107dcc155ef944',1,'get_contained_hands(void):&#160;hand.c']]],
['get_5fcontained_5fhands_60',['get_contained_hands',['../hand_8h.html#a1e3e4d83612aa7673b107dcc155ef944',1,'get_contained_hands(void):&#160;hand.c'],['../hand_8c.html#a1e3e4d83612aa7673b107dcc155ef944',1,'get_contained_hands(void):&#160;hand.c']]],
['get_5fdiscard_5ftop_61',['get_discard_top',['../round_8h.html#a361ace2f170aa9e9651e2b66f1a4d613',1,'get_discard_top(void):&#160;round.c'],['../round_8c.html#a361ace2f170aa9e9651e2b66f1a4d613',1,'get_discard_top(void):&#160;round.c']]],
['get_5ffont_5fpoint_5fstr_62',['get_font_point_str',['../font_8h.html#a0591d220421f2f0094aa80ae39007374',1,'font.c']]],
['get_5fhand_5farray_63',['get_hand_array',['../hand_8h.html#aa5beb0f8bda5c454fea80be021e51df1',1,'get_hand_array(void):&#160;hand.c'],['../hand_8c.html#aa5beb0f8bda5c454fea80be021e51df1',1,'get_hand_array(void):&#160;hand.c']]],
['get_5fhand_5fdistribution_64',['get_hand_distribution',['../hand_8c.html#a8c39bac46f180817e774ddb765326979',1,'hand.c']]],
['get_5fhand_5fstate_65',['get_hand_state',['../hand_8h.html#a4aaf779a75b1c61697315a7d0defdfe1',1,'get_hand_state(void):&#160;hand.c'],['../hand_8c.html#a4aaf779a75b1c61697315a7d0defdfe1',1,'get_hand_state(void):&#160;hand.c']]],
['get_5fhand_5ftop_66',['get_hand_top',['../hand_8h.html#a41c74b16743c1e9a1b7409629d2a5c8e',1,'get_hand_top(void):&#160;hand.c'],['../hand_8c.html#a41c74b16743c1e9a1b7409629d2a5c8e',1,'get_hand_top(void):&#160;hand.c']]],
['get_5fhand_5ftype_67',['get_hand_type',['../hand_8c.html#a3b870a7b9c35fe38077088a0a4956ef4',1,'get_hand_type(void):&#160;hand.c'],['../hand_8h.html#a3b870a7b9c35fe38077088a0a4956ef4',1,'get_hand_type(void):&#160;hand.c']]],
['get_5fhand_5ftop_66',['get_hand_top',['../hand_8c.html#a41c74b16743c1e9a1b7409629d2a5c8e',1,'get_hand_top(void):&#160;hand.c'],['../hand_8h.html#a41c74b16743c1e9a1b7409629d2a5c8e',1,'get_hand_top(void):&#160;hand.c']]],
['get_5fhand_5ftype_67',['get_hand_type',['../hand_8h.html#a3b870a7b9c35fe38077088a0a4956ef4',1,'get_hand_type(void):&#160;hand.c'],['../hand_8c.html#a3b870a7b9c35fe38077088a0a4956ef4',1,'get_hand_type(void):&#160;hand.c']]],
['get_5fitem_5ftype_5ffuncs_68',['get_item_type_funcs',['../item__funcs_8h.html#aa487c0d2967bf235725dfe6383fba4a6',1,'item_funcs.c']]],
['get_5fkeyboard_5findex_5ffrom_5fsel_69',['get_keyboard_index_from_sel',['../run__setup_8c.html#a4f8e645ad43810f5bc789c0385b89318',1,'run_setup.c']]],
['get_5fplayed_5fdistribution_70',['get_played_distribution',['../round_8c.html#ace375f4cc13086b5d150e53892d471f8',1,'round.c']]],
['get_5fplayed_5fsize_71',['get_played_size',['../round_8h.html#a39727c2ef1584b79537ff9bee3e6a5a5',1,'get_played_size(void):&#160;round.c'],['../round_8c.html#a39727c2ef1584b79537ff9bee3e6a5a5',1,'get_played_size(void):&#160;round.c']]],
['get_5fplayed_5ftop_72',['get_played_top',['../round_8h.html#ac8cec2b58cfa75bf971c1013aa1e9a40',1,'get_played_top(void):&#160;round.c'],['../round_8c.html#ac8cec2b58cfa75bf971c1013aa1e9a40',1,'get_played_top(void):&#160;round.c']]],
['get_5fsave_5fheader_73',['get_save_header',['../save_8c.html#aa7c710df5af72243541a55e499e53bd9',1,'save.c']]],
['get_5fscored_5fcard_5findex_74',['get_scored_card_index',['../round_8h.html#a2a4916e063f7e60e36f4f4f95d5a0050',1,'get_scored_card_index(void):&#160;round.c'],['../round_8c.html#a2a4916e063f7e60e36f4f4f95d5a0050',1,'get_scored_card_index(void):&#160;round.c']]],
['git_20tt_20or_20tt_20make_20tt_20installed_75',['4. It says I don&apos;t have &lt;tt&gt;Git&lt;/tt&gt; or &lt;tt&gt;Make&lt;/tt&gt; installed!',['../index.html#autotoc_md22',1,'']]],
['graphic_5futils_2eh_76',['graphic_utils.h',['../graphic__utils_8h.html',1,'']]],
['guide_77',['Developer Guide',['../index.html',1,'']]]
['get_5flayer_5ftile_5findex_70',['get_layer_tile_index',['../blind_8c.html#a1fe16753cff7230a53901295f6cb7a77',1,'blind.c']]],
['get_5fplayed_5fdistribution_71',['get_played_distribution',['../round_8c.html#ace375f4cc13086b5d150e53892d471f8',1,'round.c']]],
['get_5fplayed_5fsize_72',['get_played_size',['../round_8h.html#a39727c2ef1584b79537ff9bee3e6a5a5',1,'get_played_size(void):&#160;round.c'],['../round_8c.html#a39727c2ef1584b79537ff9bee3e6a5a5',1,'get_played_size(void):&#160;round.c']]],
['get_5fplayed_5ftop_73',['get_played_top',['../round_8h.html#ac8cec2b58cfa75bf971c1013aa1e9a40',1,'get_played_top(void):&#160;round.c'],['../round_8c.html#ac8cec2b58cfa75bf971c1013aa1e9a40',1,'get_played_top(void):&#160;round.c']]],
['get_5fsave_5fheader_74',['get_save_header',['../save_8c.html#aa7c710df5af72243541a55e499e53bd9',1,'save.c']]],
['get_5fscored_5fcard_5findex_75',['get_scored_card_index',['../round_8h.html#a2a4916e063f7e60e36f4f4f95d5a0050',1,'get_scored_card_index(void):&#160;round.c'],['../round_8c.html#a2a4916e063f7e60e36f4f4f95d5a0050',1,'get_scored_card_index(void):&#160;round.c']]],
['git_20tt_20or_20tt_20make_20tt_20installed_76',['4. It says I don&apos;t have &lt;tt&gt;Git&lt;/tt&gt; or &lt;tt&gt;Make&lt;/tt&gt; installed!',['../index.html#autotoc_md22',1,'']]],
['graphic_5futils_2eh_77',['graphic_utils.h',['../graphic__utils_8h.html',1,'']]],
['guide_78',['Developer Guide',['../index.html',1,'']]]
];

View File

@@ -6,24 +6,26 @@ var searchData=
['idx_3',['idx',['../structSprite.html#ae40354a1051342eb5a9db005715dcfa9',1,'Sprite']]],
['imagery_20strong_4',['&lt;strong&gt;Imagery&lt;/strong&gt;',['../md_README.html#autotoc_md34',1,'']]],
['implementation_5',['List Implementation',['../list_8h.html#autotoc_md23',1,'']]],
['installation_6',['installation',['../index.html#autotoc_md9',1,'Installation'],['../index.html#autotoc_md10',1,'Verify Installation']]],
['installed_7',['4. It says I don&apos;t have &lt;tt&gt;Git&lt;/tt&gt; or &lt;tt&gt;Make&lt;/tt&gt; installed!',['../index.html#autotoc_md22',1,'']]],
['is_5fgame_5fdata_5fvalid_8',['is_game_data_valid',['../save_8h.html#a0f9f87c5b74807464390321d01eeef80',1,'is_game_data_valid(void):&#160;save.c'],['../save_8c.html#a0f9f87c5b74807464390321d01eeef80',1,'is_game_data_valid(void):&#160;save.c']]],
['is_5fversion_5fdirty_9',['is_version_dirty',['../save_8c.html#a5ecd52e574ea02292941949278d4776e',1,'save.c']]],
['issues_3a_10',['Common Issues:',['../index.html#autotoc_md18',1,'']]],
['it_20errors_20out_20and_20won_20t_20compile_11',['1. When I run &lt;tt&gt;make&lt;/tt&gt; it errors out and won&apos;t compile!',['../index.html#autotoc_md19',1,'']]],
['it_20says_20i_20don_20t_20have_20tt_20git_20tt_20or_20tt_20make_20tt_20installed_12',['4. It says I don&apos;t have &lt;tt&gt;Git&lt;/tt&gt; or &lt;tt&gt;Make&lt;/tt&gt; installed!',['../index.html#autotoc_md22',1,'']]],
['item_13',['item',['../structItem.html',1,'Item'],['../item_8h.html#a749adef16b111dddf0ab08f96707a3a0',1,'Item:&#160;item.h']]],
['item_2eh_14',['item.h',['../item_8h.html',1,'']]],
['item_5facquire_15',['item_acquire',['../item_8h.html#acd9b4c99ac6fe9f9b6eb4543d16fb7db',1,'item.c']]],
['item_5fcan_5facquire_16',['item_can_acquire',['../item_8h.html#aaf240301d7232be1f643177e4d5755fa',1,'item.c']]],
['item_5fdispose_17',['item_dispose',['../item_8h.html#a178cee27ce8381444e135b45c9174359',1,'item.c']]],
['item_5ffuncs_2eh_18',['item_funcs.h',['../item__funcs_8h.html',1,'']]],
['item_5fget_5fbuy_5fprice_19',['item_get_buy_price',['../item_8h.html#aff0f2379be85d7b6a27a5761be9e7715',1,'item.c']]],
['item_5fprint_5fbuy_5fprice_5funder_20',['item_print_buy_price_under',['../item_8h.html#a3a4d47e5504f52b26a4e8d560a697433',1,'item.c']]],
['item_5freturn_5fif_5funexpected_5ftype_5fret_21',['ITEM_RETURN_IF_UNEXPECTED_TYPE_RET',['../item_8h.html#a03689dd6ee6d519243cdc0ac44768a04',1,'item.h']]],
['item_5freturn_5fif_5funexpected_5ftype_5fvoid_22',['ITEM_RETURN_IF_UNEXPECTED_TYPE_VOID',['../item_8h.html#a32f7cd2b81875b4ccedd715e1146e613',1,'item.h']]],
['item_5froll_5fnew_23',['item_roll_new',['../item_8h.html#a1ae511d2e85bbe177e8b303726a73b3f',1,'item.c']]],
['itemfuncs_24',['itemfuncs',['../item_8h.html#a96577ad5559bbb52afe7d2a8b1488824',1,'ItemFuncs:&#160;item.h'],['../structItemFuncs.html',1,'ItemFuncs']]],
['itr_25',['itr',['../structBitsetItr.html#a73e1c99538dd376c95bd309154f72116',1,'BitsetItr']]]
['init_5funbeaten_5fblinds_5flist_6',['init_unbeaten_blinds_list',['../blind_8c.html#a40c15210bb6306ece0a7240106e42543',1,'blind.c']]],
['init_5funbeaten_5fblinds_5flists_7',['init_unbeaten_blinds_lists',['../blind_8h.html#aedfd9b6abb09b4255160fe02ae1d018b',1,'init_unbeaten_blinds_lists(void):&#160;blind.c'],['../blind_8c.html#aedfd9b6abb09b4255160fe02ae1d018b',1,'init_unbeaten_blinds_lists(void):&#160;blind.c']]],
['installation_8',['installation',['../index.html#autotoc_md9',1,'Installation'],['../index.html#autotoc_md10',1,'Verify Installation']]],
['installed_9',['4. It says I don&apos;t have &lt;tt&gt;Git&lt;/tt&gt; or &lt;tt&gt;Make&lt;/tt&gt; installed!',['../index.html#autotoc_md22',1,'']]],
['is_5fgame_5fdata_5fvalid_10',['is_game_data_valid',['../save_8c.html#a0f9f87c5b74807464390321d01eeef80',1,'is_game_data_valid(void):&#160;save.c'],['../save_8h.html#a0f9f87c5b74807464390321d01eeef80',1,'is_game_data_valid(void):&#160;save.c']]],
['is_5fversion_5fdirty_11',['is_version_dirty',['../save_8c.html#a5ecd52e574ea02292941949278d4776e',1,'save.c']]],
['issues_3a_12',['Common Issues:',['../index.html#autotoc_md18',1,'']]],
['it_20errors_20out_20and_20won_20t_20compile_13',['1. When I run &lt;tt&gt;make&lt;/tt&gt; it errors out and won&apos;t compile!',['../index.html#autotoc_md19',1,'']]],
['it_20says_20i_20don_20t_20have_20tt_20git_20tt_20or_20tt_20make_20tt_20installed_14',['4. It says I don&apos;t have &lt;tt&gt;Git&lt;/tt&gt; or &lt;tt&gt;Make&lt;/tt&gt; installed!',['../index.html#autotoc_md22',1,'']]],
['item_15',['item',['../item_8h.html#a749adef16b111dddf0ab08f96707a3a0',1,'Item:&#160;item.h'],['../structItem.html',1,'Item']]],
['item_2eh_16',['item.h',['../item_8h.html',1,'']]],
['item_5facquire_17',['item_acquire',['../item_8h.html#acd9b4c99ac6fe9f9b6eb4543d16fb7db',1,'item.c']]],
['item_5fcan_5facquire_18',['item_can_acquire',['../item_8h.html#aaf240301d7232be1f643177e4d5755fa',1,'item.c']]],
['item_5fdispose_19',['item_dispose',['../item_8h.html#a178cee27ce8381444e135b45c9174359',1,'item.c']]],
['item_5ffuncs_2eh_20',['item_funcs.h',['../item__funcs_8h.html',1,'']]],
['item_5fget_5fbuy_5fprice_21',['item_get_buy_price',['../item_8h.html#aff0f2379be85d7b6a27a5761be9e7715',1,'item.c']]],
['item_5fprint_5fbuy_5fprice_5funder_22',['item_print_buy_price_under',['../item_8h.html#a3a4d47e5504f52b26a4e8d560a697433',1,'item.c']]],
['item_5freturn_5fif_5funexpected_5ftype_5fret_23',['ITEM_RETURN_IF_UNEXPECTED_TYPE_RET',['../item_8h.html#a03689dd6ee6d519243cdc0ac44768a04',1,'item.h']]],
['item_5freturn_5fif_5funexpected_5ftype_5fvoid_24',['ITEM_RETURN_IF_UNEXPECTED_TYPE_VOID',['../item_8h.html#a32f7cd2b81875b4ccedd715e1146e613',1,'item.h']]],
['item_5froll_5fnew_25',['item_roll_new',['../item_8h.html#a1ae511d2e85bbe177e8b303726a73b3f',1,'item.c']]],
['itemfuncs_26',['itemfuncs',['../item_8h.html#a96577ad5559bbb52afe7d2a8b1488824',1,'ItemFuncs:&#160;item.h'],['../structItemFuncs.html',1,'ItemFuncs']]],
['itr_27',['itr',['../structBitsetItr.html#a73e1c99538dd376c95bd309154f72116',1,'BitsetItr']]]
];

View File

@@ -1,4 +1,9 @@
var searchData=
[
['backgroundid_0',['BackgroundId',['../common__ui_8h.html#aa1dc226c31d41c9cb14cdf9e2551c5cd',1,'common_ui.h']]]
['backgroundid_0',['BackgroundId',['../common__ui_8h.html#aa1dc226c31d41c9cb14cdf9e2551c5cd',1,'common_ui.h']]],
['blindcolorindex_1',['BlindColorIndex',['../blind_8h.html#ab459b45520cab1b163439acc78635be8',1,'blind.h']]],
['blindstate_2',['BlindState',['../blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d',1,'blind.h']]],
['blindtokenlayers_3',['BlindTokenLayers',['../blind_8h.html#a72f525224754ea5b65ce95410fa44408',1,'blind.h']]],
['blindtokens_4',['BlindTokens',['../blind_8h.html#ac213b67180e7b74f69beb56ddd17026e',1,'blind.h']]],
['blindtype_5',['BlindType',['../blind_8h.html#a360ce6465b5b6a404884c21d37759d4a',1,'blind.h']]]
];

View File

@@ -1,6 +1,8 @@
var searchData=
[
['bitset_2eh_0',['bitset.h',['../bitset_8h.html',1,'']]],
['blind_5fselect_2eh_1',['blind_select.h',['../blind__select_8h.html',1,'']]],
['button_2eh_2',['button.h',['../button_8h.html',1,'']]]
['blind_2ec_1',['blind.c',['../blind_8c.html',1,'']]],
['blind_2eh_2',['blind.h',['../blind_8h.html',1,'']]],
['blind_5fselect_2eh_3',['blind_select.h',['../blind__select_8h.html',1,'']]],
['button_2eh_4',['button.h',['../button_8h.html',1,'']]]
];

View File

@@ -6,5 +6,7 @@ var searchData=
['affine_5fbackground_5fload_5fpalette_3',['affine_background_load_palette',['../affine__background_8h.html#ad1390b2f0cb79fba57be0eb5663b2d76',1,'affine_background.c']]],
['affine_5fbackground_5fset_5fcolor_4',['affine_background_set_color',['../affine__background_8h.html#a18432fdcb05ae0677341522862f4b742',1,'affine_background.c']]],
['affine_5fbackground_5fupdate_5',['affine_background_update',['../affine__background_8h.html#a55fdb6345d3e66a7c7af446e3dd5f070',1,'affine_background.c']]],
['audio_5fparam_5fupdate_6',['audio_param_update',['../audio__utils_8c.html#af8f10383ee9bbeff6ed044e16c7374e9',1,'audio_utils.c']]]
['apply_5fblind_5fcolors_6',['apply_blind_colors',['../blind_8h.html#a33aca14af98233e87839aec461812517',1,'apply_blind_colors(enum BlindType type):&#160;blind.c'],['../blind_8c.html#a33aca14af98233e87839aec461812517',1,'apply_blind_colors(enum BlindType type):&#160;blind.c']]],
['apply_5fblind_5ftiles_7',['apply_blind_tiles',['../blind_8h.html#a186aee3247d5b47aaa84b4f6ee3a5947',1,'apply_blind_tiles(enum BlindType type, enum BlindTokenLayers layer):&#160;blind.c'],['../blind_8c.html#a186aee3247d5b47aaa84b4f6ee3a5947',1,'apply_blind_tiles(enum BlindType type, enum BlindTokenLayers layer):&#160;blind.c']]],
['audio_5fparam_5fupdate_8',['audio_param_update',['../audio__utils_8c.html#af8f10383ee9bbeff6ed044e16c7374e9',1,'audio_utils.c']]]
];

View File

@@ -13,6 +13,10 @@ var searchData=
['bitset_5fnum_5fset_5fbits_10',['bitset_num_set_bits',['../bitset_8h.html#a414b573ef4e83f9eff939c2372e09d29',1,'bitset.c']]],
['bitset_5fset_5fidx_11',['bitset_set_idx',['../bitset_8h.html#adef0d8a817ab0e3677844bbe2a9f5d59',1,'bitset.c']]],
['bitset_5fset_5fnext_5ffree_5fidx_12',['bitset_set_next_free_idx',['../bitset_8h.html#abe34811eb4ac2ad6ccd77871fd049b89',1,'bitset.c']]],
['button_5fpress_13',['button_press',['../button_8h.html#a071a4d1bf72a16a7f4a4153722ce36db',1,'button.c']]],
['button_5fset_5fhighlight_14',['button_set_highlight',['../button_8h.html#ab07bc69b92e6642e2b986debfb152e48',1,'button.c']]]
['blind_5fget_5fcolor_13',['blind_get_color',['../blind_8h.html#a6d39b4ae4ca73f51bb2d3bc4b7687473',1,'blind_get_color(enum BlindType type, enum BlindColorIndex index):&#160;blind.c'],['../blind_8c.html#a6d39b4ae4ca73f51bb2d3bc4b7687473',1,'blind_get_color(enum BlindType type, enum BlindColorIndex index):&#160;blind.c']]],
['blind_5fget_5frequirement_14',['blind_get_requirement',['../blind_8h.html#a85fefafb15d88f710cbe1183ac34f3f4',1,'blind_get_requirement(enum BlindType type, int ante):&#160;blind.c'],['../blind_8c.html#a85fefafb15d88f710cbe1183ac34f3f4',1,'blind_get_requirement(enum BlindType type, int ante):&#160;blind.c']]],
['blind_5fget_5freward_15',['blind_get_reward',['../blind_8h.html#af2031f17bfb33cfe0a1815fa66b8bde6',1,'blind_get_reward(enum BlindType type):&#160;blind.c'],['../blind_8c.html#af2031f17bfb33cfe0a1815fa66b8bde6',1,'blind_get_reward(enum BlindType type):&#160;blind.c']]],
['blind_5ftoken_5fnew_16',['blind_token_new',['../blind_8h.html#accef25c77a0711a7f6ab7f2a4774ae9b',1,'blind_token_new(enum BlindType type, int x, int y, enum BlindTokenLayers sprite_index):&#160;blind.c'],['../blind_8c.html#a5518e6cabc5bcfd4e0ac280abd9f199c',1,'blind_token_new(enum BlindType type, int x, int y, enum BlindTokenLayers layer):&#160;blind.c']]],
['button_5fpress_17',['button_press',['../button_8h.html#a071a4d1bf72a16a7f4a4153722ce36db',1,'button.c']]],
['button_5fset_5fhighlight_18',['button_set_highlight',['../button_8h.html#ab07bc69b92e6642e2b986debfb152e48',1,'button.c']]]
];

View File

@@ -51,18 +51,19 @@ var searchData=
['game_5fshop_5freset_48',['game_shop_reset',['../shop_8h.html#a5fa7df04d461d36854de8de527fb3a5f',1,'game_shop_reset(void):&#160;shop.c'],['../shop_8c.html#a5fa7df04d461d36854de8de527fb3a5f',1,'game_shop_reset(void):&#160;shop.c']]],
['game_5fwin_5fon_5finit_49',['game_win_on_init',['../game__over_8h.html#aaffb8156e7276d62874c7c5db0b8ed02',1,'game_over.c']]],
['get_5fcontained_5fhands_50',['get_contained_hands',['../hand_8h.html#a1e3e4d83612aa7673b107dcc155ef944',1,'get_contained_hands(void):&#160;hand.c'],['../hand_8c.html#a1e3e4d83612aa7673b107dcc155ef944',1,'get_contained_hands(void):&#160;hand.c']]],
['get_5fdiscard_5ftop_51',['get_discard_top',['../round_8h.html#a361ace2f170aa9e9651e2b66f1a4d613',1,'get_discard_top(void):&#160;round.c'],['../round_8c.html#a361ace2f170aa9e9651e2b66f1a4d613',1,'get_discard_top(void):&#160;round.c']]],
['get_5fdiscard_5ftop_51',['get_discard_top',['../round_8c.html#a361ace2f170aa9e9651e2b66f1a4d613',1,'get_discard_top(void):&#160;round.c'],['../round_8h.html#a361ace2f170aa9e9651e2b66f1a4d613',1,'get_discard_top(void):&#160;round.c']]],
['get_5ffont_5fpoint_5fstr_52',['get_font_point_str',['../font_8h.html#a0591d220421f2f0094aa80ae39007374',1,'font.c']]],
['get_5fhand_5farray_53',['get_hand_array',['../hand_8h.html#aa5beb0f8bda5c454fea80be021e51df1',1,'get_hand_array(void):&#160;hand.c'],['../hand_8c.html#aa5beb0f8bda5c454fea80be021e51df1',1,'get_hand_array(void):&#160;hand.c']]],
['get_5fhand_5fdistribution_54',['get_hand_distribution',['../hand_8c.html#a8c39bac46f180817e774ddb765326979',1,'hand.c']]],
['get_5fhand_5fstate_55',['get_hand_state',['../hand_8h.html#a4aaf779a75b1c61697315a7d0defdfe1',1,'get_hand_state(void):&#160;hand.c'],['../hand_8c.html#a4aaf779a75b1c61697315a7d0defdfe1',1,'get_hand_state(void):&#160;hand.c']]],
['get_5fhand_5ftop_56',['get_hand_top',['../hand_8h.html#a41c74b16743c1e9a1b7409629d2a5c8e',1,'get_hand_top(void):&#160;hand.c'],['../hand_8c.html#a41c74b16743c1e9a1b7409629d2a5c8e',1,'get_hand_top(void):&#160;hand.c']]],
['get_5fhand_5ftype_57',['get_hand_type',['../hand_8c.html#a3b870a7b9c35fe38077088a0a4956ef4',1,'get_hand_type(void):&#160;hand.c'],['../hand_8h.html#a3b870a7b9c35fe38077088a0a4956ef4',1,'get_hand_type(void):&#160;hand.c']]],
['get_5fhand_5ftype_57',['get_hand_type',['../hand_8h.html#a3b870a7b9c35fe38077088a0a4956ef4',1,'get_hand_type(void):&#160;hand.c'],['../hand_8c.html#a3b870a7b9c35fe38077088a0a4956ef4',1,'get_hand_type(void):&#160;hand.c']]],
['get_5fitem_5ftype_5ffuncs_58',['get_item_type_funcs',['../item__funcs_8h.html#aa487c0d2967bf235725dfe6383fba4a6',1,'item_funcs.c']]],
['get_5fkeyboard_5findex_5ffrom_5fsel_59',['get_keyboard_index_from_sel',['../run__setup_8c.html#a4f8e645ad43810f5bc789c0385b89318',1,'run_setup.c']]],
['get_5fplayed_5fdistribution_60',['get_played_distribution',['../round_8c.html#ace375f4cc13086b5d150e53892d471f8',1,'round.c']]],
['get_5fplayed_5fsize_61',['get_played_size',['../round_8h.html#a39727c2ef1584b79537ff9bee3e6a5a5',1,'get_played_size(void):&#160;round.c'],['../round_8c.html#a39727c2ef1584b79537ff9bee3e6a5a5',1,'get_played_size(void):&#160;round.c']]],
['get_5fplayed_5ftop_62',['get_played_top',['../round_8h.html#ac8cec2b58cfa75bf971c1013aa1e9a40',1,'get_played_top(void):&#160;round.c'],['../round_8c.html#ac8cec2b58cfa75bf971c1013aa1e9a40',1,'get_played_top(void):&#160;round.c']]],
['get_5fsave_5fheader_63',['get_save_header',['../save_8c.html#aa7c710df5af72243541a55e499e53bd9',1,'save.c']]],
['get_5fscored_5fcard_5findex_64',['get_scored_card_index',['../round_8h.html#a2a4916e063f7e60e36f4f4f95d5a0050',1,'get_scored_card_index(void):&#160;round.c'],['../round_8c.html#a2a4916e063f7e60e36f4f4f95d5a0050',1,'get_scored_card_index(void):&#160;round.c']]]
['get_5flayer_5ftile_5findex_60',['get_layer_tile_index',['../blind_8c.html#a1fe16753cff7230a53901295f6cb7a77',1,'blind.c']]],
['get_5fplayed_5fdistribution_61',['get_played_distribution',['../round_8c.html#ace375f4cc13086b5d150e53892d471f8',1,'round.c']]],
['get_5fplayed_5fsize_62',['get_played_size',['../round_8h.html#a39727c2ef1584b79537ff9bee3e6a5a5',1,'get_played_size(void):&#160;round.c'],['../round_8c.html#a39727c2ef1584b79537ff9bee3e6a5a5',1,'get_played_size(void):&#160;round.c']]],
['get_5fplayed_5ftop_63',['get_played_top',['../round_8h.html#ac8cec2b58cfa75bf971c1013aa1e9a40',1,'get_played_top(void):&#160;round.c'],['../round_8c.html#ac8cec2b58cfa75bf971c1013aa1e9a40',1,'get_played_top(void):&#160;round.c']]],
['get_5fsave_5fheader_64',['get_save_header',['../save_8c.html#aa7c710df5af72243541a55e499e53bd9',1,'save.c']]],
['get_5fscored_5fcard_5findex_65',['get_scored_card_index',['../round_8h.html#a2a4916e063f7e60e36f4f4f95d5a0050',1,'get_scored_card_index(void):&#160;round.c'],['../round_8c.html#a2a4916e063f7e60e36f4f4f95d5a0050',1,'get_scored_card_index(void):&#160;round.c']]]
];

View File

@@ -1,11 +1,13 @@
var searchData=
[
['is_5fgame_5fdata_5fvalid_0',['is_game_data_valid',['../save_8h.html#a0f9f87c5b74807464390321d01eeef80',1,'is_game_data_valid(void):&#160;save.c'],['../save_8c.html#a0f9f87c5b74807464390321d01eeef80',1,'is_game_data_valid(void):&#160;save.c']]],
['is_5fversion_5fdirty_1',['is_version_dirty',['../save_8c.html#a5ecd52e574ea02292941949278d4776e',1,'save.c']]],
['item_5facquire_2',['item_acquire',['../item_8h.html#acd9b4c99ac6fe9f9b6eb4543d16fb7db',1,'item.c']]],
['item_5fcan_5facquire_3',['item_can_acquire',['../item_8h.html#aaf240301d7232be1f643177e4d5755fa',1,'item.c']]],
['item_5fdispose_4',['item_dispose',['../item_8h.html#a178cee27ce8381444e135b45c9174359',1,'item.c']]],
['item_5fget_5fbuy_5fprice_5',['item_get_buy_price',['../item_8h.html#aff0f2379be85d7b6a27a5761be9e7715',1,'item.c']]],
['item_5fprint_5fbuy_5fprice_5funder_6',['item_print_buy_price_under',['../item_8h.html#a3a4d47e5504f52b26a4e8d560a697433',1,'item.c']]],
['item_5froll_5fnew_7',['item_roll_new',['../item_8h.html#a1ae511d2e85bbe177e8b303726a73b3f',1,'item.c']]]
['init_5funbeaten_5fblinds_5flist_0',['init_unbeaten_blinds_list',['../blind_8c.html#a40c15210bb6306ece0a7240106e42543',1,'blind.c']]],
['init_5funbeaten_5fblinds_5flists_1',['init_unbeaten_blinds_lists',['../blind_8h.html#aedfd9b6abb09b4255160fe02ae1d018b',1,'init_unbeaten_blinds_lists(void):&#160;blind.c'],['../blind_8c.html#aedfd9b6abb09b4255160fe02ae1d018b',1,'init_unbeaten_blinds_lists(void):&#160;blind.c']]],
['is_5fgame_5fdata_5fvalid_2',['is_game_data_valid',['../save_8h.html#a0f9f87c5b74807464390321d01eeef80',1,'is_game_data_valid(void):&#160;save.c'],['../save_8c.html#a0f9f87c5b74807464390321d01eeef80',1,'is_game_data_valid(void):&#160;save.c']]],
['is_5fversion_5fdirty_3',['is_version_dirty',['../save_8c.html#a5ecd52e574ea02292941949278d4776e',1,'save.c']]],
['item_5facquire_4',['item_acquire',['../item_8h.html#acd9b4c99ac6fe9f9b6eb4543d16fb7db',1,'item.c']]],
['item_5fcan_5facquire_5',['item_can_acquire',['../item_8h.html#aaf240301d7232be1f643177e4d5755fa',1,'item.c']]],
['item_5fdispose_6',['item_dispose',['../item_8h.html#a178cee27ce8381444e135b45c9174359',1,'item.c']]],
['item_5fget_5fbuy_5fprice_7',['item_get_buy_price',['../item_8h.html#aff0f2379be85d7b6a27a5761be9e7715',1,'item.c']]],
['item_5fprint_5fbuy_5fprice_5funder_8',['item_print_buy_price_under',['../item_8h.html#a3a4d47e5504f52b26a4e8d560a697433',1,'item.c']]],
['item_5froll_5fnew_9',['item_roll_new',['../item_8h.html#a1ae511d2e85bbe177e8b303726a73b3f',1,'item.c']]]
];

View File

@@ -7,12 +7,13 @@ var searchData=
['reroll_5fseed_5fstr_4',['reroll_seed_str',['../run__setup_8c.html#ad00a2328e92525b7de20c1eecf2da9bc',1,'run_setup.c']]],
['reset_5ftop_5fleft_5fpanel_5fbottom_5frow_5',['reset_top_left_panel_bottom_row',['../common__ui_8h.html#ad91f726cfa93c1262dc1c4108f7c83c9',1,'common_ui.c']]],
['resume_5fsubstate_5finit_6',['resume_substate_init',['../run__setup_8c.html#adcc3123e99b0af659149cbfa8df7d366',1,'run_setup.c']]],
['rev_5flist_5fitr_5fcreate_7',['rev_list_itr_create',['../list_8h.html#a9dd6c8825c0862926490ab49ec008a63',1,'rev_list_itr_create(List *list):&#160;list.c'],['../list_8c.html#a9dd6c8825c0862926490ab49ec008a63',1,'rev_list_itr_create(List *list):&#160;list.c']]],
['rev_5flist_5fitr_5fcreate_7',['rev_list_itr_create',['../list_8c.html#a9dd6c8825c0862926490ab49ec008a63',1,'rev_list_itr_create(List *list):&#160;list.c'],['../list_8h.html#a9dd6c8825c0862926490ab49ec008a63',1,'rev_list_itr_create(List *list):&#160;list.c']]],
['rng_5fget_5fu32_8',['rng_get_u32',['../random_8h.html#aa9ae84d9bf14a3987243f76cdf78c67b',1,'random.c']]],
['rng_5finit_9',['rng_init',['../random_8h.html#ad5a3df3d0092f55f6ea54ccaa7daf3dc',1,'random.c']]],
['rng_5frestore_10',['rng_restore',['../random_8h.html#a83ec4c5702aa84b05b24e8335ba7966e',1,'random.c']]],
['rng_5fset_5fseed_11',['rng_set_seed',['../random_8h.html#a53482f39207d0f9884dda144723fb518',1,'random.c']]],
['rng_5fshuffle_5fseed_12',['rng_shuffle_seed',['../random_8h.html#a43bd63e66bebf4e4d463a7bee43dd737',1,'random.c']]],
['rng_5fupdate_13',['rng_update',['../random_8h.html#a3364aa4a4ff4352d9df2222c4735151a',1,'random.c']]],
['run_5fsetup_5ftabs_5fupdate_14',['run_setup_tabs_update',['../run__setup_8c.html#ad8f373b6c06e1a2b727bdc2a39dd2cd2',1,'run_setup.c']]]
['roll_5fblind_5ftype_14',['roll_blind_type',['../blind_8h.html#a2826e7fd956be78ad09013ef623c91e3',1,'roll_blind_type(bool showdown):&#160;blind.c'],['../blind_8c.html#a2826e7fd956be78ad09013ef623c91e3',1,'roll_blind_type(bool showdown):&#160;blind.c']]],
['run_5fsetup_5ftabs_5fupdate_15',['run_setup_tabs_update',['../run__setup_8c.html#ad8f373b6c06e1a2b727bdc2a39dd2cd2',1,'run_setup.c']]]
];

View File

@@ -13,50 +13,51 @@ var searchData=
['selection_5fgrid_5fmove_5fselection_5fhorz_10',['selection_grid_move_selection_horz',['../selection__grid_8h.html#a821f365464b75a5ae5f402eaa0d76d24',1,'selection_grid.c']]],
['selection_5fgrid_5fmove_5fselection_5fvert_11',['selection_grid_move_selection_vert',['../selection__grid_8h.html#a0ce39e190a85488f03024736064a9115',1,'selection_grid.c']]],
['selection_5fgrid_5fprocess_5finput_12',['selection_grid_process_input',['../selection__grid_8h.html#aab5b9794029546e2418e24bd899a3032',1,'selection_grid.c']]],
['set_5fhand_5fstate_13',['set_hand_state',['../hand_8h.html#a02fbe6fa56d5eecb06498a94aa3f654f',1,'set_hand_state(enum HandState):&#160;hand.c'],['../hand_8c.html#aaefb19d1e0ab6565858827cd31dc8cac',1,'set_hand_state(enum HandState new_hand_state):&#160;hand.c']]],
['set_5fhand_5ftop_14',['set_hand_top',['../hand_8h.html#ad3a7f85ee10f46e9e5434829904a923d',1,'set_hand_top(int new_hand_top):&#160;hand.c'],['../hand_8c.html#ad3a7f85ee10f46e9e5434829904a923d',1,'set_hand_top(int new_hand_top):&#160;hand.c']]],
['set_5fretrigger_15',['set_retrigger',['../round_8h.html#a502b904f74141ec81e736c49137622ef',1,'set_retrigger(bool new_retrigger):&#160;round.c'],['../round_8c.html#a502b904f74141ec81e736c49137622ef',1,'set_retrigger(bool new_retrigger):&#160;round.c']]],
['set_5fsave_5fheader_16',['set_save_header',['../save_8c.html#ae0dd7506669cf4ae699a6e232dd59364',1,'save.c']]],
['shop_5freroll_5frow_5fget_5fsize_17',['shop_reroll_row_get_size',['../shop_8c.html#a6c9b1b5c9e762eadffd7156376d9b52f',1,'shop.c']]],
['shop_5freroll_5frow_5fon_5fkey_5ftransit_18',['shop_reroll_row_on_key_transit',['../shop_8c.html#a853d7d426bf12e36958bd2b12d87236b',1,'shop.c']]],
['shop_5freroll_5frow_5fon_5fselection_5fchanged_19',['shop_reroll_row_on_selection_changed',['../shop_8c.html#a077e8c72bb06675c7307dec45fd895cb',1,'shop.c']]],
['shop_5ftop_5frow_5fget_5fsize_20',['shop_top_row_get_size',['../shop_8c.html#a75ea42eafb427a9ca2daa6d2f6d70ec9',1,'shop.c']]],
['shop_5ftop_5frow_5fon_5fkey_5ftransit_21',['shop_top_row_on_key_transit',['../shop_8c.html#a0dd08021dc2405d8c68d03060ad6b027',1,'shop.c']]],
['shop_5ftop_5frow_5fon_5fselection_5fchanged_22',['shop_top_row_on_selection_changed',['../shop_8c.html#a1c93ade895a41aa97a9a38bdf425c5e4',1,'shop.c']]],
['sort_5fcards_23',['sort_cards',['../hand_8h.html#ae939d94185e29e1bbf44072c5d37c273',1,'sort_cards(void):&#160;hand.c'],['../hand_8c.html#ae939d94185e29e1bbf44072c5d37c273',1,'sort_cards(void):&#160;hand.c']]],
['splash_5fscreen_5fon_5fexit_24',['splash_screen_on_exit',['../splash__screen_8h.html#a9ca7b8370e792a84403f912b7611d2f9',1,'splash_screen.c']]],
['splash_5fscreen_5fon_5finit_25',['splash_screen_on_init',['../splash__screen_8h.html#ad6665f68a653bd65b4a353c4ab5ee9e2',1,'splash_screen.c']]],
['splash_5fscreen_5fon_5fupdate_26',['splash_screen_on_update',['../splash__screen_8h.html#abef5b26c1b8c1a453134ae4d8662d4ed',1,'splash_screen.c']]],
['sprite_5fdestroy_27',['sprite_destroy',['../sprite_8h.html#abbbc989fe5cd8e1e93f9784e1048be47',1,'sprite.c']]],
['sprite_5fdraw_28',['sprite_draw',['../sprite_8h.html#aeae667aa51109000495c9a7f19fa08e8',1,'sprite.c']]],
['sprite_5fget_5fdimensions_29',['sprite_get_dimensions',['../sprite_8h.html#a892674d2db5b33bb55aacffa2686632a',1,'sprite.c']]],
['sprite_5fget_5fheight_30',['sprite_get_height',['../sprite_8h.html#aa9d27d44b0c3310d61bebbc88b443b4c',1,'sprite.c']]],
['sprite_5fget_5flayer_31',['sprite_get_layer',['../sprite_8h.html#aa017c4226720c0aa8f4ab530a6e2f715',1,'sprite.c']]],
['sprite_5fget_5fpb_32',['sprite_get_pb',['../sprite_8h.html#a6938f30020cc51d7baa6cf552fdb884d',1,'sprite.c']]],
['sprite_5fget_5fwidth_33',['sprite_get_width',['../sprite_8h.html#a1da4094cf80f8db62d6cf4a0380acc9d',1,'sprite.c']]],
['sprite_5finit_34',['sprite_init',['../sprite_8h.html#a564c9484883d28c4904b382c2eec5db9',1,'sprite.c']]],
['sprite_5fnew_35',['sprite_new',['../sprite_8h.html#a5fbaf037f18d04536127b88417481eb8',1,'sprite.c']]],
['sprite_5fobject_5fdestroy_36',['sprite_object_destroy',['../sprite_8h.html#a34b18a8546f66dee7a80f6192c9b0e92',1,'sprite.c']]],
['sprite_5fobject_5ferase_5ftext_5funder_37',['sprite_object_erase_text_under',['../sprite_8h.html#aa1adb2bd898e4c580e1c522b6a158eba',1,'sprite.c']]],
['sprite_5fobject_5fget_5fdimensions_38',['sprite_object_get_dimensions',['../sprite_8h.html#a0e8244424d95f4d81a96756e2cf4e17a',1,'sprite.c']]],
['sprite_5fobject_5fget_5fheight_39',['sprite_object_get_height',['../sprite_8h.html#a8e569f7a24f5cde918e8f44d6d91e0f7',1,'sprite.c']]],
['sprite_5fobject_5fget_5fsprite_40',['sprite_object_get_sprite',['../sprite_8h.html#abe95d2088cb9739deb50864189556121',1,'sprite.c']]],
['sprite_5fobject_5fget_5fwidth_41',['sprite_object_get_width',['../sprite_8h.html#a7119e6d7e7c898abb9670952ed45b999',1,'sprite.c']]],
['sprite_5fobject_5finit_42',['sprite_object_init',['../sprite_8h.html#a30997cd0fdc5182591687e67f8bc5d1d',1,'sprite.c']]],
['sprite_5fobject_5fis_5ffocused_43',['sprite_object_is_focused',['../sprite_8h.html#a16ee5e7acf8ecd2bd4a3c928ce270b3b',1,'sprite.c']]],
['sprite_5fobject_5fposition_44',['sprite_object_position',['../sprite_8h.html#a90329a888f65192cc5170085b65ebfde',1,'sprite.h']]],
['sprite_5fobject_5fprint_5fprice_5funder_45',['sprite_object_print_price_under',['../sprite_8h.html#a3d9b736910a0c0671e495dda62be7f91',1,'sprite.c']]],
['sprite_5fobject_5fprint_5ftext_5funder_46',['sprite_object_print_text_under',['../sprite_8h.html#a45d7d6b792b629e6082ae850dcfdf573',1,'sprite.c']]],
['sprite_5fobject_5freset_5ftransform_47',['sprite_object_reset_transform',['../sprite_8h.html#a673f791a81943a40619c246e8eed8f0f',1,'sprite.c']]],
['sprite_5fobject_5fset_5ffocus_48',['sprite_object_set_focus',['../sprite_8h.html#a2b9d31fbf635a9bad37324b4f2ec13bb',1,'sprite.c']]],
['sprite_5fobject_5fset_5fsprite_49',['sprite_object_set_sprite',['../sprite_8h.html#a73a20232ad5676c64b3dc1e548f2bdcf',1,'sprite.c']]],
['sprite_5fobject_5fshake_50',['sprite_object_shake',['../sprite_8h.html#a929ee43cec0d826ecaef2feedf80d1f6',1,'sprite.c']]],
['sprite_5fobject_5fupdate_51',['sprite_object_update',['../sprite_8h.html#aec29df852662063447ff72082fb3ad30',1,'sprite.c']]],
['sprite_5fobject_5fupdate_5fall_52',['sprite_object_update_all',['../sprite_8h.html#a7b5d01a3c39b22115156c4fa9dd0833a',1,'sprite.c']]],
['sprite_5fposition_53',['sprite_position',['../sprite_8h.html#a1ee0e1521651d9a8fd7773a6b4ba127e',1,'sprite.h']]],
['state_5fmachine_5fchange_5fstate_54',['state_machine_change_state',['../state__machine_8h.html#ac887ec8b325e136d801a6d1c30e55d15',1,'state_machine.c']]],
['state_5fmachine_5fregister_55',['state_machine_register',['../state__machine_8h.html#ac3b2a011559ddbcb1f949f0da73ac239',1,'state_machine.c']]],
['state_5fmachine_5fremove_56',['state_machine_remove',['../state__machine_8h.html#aa9b1230f7acdd39a63af8065b6729b5a',1,'state_machine.c']]],
['state_5fmachine_5fupdate_57',['state_machine_update',['../state__machine_8h.html#ad9adae7509d62d10d3f0ad00356ea1e2',1,'state_machine.c']]],
['swap_5fcards_5fin_5fhand_58',['swap_cards_in_hand',['../hand_8h.html#a62aab8570b58813e94d12b33124ccf6c',1,'swap_cards_in_hand(int idx_a, int idx_b):&#160;hand.c'],['../hand_8c.html#a62aab8570b58813e94d12b33124ccf6c',1,'swap_cards_in_hand(int idx_a, int idx_b):&#160;hand.c']]]
['set_5fblind_5fbeaten_13',['set_blind_beaten',['../blind_8h.html#ad5c80cb82487220cada4920ecf037f9e',1,'set_blind_beaten(enum BlindType type):&#160;blind.c'],['../blind_8c.html#ad5c80cb82487220cada4920ecf037f9e',1,'set_blind_beaten(enum BlindType type):&#160;blind.c']]],
['set_5fhand_5fstate_14',['set_hand_state',['../hand_8h.html#a02fbe6fa56d5eecb06498a94aa3f654f',1,'set_hand_state(enum HandState):&#160;hand.c'],['../hand_8c.html#aaefb19d1e0ab6565858827cd31dc8cac',1,'set_hand_state(enum HandState new_hand_state):&#160;hand.c']]],
['set_5fhand_5ftop_15',['set_hand_top',['../hand_8h.html#ad3a7f85ee10f46e9e5434829904a923d',1,'set_hand_top(int new_hand_top):&#160;hand.c'],['../hand_8c.html#ad3a7f85ee10f46e9e5434829904a923d',1,'set_hand_top(int new_hand_top):&#160;hand.c']]],
['set_5fretrigger_16',['set_retrigger',['../round_8h.html#a502b904f74141ec81e736c49137622ef',1,'set_retrigger(bool new_retrigger):&#160;round.c'],['../round_8c.html#a502b904f74141ec81e736c49137622ef',1,'set_retrigger(bool new_retrigger):&#160;round.c']]],
['set_5fsave_5fheader_17',['set_save_header',['../save_8c.html#ae0dd7506669cf4ae699a6e232dd59364',1,'save.c']]],
['shop_5freroll_5frow_5fget_5fsize_18',['shop_reroll_row_get_size',['../shop_8c.html#a6c9b1b5c9e762eadffd7156376d9b52f',1,'shop.c']]],
['shop_5freroll_5frow_5fon_5fkey_5ftransit_19',['shop_reroll_row_on_key_transit',['../shop_8c.html#a853d7d426bf12e36958bd2b12d87236b',1,'shop.c']]],
['shop_5freroll_5frow_5fon_5fselection_5fchanged_20',['shop_reroll_row_on_selection_changed',['../shop_8c.html#a077e8c72bb06675c7307dec45fd895cb',1,'shop.c']]],
['shop_5ftop_5frow_5fget_5fsize_21',['shop_top_row_get_size',['../shop_8c.html#a75ea42eafb427a9ca2daa6d2f6d70ec9',1,'shop.c']]],
['shop_5ftop_5frow_5fon_5fkey_5ftransit_22',['shop_top_row_on_key_transit',['../shop_8c.html#a0dd08021dc2405d8c68d03060ad6b027',1,'shop.c']]],
['shop_5ftop_5frow_5fon_5fselection_5fchanged_23',['shop_top_row_on_selection_changed',['../shop_8c.html#a1c93ade895a41aa97a9a38bdf425c5e4',1,'shop.c']]],
['sort_5fcards_24',['sort_cards',['../hand_8h.html#ae939d94185e29e1bbf44072c5d37c273',1,'sort_cards(void):&#160;hand.c'],['../hand_8c.html#ae939d94185e29e1bbf44072c5d37c273',1,'sort_cards(void):&#160;hand.c']]],
['splash_5fscreen_5fon_5fexit_25',['splash_screen_on_exit',['../splash__screen_8h.html#a9ca7b8370e792a84403f912b7611d2f9',1,'splash_screen.c']]],
['splash_5fscreen_5fon_5finit_26',['splash_screen_on_init',['../splash__screen_8h.html#ad6665f68a653bd65b4a353c4ab5ee9e2',1,'splash_screen.c']]],
['splash_5fscreen_5fon_5fupdate_27',['splash_screen_on_update',['../splash__screen_8h.html#abef5b26c1b8c1a453134ae4d8662d4ed',1,'splash_screen.c']]],
['sprite_5fdestroy_28',['sprite_destroy',['../sprite_8h.html#abbbc989fe5cd8e1e93f9784e1048be47',1,'sprite.c']]],
['sprite_5fdraw_29',['sprite_draw',['../sprite_8h.html#aeae667aa51109000495c9a7f19fa08e8',1,'sprite.c']]],
['sprite_5fget_5fdimensions_30',['sprite_get_dimensions',['../sprite_8h.html#a892674d2db5b33bb55aacffa2686632a',1,'sprite.c']]],
['sprite_5fget_5fheight_31',['sprite_get_height',['../sprite_8h.html#aa9d27d44b0c3310d61bebbc88b443b4c',1,'sprite.c']]],
['sprite_5fget_5flayer_32',['sprite_get_layer',['../sprite_8h.html#aa017c4226720c0aa8f4ab530a6e2f715',1,'sprite.c']]],
['sprite_5fget_5fpb_33',['sprite_get_pb',['../sprite_8h.html#a6938f30020cc51d7baa6cf552fdb884d',1,'sprite.c']]],
['sprite_5fget_5fwidth_34',['sprite_get_width',['../sprite_8h.html#a1da4094cf80f8db62d6cf4a0380acc9d',1,'sprite.c']]],
['sprite_5finit_35',['sprite_init',['../sprite_8h.html#a564c9484883d28c4904b382c2eec5db9',1,'sprite.c']]],
['sprite_5fnew_36',['sprite_new',['../sprite_8h.html#a5fbaf037f18d04536127b88417481eb8',1,'sprite.c']]],
['sprite_5fobject_5fdestroy_37',['sprite_object_destroy',['../sprite_8h.html#a34b18a8546f66dee7a80f6192c9b0e92',1,'sprite.c']]],
['sprite_5fobject_5ferase_5ftext_5funder_38',['sprite_object_erase_text_under',['../sprite_8h.html#aa1adb2bd898e4c580e1c522b6a158eba',1,'sprite.c']]],
['sprite_5fobject_5fget_5fdimensions_39',['sprite_object_get_dimensions',['../sprite_8h.html#a0e8244424d95f4d81a96756e2cf4e17a',1,'sprite.c']]],
['sprite_5fobject_5fget_5fheight_40',['sprite_object_get_height',['../sprite_8h.html#a8e569f7a24f5cde918e8f44d6d91e0f7',1,'sprite.c']]],
['sprite_5fobject_5fget_5fsprite_41',['sprite_object_get_sprite',['../sprite_8h.html#abe95d2088cb9739deb50864189556121',1,'sprite.c']]],
['sprite_5fobject_5fget_5fwidth_42',['sprite_object_get_width',['../sprite_8h.html#a7119e6d7e7c898abb9670952ed45b999',1,'sprite.c']]],
['sprite_5fobject_5finit_43',['sprite_object_init',['../sprite_8h.html#a30997cd0fdc5182591687e67f8bc5d1d',1,'sprite.c']]],
['sprite_5fobject_5fis_5ffocused_44',['sprite_object_is_focused',['../sprite_8h.html#a16ee5e7acf8ecd2bd4a3c928ce270b3b',1,'sprite.c']]],
['sprite_5fobject_5fposition_45',['sprite_object_position',['../sprite_8h.html#a90329a888f65192cc5170085b65ebfde',1,'sprite.h']]],
['sprite_5fobject_5fprint_5fprice_5funder_46',['sprite_object_print_price_under',['../sprite_8h.html#a3d9b736910a0c0671e495dda62be7f91',1,'sprite.c']]],
['sprite_5fobject_5fprint_5ftext_5funder_47',['sprite_object_print_text_under',['../sprite_8h.html#a45d7d6b792b629e6082ae850dcfdf573',1,'sprite.c']]],
['sprite_5fobject_5freset_5ftransform_48',['sprite_object_reset_transform',['../sprite_8h.html#a673f791a81943a40619c246e8eed8f0f',1,'sprite.c']]],
['sprite_5fobject_5fset_5ffocus_49',['sprite_object_set_focus',['../sprite_8h.html#a2b9d31fbf635a9bad37324b4f2ec13bb',1,'sprite.c']]],
['sprite_5fobject_5fset_5fsprite_50',['sprite_object_set_sprite',['../sprite_8h.html#a73a20232ad5676c64b3dc1e548f2bdcf',1,'sprite.c']]],
['sprite_5fobject_5fshake_51',['sprite_object_shake',['../sprite_8h.html#a929ee43cec0d826ecaef2feedf80d1f6',1,'sprite.c']]],
['sprite_5fobject_5fupdate_52',['sprite_object_update',['../sprite_8h.html#aec29df852662063447ff72082fb3ad30',1,'sprite.c']]],
['sprite_5fobject_5fupdate_5fall_53',['sprite_object_update_all',['../sprite_8h.html#a7b5d01a3c39b22115156c4fa9dd0833a',1,'sprite.c']]],
['sprite_5fposition_54',['sprite_position',['../sprite_8h.html#a1ee0e1521651d9a8fd7773a6b4ba127e',1,'sprite.h']]],
['state_5fmachine_5fchange_5fstate_55',['state_machine_change_state',['../state__machine_8h.html#ac887ec8b325e136d801a6d1c30e55d15',1,'state_machine.c']]],
['state_5fmachine_5fregister_56',['state_machine_register',['../state__machine_8h.html#ac3b2a011559ddbcb1f949f0da73ac239',1,'state_machine.c']]],
['state_5fmachine_5fremove_57',['state_machine_remove',['../state__machine_8h.html#aa9b1230f7acdd39a63af8065b6729b5a',1,'state_machine.c']]],
['state_5fmachine_5fupdate_58',['state_machine_update',['../state__machine_8h.html#ad9adae7509d62d10d3f0ad00356ea1e2',1,'state_machine.c']]],
['swap_5fcards_5fin_5fhand_59',['swap_cards_in_hand',['../hand_8h.html#a62aab8570b58813e94d12b33124ccf6c',1,'swap_cards_in_hand(int idx_a, int idx_b):&#160;hand.c'],['../hand_8c.html#a62aab8570b58813e94d12b33124ccf6c',1,'swap_cards_in_hand(int idx_a, int idx_b):&#160;hand.c']]]
];

View File

@@ -1,13 +1,14 @@
var searchData=
[
['savegame_5fdefault_0',['SaveGame_default',['../save_8c.html#ac6be8ba75db77c350611aa6a05a923b3',1,'save.c']]],
['saveheader_5fdefault_1',['SaveHeader_default',['../save_8c.html#ad4c7a26ce01920da160afb04e0ab756f',1,'save.c']]],
['saveoptions_5fdefault_2',['SaveOptions_default',['../save_8c.html#a30da5688e7e13a0664958bde6af12b20',1,'save.c']]],
['scale_3',['scale',['../structSpriteObject.html#a6fd1da2014d2160d199c728234245594',1,'SpriteObject']]],
['seed_4',['seed',['../structRngInfo.html#a7cbcfdb2051ed9fffc1cc294a820b7f5',1,'RngInfo']]],
['sprite_5',['sprite',['../structSpriteObject.html#a7c54302f990f134ca6e37a2e9ef9999d',1,'SpriteObject']]],
['spriteobject_6',['SpriteObject',['../structItem.html#a89144277bc691613127f9fc4f8030b08',1,'Item']]],
['state_7',['state',['../structStateMachine.html#a89f234133d3efe315836311cbf21c64b',1,'StateMachine']]],
['state_5finfos_8',['state_infos',['../structStateMachine.html#a007fb62416ee346877fa244b16fc8947',1,'StateMachine']]],
['step_9',['step',['../structRngInfo.html#add7060bb1806fc83671041faf7c1643a',1,'RngInfo']]]
['s_5fblind_5ftype_5fmap_0',['s_blind_type_map',['../blind_8c.html#a6489ccf1d80155cbbb4346054870cb96',1,'blind.c']]],
['savegame_5fdefault_1',['SaveGame_default',['../save_8c.html#ac6be8ba75db77c350611aa6a05a923b3',1,'save.c']]],
['saveheader_5fdefault_2',['SaveHeader_default',['../save_8c.html#ad4c7a26ce01920da160afb04e0ab756f',1,'save.c']]],
['saveoptions_5fdefault_3',['SaveOptions_default',['../save_8c.html#a30da5688e7e13a0664958bde6af12b20',1,'save.c']]],
['scale_4',['scale',['../structSpriteObject.html#a6fd1da2014d2160d199c728234245594',1,'SpriteObject']]],
['seed_5',['seed',['../structRngInfo.html#a7cbcfdb2051ed9fffc1cc294a820b7f5',1,'RngInfo']]],
['sprite_6',['sprite',['../structSpriteObject.html#a7c54302f990f134ca6e37a2e9ef9999d',1,'SpriteObject']]],
['spriteobject_7',['SpriteObject',['../structItem.html#a89144277bc691613127f9fc4f8030b08',1,'Item']]],
['state_8',['state',['../structStateMachine.html#a89f234133d3efe315836311cbf21c64b',1,'StateMachine']]],
['state_5finfos_9',['state_infos',['../structStateMachine.html#a007fb62416ee346877fa244b16fc8947',1,'StateMachine']]],
['step_10',['step',['../structRngInfo.html#add7060bb1806fc83671041faf7c1643a',1,'RngInfo']]]
];

View File

@@ -135,65 +135,54 @@ $(document).ready(function(){initNavTree('structBlind.html',''); initResizable()
<div class="headertitle"><div class="title">Blind Struct Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Data structure containing data about a BlindType.
<a href="structBlind.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="blind_8h_source.html">blind.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a701c18e4e44e95741eebb29fd1ca1339" id="r_a701c18e4e44e95741eebb29fd1ca1339"><td class="memItemLeft" align="right" valign="top">enum BlindType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structBlind.html#a701c18e4e44e95741eebb29fd1ca1339">type</a></td></tr>
<tr class="separator:a701c18e4e44e95741eebb29fd1ca1339"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2caa73cd242b675f79918c209988a3c" id="r_aa2caa73cd242b675f79918c209988a3c"><td class="memItemLeft" align="right" valign="top">FIXED&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structBlind.html#aa2caa73cd242b675f79918c209988a3c">score_req_multipler</a></td></tr>
<tr class="separator:aa2caa73cd242b675f79918c209988a3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea81fb11503a2931118a6babe8548493" id="r_aea81fb11503a2931118a6babe8548493"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structBlind.html#aea81fb11503a2931118a6babe8548493">reward</a></td></tr>
<tr class="separator:aea81fb11503a2931118a6babe8548493"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34923af2855ec28604554d526eb97c33" id="r_a34923af2855ec28604554d526eb97c33"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structBlind.html#a34923af2855ec28604554d526eb97c33">type</a></td></tr>
<tr class="separator:a34923af2855ec28604554d526eb97c33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3edf7eb85e824e981f79a6cadb062590" id="r_a3edf7eb85e824e981f79a6cadb062590"><td class="memItemLeft" align="right" valign="top">FIXED&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structBlind.html#a3edf7eb85e824e981f79a6cadb062590">score_req_multiplier</a></td></tr>
<tr class="separator:a3edf7eb85e824e981f79a6cadb062590"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="blind_8h_source.html#l00097">97</a> of file <a class="el" href="blind_8h_source.html">blind.h</a>.</p>
<div class="textblock"><p>Data structure containing data about a BlindType. </p>
<p>Only contains the score requirement multiplier for now, but will contain info about the <a class="el" href="structBlind.html" title="Data structure containing data about a BlindType.">Blind</a>'s effect when implemented. </p>
<p class="definition">Definition at line <a class="el" href="blind_8h_source.html#l00136">136</a> of file <a class="el" href="blind_8h_source.html">blind.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="aea81fb11503a2931118a6babe8548493" name="aea81fb11503a2931118a6babe8548493"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea81fb11503a2931118a6babe8548493">&#9670;&#160;</a></span>reward</h2>
<a id="a3edf7eb85e824e981f79a6cadb062590" name="a3edf7eb85e824e981f79a6cadb062590"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3edf7eb85e824e981f79a6cadb062590">&#9670;&#160;</a></span>score_req_multiplier</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">s32 reward</td>
<td class="memname">FIXED score_req_multiplier</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="blind_8h_source.html#l00101">101</a> of file <a class="el" href="blind_8h_source.html">blind.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="blind_8h_source.html#l00139">139</a> of file <a class="el" href="blind_8h_source.html">blind.h</a>.</p>
</div>
</div>
<a id="aa2caa73cd242b675f79918c209988a3c" name="aa2caa73cd242b675f79918c209988a3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2caa73cd242b675f79918c209988a3c">&#9670;&#160;</a></span>score_req_multipler</h2>
<a id="a34923af2855ec28604554d526eb97c33" name="a34923af2855ec28604554d526eb97c33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34923af2855ec28604554d526eb97c33">&#9670;&#160;</a></span>type</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">FIXED score_req_multipler</td>
<td class="memname">u8 type</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="blind_8h_source.html#l00100">100</a> of file <a class="el" href="blind_8h_source.html">blind.h</a>.</p>
</div>
</div>
<a id="a701c18e4e44e95741eebb29fd1ca1339" name="a701c18e4e44e95741eebb29fd1ca1339"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a701c18e4e44e95741eebb29fd1ca1339">&#9670;&#160;</a></span>type</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum BlindType type</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="blind_8h_source.html#l00099">99</a> of file <a class="el" href="blind_8h_source.html">blind.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="blind_8h_source.html#l00138">138</a> of file <a class="el" href="blind_8h_source.html">blind.h</a>.</p>
</div>
</div>

View File

@@ -161,11 +161,11 @@ Data Fields</h2></td></tr>
<tr class="separator:a987545956509ed14713a2ee0653f0be8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ed254c6d55307c3b0b1297467543760" id="r_a1ed254c6d55307c3b0b1297467543760"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGameVariables.html#a1ed254c6d55307c3b0b1297467543760">nb_played_hands</a> [HAND_TYPE_MAX]</td></tr>
<tr class="separator:a1ed254c6d55307c3b0b1297467543760"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44a2684f8167b7ccc712573515794cce" id="r_a44a2684f8167b7ccc712573515794cce"><td class="memItemLeft" align="right" valign="top">enum BlindType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGameVariables.html#a44a2684f8167b7ccc712573515794cce">current_blind</a></td></tr>
<tr class="memitem:a44a2684f8167b7ccc712573515794cce" id="r_a44a2684f8167b7ccc712573515794cce"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGameVariables.html#a44a2684f8167b7ccc712573515794cce">current_blind</a></td></tr>
<tr class="separator:a44a2684f8167b7ccc712573515794cce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ece70d658cbe7019e57938bed6817f2" id="r_a2ece70d658cbe7019e57938bed6817f2"><td class="memItemLeft" align="right" valign="top">enum BlindType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGameVariables.html#a2ece70d658cbe7019e57938bed6817f2">next_boss_blind</a></td></tr>
<tr class="memitem:a2ece70d658cbe7019e57938bed6817f2" id="r_a2ece70d658cbe7019e57938bed6817f2"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGameVariables.html#a2ece70d658cbe7019e57938bed6817f2">next_boss_blind</a></td></tr>
<tr class="separator:a2ece70d658cbe7019e57938bed6817f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c4ee70583791bba94dc2e89c1ea93e6" id="r_a2c4ee70583791bba94dc2e89c1ea93e6"><td class="memItemLeft" align="right" valign="top">enum BlindState&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGameVariables.html#a2c4ee70583791bba94dc2e89c1ea93e6">blinds_states</a> [NUM_BLINDS_PER_ANTE]</td></tr>
<tr class="memitem:a2c4ee70583791bba94dc2e89c1ea93e6" id="r_a2c4ee70583791bba94dc2e89c1ea93e6"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">BlindState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGameVariables.html#a2c4ee70583791bba94dc2e89c1ea93e6">blinds_states</a> [NUM_BLINDS_PER_ANTE]</td></tr>
<tr class="separator:a2c4ee70583791bba94dc2e89c1ea93e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11b78b4a65c6e3a0cb9208e31781adf8" id="r_a11b78b4a65c6e3a0cb9208e31781adf8"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGameVariables.html#a11b78b4a65c6e3a0cb9208e31781adf8">hands</a></td></tr>
<tr class="separator:a11b78b4a65c6e3a0cb9208e31781adf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -233,7 +233,7 @@ Data Fields</h2></td></tr>
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum BlindState blinds_states[NUM_BLINDS_PER_ANTE]</td>
<td class="memname">enum <a class="el" href="blind_8h.html#a59b2b8e485d0ea561120ae8c6010de1d">BlindState</a> blinds_states[NUM_BLINDS_PER_ANTE]</td>
</tr>
</table>
</div><div class="memdoc">
@@ -265,7 +265,7 @@ Data Fields</h2></td></tr>
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum BlindType current_blind</td>
<td class="memname">enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> current_blind</td>
</tr>
</table>
</div><div class="memdoc">
@@ -425,7 +425,7 @@ Data Fields</h2></td></tr>
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum BlindType next_boss_blind</td>
<td class="memname">enum <a class="el" href="blind_8h.html#a360ce6465b5b6a404884c21d37759d4a">BlindType</a> next_boss_blind</td>
</tr>
</table>
</div><div class="memdoc">