mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-12-22 18:39:18 +00:00
322 lines
50 KiB
HTML
322 lines
50 KiB
HTML
<!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.12.0"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>GRRLIB: GRRLIB__lib.h File Reference</title>
|
|
<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>
|
|
<script type="text/javascript" src="clipboard.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="cookie.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" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">GRRLIB<span id="projectnumber"> 4.5.1</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.12.0 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() { codefold.init(0); });
|
|
/* @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&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search',false);
|
|
$(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function(){ initResizable(false); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- 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 id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_a738d6a0465574a15e4ded3e16776ff8.html">grrlib</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div id="doc-content">
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle"><div class="title">GRRLIB__lib.h File Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>GRRLIB library function prototypes.
|
|
<a href="#details">More...</a></p>
|
|
<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:gab2bdca506ed98e85f6543137738a1aa2" id="r_gab2bdca506ed98e85f6543137738a1aa2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_g_r_r_l_i_b__bytemap_font.html">GRRLIB_bytemapFont</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gab2bdca506ed98e85f6543137738a1aa2">GRRLIB_LoadBMF</a> (const u8 my_bmf[])</td></tr>
|
|
<tr class="memdesc:gab2bdca506ed98e85f6543137738a1aa2"><td class="mdescLeft"> </td><td class="mdescRight">Load a ByteMap font structure from a buffer. <br /></td></tr>
|
|
<tr class="separator:gab2bdca506ed98e85f6543137738a1aa2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga092169c6cbff1f1713f66fffff3dd8a2" id="r_ga092169c6cbff1f1713f66fffff3dd8a2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga092169c6cbff1f1713f66fffff3dd8a2">GRRLIB_FreeBMF</a> (<a class="el" href="struct_g_r_r_l_i_b__bytemap_font.html">GRRLIB_bytemapFont</a> *bmf)</td></tr>
|
|
<tr class="memdesc:ga092169c6cbff1f1713f66fffff3dd8a2"><td class="mdescLeft"> </td><td class="mdescRight">Free memory allocated by ByteMap fonts. <br /></td></tr>
|
|
<tr class="separator:ga092169c6cbff1f1713f66fffff3dd8a2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga9a25f472b099163469251ec7ad52d270" id="r_ga9a25f472b099163469251ec7ad52d270"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga9a25f472b099163469251ec7ad52d270">GRRLIB_InitTileSet</a> (<a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *tex, const u32 tilew, const u32 tileh, const u32 tilestart)</td></tr>
|
|
<tr class="memdesc:ga9a25f472b099163469251ec7ad52d270"><td class="mdescLeft"> </td><td class="mdescRight">Initialize a tile set. <br /></td></tr>
|
|
<tr class="separator:ga9a25f472b099163469251ec7ad52d270"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga7f0c146d1ca8d8697097034d58400881" id="r_ga7f0c146d1ca8d8697097034d58400881"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga7f0c146d1ca8d8697097034d58400881">GRRLIB_BMFX_FlipH</a> (const <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *texsrc, <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *texdest)</td></tr>
|
|
<tr class="memdesc:ga7f0c146d1ca8d8697097034d58400881"><td class="mdescLeft"> </td><td class="mdescRight">Flip texture horizontal. <br /></td></tr>
|
|
<tr class="separator:ga7f0c146d1ca8d8697097034d58400881"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga4970b35be663bb10c9045d85dcf3cede" id="r_ga4970b35be663bb10c9045d85dcf3cede"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga4970b35be663bb10c9045d85dcf3cede">GRRLIB_BMFX_FlipV</a> (const <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *texsrc, <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *texdest)</td></tr>
|
|
<tr class="memdesc:ga4970b35be663bb10c9045d85dcf3cede"><td class="mdescLeft"> </td><td class="mdescRight">Flip texture vertical. <br /></td></tr>
|
|
<tr class="separator:ga4970b35be663bb10c9045d85dcf3cede"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga9c529da9664148234c1690b87f1b0cf9" id="r_ga9c529da9664148234c1690b87f1b0cf9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga9c529da9664148234c1690b87f1b0cf9">GRRLIB_BMFX_Grayscale</a> (const <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *texsrc, <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *texdest)</td></tr>
|
|
<tr class="memdesc:ga9c529da9664148234c1690b87f1b0cf9"><td class="mdescLeft"> </td><td class="mdescRight">Change a texture to gray scale. <br /></td></tr>
|
|
<tr class="separator:ga9c529da9664148234c1690b87f1b0cf9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5c5986c87237874d005ad419bafa6bf1" id="r_ga5c5986c87237874d005ad419bafa6bf1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga5c5986c87237874d005ad419bafa6bf1">GRRLIB_BMFX_Sepia</a> (const <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *texsrc, <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *texdest)</td></tr>
|
|
<tr class="memdesc:ga5c5986c87237874d005ad419bafa6bf1"><td class="mdescLeft"> </td><td class="mdescRight">Change a texture to sepia (old photo style). <br /></td></tr>
|
|
<tr class="separator:ga5c5986c87237874d005ad419bafa6bf1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga81202b219fae613429c7e6ee4c5c9267" id="r_ga81202b219fae613429c7e6ee4c5c9267"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga81202b219fae613429c7e6ee4c5c9267">GRRLIB_BMFX_Invert</a> (const <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *texsrc, <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *texdest)</td></tr>
|
|
<tr class="memdesc:ga81202b219fae613429c7e6ee4c5c9267"><td class="mdescLeft"> </td><td class="mdescRight">Invert colors of the texture. <br /></td></tr>
|
|
<tr class="separator:ga81202b219fae613429c7e6ee4c5c9267"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0094a9b1d6a2eca97e821de3448d320d" id="r_ga0094a9b1d6a2eca97e821de3448d320d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga0094a9b1d6a2eca97e821de3448d320d">GRRLIB_BMFX_Blur</a> (const <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *texsrc, <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *texdest, const u32 factor)</td></tr>
|
|
<tr class="memdesc:ga0094a9b1d6a2eca97e821de3448d320d"><td class="mdescLeft"> </td><td class="mdescRight">A texture effect (Blur). <br /></td></tr>
|
|
<tr class="separator:ga0094a9b1d6a2eca97e821de3448d320d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gabe98ae9417c3177ef3f6bf000d0f0466" id="r_gabe98ae9417c3177ef3f6bf000d0f0466"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gabe98ae9417c3177ef3f6bf000d0f0466">GRRLIB_BMFX_Scatter</a> (const <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *texsrc, <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *texdest, const u32 factor)</td></tr>
|
|
<tr class="memdesc:gabe98ae9417c3177ef3f6bf000d0f0466"><td class="mdescLeft"> </td><td class="mdescRight">A texture effect (Scatter). <br /></td></tr>
|
|
<tr class="separator:gabe98ae9417c3177ef3f6bf000d0f0466"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga47d87d72cbf8883e99650cf3027ca2c1" id="r_ga47d87d72cbf8883e99650cf3027ca2c1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga47d87d72cbf8883e99650cf3027ca2c1">GRRLIB_BMFX_Pixelate</a> (const <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *texsrc, <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *texdest, const u32 factor)</td></tr>
|
|
<tr class="memdesc:ga47d87d72cbf8883e99650cf3027ca2c1"><td class="mdescLeft"> </td><td class="mdescRight">A texture effect (Pixelate). <br /></td></tr>
|
|
<tr class="separator:ga47d87d72cbf8883e99650cf3027ca2c1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad3186c7e10e4e6c46a743e062971e89a" id="r_gad3186c7e10e4e6c46a743e062971e89a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gad3186c7e10e4e6c46a743e062971e89a">GRRLIB_Init</a> (void)</td></tr>
|
|
<tr class="memdesc:gad3186c7e10e4e6c46a743e062971e89a"><td class="mdescLeft"> </td><td class="mdescRight">Initialize GRRLIB. <br /></td></tr>
|
|
<tr class="separator:gad3186c7e10e4e6c46a743e062971e89a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga15b1f7d9224e25e77d2806847344f651" id="r_ga15b1f7d9224e25e77d2806847344f651"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga15b1f7d9224e25e77d2806847344f651">GRRLIB_Exit</a> (void)</td></tr>
|
|
<tr class="memdesc:ga15b1f7d9224e25e77d2806847344f651"><td class="mdescLeft"> </td><td class="mdescRight">Call this before exiting your application. <br /></td></tr>
|
|
<tr class="separator:ga15b1f7d9224e25e77d2806847344f651"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6bef7c5bd9550225b7ee0cc3da207738" id="r_ga6bef7c5bd9550225b7ee0cc3da207738"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga6bef7c5bd9550225b7ee0cc3da207738">GRRLIB_Ellipse</a> (const f32 x, const f32 y, const f32 radiusX, const f32 radiusY, const u32 color, const u8 filled)</td></tr>
|
|
<tr class="memdesc:ga6bef7c5bd9550225b7ee0cc3da207738"><td class="mdescLeft"> </td><td class="mdescRight">Draw an ellipse. <br /></td></tr>
|
|
<tr class="separator:ga6bef7c5bd9550225b7ee0cc3da207738"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga23a8ac948a2f606256f981ec7665f7a3" id="r_ga23a8ac948a2f606256f981ec7665f7a3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga23a8ac948a2f606256f981ec7665f7a3">GRRLIB_Circle</a> (const f32 x, const f32 y, const f32 radius, const u32 color, const u8 filled)</td></tr>
|
|
<tr class="memdesc:ga23a8ac948a2f606256f981ec7665f7a3"><td class="mdescLeft"> </td><td class="mdescRight">Draw a circle. <br /></td></tr>
|
|
<tr class="separator:ga23a8ac948a2f606256f981ec7665f7a3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad0e9150a261df8642375ce0b51e891dc" id="r_gad0e9150a261df8642375ce0b51e891dc"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gad0e9150a261df8642375ce0b51e891dc">GRRLIB_LoadFile</a> (const char *filename, u8 **data)</td></tr>
|
|
<tr class="memdesc:gad0e9150a261df8642375ce0b51e891dc"><td class="mdescLeft"> </td><td class="mdescRight">Load a file to memory. <br /></td></tr>
|
|
<tr class="separator:gad0e9150a261df8642375ce0b51e891dc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga30161fbcf1c4c3538faf923742562f8d" id="r_ga30161fbcf1c4c3538faf923742562f8d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga30161fbcf1c4c3538faf923742562f8d">GRRLIB_LoadTextureFromFile</a> (const char *filename)</td></tr>
|
|
<tr class="memdesc:ga30161fbcf1c4c3538faf923742562f8d"><td class="mdescLeft"> </td><td class="mdescRight">Load a texture from a file. <br /></td></tr>
|
|
<tr class="separator:ga30161fbcf1c4c3538faf923742562f8d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga402b52f044c46e147e32cc1da4153829" id="r_ga402b52f044c46e147e32cc1da4153829"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___all_func.html#gac8a079ae4566c590762c46b8210bb9f4">GRRLIB_ttfFont</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga402b52f044c46e147e32cc1da4153829">GRRLIB_LoadTTFFromFile</a> (const char *filename)</td></tr>
|
|
<tr class="memdesc:ga402b52f044c46e147e32cc1da4153829"><td class="mdescLeft"> </td><td class="mdescRight">Load a TTF from a file. <br /></td></tr>
|
|
<tr class="separator:ga402b52f044c46e147e32cc1da4153829"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga3460233a6d9323890a8eefa19f520e25" id="r_ga3460233a6d9323890a8eefa19f520e25"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga3460233a6d9323890a8eefa19f520e25">GRRLIB_ScrShot</a> (const char *filename)</td></tr>
|
|
<tr class="memdesc:ga3460233a6d9323890a8eefa19f520e25"><td class="mdescLeft"> </td><td class="mdescRight">Make a PNG screenshot. <br /></td></tr>
|
|
<tr class="separator:ga3460233a6d9323890a8eefa19f520e25"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5539140382d9563e4e42dbda1694d21d" id="r_ga5539140382d9563e4e42dbda1694d21d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga5539140382d9563e4e42dbda1694d21d">GRRLIB_Printf</a> (const f32 xpos, const f32 ypos, const <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *tex, const u32 color, const f32 zoom, const char *text,...)</td></tr>
|
|
<tr class="memdesc:ga5539140382d9563e4e42dbda1694d21d"><td class="mdescLeft"> </td><td class="mdescRight">Print formatted output. <br /></td></tr>
|
|
<tr class="separator:ga5539140382d9563e4e42dbda1694d21d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gabc7a3deff6baf1923bbde413c036ef96" id="r_gabc7a3deff6baf1923bbde413c036ef96"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gabc7a3deff6baf1923bbde413c036ef96">GRRLIB_PrintBMF</a> (const f32 xpos, const f32 ypos, const <a class="el" href="struct_g_r_r_l_i_b__bytemap_font.html">GRRLIB_bytemapFont</a> *bmf, const char *text,...)</td></tr>
|
|
<tr class="memdesc:gabc7a3deff6baf1923bbde413c036ef96"><td class="mdescLeft"> </td><td class="mdescRight">Print formatted output with a ByteMap font. <br /></td></tr>
|
|
<tr class="separator:gabc7a3deff6baf1923bbde413c036ef96"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac93fa62dac7639bd2fe626aae5fef150" id="r_gac93fa62dac7639bd2fe626aae5fef150"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gac93fa62dac7639bd2fe626aae5fef150">GRRLIB_DrawImg</a> (const f32 xpos, const f32 ypos, const <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *tex, const f32 degrees, const f32 scaleX, const f32 scaleY, const u32 color)</td></tr>
|
|
<tr class="memdesc:gac93fa62dac7639bd2fe626aae5fef150"><td class="mdescLeft"> </td><td class="mdescRight">Draw a texture. <br /></td></tr>
|
|
<tr class="separator:gac93fa62dac7639bd2fe626aae5fef150"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga852b2b23d242d8cdd0a1cbcbe89d7317" id="r_ga852b2b23d242d8cdd0a1cbcbe89d7317"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga852b2b23d242d8cdd0a1cbcbe89d7317">GRRLIB_DrawImgQuad</a> (const guVector pos[4], <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *tex, const u32 color)</td></tr>
|
|
<tr class="memdesc:ga852b2b23d242d8cdd0a1cbcbe89d7317"><td class="mdescLeft"> </td><td class="mdescRight">Draw a textured quad. <br /></td></tr>
|
|
<tr class="separator:ga852b2b23d242d8cdd0a1cbcbe89d7317"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8225b76416869d90c10ff90e9f2215d2" id="r_ga8225b76416869d90c10ff90e9f2215d2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga8225b76416869d90c10ff90e9f2215d2">GRRLIB_DrawTile</a> (const f32 xpos, const f32 ypos, const <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *tex, const f32 degrees, const f32 scaleX, const f32 scaleY, const u32 color, const int frame)</td></tr>
|
|
<tr class="memdesc:ga8225b76416869d90c10ff90e9f2215d2"><td class="mdescLeft"> </td><td class="mdescRight">Draw a tile. <br /></td></tr>
|
|
<tr class="separator:ga8225b76416869d90c10ff90e9f2215d2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gabafe0b9297e020c440851543c028575e" id="r_gabafe0b9297e020c440851543c028575e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gabafe0b9297e020c440851543c028575e">GRRLIB_DrawPart</a> (const f32 xpos, const f32 ypos, const f32 partx, const f32 party, const f32 partw, const f32 parth, const <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *tex, const f32 degrees, const f32 scaleX, const f32 scaleY, const u32 color)</td></tr>
|
|
<tr class="memdesc:gabafe0b9297e020c440851543c028575e"><td class="mdescLeft"> </td><td class="mdescRight">Draw a part of a texture. <br /></td></tr>
|
|
<tr class="separator:gabafe0b9297e020c440851543c028575e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaeb7bef5310d7a764278d3f91810de701" id="r_gaeb7bef5310d7a764278d3f91810de701"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gaeb7bef5310d7a764278d3f91810de701">GRRLIB_DrawTileQuad</a> (const guVector pos[4], <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *tex, const u32 color, const int frame)</td></tr>
|
|
<tr class="memdesc:gaeb7bef5310d7a764278d3f91810de701"><td class="mdescLeft"> </td><td class="mdescRight">Draw a tile in a quad. <br /></td></tr>
|
|
<tr class="separator:gaeb7bef5310d7a764278d3f91810de701"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga9840a19154f1e0cf9de14ad81ba23aef" id="r_ga9840a19154f1e0cf9de14ad81ba23aef"><td class="memItemLeft" align="right" valign="top">
|
|
void </td><td class="memItemRight" valign="bottom"><b>GRRLIB_Render</b> (void)</td></tr>
|
|
<tr class="memdesc:ga9840a19154f1e0cf9de14ad81ba23aef"><td class="mdescLeft"> </td><td class="mdescRight">Call this function after drawing. <br /></td></tr>
|
|
<tr class="separator:ga9840a19154f1e0cf9de14ad81ba23aef"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga2679d0fa70341fa428857a776b9db970" id="r_ga2679d0fa70341fa428857a776b9db970"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga2679d0fa70341fa428857a776b9db970">GRRLIB_Screen2Texture</a> (u16 posx, u16 posy, <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *tex, bool clear)</td></tr>
|
|
<tr class="memdesc:ga2679d0fa70341fa428857a776b9db970"><td class="mdescLeft"> </td><td class="mdescRight">Make a snapshot of the screen in a texture WITHOUT ALPHA LAYER. <br /></td></tr>
|
|
<tr class="separator:ga2679d0fa70341fa428857a776b9db970"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gab46283be3128415bf0ab2969bf7fda95" id="r_gab46283be3128415bf0ab2969bf7fda95"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gab46283be3128415bf0ab2969bf7fda95">GRRLIB_CompoStart</a> (void)</td></tr>
|
|
<tr class="memdesc:gab46283be3128415bf0ab2969bf7fda95"><td class="mdescLeft"> </td><td class="mdescRight">Start GX compositing process. <br /></td></tr>
|
|
<tr class="separator:gab46283be3128415bf0ab2969bf7fda95"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0af29f5435a5cbdee720afb8c375ca71" id="r_ga0af29f5435a5cbdee720afb8c375ca71"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga0af29f5435a5cbdee720afb8c375ca71">GRRLIB_CompoEnd</a> (u16 posx, u16 posy, <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *tex)</td></tr>
|
|
<tr class="memdesc:ga0af29f5435a5cbdee720afb8c375ca71"><td class="mdescLeft"> </td><td class="mdescRight">End GX compositing process (Make a snapshot of the screen in a texture WITH ALPHA LAYER). <br /></td></tr>
|
|
<tr class="separator:ga0af29f5435a5cbdee720afb8c375ca71"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5ace4f7f4fae5016fe7c009b0e6331c9" id="r_ga5ace4f7f4fae5016fe7c009b0e6331c9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga5ace4f7f4fae5016fe7c009b0e6331c9">GRRLIB_CreateEmptyTexture</a> (const u32 width, const u32 height)</td></tr>
|
|
<tr class="memdesc:ga5ace4f7f4fae5016fe7c009b0e6331c9"><td class="mdescLeft"> </td><td class="mdescRight">Create an empty texture in GX_TF_RGBA8 format. <br /></td></tr>
|
|
<tr class="separator:ga5ace4f7f4fae5016fe7c009b0e6331c9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gade2d994a5f55dd91c8cd1268add6970a" id="r_gade2d994a5f55dd91c8cd1268add6970a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gade2d994a5f55dd91c8cd1268add6970a">GRRLIB_CreateEmptyTextureFmt</a> (const u32 width, const u32 height, const u32 format)</td></tr>
|
|
<tr class="memdesc:gade2d994a5f55dd91c8cd1268add6970a"><td class="mdescLeft"> </td><td class="mdescRight">Create an empty texture with a given format. <br /></td></tr>
|
|
<tr class="separator:gade2d994a5f55dd91c8cd1268add6970a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga3bcf05b86d1d2345eef642fd6eb9912d" id="r_ga3bcf05b86d1d2345eef642fd6eb9912d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga3bcf05b86d1d2345eef642fd6eb9912d">GRRLIB_LoadTexture</a> (const u8 *my_img)</td></tr>
|
|
<tr class="memdesc:ga3bcf05b86d1d2345eef642fd6eb9912d"><td class="mdescLeft"> </td><td class="mdescRight">Load a texture from a buffer. <br /></td></tr>
|
|
<tr class="separator:ga3bcf05b86d1d2345eef642fd6eb9912d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae95b019b590751cdc6bc64c823ca84e0" id="r_gae95b019b590751cdc6bc64c823ca84e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gae95b019b590751cdc6bc64c823ca84e0">GRRLIB_LoadTexturePNG</a> (const u8 *my_png)</td></tr>
|
|
<tr class="memdesc:gae95b019b590751cdc6bc64c823ca84e0"><td class="mdescLeft"> </td><td class="mdescRight">Load a texture from a buffer. <br /></td></tr>
|
|
<tr class="separator:gae95b019b590751cdc6bc64c823ca84e0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0ae563450041c8a09e3121ba39fba777" id="r_ga0ae563450041c8a09e3121ba39fba777"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga0ae563450041c8a09e3121ba39fba777">GRRLIB_LoadTextureJPG</a> (const u8 *my_jpg)</td></tr>
|
|
<tr class="memdesc:ga0ae563450041c8a09e3121ba39fba777"><td class="mdescLeft"> </td><td class="mdescRight">Load a texture from a buffer. <br /></td></tr>
|
|
<tr class="separator:ga0ae563450041c8a09e3121ba39fba777"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga2bcf92846d3a47066e4303c889a5c784" id="r_ga2bcf92846d3a47066e4303c889a5c784"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga2bcf92846d3a47066e4303c889a5c784">GRRLIB_LoadTextureJPGEx</a> (const u8 *my_jpg, const u32 my_size)</td></tr>
|
|
<tr class="memdesc:ga2bcf92846d3a47066e4303c889a5c784"><td class="mdescLeft"> </td><td class="mdescRight">Load a texture from a buffer. <br /></td></tr>
|
|
<tr class="separator:ga2bcf92846d3a47066e4303c889a5c784"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaac10127eaaf08e2668b25d34e9077d24" id="r_gaac10127eaaf08e2668b25d34e9077d24"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gaac10127eaaf08e2668b25d34e9077d24">GRRLIB_LoadTextureBMP</a> (const u8 *my_bmp)</td></tr>
|
|
<tr class="memdesc:gaac10127eaaf08e2668b25d34e9077d24"><td class="mdescLeft"> </td><td class="mdescRight">Load a texture from a buffer. <br /></td></tr>
|
|
<tr class="separator:gaac10127eaaf08e2668b25d34e9077d24"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1895b209f1c873575c22b4a5e33c8ced" id="r_ga1895b209f1c873575c22b4a5e33c8ced"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga1895b209f1c873575c22b4a5e33c8ced">GRRLIB_GeckoInit</a> (void)</td></tr>
|
|
<tr class="memdesc:ga1895b209f1c873575c22b4a5e33c8ced"><td class="mdescLeft"> </td><td class="mdescRight">Initialize USB Gecko. <br /></td></tr>
|
|
<tr class="separator:ga1895b209f1c873575c22b4a5e33c8ced"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa82c6313b26687aaea494b91d77dc140" id="r_gaa82c6313b26687aaea494b91d77dc140"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gaa82c6313b26687aaea494b91d77dc140">GRRLIB_GeckoPrintf</a> (const char *text,...)</td></tr>
|
|
<tr class="memdesc:gaa82c6313b26687aaea494b91d77dc140"><td class="mdescLeft"> </td><td class="mdescRight">Print Gecko. <br /></td></tr>
|
|
<tr class="separator:gaa82c6313b26687aaea494b91d77dc140"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga73ea335f801066d4c13114124e70f82f" id="r_ga73ea335f801066d4c13114124e70f82f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga73ea335f801066d4c13114124e70f82f">GRRLIB_SetBackgroundColour</a> (u8 r, u8 g, u8 b, u8 a)</td></tr>
|
|
<tr class="memdesc:ga73ea335f801066d4c13114124e70f82f"><td class="mdescLeft"> </td><td class="mdescRight">Set the background parameter when screen is cleared. <br /></td></tr>
|
|
<tr class="separator:ga73ea335f801066d4c13114124e70f82f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga7300940a38526ab5aa9be0f4abe4a32a" id="r_ga7300940a38526ab5aa9be0f4abe4a32a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga7300940a38526ab5aa9be0f4abe4a32a">GRRLIB_Camera3dSettings</a> (f32 posx, f32 posy, f32 posz, f32 upx, f32 upy, f32 upz, f32 lookx, f32 looky, f32 lookz)</td></tr>
|
|
<tr class="memdesc:ga7300940a38526ab5aa9be0f4abe4a32a"><td class="mdescLeft"> </td><td class="mdescRight">Set the camera parameter (contributed by chris_c aka DaShAmAn). <br /></td></tr>
|
|
<tr class="separator:ga7300940a38526ab5aa9be0f4abe4a32a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac82c972dedc617360eb425ad1604c517" id="r_gac82c972dedc617360eb425ad1604c517"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gac82c972dedc617360eb425ad1604c517">GRRLIB_3dMode</a> (f32 minDist, f32 maxDist, f32 fov, bool texturemode, bool normalmode)</td></tr>
|
|
<tr class="memdesc:gac82c972dedc617360eb425ad1604c517"><td class="mdescLeft"> </td><td class="mdescRight">Set up the position matrix (contributed by chris_c aka DaShAmAn). <br /></td></tr>
|
|
<tr class="separator:gac82c972dedc617360eb425ad1604c517"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga85fe9e93b1c1dd5ecbc2824015c9573f" id="r_ga85fe9e93b1c1dd5ecbc2824015c9573f"><td class="memItemLeft" align="right" valign="top">
|
|
void </td><td class="memItemRight" valign="bottom"><b>GRRLIB_2dMode</b> (void)</td></tr>
|
|
<tr class="memdesc:ga85fe9e93b1c1dd5ecbc2824015c9573f"><td class="mdescLeft"> </td><td class="mdescRight">Go back to 2D mode (contributed by chris_c aka DaShAmAn). <br /></td></tr>
|
|
<tr class="separator:ga85fe9e93b1c1dd5ecbc2824015c9573f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf7f2e67faf4659534f18a6077522eaf6" id="r_gaf7f2e67faf4659534f18a6077522eaf6"><td class="memItemLeft" align="right" valign="top">
|
|
void </td><td class="memItemRight" valign="bottom"><b>GRRLIB_ObjectViewBegin</b> (void)</td></tr>
|
|
<tr class="memdesc:gaf7f2e67faf4659534f18a6077522eaf6"><td class="mdescLeft"> </td><td class="mdescRight">Init the object matrix to draw object. <br /></td></tr>
|
|
<tr class="separator:gaf7f2e67faf4659534f18a6077522eaf6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8e03d189c20637432df8dbf7d8c6948a" id="r_ga8e03d189c20637432df8dbf7d8c6948a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga8e03d189c20637432df8dbf7d8c6948a">GRRLIB_ObjectViewScale</a> (f32 scalx, f32 scaly, f32 scalz)</td></tr>
|
|
<tr class="memdesc:ga8e03d189c20637432df8dbf7d8c6948a"><td class="mdescLeft"> </td><td class="mdescRight">Scale the object matrix to draw object. <br /></td></tr>
|
|
<tr class="separator:ga8e03d189c20637432df8dbf7d8c6948a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga50ff0217cfeb128711fb1f3db3df4c8d" id="r_ga50ff0217cfeb128711fb1f3db3df4c8d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga50ff0217cfeb128711fb1f3db3df4c8d">GRRLIB_ObjectViewRotate</a> (f32 angx, f32 angy, f32 angz)</td></tr>
|
|
<tr class="memdesc:ga50ff0217cfeb128711fb1f3db3df4c8d"><td class="mdescLeft"> </td><td class="mdescRight">Rotate the object matrix to draw object. <br /></td></tr>
|
|
<tr class="separator:ga50ff0217cfeb128711fb1f3db3df4c8d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6991c87a4e1eff876be3733caa9b5947" id="r_ga6991c87a4e1eff876be3733caa9b5947"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga6991c87a4e1eff876be3733caa9b5947">GRRLIB_ObjectViewTrans</a> (f32 posx, f32 posy, f32 posz)</td></tr>
|
|
<tr class="memdesc:ga6991c87a4e1eff876be3733caa9b5947"><td class="mdescLeft"> </td><td class="mdescRight">Translate the object matrix to draw object. <br /></td></tr>
|
|
<tr class="separator:ga6991c87a4e1eff876be3733caa9b5947"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac174d61b9a21730a97a8aa6ba59c8e2e" id="r_gac174d61b9a21730a97a8aa6ba59c8e2e"><td class="memItemLeft" align="right" valign="top">
|
|
void </td><td class="memItemRight" valign="bottom"><b>GRRLIB_ObjectViewEnd</b> (void)</td></tr>
|
|
<tr class="memdesc:gac174d61b9a21730a97a8aa6ba59c8e2e"><td class="mdescLeft"> </td><td class="mdescRight">Concat the object and the view matrix and calculate the inverse normal matrix. <br /></td></tr>
|
|
<tr class="separator:gac174d61b9a21730a97a8aa6ba59c8e2e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac02a14d2556b5ec92e28f41c9888b530" id="r_gac02a14d2556b5ec92e28f41c9888b530"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gac02a14d2556b5ec92e28f41c9888b530">GRRLIB_ObjectView</a> (f32 posx, f32 posy, f32 posz, f32 angx, f32 angy, f32 angz, f32 scalx, f32 scaly, f32 scalz)</td></tr>
|
|
<tr class="memdesc:gac02a14d2556b5ec92e28f41c9888b530"><td class="mdescLeft"> </td><td class="mdescRight">Set the view matrix to draw object (in this order scale, rotate AND trans). <br /></td></tr>
|
|
<tr class="separator:gac02a14d2556b5ec92e28f41c9888b530"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga03814286ada96c4a38fa36b9477bbd7c" id="r_ga03814286ada96c4a38fa36b9477bbd7c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga03814286ada96c4a38fa36b9477bbd7c">GRRLIB_ObjectViewInv</a> (f32 posx, f32 posy, f32 posz, f32 angx, f32 angy, f32 angz, f32 scalx, f32 scaly, f32 scalz)</td></tr>
|
|
<tr class="memdesc:ga03814286ada96c4a38fa36b9477bbd7c"><td class="mdescLeft"> </td><td class="mdescRight">Set the view matrix to draw object (in this order scale, trans AND rotate). <br /></td></tr>
|
|
<tr class="separator:ga03814286ada96c4a38fa36b9477bbd7c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gacdda772743d08b1e060f2b3dbf4795ed" id="r_gacdda772743d08b1e060f2b3dbf4795ed"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gacdda772743d08b1e060f2b3dbf4795ed">GRRLIB_SetTexture</a> (<a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> *tex, bool rep)</td></tr>
|
|
<tr class="memdesc:gacdda772743d08b1e060f2b3dbf4795ed"><td class="mdescLeft"> </td><td class="mdescRight">Set the texture to an object (contributed by chris_c aka DaShAmAn). <br /></td></tr>
|
|
<tr class="separator:gacdda772743d08b1e060f2b3dbf4795ed"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6410ce395aeab56d3166a45724cb6a32" id="r_ga6410ce395aeab56d3166a45724cb6a32"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga6410ce395aeab56d3166a45724cb6a32">GRRLIB_DrawTorus</a> (f32 r, f32 <a class="el" href="group___all_func.html#ga2cde25567f177a6cd9191d536764235e">R</a>, int nsides, int rings, bool filled, u32 col)</td></tr>
|
|
<tr class="memdesc:ga6410ce395aeab56d3166a45724cb6a32"><td class="mdescLeft"> </td><td class="mdescRight">Draw a torus (with normal). <br /></td></tr>
|
|
<tr class="separator:ga6410ce395aeab56d3166a45724cb6a32"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaea4b4858892b197b94c0a2b331eb9c91" id="r_gaea4b4858892b197b94c0a2b331eb9c91"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gaea4b4858892b197b94c0a2b331eb9c91">GRRLIB_DrawSphere</a> (f32 r, int lats, int longs, bool filled, u32 col)</td></tr>
|
|
<tr class="memdesc:gaea4b4858892b197b94c0a2b331eb9c91"><td class="mdescLeft"> </td><td class="mdescRight">Draw a sphere (with normal). <br /></td></tr>
|
|
<tr class="separator:gaea4b4858892b197b94c0a2b331eb9c91"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad029080b2bb31c61feb5af6b60e59ec2" id="r_gad029080b2bb31c61feb5af6b60e59ec2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gad029080b2bb31c61feb5af6b60e59ec2">GRRLIB_DrawCube</a> (f32 size, bool filled, u32 col)</td></tr>
|
|
<tr class="memdesc:gad029080b2bb31c61feb5af6b60e59ec2"><td class="mdescLeft"> </td><td class="mdescRight">Draw a cube (with normal). <br /></td></tr>
|
|
<tr class="separator:gad029080b2bb31c61feb5af6b60e59ec2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac6ecd421da6885c7ee3f1b41f36acad2" id="r_gac6ecd421da6885c7ee3f1b41f36acad2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gac6ecd421da6885c7ee3f1b41f36acad2">GRRLIB_DrawCylinder</a> (f32 r, f32 h, u16 d, bool filled, u32 col)</td></tr>
|
|
<tr class="memdesc:gac6ecd421da6885c7ee3f1b41f36acad2"><td class="mdescLeft"> </td><td class="mdescRight">Draw a cylinder (with normal). <br /></td></tr>
|
|
<tr class="separator:gac6ecd421da6885c7ee3f1b41f36acad2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga09c1572feadf21c46678b3a7bb0944e2" id="r_ga09c1572feadf21c46678b3a7bb0944e2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga09c1572feadf21c46678b3a7bb0944e2">GRRLIB_DrawCone</a> (f32 r, f32 h, u16 d, bool filled, u32 col)</td></tr>
|
|
<tr class="memdesc:ga09c1572feadf21c46678b3a7bb0944e2"><td class="mdescLeft"> </td><td class="mdescRight">Draw a cone (with normal). <br /></td></tr>
|
|
<tr class="separator:ga09c1572feadf21c46678b3a7bb0944e2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga654851a42dbdefae806f1793cf6a69d0" id="r_ga654851a42dbdefae806f1793cf6a69d0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga654851a42dbdefae806f1793cf6a69d0">GRRLIB_DrawTessPanel</a> (f32 w, f32 wstep, f32 h, f32 hstep, bool filled, u32 col)</td></tr>
|
|
<tr class="memdesc:ga654851a42dbdefae806f1793cf6a69d0"><td class="mdescLeft"> </td><td class="mdescRight">Draw a Tesselated panel (with normal). <br /></td></tr>
|
|
<tr class="separator:ga654851a42dbdefae806f1793cf6a69d0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae2db782b9842924329956daaeefbac20" id="r_gae2db782b9842924329956daaeefbac20"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gae2db782b9842924329956daaeefbac20">GRRLIB_SetLightAmbient</a> (u32 ambientcolor)</td></tr>
|
|
<tr class="memdesc:gae2db782b9842924329956daaeefbac20"><td class="mdescLeft"> </td><td class="mdescRight">Set ambient color. <br /></td></tr>
|
|
<tr class="separator:gae2db782b9842924329956daaeefbac20"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga160f23daf580d4d41e491135f2f86027" id="r_ga160f23daf580d4d41e491135f2f86027"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga160f23daf580d4d41e491135f2f86027">GRRLIB_SetLightDiff</a> (u8 num, guVector pos, f32 distattn, f32 brightness, u32 lightcolor)</td></tr>
|
|
<tr class="memdesc:ga160f23daf580d4d41e491135f2f86027"><td class="mdescLeft"> </td><td class="mdescRight">Set diffuse light parameters. <br /></td></tr>
|
|
<tr class="separator:ga160f23daf580d4d41e491135f2f86027"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gab7f3bf4fbc8b4dad8902e95894f1419f" id="r_gab7f3bf4fbc8b4dad8902e95894f1419f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gab7f3bf4fbc8b4dad8902e95894f1419f">GRRLIB_SetLightSpec</a> (u8 num, guVector dir, f32 shininess, u32 lightcolor, u32 speccolor)</td></tr>
|
|
<tr class="memdesc:gab7f3bf4fbc8b4dad8902e95894f1419f"><td class="mdescLeft"> </td><td class="mdescRight">Set specular light parameters. <br /></td></tr>
|
|
<tr class="separator:gab7f3bf4fbc8b4dad8902e95894f1419f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac4ae6bb35e12d59405c842c93e860462" id="r_gac4ae6bb35e12d59405c842c93e860462"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gac4ae6bb35e12d59405c842c93e860462">GRRLIB_SetLightSpot</a> (u8 num, guVector pos, guVector lookat, f32 angAttn0, f32 angAttn1, f32 angAttn2, f32 distAttn0, f32 distAttn1, f32 distAttn2, u32 lightcolor)</td></tr>
|
|
<tr class="memdesc:gac4ae6bb35e12d59405c842c93e860462"><td class="mdescLeft"> </td><td class="mdescRight">Set Spot light parameters. <br /></td></tr>
|
|
<tr class="separator:gac4ae6bb35e12d59405c842c93e860462"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga4b4e22c02cf692d254f32da348299b78" id="r_ga4b4e22c02cf692d254f32da348299b78"><td class="memItemLeft" align="right" valign="top">
|
|
void </td><td class="memItemRight" valign="bottom"><b>GRRLIB_SetLightOff</b> (void)</td></tr>
|
|
<tr class="memdesc:ga4b4e22c02cf692d254f32da348299b78"><td class="mdescLeft"> </td><td class="mdescRight">Set all lights off, like at init. <br /></td></tr>
|
|
<tr class="separator:ga4b4e22c02cf692d254f32da348299b78"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac5989e925eceea3da6a44a90ac431dd7" id="r_gac5989e925eceea3da6a44a90ac431dd7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___all_func.html#gac8a079ae4566c590762c46b8210bb9f4">GRRLIB_ttfFont</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gac5989e925eceea3da6a44a90ac431dd7">GRRLIB_LoadTTF</a> (const u8 *file_base, s32 file_size)</td></tr>
|
|
<tr class="memdesc:gac5989e925eceea3da6a44a90ac431dd7"><td class="mdescLeft"> </td><td class="mdescRight">Load a TTF from a buffer. <br /></td></tr>
|
|
<tr class="separator:gac5989e925eceea3da6a44a90ac431dd7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga977ef3ec2aaa49cae6c7492066e35640" id="r_ga977ef3ec2aaa49cae6c7492066e35640"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga977ef3ec2aaa49cae6c7492066e35640">GRRLIB_FreeTTF</a> (<a class="el" href="group___all_func.html#gac8a079ae4566c590762c46b8210bb9f4">GRRLIB_ttfFont</a> *myFont)</td></tr>
|
|
<tr class="memdesc:ga977ef3ec2aaa49cae6c7492066e35640"><td class="mdescLeft"> </td><td class="mdescRight">Free memory allocated by TTF fonts. <br /></td></tr>
|
|
<tr class="separator:ga977ef3ec2aaa49cae6c7492066e35640"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga358e206bb75caac5bf850bd6f8f17d2a" id="r_ga358e206bb75caac5bf850bd6f8f17d2a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga358e206bb75caac5bf850bd6f8f17d2a">GRRLIB_PrintfTTF</a> (int x, int y, <a class="el" href="group___all_func.html#gac8a079ae4566c590762c46b8210bb9f4">GRRLIB_ttfFont</a> *myFont, const char *string, unsigned int fontSize, const u32 color)</td></tr>
|
|
<tr class="memdesc:ga358e206bb75caac5bf850bd6f8f17d2a"><td class="mdescLeft"> </td><td class="mdescRight">Print function for TTF font. <br /></td></tr>
|
|
<tr class="separator:ga358e206bb75caac5bf850bd6f8f17d2a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaba31ba538f5ee4f1abf0fb604a34d45b" id="r_gaba31ba538f5ee4f1abf0fb604a34d45b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gaba31ba538f5ee4f1abf0fb604a34d45b">GRRLIB_PrintfTTFW</a> (int x, int y, <a class="el" href="group___all_func.html#gac8a079ae4566c590762c46b8210bb9f4">GRRLIB_ttfFont</a> *myFont, const wchar_t *string, unsigned int fontSize, const u32 color)</td></tr>
|
|
<tr class="memdesc:gaba31ba538f5ee4f1abf0fb604a34d45b"><td class="mdescLeft"> </td><td class="mdescRight">Print function for TTF font. <br /></td></tr>
|
|
<tr class="separator:gaba31ba538f5ee4f1abf0fb604a34d45b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga53429ddacb34b9fd89635ae412e57227" id="r_ga53429ddacb34b9fd89635ae412e57227"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga53429ddacb34b9fd89635ae412e57227">GRRLIB_WidthTTF</a> (<a class="el" href="group___all_func.html#gac8a079ae4566c590762c46b8210bb9f4">GRRLIB_ttfFont</a> *myFont, const char *, unsigned int)</td></tr>
|
|
<tr class="memdesc:ga53429ddacb34b9fd89635ae412e57227"><td class="mdescLeft"> </td><td class="mdescRight">Get the width of a text in pixel. <br /></td></tr>
|
|
<tr class="separator:ga53429ddacb34b9fd89635ae412e57227"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac8b9bb428ec8328f2954f74cf8a6edab" id="r_gac8b9bb428ec8328f2954f74cf8a6edab"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gac8b9bb428ec8328f2954f74cf8a6edab">GRRLIB_WidthTTFW</a> (<a class="el" href="group___all_func.html#gac8a079ae4566c590762c46b8210bb9f4">GRRLIB_ttfFont</a> *myFont, const wchar_t *, unsigned int)</td></tr>
|
|
<tr class="memdesc:gac8b9bb428ec8328f2954f74cf8a6edab"><td class="mdescLeft"> </td><td class="mdescRight">Get the width of a text in pixel. <br /></td></tr>
|
|
<tr class="separator:gac8b9bb428ec8328f2954f74cf8a6edab"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>GRRLIB library function prototypes. </p>
|
|
<p>Do not include <a class="el" href="_g_r_r_l_i_b____lib_8h.html" title="GRRLIB library function prototypes.">GRRLIB__lib.h</a> directly, include only <a class="el" href="grrlib_8h.html" title="GRRLIB user include file.">GRRLIB.h</a>. </p>
|
|
</div></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
|
</small></address>
|
|
</div><!-- doc-content -->
|
|
</body>
|
|
</html>
|