<divclass=CToolTipid="tt101"><divclass=CConstant>8-Bit uncompressed alpha</div></div><divclass=CToolTipid="tt102"><divclass=CConstant>Lets the engine choose the format.</div></div><divclass=CToolTipid="tt103"><divclass=CConstant>8-Bit uncompressed RGB</div></div><divclass=CToolTipid="tt104"><divclass=CConstant>8-Bit uncompressed RGBA</div></div><divclass=CToolTipid="tt105"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void inp_clear_events()</td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt106"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void inp_clear_key_states()</td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt107"><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="tt108"><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="tt109"><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="tt110"><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="tt111"><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="tt112"><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="tt113"><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="tt114"><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><tdcl
<!--START_ND_TOOLTIPS-->
<!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
<divclass=CToolTipid="tt124"><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="tt125"><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="tt126"><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="tt127"><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="tt128"><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="tt129"><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="tt130"><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="tt131"><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="tt132"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void modc_connected()</td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt133"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadd
<!--START_ND_TOOLTIPS-->
<!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
<divclass=CToolTipid="tt170"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>virtual int on_character_death(</td><tdclass=PTypePrefixnowrap>class </td><tdclass=PTypenowrap>CHARACTER </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>victim,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap>class </td><tdclass=PTypenowrap>PLAYER </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>killer,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>weapon</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Called when a character in the world dies.</div></div><divclass=CToolTipid="tt171"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>virtual void on_character_spawn(</td><tdclass=PTypePrefixnowrap>class </td><tdclass=PTypenowrap>CHARACTER </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>chr</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Called when a character spawns into the game world.</div></div><divclass=CToolTipid="tt172"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>virtual bool on_entity(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>index,</td></tr><tr><td></td><tdclass=PTypenowrap>vec2 </td><tdclass=PParameternowrap>pos</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Called when the map is loaded to process an entity in the map.</div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
<divclass=CToolTipid="tt173"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>vec2 pos</td></tr></table></blockquote>Contains the current posititon of the entity.</div></div><divclass=CToolTipid="tt174"><divclass=CSection>The engine calls modc_predict when reprediction is required. </div></div><divclass=CToolTipid="tt175"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>float proximity_radius</td></tr></table></blockquote>Contains the physical size of the entity.</div></div><!--END_ND_TOOLTIPS-->