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
|
<!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: glvtable.c 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('glvtable_8c.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>glvtable.c File Reference</h1> </div>
</div>
<div class="contents">
<p>Allegro->OpenGL conversion vtable.
<a href="#_details">More...</a></p>
<div class="textblock"><code>#include <string.h></code><br/>
<code>#include <allegro.h></code><br/>
<code>#include "alleggl.h"</code><br/>
<code>#include "allglint.h"</code><br/>
<code>#include "glvtable.h"</code><br/>
<code>#include <allegro/internal/aintern.h></code><br/>
<code>#include <GL/glu.h></code><br/>
</div>
<p><a href="glvtable_8c_source.html">Go to the source code of this file.</a></p>
<h2><a name="define-members"></a>
Defines</h2>
<ul>
<li>#define <b>SET_TEX_COORDS</b>(x, y)
<li><a class="anchor" id="gaad05bc3970b50f749ceaa43307349998"></a><!-- doxytag: member="glvtable.c::BITMAP_BLIT_CLIP" ref="gaad05bc3970b50f749ceaa43307349998" args="(source, dest, source_x, source_y, dest_x, dest_y, width, height)" -->
#define <b>BITMAP_BLIT_CLIP</b>(source, dest, source_x, source_y, dest_x, dest_y, width, height)
<li>#define <b>DRAW_RLE_8888</b>(bits)
<li><a class="anchor" id="a1de8f5d53ebb9ac4bbeafcf856f73354"></a><!-- doxytag: member="glvtable.c::BIN_2_DEG" ref="a1de8f5d53ebb9ac4bbeafcf856f73354" args="(x)" -->
#define <b>BIN_2_DEG</b>(x)   (-(x) * 180.0 / 128)
</ul>
<h2><a name="func-members"></a>
Functions</h2>
<ul>
<li><a class="anchor" id="gaf2dd739125f0ca84ac9c68263b4266f2"></a><!-- doxytag: member="glvtable.c::__allegro_gl_make_power_of_2" ref="gaf2dd739125f0ca84ac9c68263b4266f2" args="(int x)" -->
int <b>__allegro_gl_make_power_of_2</b> (int x)
<li><a class="anchor" id="ga04407f993ca3c21d922919db724b96c2"></a><!-- doxytag: member="glvtable.c::allegro_gl_drawing_mode" ref="ga04407f993ca3c21d922919db724b96c2" args="(void)" -->
void <b>allegro_gl_drawing_mode</b> (void)
<li><a class="anchor" id="ga5085e09cbdc329bfd6bd6b7fc65170c8"></a><!-- doxytag: member="glvtable.c::split_color" ref="ga5085e09cbdc329bfd6bd6b7fc65170c8" args="(int color, GLubyte *r, GLubyte *g, GLubyte *b, GLubyte *a, int color_depth)" -->
void <b>split_color</b> (int color, GLubyte *r, GLubyte *g, GLubyte *b, GLubyte *a, int color_depth)
<li><a class="anchor" id="ga26f4a6de9f04b0807fa42700dd1a20d7"></a><!-- doxytag: member="glvtable.c::allegro_gl_created_sub_bitmap" ref="ga26f4a6de9f04b0807fa42700dd1a20d7" args="(BITMAP *bmp, BITMAP *parent)" -->
void <b>allegro_gl_created_sub_bitmap</b> (BITMAP *bmp, BITMAP *parent)
<li>static void <a class="el" href="group__glvtable.html#ga702812e50246c61eb9f01fd8aba69325">allegro_gl_screen_acquire</a> (struct BITMAP *bmp)
<dl class="el"><dd class="mdescRight">acquire_bitmap(screen) overload. <a href="group__glvtable.html#ga702812e50246c61eb9f01fd8aba69325"></a><br/></dl><li>static void <a class="el" href="group__glvtable.html#ga6c2b0685587a0feafcb194a9a67d6aa9">allegro_gl_screen_release</a> (struct BITMAP *bmp)
<dl class="el"><dd class="mdescRight">release_bitmap(screen) overload. <a href="group__glvtable.html#ga6c2b0685587a0feafcb194a9a67d6aa9"></a><br/></dl><li><a class="anchor" id="ga921c990bff3ea0faac62def172b9ac5b"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_getpixel" ref="ga921c990bff3ea0faac62def172b9ac5b" args="(struct BITMAP *bmp, int x, int y)" -->
static int <b>allegro_gl_screen_getpixel</b> (struct BITMAP *bmp, int x, int y)
<li><a class="anchor" id="ga709f50a3934bc2339ff583c5d8d7ac4c"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_putpixel" ref="ga709f50a3934bc2339ff583c5d8d7ac4c" args="(struct BITMAP *bmp, int x, int y, int color)" -->
static void <b>allegro_gl_screen_putpixel</b> (struct BITMAP *bmp, int x, int y, int color)
<li><a class="anchor" id="ga7a14c4dbc0363e39c33b0416661aee98"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_vline" ref="ga7a14c4dbc0363e39c33b0416661aee98" args="(struct BITMAP *bmp, int x, int y1, int y2, int color)" -->
static void <b>allegro_gl_screen_vline</b> (struct BITMAP *bmp, int x, int y1, int y2, int color)
<li><a class="anchor" id="ga134f31b9686555dae42ae0ab1c1a2fff"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_hline" ref="ga134f31b9686555dae42ae0ab1c1a2fff" args="(struct BITMAP *bmp, int x1, int y, int x2, int color)" -->
static void <b>allegro_gl_screen_hline</b> (struct BITMAP *bmp, int x1, int y, int x2, int color)
<li><a class="anchor" id="gae401467052c88d9b91a1f80b0e0fa2ff"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_line" ref="gae401467052c88d9b91a1f80b0e0fa2ff" args="(struct BITMAP *bmp, int x1, int y1, int x2, int y2, int color)" -->
static void <b>allegro_gl_screen_line</b> (struct BITMAP *bmp, int x1, int y1, int x2, int y2, int color)
<li><a class="anchor" id="ga694a43ed2653fc57c21e50f2266737e8"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_rectfill" ref="ga694a43ed2653fc57c21e50f2266737e8" args="(struct BITMAP *bmp, int x1, int y1, int x2, int y2, int color)" -->
void <b>allegro_gl_screen_rectfill</b> (struct BITMAP *bmp, int x1, int y1, int x2, int y2, int color)
<li><a class="anchor" id="ga986ad50a7a2b3ab9aa561c49bf5335e0"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_triangle" ref="ga986ad50a7a2b3ab9aa561c49bf5335e0" args="(struct BITMAP *bmp, int x1, int y1, int x2, int y2, int x3, int y3, int color)" -->
static void <b>allegro_gl_screen_triangle</b> (struct BITMAP *bmp, int x1, int y1, int x2, int y2, int x3, int y3, int color)
<li><a class="anchor" id="ga131ec6d465e280a411980f664e35c3f2"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_blit_from_memory" ref="ga131ec6d465e280a411980f664e35c3f2" args="(struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height)" -->
static void <b>allegro_gl_screen_blit_from_memory</b> (struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height)
<li><a class="anchor" id="ga61116278e2fbfc40e010df442fc7d0cb"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_blit_to_memory" ref="ga61116278e2fbfc40e010df442fc7d0cb" args="(struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height)" -->
static void <b>allegro_gl_screen_blit_to_memory</b> (struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height)
<li><a class="anchor" id="ga0dc407670ad3a20ca8b69668cafb00a7"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_blit_to_self" ref="ga0dc407670ad3a20ca8b69668cafb00a7" args="(struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height)" -->
void <b>allegro_gl_screen_blit_to_self</b> (struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height)
<li><a class="anchor" id="ga787fdbf593783a6b16297babbaa9034b"></a><!-- doxytag: member="glvtable.c::allegro_gl_upload_and_display_texture" ref="ga787fdbf593783a6b16297babbaa9034b" args="(struct BITMAP *source, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, GLint format, GLint type)" -->
void <b>allegro_gl_upload_and_display_texture</b> (struct BITMAP *source, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, GLint format, GLint type)
<li><a class="anchor" id="ga2d861206138005d1b5839f20584038e5"></a><!-- doxytag: member="glvtable.c::do_screen_masked_blit_standard" ref="ga2d861206138005d1b5839f20584038e5" args="(GLint format, GLint type, struct BITMAP *temp, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, int blit_type)" -->
static void <b>do_screen_masked_blit_standard</b> (GLint format, GLint type, struct BITMAP *temp, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, int blit_type)
<li><a class="anchor" id="ga4ebcb4f89dbec9ce336bf9e22341b9bc"></a><!-- doxytag: member="glvtable.c::screen_masked_blit_standard" ref="ga4ebcb4f89dbec9ce336bf9e22341b9bc" args="(struct BITMAP *source, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, int blit_type)" -->
static void <b>screen_masked_blit_standard</b> (struct BITMAP *source, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, int blit_type)
<li><a class="anchor" id="ga9c785ee9d92d83013cb8a50cfa4d902c"></a><!-- doxytag: member="glvtable.c::__allegro_gl_init_nv_register_combiners" ref="ga9c785ee9d92d83013cb8a50cfa4d902c" args="(BITMAP *bmp)" -->
static void <b>__allegro_gl_init_nv_register_combiners</b> (BITMAP *bmp)
<li><a class="anchor" id="ga55c7236cf9729bd83502a5fdea3f5656"></a><!-- doxytag: member="glvtable.c::screen_masked_blit_nv_register" ref="ga55c7236cf9729bd83502a5fdea3f5656" args="(struct BITMAP *source, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, int blit_type)" -->
static void <b>screen_masked_blit_nv_register</b> (struct BITMAP *source, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, int blit_type)
<li><a class="anchor" id="ga2989c50c9769183992c303fe1689f2a4"></a><!-- doxytag: member="glvtable.c::__allegro_gl_init_combine_textures" ref="ga2989c50c9769183992c303fe1689f2a4" args="(BITMAP *bmp)" -->
static void <b>__allegro_gl_init_combine_textures</b> (BITMAP *bmp)
<li><a class="anchor" id="gaa4da17f4b4f2fad9bd3e623f4da377ce"></a><!-- doxytag: member="glvtable.c::screen_masked_blit_combine_tex" ref="gaa4da17f4b4f2fad9bd3e623f4da377ce" args="(struct BITMAP *source, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, int blit_type)" -->
static void <b>screen_masked_blit_combine_tex</b> (struct BITMAP *source, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, int blit_type)
<li><a class="anchor" id="gaff57a6bbb1e26a7a6a04220ab2e7ccb9"></a><!-- doxytag: member="glvtable.c::do_masked_blit_screen" ref="gaff57a6bbb1e26a7a6a04220ab2e7ccb9" args="(struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, int blit_type)" -->
void <b>do_masked_blit_screen</b> (struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, int blit_type)
<li><a class="anchor" id="ga4492f963fb22e239cf0007c4b262d8c3"></a><!-- doxytag: member="glvtable.c::__allegro_gl_convert_rle_sprite" ref="ga4492f963fb22e239cf0007c4b262d8c3" args="(AL_CONST struct RLE_SPRITE *sprite, int trans)" -->
static BITMAP * <b>__allegro_gl_convert_rle_sprite</b> (AL_CONST struct RLE_SPRITE *sprite, int trans)
<li><a class="anchor" id="ga16f50f04ce8310bb6a110bd4b32fc362"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_rle_sprite" ref="ga16f50f04ce8310bb6a110bd4b32fc362" args="(struct BITMAP *bmp, AL_CONST struct RLE_SPRITE *sprite, int x, int y)" -->
void <b>allegro_gl_screen_draw_rle_sprite</b> (struct BITMAP *bmp, AL_CONST struct RLE_SPRITE *sprite, int x, int y)
<li><a class="anchor" id="ga2c836f850dc542b782acd5e7ca82cbcf"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_trans_rgba_rle_sprite" ref="ga2c836f850dc542b782acd5e7ca82cbcf" args="(struct BITMAP *bmp, AL_CONST struct RLE_SPRITE *sprite, int x, int y)" -->
static void <b>allegro_gl_screen_draw_trans_rgba_rle_sprite</b> (struct BITMAP *bmp, AL_CONST struct RLE_SPRITE *sprite, int x, int y)
<li><a class="anchor" id="gae67e14a596e418324f4df3708b8a073a"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_masked_blit" ref="gae67e14a596e418324f4df3708b8a073a" args="(struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height)" -->
static void <b>allegro_gl_screen_masked_blit</b> (struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height)
<li><a class="anchor" id="ga69343ec4e2cffd05868b58f0068beda9"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_sprite" ref="ga69343ec4e2cffd05868b58f0068beda9" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)" -->
static void <b>allegro_gl_screen_draw_sprite</b> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)
<li><a class="anchor" id="ga97666d6e17222004544c2acf152d637d"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_sprite_v_flip" ref="ga97666d6e17222004544c2acf152d637d" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)" -->
static void <b>allegro_gl_screen_draw_sprite_v_flip</b> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)
<li><a class="anchor" id="ga3293849696eac35e57b39e393532233f"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_sprite_h_flip" ref="ga3293849696eac35e57b39e393532233f" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)" -->
static void <b>allegro_gl_screen_draw_sprite_h_flip</b> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)
<li><a class="anchor" id="gacd4a30eff37e1d3a8f877ef49b1e926c"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_sprite_vh_flip" ref="gacd4a30eff37e1d3a8f877ef49b1e926c" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)" -->
static void <b>allegro_gl_screen_draw_sprite_vh_flip</b> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)
<li><a class="anchor" id="ga683899f78545eab4648bddd396303279"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_pivot_scaled_sprite_flip" ref="ga683899f78545eab4648bddd396303279" args="(struct BITMAP *bmp, struct BITMAP *sprite, fixed x, fixed y, fixed cx, fixed cy, fixed angle, fixed scale, int v_flip)" -->
static void <b>allegro_gl_screen_pivot_scaled_sprite_flip</b> (struct BITMAP *bmp, struct BITMAP *sprite, fixed x, fixed y, fixed cx, fixed cy, fixed angle, fixed scale, int v_flip)
<li><a class="anchor" id="ga36e088851faed6b4001e67afbe1affd9"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_trans_rgba_sprite" ref="ga36e088851faed6b4001e67afbe1affd9" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)" -->
static void <b>allegro_gl_screen_draw_trans_rgba_sprite</b> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)
<li><a class="anchor" id="ga73b752a6a9b7a4967d705e722d71d443"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_sprite_ex" ref="ga73b752a6a9b7a4967d705e722d71d443" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y, int mode, int flip)" -->
static void <b>allegro_gl_screen_draw_sprite_ex</b> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y, int mode, int flip)
<li><a class="anchor" id="ga14425004040eaf59dad3d5937e072851"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_glyph_ex" ref="ga14425004040eaf59dad3d5937e072851" args="(struct BITMAP *bmp, AL_CONST struct FONT_GLYPH *glyph, int x, int y, int color, int bg, int flip)" -->
void <b>allegro_gl_screen_draw_glyph_ex</b> (struct BITMAP *bmp, AL_CONST struct FONT_GLYPH *glyph, int x, int y, int color, int bg, int flip)
<li><a class="anchor" id="ga658f4ac879e4b20cca3b60dce4d86846"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_glyph" ref="ga658f4ac879e4b20cca3b60dce4d86846" args="(struct BITMAP *bmp, AL_CONST struct FONT_GLYPH *glyph, int x, int y, int color, int bg)" -->
static void <b>allegro_gl_screen_draw_glyph</b> (struct BITMAP *bmp, AL_CONST struct FONT_GLYPH *glyph, int x, int y, int color, int bg)
<li><a class="anchor" id="ga9f229b5924ad20f83f25a81622800a8e"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_color_glyph_ex" ref="ga9f229b5924ad20f83f25a81622800a8e" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y, int color, int bg, int flip)" -->
void <b>allegro_gl_screen_draw_color_glyph_ex</b> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y, int color, int bg, int flip)
<li><a class="anchor" id="gad2358dccf113c1fe7f8e765e67de1d89"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_color_glyph" ref="gad2358dccf113c1fe7f8e765e67de1d89" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y, int color, int bg)" -->
static void <b>allegro_gl_screen_draw_color_glyph</b> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y, int color, int bg)
<li><a class="anchor" id="ga9685dcaec7aa65db8e790fa8177a86b0"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_character" ref="ga9685dcaec7aa65db8e790fa8177a86b0" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y, int color, int bg)" -->
static void <b>allegro_gl_screen_draw_character</b> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y, int color, int bg)
<li><a class="anchor" id="ga117ffbc09394307a4c78d9b48ed5b8fc"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_256_sprite" ref="ga117ffbc09394307a4c78d9b48ed5b8fc" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)" -->
static void <b>allegro_gl_screen_draw_256_sprite</b> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)
<li><a class="anchor" id="ga333283185678bab117599411cb4f39f3"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_clear_to_color" ref="ga333283185678bab117599411cb4f39f3" args="(struct BITMAP *bmp, int color)" -->
void <b>allegro_gl_screen_clear_to_color</b> (struct BITMAP *bmp, int color)
<li><a class="anchor" id="ga1a0882cc74dbed492216654cca342a5b"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_polygon" ref="ga1a0882cc74dbed492216654cca342a5b" args="(struct BITMAP *bmp, int vertices, AL_CONST int *points, int color)" -->
static void <b>allegro_gl_screen_polygon</b> (struct BITMAP *bmp, int vertices, AL_CONST int *points, int color)
<li><a class="anchor" id="ga13a50c4adf518c0e67dd6035ab9b82a4"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_rect" ref="ga13a50c4adf518c0e67dd6035ab9b82a4" args="(struct BITMAP *bmp, int x1, int y1, int x2, int y2, int color)" -->
static void <b>allegro_gl_screen_rect</b> (struct BITMAP *bmp, int x1, int y1, int x2, int y2, int color)
<li><a class="anchor" id="ga96c4dc94111a6da2ffe8b302e08e076a"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_polygon3d_f" ref="ga96c4dc94111a6da2ffe8b302e08e076a" args="(struct BITMAP *bmp, int type, struct BITMAP *texture, int vc, V3D_f *vtx[])" -->
void <b>allegro_gl_screen_polygon3d_f</b> (struct BITMAP *bmp, int type, struct BITMAP *texture, int vc, V3D_f *vtx[])
<li><a class="anchor" id="ga846d6008860731bc15174ffc0db13831"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_polygon3d" ref="ga846d6008860731bc15174ffc0db13831" args="(struct BITMAP *bmp, int type, struct BITMAP *texture, int vc, V3D *vtx[])" -->
static void <b>allegro_gl_screen_polygon3d</b> (struct BITMAP *bmp, int type, struct BITMAP *texture, int vc, V3D *vtx[])
<li><a class="anchor" id="gae6144517eaa1d07c5916fceb6a642daa"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_quad3d_f" ref="gae6144517eaa1d07c5916fceb6a642daa" args="(struct BITMAP *bmp, int type, struct BITMAP *texture, V3D_f *v1, V3D_f *v2, V3D_f *v3, V3D_f *v4)" -->
static void <b>allegro_gl_screen_quad3d_f</b> (struct BITMAP *bmp, int type, struct BITMAP *texture, V3D_f *v1, V3D_f *v2, V3D_f *v3, V3D_f *v4)
<li><a class="anchor" id="gad8ffe84bdb8a77b8b2b8b859f6f52cf9"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_quad3d" ref="gad8ffe84bdb8a77b8b2b8b859f6f52cf9" args="(struct BITMAP *bmp, int type, struct BITMAP *texture, V3D *v1, V3D *v2, V3D *v3, V3D *v4)" -->
static void <b>allegro_gl_screen_quad3d</b> (struct BITMAP *bmp, int type, struct BITMAP *texture, V3D *v1, V3D *v2, V3D *v3, V3D *v4)
<li><a class="anchor" id="ga8077770f174942074a4fd482e291bf1f"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_triangle3d" ref="ga8077770f174942074a4fd482e291bf1f" args="(struct BITMAP *bmp, int type, struct BITMAP *texture, V3D *v1, V3D *v2, V3D *v3)" -->
static void <b>allegro_gl_screen_triangle3d</b> (struct BITMAP *bmp, int type, struct BITMAP *texture, V3D *v1, V3D *v2, V3D *v3)
<li><a class="anchor" id="ga69acb6d9581157054e3c75f99a0dcc1a"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_triangle3d_f" ref="ga69acb6d9581157054e3c75f99a0dcc1a" args="(struct BITMAP *bmp, int type, struct BITMAP *texture, V3D_f *v1, V3D_f *v2, V3D_f *v3)" -->
static void <b>allegro_gl_screen_triangle3d_f</b> (struct BITMAP *bmp, int type, struct BITMAP *texture, V3D_f *v1, V3D_f *v2, V3D_f *v3)
<li><a class="anchor" id="ga92174c26d0fca4803d4d5f7cbb8716ec"></a><!-- doxytag: member="glvtable.c::__allegro_gl__glvtable_update_vtable" ref="ga92174c26d0fca4803d4d5f7cbb8716ec" args="(GFX_VTABLE **vtable)" -->
void <b>__allegro_gl__glvtable_update_vtable</b> (GFX_VTABLE **vtable)
<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><li><a class="anchor" id="ga9f6042da85f5738a43821f83d491a772"></a><!-- doxytag: member="glvtable.c::allegro_gl_memory_blit_between_formats" ref="ga9f6042da85f5738a43821f83d491a772" args="(struct BITMAP *src, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height)" -->
void <b>allegro_gl_memory_blit_between_formats</b> (struct BITMAP *src, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height)
<li><a class="anchor" id="gaa61710c66f03d0c47602d22768e4bcc4"></a><!-- doxytag: member="glvtable.c::dummy_unwrite_bank" ref="gaa61710c66f03d0c47602d22768e4bcc4" args="(void)" -->
static void <b>dummy_unwrite_bank</b> (void)
</ul>
<h2><a name="var-members"></a>
Variables</h2>
<ul>
<li><a class="anchor" id="gaeb2fe10757d35acaed06b34865b77000"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_vtable" ref="gaeb2fe10757d35acaed06b34865b77000" args="" -->
static GFX_VTABLE <b>allegro_gl_screen_vtable</b>
<li><a class="anchor" id="ad72d761cd04f799d21da8d59cab2182f"></a><!-- doxytag: member="glvtable.c::__allegro_gl_pool_texture" ref="ad72d761cd04f799d21da8d59cab2182f" args="" -->
static GLuint <b>__allegro_gl_pool_texture</b> = 0
<li><a class="anchor" id="a08de572ca4af6f95d29c93c7011d1479"></a><!-- doxytag: member="glvtable.c::__allegro_gl_dummy_texture" ref="a08de572ca4af6f95d29c93c7011d1479" args="" -->
static GLuint <b>__allegro_gl_dummy_texture</b> = 0
<li><a class="anchor" id="a9193931a7f4a22f80daae4a495f13061"></a><!-- doxytag: member="glvtable.c::__agl_owning_drawing_pattern_tex" ref="a9193931a7f4a22f80daae4a495f13061" args="" -->
static int <b>__agl_owning_drawing_pattern_tex</b> = FALSE
<li><a class="anchor" id="a1c5e4f15e561fc1f335a76d32135c122"></a><!-- doxytag: member="glvtable.c::__agl_drawing_pattern_tex" ref="a1c5e4f15e561fc1f335a76d32135c122" args="" -->
GLuint <b>__agl_drawing_pattern_tex</b> = 0
<li><a class="anchor" id="adc2cff32ad2b6f426fd288f48e08637e"></a><!-- doxytag: member="glvtable.c::__agl_drawing_pattern_bmp" ref="adc2cff32ad2b6f426fd288f48e08637e" args="" -->
BITMAP * <b>__agl_drawing_pattern_bmp</b> = 0
<li><a class="anchor" id="aa4786d37ab0c5b87f87aacc22bc7cb19"></a><!-- doxytag: member="glvtable.c::__agl_drawing_mode" ref="aa4786d37ab0c5b87f87aacc22bc7cb19" args="" -->
static int <b>__agl_drawing_mode</b> = DRAW_MODE_SOLID
<li><a class="anchor" id="gaf9c51fa0a17c012fa3584b03e45e96e6"></a><!-- doxytag: member="glvtable.c::allegro_gl_projection_matrix" ref="gaf9c51fa0a17c012fa3584b03e45e96e6" args="[16]" -->
static double <b>allegro_gl_projection_matrix</b> [16]
<li><a class="anchor" id="gab872906d7a4f142647002d3ff5058a0e"></a><!-- doxytag: member="glvtable.c::allegro_gl_modelview_matrix" ref="gab872906d7a4f142647002d3ff5058a0e" args="[16]" -->
static double <b>allegro_gl_modelview_matrix</b> [16]
</ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Allegro->OpenGL conversion vtable. </p>
<p>Definition in file <a class="el" href="glvtable_8c_source.html">glvtable.c</a>.</p>
</div><hr/><h2>Define Documentation</h2>
<a class="anchor" id="ac92acf76d57ce5134ca2dafb547e1581"></a><!-- doxytag: member="glvtable.c::DRAW_RLE_8888" ref="ac92acf76d57ce5134ca2dafb547e1581" args="(bits)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define DRAW_RLE_8888</td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">bits</td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment">{ \
<span class="keywordflow">for</span> (y = 0; y < sprite->h; y++) { \
<span class="keywordtype">signed</span> <span class="keywordtype">long</span> c = *s++; \
<span class="keywordflow">for</span> (x = 0; x < sprite->w;) { \
<span class="keywordflow">if</span> (c == src_mask) \
<span class="keywordflow">break</span>; \
<span class="keywordflow">if</span> (c > 0) { \
<span class="comment">/* Run of solid pixels */</span> \
<span class="keywordflow">for</span> (c--; c>=0; c--) { \
<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> col = *s++; \
<span class="keywordflow">if</span> (bits == 32 && trans) \
_putpixel32(temp, x++, y, makeacol32(getr32(col), getg32(col), getb32(col), geta32(col))); \
<span class="keywordflow">else</span> \
_putpixel32(temp, x++, y, makeacol32(getr##bits(col), getg##bits(col), getb##bits(col), 255)); \
} \
} \
<span class="keywordflow">else</span> { \
<span class="comment">/* Run of transparent pixels */</span> \
hline(temp, x, y, x-c+1, 0); \
x -= c; \
} \
c = *s++; \
} \
} \
}
</pre></div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="glvtable_8c.html">glvtable.c</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>
|