1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>AllegroGL: alleggl.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="alleggl.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">AllegroGL <span id="projectnumber">0.4.4</span></div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
initNavTree('alleggl_8h.html','');
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#define-members">Defines</a> |
<a href="#func-members">Functions</a> |
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<h1>alleggl.h File Reference</h1> </div>
</div>
<div class="contents">
<p>Main header file for AllegroGL.
<a href="#_details">More...</a></p>
<div class="textblock"><code>#include <allegro.h></code><br/>
<code>#include <GL/gl.h></code><br/>
<code>#include "allegrogl/gl_ext.h"</code><br/>
</div>
<p><a href="alleggl_8h_source.html">Go to the source code of this file.</a></p>
<h2><a name="define-members"></a>
Defines</h2>
<ul>
<li><a class="anchor" id="af9aeaaebd37947a1285b5a941aa4b670"></a><!-- doxytag: member="alleggl.h::_AGL_DLL" ref="af9aeaaebd37947a1285b5a941aa4b670" args="" -->
#define <b>_AGL_DLL</b>
<li><a class="anchor" id="add86d5e93b1ac63355494ef03822449a"></a><!-- doxytag: member="alleggl.h::AGL_VAR" ref="add86d5e93b1ac63355494ef03822449a" args="(type, name)" -->
#define <b>AGL_VAR</b>(type, name)   extern _AGL_DLL type name
<li><a class="anchor" id="aee8437314706ffb3e27975280ca7a22d"></a><!-- doxytag: member="alleggl.h::AGL_FUNC" ref="aee8437314706ffb3e27975280ca7a22d" args="(type, name, args)" -->
#define <b>AGL_FUNC</b>(type, name, args)   extern type name args
<li><a class="anchor" id="af15549ea63f411c3ca673e7c6dc8acae"></a><!-- doxytag: member="alleggl.h::__glext_h_" ref="af15549ea63f411c3ca673e7c6dc8acae" args="" -->
#define <b>__glext_h_</b>
<li><a class="anchor" id="a208c385335a6f63b1cf4246b0813ded3"></a><!-- doxytag: member="alleggl.h::__glxext_h_" ref="a208c385335a6f63b1cf4246b0813ded3" args="" -->
#define <b>__glxext_h_</b>
<li><a class="anchor" id="a47dd926d0fa17257fd4870c8da949472"></a><!-- doxytag: member="alleggl.h::AGL_ERROR_SIZE" ref="a47dd926d0fa17257fd4870c8da949472" args="" -->
#define <b>AGL_ERROR_SIZE</b>   256
<li><a class="anchor" id="gafeffd285319ab06291f90d03ff8b2482"></a><!-- doxytag: member="alleggl.h::AGL_FLOAT_COLOR" ref="gafeffd285319ab06291f90d03ff8b2482" args="" -->
#define <a class="el" href="group__settings.html#gafeffd285319ab06291f90d03ff8b2482">AGL_FLOAT_COLOR</a>   0x00800000
<dl class="el"><dd class="mdescRight">Floating-point Color buffer. <br/></dl><li><a class="anchor" id="ga468710b6f682956d724f984ab7fa8e02"></a><!-- doxytag: member="alleggl.h::AGL_FLOAT_Z" ref="ga468710b6f682956d724f984ab7fa8e02" args="" -->
#define <a class="el" href="group__settings.html#ga468710b6f682956d724f984ab7fa8e02">AGL_FLOAT_Z</a>   0x01000000
<dl class="el"><dd class="mdescRight">Floating-point Depth buffer. <br/></dl><li><a class="anchor" id="ga42f4d172c0c6134f78629a20696afaa3"></a><!-- doxytag: member="alleggl.h::AGL_CONFIG_RESRVED" ref="ga42f4d172c0c6134f78629a20696afaa3" args="" -->
#define <b>AGL_CONFIG_RESRVED</b>   0xA000000
</ul>
<tr><td colspan="2"><div class="groupHeader">Version Information</div></td></tr>
<ul>
<li><a class="anchor" id="ga55cad5ba67810c6db09e8439679dd9b8"></a><!-- doxytag: member="alleggl.h::AGL_VERSION" ref="ga55cad5ba67810c6db09e8439679dd9b8" args="" -->
#define <a class="el" href="group__version.html#ga55cad5ba67810c6db09e8439679dd9b8">AGL_VERSION</a>   0
<dl class="el"><dd class="mdescRight">Major version number. <br/></dl><li><a class="anchor" id="ga765e5858e5e2e09685dc711d3aae44ec"></a><!-- doxytag: member="alleggl.h::AGL_SUB_VERSION" ref="ga765e5858e5e2e09685dc711d3aae44ec" args="" -->
#define <a class="el" href="group__version.html#ga765e5858e5e2e09685dc711d3aae44ec">AGL_SUB_VERSION</a>   4
<dl class="el"><dd class="mdescRight">Minor version number. <br/></dl><li><a class="anchor" id="ga16a5a3869889050b9e070a3edf28bd50"></a><!-- doxytag: member="alleggl.h::AGL_WIP_VERSION" ref="ga16a5a3869889050b9e070a3edf28bd50" args="" -->
#define <a class="el" href="group__version.html#ga16a5a3869889050b9e070a3edf28bd50">AGL_WIP_VERSION</a>   4
<dl class="el"><dd class="mdescRight">Work-In-Progress version number. <br/></dl><li><a class="anchor" id="gaf88a3b74d82a52d56f9cec82f1a2ffd4"></a><!-- doxytag: member="alleggl.h::AGL_VERSION_STR" ref="gaf88a3b74d82a52d56f9cec82f1a2ffd4" args="" -->
#define <a class="el" href="group__version.html#gaf88a3b74d82a52d56f9cec82f1a2ffd4">AGL_VERSION_STR</a>   "0.4.4"
<dl class="el"><dd class="mdescRight">Version description string. <br/></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Frame Buffer Settings</div></td></tr>
<ul>
<li>#define <a class="el" href="group__settings.html#gab34e1290cbeb5fe252642f3bd59f0a52">AGL_ALLEGRO_FORMAT</a>   0x00000001
<dl class="el"><dd class="mdescRight">Use Allegro-compatible framebuffer. <a href="group__settings.html#gab34e1290cbeb5fe252642f3bd59f0a52"></a><br/></dl><li>#define <a class="el" href="group__settings.html#gabe75eb7c907fedeef4763ad6c3ffd8f0">AGL_RED_DEPTH</a>   0x00000002
<dl class="el"><dd class="mdescRight">Select the red depth of the frame buffer. <a href="group__settings.html#gabe75eb7c907fedeef4763ad6c3ffd8f0"></a><br/></dl><li>#define <a class="el" href="group__settings.html#gada8f8e9bb4e0ccf1bf7f7353d1e6032d">AGL_GREEN_DEPTH</a>   0x00000004
<dl class="el"><dd class="mdescRight">Select the green depth of the frame buffer. <a href="group__settings.html#gada8f8e9bb4e0ccf1bf7f7353d1e6032d"></a><br/></dl><li>#define <a class="el" href="group__settings.html#ga8efacc076a3d6523dd989211833c1ca8">AGL_BLUE_DEPTH</a>   0x00000008
<dl class="el"><dd class="mdescRight">Select the blue depth of the frame buffer. <a href="group__settings.html#ga8efacc076a3d6523dd989211833c1ca8"></a><br/></dl><li>#define <a class="el" href="group__settings.html#gad37b2a655ca53a34bb41bc629c8aa51e">AGL_ALPHA_DEPTH</a>   0x00000010
<dl class="el"><dd class="mdescRight">Select the alpha depth of the frame buffer. <a href="group__settings.html#gad37b2a655ca53a34bb41bc629c8aa51e"></a><br/></dl><li>#define <a class="el" href="group__settings.html#ga71846e567336fe02f8f063af1282ddc5">AGL_COLOR_DEPTH</a>   0x00000020
<dl class="el"><dd class="mdescRight">Specify the total color depth of the frame buffer. <a href="group__settings.html#ga71846e567336fe02f8f063af1282ddc5"></a><br/></dl><li>#define <a class="el" href="group__settings.html#ga317622005a4a2956a0d1659d3c47822a">AGL_ACC_RED_DEPTH</a>   0x00000040
<dl class="el"><dd class="mdescRight">Select the red depth of the accumulator buffer. <a href="group__settings.html#ga317622005a4a2956a0d1659d3c47822a"></a><br/></dl><li>#define <a class="el" href="group__settings.html#ga00f4cfb4cb19b60d677b6941fec903ba">AGL_ACC_GREEN_DEPTH</a>   0x00000080
<dl class="el"><dd class="mdescRight">Select the green depth of the accumulator buffer. <a href="group__settings.html#ga00f4cfb4cb19b60d677b6941fec903ba"></a><br/></dl><li>#define <a class="el" href="group__settings.html#gaf80c6da60114ac3962aabcfd8745b97e">AGL_ACC_BLUE_DEPTH</a>   0x00000100
<dl class="el"><dd class="mdescRight">Select the blue depth of the accumulator buffer. <a href="group__settings.html#gaf80c6da60114ac3962aabcfd8745b97e"></a><br/></dl><li>#define <a class="el" href="group__settings.html#gab8eba4f52cdb3d333b237c0ab0b3594a">AGL_ACC_ALPHA_DEPTH</a>   0x00000200
<dl class="el"><dd class="mdescRight">Select the alpha depth of the accumulator buffer. <a href="group__settings.html#gab8eba4f52cdb3d333b237c0ab0b3594a"></a><br/></dl><li>#define <a class="el" href="group__settings.html#gaa1150ae35d6ff9b33d5771f29f9770dd">AGL_DOUBLEBUFFER</a>   0x00000400
<dl class="el"><dd class="mdescRight">Creates a backbuffer if set. <a href="group__settings.html#gaa1150ae35d6ff9b33d5771f29f9770dd"></a><br/></dl><li>#define <a class="el" href="group__settings.html#ga47be892718fa4b2c6166caf51da67489">AGL_STEREO</a>   0x00000800
<dl class="el"><dd class="mdescRight">Creates seperate left/right buffers for stereo display. <a href="group__settings.html#ga47be892718fa4b2c6166caf51da67489"></a><br/></dl><li>#define <a class="el" href="group__settings.html#ga6267cbe7841d12c35d59032f66b7b871">AGL_AUX_BUFFERS</a>   0x00001000
<dl class="el"><dd class="mdescRight">Creates additional auxiliary buffers. <a href="group__settings.html#ga6267cbe7841d12c35d59032f66b7b871"></a><br/></dl><li>#define <a class="el" href="group__settings.html#gabef24a727709a823e8fc900fdb72892e">AGL_Z_DEPTH</a>   0x00002000
<dl class="el"><dd class="mdescRight">Select the depth of the z-buffer. <a href="group__settings.html#gabef24a727709a823e8fc900fdb72892e"></a><br/></dl><li>#define <a class="el" href="group__settings.html#ga7b34772508e08edb0436e85d2d696fb9">AGL_STENCIL_DEPTH</a>   0x00004000
<dl class="el"><dd class="mdescRight">Select the depth of the stencil buffer. <a href="group__settings.html#ga7b34772508e08edb0436e85d2d696fb9"></a><br/></dl><li>#define <a class="el" href="group__settings.html#gafea8132efd1fcac7a7f997ef0fe34cfa">AGL_WINDOW_X</a>   0x00008000
<dl class="el"><dd class="mdescRight">Requests a placement of the window to a specified pixel location. <a href="group__settings.html#gafea8132efd1fcac7a7f997ef0fe34cfa"></a><br/></dl><li><a class="anchor" id="ga80b7ef911d06ddee6d94d528cc6d914a"></a><!-- doxytag: member="alleggl.h::AGL_WINDOW_Y" ref="ga80b7ef911d06ddee6d94d528cc6d914a" args="" -->
#define <a class="el" href="group__settings.html#ga80b7ef911d06ddee6d94d528cc6d914a">AGL_WINDOW_Y</a>   0x00010000
<dl class="el"><dd class="mdescRight">Same as AGL_WINDOW_X, but for the y-axis. <br/></dl><li>#define <a class="el" href="group__settings.html#ga3cd047a464c8f8d928f9529226a4cf12">AGL_RENDERMETHOD</a>   0x00020000
<dl class="el"><dd class="mdescRight">Set it if you'd like AllegroGL to pay special attention on whether hardware acceleration is present or not. <a href="group__settings.html#ga3cd047a464c8f8d928f9529226a4cf12"></a><br/></dl><li>#define <a class="el" href="group__settings.html#ga1baffefcedaffebf7ca47724a0441e60">AGL_FULLSCREEN</a>   0x00040000
<dl class="el"><dd class="mdescRight">Set if you'd like a full screen mode. <a href="group__settings.html#ga1baffefcedaffebf7ca47724a0441e60"></a><br/></dl><li>#define <a class="el" href="group__settings.html#ga6fcfd5d01183e704595b05fa9812b94f">AGL_WINDOWED</a>   0x00080000
<dl class="el"><dd class="mdescRight">Set if you'd like a windowed mode. <a href="group__settings.html#ga6fcfd5d01183e704595b05fa9812b94f"></a><br/></dl><li>#define <a class="el" href="group__settings.html#gab78a9c8ca24294b008d706a409c4fa37">AGL_VIDEO_MEMORY_POLICY</a>   0x00100000
<dl class="el"><dd class="mdescRight">Define AllegroGL's policy relative to video memory usage. <a href="group__settings.html#gab78a9c8ca24294b008d706a409c4fa37"></a><br/></dl><li>#define <a class="el" href="group__settings.html#gae1836cab58a366c122ace31160fe0e06">AGL_SAMPLE_BUFFERS</a>   0x00200000
<dl class="el"><dd class="mdescRight">Define multisample parameters Some OpenGL ICDs expose an extension called GL_ARB_multisample which provides a mechanism to anti-alias all GL primitives: points, lines, polygons, bitmaps and pixel rectangles. <a href="group__settings.html#gae1836cab58a366c122ace31160fe0e06"></a><br/></dl><li>#define <a class="el" href="group__settings.html#ga92d9751c38774297013087e89a25749d">AGL_SAMPLES</a>   0x00400000
<dl class="el"><dd class="mdescRight">Define multisample samples Set this value to the number of samples that can be accepted in the multisample buffers. <a href="group__settings.html#ga92d9751c38774297013087e89a25749d"></a><br/></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Mode selection priority options</div></td></tr>
<ul>
<li><a class="anchor" id="ga7a6285db6617b68ae4946556c6a4636d"></a><!-- doxytag: member="alleggl.h::AGL_DONTCARE" ref="ga7a6285db6617b68ae4946556c6a4636d" args="" -->
#define <a class="el" href="group__settings.html#ga7a6285db6617b68ae4946556c6a4636d">AGL_DONTCARE</a>   0
<dl class="el"><dd class="mdescRight">Ignore these settings. <br/></dl><li><a class="anchor" id="ga5a1518fe9c1b44beb7f5bdcc42b6b8f1"></a><!-- doxytag: member="alleggl.h::AGL_SUGGEST" ref="ga5a1518fe9c1b44beb7f5bdcc42b6b8f1" args="" -->
#define <a class="el" href="group__settings.html#ga5a1518fe9c1b44beb7f5bdcc42b6b8f1">AGL_SUGGEST</a>   -1
<dl class="el"><dd class="mdescRight">Prefer the assigned values for these settings. <br/></dl><li><a class="anchor" id="ga839ae567340a64a97480e6abf1743b5f"></a><!-- doxytag: member="alleggl.h::AGL_REQUIRE" ref="ga839ae567340a64a97480e6abf1743b5f" args="" -->
#define <a class="el" href="group__settings.html#ga839ae567340a64a97480e6abf1743b5f">AGL_REQUIRE</a>   -2
<dl class="el"><dd class="mdescRight">Reject other values for these settings. <br/></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Video memory policy options</div></td></tr>
<ul>
<li><a class="anchor" id="ga5deef983a0f5b2704746d7945c614b7c"></a><!-- doxytag: member="alleggl.h::AGL_KEEP" ref="ga5deef983a0f5b2704746d7945c614b7c" args="" -->
#define <a class="el" href="group__settings.html#ga5deef983a0f5b2704746d7945c614b7c">AGL_KEEP</a>   1
<dl class="el"><dd class="mdescRight">Keep internal texture in video memory. <br/></dl><li><a class="anchor" id="ga77a6cb708e52f68f893128db6f20bdea"></a><!-- doxytag: member="alleggl.h::AGL_RELEASE" ref="ga77a6cb708e52f68f893128db6f20bdea" args="" -->
#define <a class="el" href="group__settings.html#ga77a6cb708e52f68f893128db6f20bdea">AGL_RELEASE</a>   2
<dl class="el"><dd class="mdescRight">Release video memory occupied by internal texture. <br/></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Graphics drivers</div></td></tr>
<ul>
<li><a class="anchor" id="a5fcf0497998fecc3c04bb5b6ce66782b"></a><!-- doxytag: member="alleggl.h::GFX_OPENGL_WINDOWED" ref="a5fcf0497998fecc3c04bb5b6ce66782b" args="" -->
#define <a class="el" href="alleggl_8h.html#a5fcf0497998fecc3c04bb5b6ce66782b">GFX_OPENGL_WINDOWED</a>
<dl class="el"><dd class="mdescRight">Windowed OpenGL graphics driver for Allegro. <br/></dl><li><a class="anchor" id="afd00c615b3351d54382b5f883b99544f"></a><!-- doxytag: member="alleggl.h::GFX_OPENGL_FULLSCREEN" ref="afd00c615b3351d54382b5f883b99544f" args="" -->
#define <a class="el" href="alleggl_8h.html#afd00c615b3351d54382b5f883b99544f">GFX_OPENGL_FULLSCREEN</a>
<dl class="el"><dd class="mdescRight">Fullscreen OpenGL graphics driver for Allegro. <br/></dl><li><a class="anchor" id="a6341d90e32c19c45f003442b19ecba5f"></a><!-- doxytag: member="alleggl.h::GFX_OPENGL" ref="a6341d90e32c19c45f003442b19ecba5f" args="" -->
#define <a class="el" href="alleggl_8h.html#a6341d90e32c19c45f003442b19ecba5f">GFX_OPENGL</a>
<dl class="el"><dd class="mdescRight">Non-specific OpenGL graphics driver for Allegro. <br/></dl></ul>
<tr><td colspan="2"><div class="groupHeader">OpenGL Extensions Management Functions</div></td></tr>
<ul>
<li>#define <a class="el" href="group__extensions.html#gac45f9222ac965c8d0d756f513cebf0d1">AGL_DEFINE_PROC_TYPE</a>
<dl class="el"><dd class="mdescRight">OpenGL extensions handlers helper. <a href="group__extensions.html#gac45f9222ac965c8d0d756f513cebf0d1"></a><br/></dl></ul>
<h2><a name="func-members"></a>
Functions</h2>
<ul>
<li>int <a class="el" href="group__gui.html#ga30c12b20a701f84f994ebcbea14afc99">algl_do_dialog</a> (DIALOG *dialog, int focus_obj)
<dl class="el"><dd class="mdescRight">AllegroGL-friendly version of do_dialog. <a href="group__gui.html#ga30c12b20a701f84f994ebcbea14afc99"></a><br/></dl><li>int <a class="el" href="group__gui.html#ga4c6641a5fe463ca062b90bcc3bb5677d">algl_popup_dialog</a> (DIALOG *dialog, int focus_obj)
<dl class="el"><dd class="mdescRight">AllegroGL-friendly version of popup_dialog. <a href="group__gui.html#ga4c6641a5fe463ca062b90bcc3bb5677d"></a><br/></dl><li>void <a class="el" href="group__gui.html#ga4418d38b8585ab443ba7f41a476765c6">algl_draw_mouse</a> (void)
<dl class="el"><dd class="mdescRight">Draws a mouse pointer on the screen. <a href="group__gui.html#ga4418d38b8585ab443ba7f41a476765c6"></a><br/></dl><li>void <a class="el" href="group__gui.html#ga428394c0ae4d4a1e96fe2b27fb13f745">algl_set_mouse_drawer</a> (void(*user_draw_mouse)(void))
<dl class="el"><dd class="mdescRight">Sets (or clears) a user mouse drawing callback. <a href="group__gui.html#ga428394c0ae4d4a1e96fe2b27fb13f745"></a><br/></dl><li>int <a class="el" href="group__gui.html#gad6be783b911635769fcb54d188a77107">algl_alert</a> (AL_CONST char *s1, AL_CONST char *s2, AL_CONST char *s3, AL_CONST char *b1, AL_CONST char *b2, int c1, int c2)
<dl class="el"><dd class="mdescRight">AllegroGL-friendly version of Allegro's alert. <a href="group__gui.html#gad6be783b911635769fcb54d188a77107"></a><br/></dl><li>int <a class="el" href="group__gui.html#gadc8b61d7a682b7be11f0f1cc864b30be">algl_alert3</a> (AL_CONST char *s1, AL_CONST char *s2, AL_CONST char *s3, AL_CONST char *b1, AL_CONST char *b2, AL_CONST char *b3, int c1, int c2, int c3)
<dl class="el"><dd class="mdescRight">AllegroGL-friendly version of Allegro's alert3. <a href="group__gui.html#gadc8b61d7a682b7be11f0f1cc864b30be"></a><br/></dl><li>int <a class="el" href="group__gui.html#gae41d96ae1ebefffdf60391e632915fd3">d_algl_viewport_proc</a> (int msg, DIALOG *d, int c)
<dl class="el"><dd class="mdescRight">Creates a viewport object where OpenGL commands can be performed. <a href="group__gui.html#gae41d96ae1ebefffdf60391e632915fd3"></a><br/></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Mode selection functions</div></td></tr>
<ul>
<li>void <a class="el" href="group__settings.html#gadd1249980001c22cb3eba880561a7e19">allegro_gl_clear_settings</a> (void)
<dl class="el"><dd class="mdescRight">Clear the option settings All settings are set to their default values, and marked as neither suggested not required. <a href="group__settings.html#gadd1249980001c22cb3eba880561a7e19"></a><br/></dl><li>void <a class="el" href="group__settings.html#ga025e79a4394803a0e15aaf07b1a8a656">allegro_gl_set</a> (int option, int value)
<dl class="el"><dd class="mdescRight">Sets a configuration option. <a href="group__settings.html#ga025e79a4394803a0e15aaf07b1a8a656"></a><br/></dl><li>int <a class="el" href="group__settings.html#ga2179291ddb3cb528c3c0cf84af5c51a9">allegro_gl_get</a> (int option)
<dl class="el"><dd class="mdescRight">Reads the setting of a configuration option. <a href="group__settings.html#ga2179291ddb3cb528c3c0cf84af5c51a9"></a><br/></dl><li>void <a class="el" href="group__settings.html#gaa461b9459f56c9274d2d49accf201ee1">allegro_gl_save_settings</a> ()
<dl class="el"><dd class="mdescRight">Saves the current settings (as specified by <a class="el" href="group__settings.html#ga025e79a4394803a0e15aaf07b1a8a656" title="Sets a configuration option.">allegro_gl_set()</a>) to the current config file, in the section [OpenGL]. <a href="group__settings.html#gaa461b9459f56c9274d2d49accf201ee1"></a><br/></dl><li>void <a class="el" href="group__settings.html#ga60a577d2fed019cdae83c648f1ff74ec">allegro_gl_load_settings</a> ()
<dl class="el"><dd class="mdescRight">Loads the settings from the current config file, in the section [OpenGL]. <a href="group__settings.html#ga60a577d2fed019cdae83c648f1ff74ec"></a><br/></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Video Bitmap Rountines</div></td></tr>
<ul>
<li>GLint <a class="el" href="group__bitmap.html#ga92d58cf7b4bebf34aa27112efba1020e">allegro_gl_set_video_bitmap_color_depth</a> (int bpp)
<dl class="el"><dd class="mdescRight">Sets the color depth you'd like AllegroGL to use for video bitmaps. <a href="group__bitmap.html#ga92d58cf7b4bebf34aa27112efba1020e"></a><br/></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Allegro Interfacing routines</div></td></tr>
<ul>
<li>void <a class="el" href="group__allegro.html#ga7ea7ffd9b72d0d0722cbf982b729efdb">allegro_gl_set_allegro_mode</a> (void)
<dl class="el"><dd class="mdescRight">Prepares for Allegro drawing to the screen. <a href="group__allegro.html#ga7ea7ffd9b72d0d0722cbf982b729efdb"></a><br/></dl><li>void <a class="el" href="group__allegro.html#ga00fbbee541046767114bf9746ceb6f8b">allegro_gl_unset_allegro_mode</a> (void)
<dl class="el"><dd class="mdescRight">Restores previous OpenGL settings. <a href="group__allegro.html#ga00fbbee541046767114bf9746ceb6f8b"></a><br/></dl><li>void <a class="el" href="group__allegro.html#gabaf6024e9d196da357aad02c5dc7589f">allegro_gl_set_projection</a> (void)
<dl class="el"><dd class="mdescRight">Prepares for Allegro drawing to the screen. <a href="group__allegro.html#gabaf6024e9d196da357aad02c5dc7589f"></a><br/></dl><li>void <a class="el" href="group__allegro.html#ga603f8f3719d02816acdf3dbdcaa1f447">allegro_gl_unset_projection</a> (void)
<dl class="el"><dd class="mdescRight">Restores previously saved projection. <a href="group__allegro.html#ga603f8f3719d02816acdf3dbdcaa1f447"></a><br/></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Matrix conversion routines</div></td></tr>
<ul>
<li>void <a class="el" href="group__math.html#ga4cf4f453cb3f95a1e7e861a7401b4a8d">allegro_gl_MATRIX_to_GLfloat</a> (MATRIX *m, GLfloat gl[16])
<dl class="el"><dd class="mdescRight">Converts an Allegro fixed-point matrix to an array of floats suitable for OpenGL's matrix operations. <a href="group__math.html#ga4cf4f453cb3f95a1e7e861a7401b4a8d"></a><br/></dl><li>void <a class="el" href="group__math.html#gaee6cb48f8e3e70abecc6c282a8ea1edc">allegro_gl_MATRIX_to_GLdouble</a> (MATRIX *m, GLdouble gl[16])
<dl class="el"><dd class="mdescRight">Converts an Allegro fixed-point matrix to an array of doubles suitable for OpenGL's matrix operations. <a href="group__math.html#gaee6cb48f8e3e70abecc6c282a8ea1edc"></a><br/></dl><li>void <a class="el" href="group__math.html#gae8e0ee18b9aeca955402be16de6ca79d">allegro_gl_MATRIX_f_to_GLfloat</a> (MATRIX_f *m, GLfloat gl[16])
<dl class="el"><dd class="mdescRight">Converts an Allegro floating-point matrix to an array of floats suitable for OpenGL's matrix operations. <a href="group__math.html#gae8e0ee18b9aeca955402be16de6ca79d"></a><br/></dl><li>void <a class="el" href="group__math.html#gab93f3588ea08b048f418023aa76cb3fc">allegro_gl_MATRIX_f_to_GLdouble</a> (MATRIX_f *m, GLdouble gl[16])
<dl class="el"><dd class="mdescRight">Converts an Allegro floating-point matrix to an array of doubles suitable for OpenGL's matrix operations. <a href="group__math.html#gab93f3588ea08b048f418023aa76cb3fc"></a><br/></dl><li>void <a class="el" href="group__math.html#ga468e83ca4de52ed839978d48f5dbe111">allegro_gl_GLfloat_to_MATRIX</a> (GLfloat gl[16], MATRIX *m)
<dl class="el"><dd class="mdescRight">Converts an Allegro fixed-point matrix to an array of floats suitable for OpenGL's matrix operations. <a href="group__math.html#ga468e83ca4de52ed839978d48f5dbe111"></a><br/></dl><li>void <a class="el" href="group__math.html#ga68e2e0e9dcdba42004070a5f8f547994">allegro_gl_GLdouble_to_MATRIX</a> (GLdouble gl[16], MATRIX *m)
<dl class="el"><dd class="mdescRight">Converts an Allegro fixed-point matrix to an array of floats suitable for OpenGL's matrix operations. <a href="group__math.html#ga68e2e0e9dcdba42004070a5f8f547994"></a><br/></dl><li>void <a class="el" href="group__math.html#ga08692466ae37d7888bbd5f5ee5aa9268">allegro_gl_GLfloat_to_MATRIX_f</a> (GLfloat gl[16], MATRIX_f *m)
<dl class="el"><dd class="mdescRight">Converts an Allegro fixed-point matrix to an array of floats suitable for OpenGL's matrix operations. <a href="group__math.html#ga08692466ae37d7888bbd5f5ee5aa9268"></a><br/></dl><li>void <a class="el" href="group__math.html#gaa6b729a9e93e249a8a76e078e94a2b44">allegro_gl_GLdouble_to_MATRIX_f</a> (GLdouble gl[16], MATRIX_f *m)
<dl class="el"><dd class="mdescRight">Converts an Allegro fixed-point matrix to an array of floats suitable for OpenGL's matrix operations. <a href="group__math.html#gaa6b729a9e93e249a8a76e078e94a2b44"></a><br/></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Quaternion conversion routines</div></td></tr>
<ul>
<li><a class="anchor" id="gaa83a678516d8a7a5503a2b0c9014cb64"></a><!-- doxytag: member="alleggl.h::allegro_gl_apply_quat" ref="gaa83a678516d8a7a5503a2b0c9014cb64" args="(QUAT *q)" -->
void <b>allegro_gl_apply_quat</b> (QUAT *q)
<li><a class="anchor" id="gab00b667363181a8f0853121170bebaca"></a><!-- doxytag: member="alleggl.h::allegro_gl_quat_to_glrotatef" ref="gab00b667363181a8f0853121170bebaca" args="(QUAT *q, float *angle, float *x, float *y, float *z)" -->
void <b>allegro_gl_quat_to_glrotatef</b> (QUAT *q, float *angle, float *x, float *y, float *z)
<li><a class="anchor" id="ga956160418e1c0c37143dd3cee54477ce"></a><!-- doxytag: member="alleggl.h::allegro_gl_quat_to_glrotated" ref="ga956160418e1c0c37143dd3cee54477ce" args="(QUAT *q, double *angle, double *x, double *y, double *z)" -->
void <b>allegro_gl_quat_to_glrotated</b> (QUAT *q, double *angle, double *x, double *y, double *z)
</ul>
<h2><a name="var-members"></a>
Variables</h2>
<ul>
<li><a class="anchor" id="a56226bbab6a0dfb87493cd5f94b80876"></a><!-- doxytag: member="alleggl.h::allegro_gl_error" ref="a56226bbab6a0dfb87493cd5f94b80876" args="[256]" -->
char <b>allegro_gl_error</b> [256]
<li><a class="anchor" id="ac62887d7ccdfa9737e2d952c95402e6a"></a><!-- doxytag: member="alleggl.h::gfx_allegro_gl_default" ref="ac62887d7ccdfa9737e2d952c95402e6a" args="" -->
GFX_DRIVER <b>gfx_allegro_gl_default</b>
<li><a class="anchor" id="abfb526c49d9fb066ee80c45889caa9aa"></a><!-- doxytag: member="alleggl.h::gfx_allegro_gl_windowed" ref="abfb526c49d9fb066ee80c45889caa9aa" args="" -->
GFX_DRIVER <b>gfx_allegro_gl_windowed</b>
<li><a class="anchor" id="ad939783cd83d7eee3227b608f4901441"></a><!-- doxytag: member="alleggl.h::gfx_allegro_gl_fullscreen" ref="ad939783cd83d7eee3227b608f4901441" args="" -->
GFX_DRIVER <b>gfx_allegro_gl_fullscreen</b>
</ul>
<h2><a name="member-group"></a>
Core Functions</h2>
<ul>
<li>#define <a class="el" href="group__core.html#ga59b02f9584f81789449a7fcc2018bfc5">allegro_gl_begin</a>()   ;
<dl class="el"><dd class="mdescRight">Backward compatibility #define for programs written prior to AGL 0.0.22. <a href="group__core.html#ga59b02f9584f81789449a7fcc2018bfc5"></a><br/></dl><li>#define <a class="el" href="group__core.html#gac1303e0363f3adfc33c8812e9b8e30b0">allegro_gl_end</a>()   ;
<dl class="el"><dd class="mdescRight">Backward compatibility #define for programs written prior to AGL 0.0.22. <a href="group__core.html#gac1303e0363f3adfc33c8812e9b8e30b0"></a><br/></dl><li>int <a class="el" href="group__core.html#gaa0cbb82fa1e2bae6788eb7bd06673bd3">install_allegro_gl</a> (void)
<dl class="el"><dd class="mdescRight">Installs the AllegroGL addon to Allegro. <a href="group__core.html#gaa0cbb82fa1e2bae6788eb7bd06673bd3"></a><br/></dl><li>void <a class="el" href="group__core.html#gaeff6abbb1d1071a01f4cd694ef504298">remove_allegro_gl</a> (void)
<dl class="el"><dd class="mdescRight">Removes the AllegroGL addon. <a href="group__core.html#gaeff6abbb1d1071a01f4cd694ef504298"></a><br/></dl><li>void <a class="el" href="group__core.html#gaf5aad043e99b766393fa4a7ec034a0f1">allegro_gl_flip</a> (void)
<dl class="el"><dd class="mdescRight">Flips the front and back framebuffers. <a href="group__core.html#gaf5aad043e99b766393fa4a7ec034a0f1"></a><br/></dl><li>float <a class="el" href="group__core.html#ga444d507eaeb5ba800787f6a81827615d">allegro_gl_opengl_version</a> (void)
<dl class="el"><dd class="mdescRight">Returns the OpenGL version number of the client (the computer the program is running on). <a href="group__core.html#ga444d507eaeb5ba800787f6a81827615d"></a><br/></dl></ul>
<h2><a name="member-group"></a>
Texture routines</h2>
<ul>
<li><a class="anchor" id="gabaf179e577a9328a751e92e3603f0746"></a><!-- doxytag: member="alleggl.h::AGL_TEXTURE_MIPMAP" ref="gabaf179e577a9328a751e92e3603f0746" args="" -->
#define <a class="el" href="group__texture.html#gabaf179e577a9328a751e92e3603f0746">AGL_TEXTURE_MIPMAP</a>   0x01
<dl class="el"><dd class="mdescRight">AllegroGL will generate mipmaps for this texture. <br/></dl><li><a class="anchor" id="ga8cc859eadf1610b424cd9188e716f432"></a><!-- doxytag: member="alleggl.h::AGL_TEXTURE_HAS_ALPHA" ref="ga8cc859eadf1610b424cd9188e716f432" args="" -->
#define <a class="el" href="group__texture.html#ga8cc859eadf1610b424cd9188e716f432">AGL_TEXTURE_HAS_ALPHA</a>   0x02
<dl class="el"><dd class="mdescRight">Tell AllegroGL that the bitmap had an alpha channel, so it should be preserved when generating the texture. <br/></dl><li>#define <a class="el" href="group__texture.html#gadeffe4feb290278035beacedb284a010">AGL_TEXTURE_FLIP</a>   0x04
<dl class="el"><dd class="mdescRight">Flip the texture on the x-axis. <a href="group__texture.html#gadeffe4feb290278035beacedb284a010"></a><br/></dl><li>#define <a class="el" href="group__texture.html#gaba184d573c65f33b35d1d57936607d08">AGL_TEXTURE_MASKED</a>   0x08
<dl class="el"><dd class="mdescRight">Generate an alpha channel for this texture, based on the Allegro mask color. <a href="group__texture.html#gaba184d573c65f33b35d1d57936607d08"></a><br/></dl><li>#define <a class="el" href="group__texture.html#gaa8b7246edc7ec019ec3b434eb0cacdf2">AGL_TEXTURE_RESCALE</a>   0x10
<dl class="el"><dd class="mdescRight">Tell AllegroGL to allow rescaling of the bitmap. <a href="group__texture.html#gaa8b7246edc7ec019ec3b434eb0cacdf2"></a><br/></dl><li><a class="anchor" id="gad67cfdfd21ef2cae75b03cb871e57f4a"></a><!-- doxytag: member="alleggl.h::AGL_TEXTURE_ALPHA_ONLY" ref="gad67cfdfd21ef2cae75b03cb871e57f4a" args="" -->
#define <a class="el" href="group__texture.html#gad67cfdfd21ef2cae75b03cb871e57f4a">AGL_TEXTURE_ALPHA_ONLY</a>   0x20
<dl class="el"><dd class="mdescRight">Tell AllegroGL that the specified BITMAP is an 8-bpp alpha-only BITMAP. <br/></dl><li>int <a class="el" href="group__texture.html#gab5393ecc10a2a31da7eb80c889af89ac">allegro_gl_use_mipmapping</a> (int enable)
<dl class="el"><dd class="mdescRight">Tell AllegroGL to use Mipmapping or not when generating textures via its functions. <a href="group__texture.html#gab5393ecc10a2a31da7eb80c889af89ac"></a><br/></dl><li>int <a class="el" href="group__texture.html#ga1d88f4ebc7ed1ecd65640b72ea46a71e">allegro_gl_use_alpha_channel</a> (int enable)
<dl class="el"><dd class="mdescRight">Tell AllegroGL to use Alpha channel or not when generating textures via its functions. <a href="group__texture.html#ga1d88f4ebc7ed1ecd65640b72ea46a71e"></a><br/></dl><li>int <a class="el" href="group__texture.html#ga3ec0a1c4c6656f13c8398bab7a1293f2">allegro_gl_flip_texture</a> (int enable)
<dl class="el"><dd class="mdescRight">Tell AllegroGL to flip the texture vertically or not when generating textures via its functions, to conform to the usual OpenGL texture coordinate system (increasing upwards). <a href="group__texture.html#ga3ec0a1c4c6656f13c8398bab7a1293f2"></a><br/></dl><li>int <a class="el" href="group__texture.html#ga6996c14538e18b1614f91d34b2d4d691">allegro_gl_check_texture</a> (BITMAP *bmp)
<dl class="el"><dd class="mdescRight">Checks whether the specified bitmap is of the proper size for texturing. <a href="group__texture.html#ga6996c14538e18b1614f91d34b2d4d691"></a><br/></dl><li>int <a class="el" href="group__texture.html#gab0cf4dc0ddcb45f5b067d08aed1c88e6">allegro_gl_check_texture_ex</a> (int flags, BITMAP *bmp, GLint internal_format)
<dl class="el"><dd class="mdescRight">Checks whether the specified bitmap is of the proper size for texturing. <a href="group__texture.html#gab0cf4dc0ddcb45f5b067d08aed1c88e6"></a><br/></dl><li>GLint <a class="el" href="group__texture.html#ga2392fe7a8dd6db65532160821804aa68">allegro_gl_get_texture_format</a> (BITMAP *bmp)
<dl class="el"><dd class="mdescRight">Returns the OpenGL internal texture format for this bitmap. <a href="group__texture.html#ga2392fe7a8dd6db65532160821804aa68"></a><br/></dl><li>GLint <a class="el" href="group__texture.html#ga5d535e8af776dd449cc4755b9e3585b1">allegro_gl_set_texture_format</a> (GLint format)
<dl class="el"><dd class="mdescRight">Sets the color format you'd like OpenGL to use for its textures. <a href="group__texture.html#ga5d535e8af776dd449cc4755b9e3585b1"></a><br/></dl><li><a class="anchor" id="ga59f7129dd541d2e5a291d36bf90b7289"></a><!-- doxytag: member="alleggl.h::allegro_gl_get_bitmap_type" ref="ga59f7129dd541d2e5a291d36bf90b7289" args="(BITMAP *bmp)" -->
GLenum <a class="el" href="group__texture.html#ga59f7129dd541d2e5a291d36bf90b7289">allegro_gl_get_bitmap_type</a> (BITMAP *bmp)
<dl class="el"><dd class="mdescRight">AllegroGL will generate mipmaps for this texture. <br/></dl><li><a class="anchor" id="ga83b2b13cb35dd4b4e9e874173a246581"></a><!-- doxytag: member="alleggl.h::allegro_gl_get_bitmap_color_format" ref="ga83b2b13cb35dd4b4e9e874173a246581" args="(BITMAP *bmp)" -->
GLenum <a class="el" href="group__texture.html#ga83b2b13cb35dd4b4e9e874173a246581">allegro_gl_get_bitmap_color_format</a> (BITMAP *bmp)
<dl class="el"><dd class="mdescRight">AllegroGL will generate mipmaps for this texture. <br/></dl><li>GLuint <a class="el" href="group__texture.html#gae071354f76bc28e1bafbd90bdecbc0c9">allegro_gl_make_texture</a> (BITMAP *bmp)
<dl class="el"><dd class="mdescRight">Uploads an Allegro BITMAP to the GL driver as a texture. <a href="group__texture.html#gae071354f76bc28e1bafbd90bdecbc0c9"></a><br/></dl><li>GLuint <a class="el" href="group__texture.html#gaeb33dfbbc1725f5132c10ac32ef6800d">allegro_gl_make_masked_texture</a> (BITMAP *bmp)
<dl class="el"><dd class="mdescRight">Uploads an Allegro BITMAP to the GL driver as a texture. <a href="group__texture.html#gaeb33dfbbc1725f5132c10ac32ef6800d"></a><br/></dl><li>GLuint <a class="el" href="group__texture.html#gaf3a48c555068e7051171255c1011150a">allegro_gl_make_texture_ex</a> (int flags, BITMAP *bmp, GLint internal_format)
<dl class="el"><dd class="mdescRight">Uploads an Allegro BITMAP to the GL driver as a texture. <a href="group__texture.html#gaf3a48c555068e7051171255c1011150a"></a><br/></dl></ul>
<h2><a name="member-group"></a>
Text Drawing and Font conversion</h2>
<ul>
<li>#define <a class="el" href="group__Text.html#gad2ebae17d2548a5befb888f8618f2206">AGL_FONT_TYPE_DONT_CARE</a>   -1
<dl class="el"><dd class="mdescRight">Indicates that you don't really care how a font will be converted. <a href="group__Text.html#gad2ebae17d2548a5befb888f8618f2206"></a><br/></dl><li>#define <a class="el" href="group__Text.html#ga7ed8fdc1b0065d2fe584b15d69108b1a">AGL_FONT_TYPE_BITMAP</a>   0
<dl class="el"><dd class="mdescRight">Indicates that you want fonts to be converted to a bitmap format. <a href="group__Text.html#ga7ed8fdc1b0065d2fe584b15d69108b1a"></a><br/></dl><li>#define <a class="el" href="group__Text.html#gaba7b8c941356029687ff4b4340e8b841">AGL_FONT_TYPE_OUTLINE</a>   1
<dl class="el"><dd class="mdescRight">Indicates that you want fonts to be converted to an outline format. <a href="group__Text.html#gaba7b8c941356029687ff4b4340e8b841"></a><br/></dl><li>#define <a class="el" href="group__Text.html#ga92bf039bc7b06568273ee17f15cf6671">AGL_FONT_TYPE_TEXTURED</a>   2
<dl class="el"><dd class="mdescRight">Indicates that you want fonts to be converted to a texture format. <a href="group__Text.html#ga92bf039bc7b06568273ee17f15cf6671"></a><br/></dl><li>#define <a class="el" href="group__Text.html#gab77d7d2c6ec6d1786472943f7cd814ca">AGL_FONT_STYLE_BOLD</a>   1
<dl class="el"><dd class="mdescRight">Creates a font with bold characters. <a href="group__Text.html#gab77d7d2c6ec6d1786472943f7cd814ca"></a><br/></dl><li>#define <a class="el" href="group__Text.html#ga27874c1fb7fdc1e00115bd853c973fc3">AGL_FONT_STYLE_BLACK</a>   2
<dl class="el"><dd class="mdescRight">Creates a font with black (strong bold) characters. <a href="group__Text.html#ga27874c1fb7fdc1e00115bd853c973fc3"></a><br/></dl><li>#define <a class="el" href="group__Text.html#ga67c48bf08c2b6cd6cc1a08dec2c7c5ef">AGL_FONT_STYLE_ITALIC</a>   4
<dl class="el"><dd class="mdescRight">Creates a font with italicized characters. <a href="group__Text.html#ga67c48bf08c2b6cd6cc1a08dec2c7c5ef"></a><br/></dl><li>#define <a class="el" href="group__Text.html#gae9e4682339d264429ee601c632231c9f">AGL_FONT_STYLE_UNDERLINE</a>   8
<dl class="el"><dd class="mdescRight">Creates a font with underlined characters. <a href="group__Text.html#gae9e4682339d264429ee601c632231c9f"></a><br/></dl><li>#define <a class="el" href="group__Text.html#ga6ba31b9c7866d28b5494fad2577569db">AGL_FONT_STYLE_STRIKEOUT</a>   16
<dl class="el"><dd class="mdescRight">Creates a font with striked out characters. <a href="group__Text.html#ga6ba31b9c7866d28b5494fad2577569db"></a><br/></dl><li>#define <a class="el" href="group__Text.html#ga91cc859278878dd4bf200bed7eab4359">AGL_FONT_STYLE_ANTI_ALIASED</a>   32
<dl class="el"><dd class="mdescRight">Creates a font with anti-aliased characters. <a href="group__Text.html#ga91cc859278878dd4bf200bed7eab4359"></a><br/></dl><li>#define <a class="el" href="group__Text.html#ga4b45ef558e7934ceaaff146f450ab23f">AGL_FONT_POLYGONS</a>   1
<dl class="el"><dd class="mdescRight">Font generation mode. <a href="group__Text.html#ga4b45ef558e7934ceaaff146f450ab23f"></a><br/></dl><li>#define <a class="el" href="group__Text.html#ga0b426eb30e7203eb094a7adfbb04cb6d">AGL_FONT_LINES</a>   2
<dl class="el"><dd class="mdescRight">Font generation mode. <a href="group__Text.html#ga0b426eb30e7203eb094a7adfbb04cb6d"></a><br/></dl><li>int <a class="el" href="group__Text.html#ga84ecf6d5f5b363d7715e15eca8ebafeb">allegro_gl_printf</a> (AL_CONST FONT *f, float x, float y, float z, int color, AL_CONST char *format,...)
<dl class="el"><dd class="mdescRight">Equivalent to: <a href="group__Text.html#ga84ecf6d5f5b363d7715e15eca8ebafeb"></a><br/></dl><li>int <a class="el" href="group__Text.html#gab93317445f8a566f8b5632e04fbf8e5b">allegro_gl_printf_ex</a> (AL_CONST FONT *f, float x, float y, float z, AL_CONST char *format,...)
<dl class="el"><dd class="mdescRight">Prints a formatted string (printf style) on the screen. <a href="group__Text.html#gab93317445f8a566f8b5632e04fbf8e5b"></a><br/></dl><li>FONT * <a class="el" href="group__Text.html#gad01388c5188ae09628284aa2425acae9">allegro_gl_convert_allegro_font</a> (FONT *f, int type, float scale)
<dl class="el"><dd class="mdescRight">Equivalent to: <a href="group__Text.html#gad01388c5188ae09628284aa2425acae9"></a><br/></dl><li>FONT * <a class="el" href="group__Text.html#ga4986ec80f1a3362e47f7669461fef414">allegro_gl_convert_allegro_font_ex</a> (FONT *f, int type, float scale, GLint format)
<dl class="el"><dd class="mdescRight">Converts a regular Allegro FONT to the AGL format for 3D display. <a href="group__Text.html#ga4986ec80f1a3362e47f7669461fef414"></a><br/></dl><li>void <a class="el" href="group__Text.html#ga62e79ccec5062f1cdadbc225319e9b44">allegro_gl_set_font_generation_mode</a> (int mode)
<dl class="el"><dd class="mdescRight">Set the font generation mode for system fonts. <a href="group__Text.html#ga62e79ccec5062f1cdadbc225319e9b44"></a><br/></dl><li>FONT * <a class="el" href="group__Text.html#ga5bddcc6c1954665140083928117519de">allegro_gl_load_system_font</a> (char *name, int style, int w, int h)
<dl class="el"><dd class="mdescRight">Short hand for aglf_load_system_font_ex(name, <a class="el" href="group__Text.html#gaba7b8c941356029687ff4b4340e8b841" title="Indicates that you want fonts to be converted to an outline format.">AGL_FONT_TYPE_OUTLINE</a>, style, w, h, 0.0f, 32, 256) <a href="group__Text.html#ga5bddcc6c1954665140083928117519de"></a><br/></dl><li>FONT * <a class="el" href="group__Text.html#ga4ad68c54b0183c60cdbf2c7a02dc3157">allegro_gl_load_system_font_ex</a> (char *name, int type, int style, int w, int h, float depth, int start, int end)
<dl class="el"><dd class="mdescRight">Loads a system font. <a href="group__Text.html#ga4ad68c54b0183c60cdbf2c7a02dc3157"></a><br/></dl><li>void <a class="el" href="group__Text.html#gabcbdd9810f7254cdb105f987ae1e557f">allegro_gl_destroy_font</a> (FONT *f)
<dl class="el"><dd class="mdescRight">void <a class="el" href="group__Text.html#gabcbdd9810f7254cdb105f987ae1e557f" title="void allegro_gl_destroy_font(FONT *usefont)">allegro_gl_destroy_font(FONT *usefont)</a> <a href="group__Text.html#gabcbdd9810f7254cdb105f987ae1e557f"></a><br/></dl><li>size_t <a class="el" href="group__Text.html#ga70b78c3a523dc9977c222d466edc6a5a">allegro_gl_list_font_textures</a> (FONT *f, GLuint *ids, size_t max_num_id)
<dl class="el"><dd class="mdescRight">List the texture ID of all textures forming the specified font. <a href="group__Text.html#ga70b78c3a523dc9977c222d466edc6a5a"></a><br/></dl></ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Main header file for AllegroGL. </p>
<p>Definition in file <a class="el" href="alleggl_8h_source.html">alleggl.h</a>.</p>
</div></div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="alleggl_8h.html">alleggl.h</a> </li>
<li class="footer">Generated on Thu May 19 2011 23:20:20 for AllegroGL by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
</ul>
</div>
</body>
</html>
|