<divclass=CToolTipid="tt40"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void gfx_blend_additive()</td></tr></table></blockquote>Set the active blending mode to additive (src, one).</div></div><divclass=CToolTipid="tt41"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void gfx_blend_none()</td></tr></table></blockquote>Disables blending</div></div><divclass=CToolTipid="tt42"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void gfx_blend_normal()</td></tr></table></blockquote>Set the active blending mode to normal (src, 1-src).</div></div><divclass=CToolTipid="tt43"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_clear(</td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>r,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>g,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>b</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Clears the screen with the specified color.</div></div><divclass=CToolTipid="tt44"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void gfx_clip_disable()</td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt45"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_clip_enable(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>x,</td></tr><tr><td></td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>y,</td></tr><tr><td></td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>w,</td></tr><tr><td></td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>h</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt46"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>int gfx_get_video_modes(</td><tdclass=PTypenowrap>VIDEO_MODE </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>list,</td></tr><tr><td></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>maxcount</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Fetches a list of all the available video modes.</div></div><divclass=CToolTipid="tt47"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_getscreen(</td><tdclass=PTypenowrap>float </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>tl_x,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>tl_y,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>br_x,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>br_y</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt48"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void gfx_lines_begin()</td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt49"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpad
<divclass=CToolTipid="tt79"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>int huffman_compress(</td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>HUFFMAN_STATE </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>huff,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap>const </td><tdclass=PTypenowrap>void </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>input,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>input_size,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>void </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>output,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>output_size</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Compresses a buffer and outputs a compressed buffer.</div></div><divclass=CToolTipid="tt80"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>int huffman_decompress(</td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>HUFFMAN_STATE </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>huff,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap>const </td><tdclass=PTypenowrap>void </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>input,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>input_size,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>void </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>output,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>output_size</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Decompresses a buffer</div></div><divclass=CToolTipid="tt81"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void huffman_init(</td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>HUFFMAN_STATE </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>huff,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap>const </td><tdclass=PTypenowrap>unsigned </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>frequencies</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Inits the compressor/decompressor.</div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
<divclass=CToolTipid="tt82"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void inp_clear_events()</td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt83"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void inp_clear_key_states()</td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt84"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>INPUT_EVENT inp_get_event(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>index</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt85"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>int inp_key_code(</td><tdclass=PTypePrefixnowrap>const </td><tdclass=PTypenowrap>char </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>key_name</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt86"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>int inp_key_down(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>key</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt87"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>const char *inp_key_name(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>k</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt88"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>int inp_key_pressed(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>key</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Checks if a key is pressed.</div></div><divclass=CToolTipid="tt89"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>int inp_key_presses(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>key</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt90"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>int inp_key_releases(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>key</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt91"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>int inp_key_state(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>key</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt92"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>int inp_key_was_pressed(</td><tdclass=PTypenowrap>int
<!--START_ND_TOOLTIPS-->
<divclass=CToolTipid="tt99"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void *map_find_item(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>type,</td></tr><tr><td></td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>id</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Searches the map for an item.</div></div><divclass=CToolTipid="tt100"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void *map_get_data(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>index</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Fetches a pointer to a raw data chunk in the map.</div></div><divclass=CToolTipid="tt101"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void *map_get_data_swapped(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>index</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt102"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void *map_get_item(</td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>index,</td></tr><tr><td></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>type,</td></tr><tr><td></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>id</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Gets an item from the loaded map from index.</div></div><divclass=CToolTipid="tt103"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void map_get_type(</td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>type,</td></tr><tr><td></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>start,</td></tr><tr><td></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>num</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Gets the index range of an item type.</div></div><divclass=CToolTipid="tt104"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int map_is_loaded()</td></tr></table></blockquote>Checks if a map is loaded.</div></div><divclass=CToolTipid="tt105"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int map_num_items()</td></tr></table></blockquote>Checks the number of items in the loaded map.</div></div><divclass=CToolTipid="tt106"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void map_unload_data(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>index</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt107"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void modc_connected()</td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt108"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpaddi