|
Defines |
| #define | glmprintf(a) |
| #define | M_PI 3.14159 |
| #define | OGL_BINDTEXTURE(a) |
| #define | ogl_cache_vclipn_textures(i) ogl_cache_vclip_textures(&Vclip[i]) |
| #define | f2glf(x) (f2fl(x)) |
Functions |
| void | ogl_init_texture_stats (ogl_texture *t) |
| void | ogl_init_texture (ogl_texture *t) |
| void | ogl_reset_texture_stats_internal (void) |
| void | ogl_init_texture_list_internal (void) |
| void | ogl_smash_texture_list_internal (void) |
| void | ogl_vivify_texture_list_internal (void) |
| ogl_texture * | ogl_get_free_texture (void) |
| int | ogl_texture_stats (void) |
| void | ogl_clean_texture_cache (void) |
| void | ogl_bindbmtex (grs_bitmap *bm) |
| void | ogl_texwrap (ogl_texture *gltexture, int state) |
| void | ogl_cache_polymodel_textures (int model_num) |
| void | ogl_cache_vclip_textures (vclip *vc) |
| void | ogl_cache_weapon_textures (weapon_info *w) |
| void | ogl_cache_level_textures (void) |
| bool | g3_draw_line (g3s_point *p0, g3s_point *p1) |
| void | ogl_drawcircle2 (int nsides, int type, float xsc, float xo, float ysc, float yo) |
| void | ogl_drawcircle (int nsides, int type) |
| int | circle_list_init (int nsides, int type, int mode) |
| void | ogl_draw_reticle (int cross, int primary, int secondary) |
| int | g3_draw_sphere (g3s_point *pnt, fix rad) |
| int | gr_ucircle (fix xc1, fix yc1, fix r1) |
| int | gr_circle (fix xc1, fix yc1, fix r1) |
| bool | g3_draw_poly (int nv, g3s_point **pointlist) |
| void | gr_upoly_tmap (int nverts, int *vert) |
| void | draw_tmap_flat (grs_bitmap *bm, int nv, g3s_point **vertlist) |
| bool | g3_draw_tmap (int nv, g3s_point **pointlist, g3s_uvl *uvl_list, grs_bitmap *bm) |
| bool | g3_draw_tmap_2 (int nv, g3s_point **pointlist, g3s_uvl *uvl_list, grs_bitmap *bmbot, grs_bitmap *bm, int orient) |
| bool | g3_draw_bitmap (vms_vector *pos, fix width, fix height, grs_bitmap *bm) |
| bool | ogl_ubitmapm_c (int x, int y, grs_bitmap *bm, int c) |
| bool | ogl_ubitmapm (int x, int y, grs_bitmap *bm) |
| bool | ogl_ubitblt_i (int dw, int dh, int dx, int dy, int sw, int sh, int sx, int sy, grs_bitmap *src, grs_bitmap *dest, int transp) |
| bool | ogl_ubitblt (int w, int h, int dx, int dy, int sx, int sy, grs_bitmap *src, grs_bitmap *dest) |
| bool | ogl_ubitblt_tolinear (int w, int h, int dx, int dy, int sx, int sy, grs_bitmap *src, grs_bitmap *dest) |
| bool | ogl_ubitblt_copy (int w, int h, int dx, int dy, int sx, int sy, grs_bitmap *src, grs_bitmap *dest) |
| void | ogl_start_offscreen_render (int x, int y, int w, int h) |
| void | ogl_end_offscreen_render (void) |
| void | ogl_start_frame (void) |
| void | merge_textures_stats (void) |
| void | ogl_end_frame (void) |
| void | ogl_swap_buffers (void) |
| int | tex_format_supported (int iformat, int format) |
| int | pow2ize (int x) |
| void | ogl_filltexbuf (unsigned char *data, GLubyte *texp, int truewidth, int width, int height, int dxo, int dyo, int twidth, int theight, int type, int transp) |
| int | tex_format_verify (ogl_texture *tex) |
| void | tex_set_size1 (ogl_texture *tex, int dbits, int bits, int w, int h) |
| void | tex_set_size (ogl_texture *tex) |
| void | ogl_loadtexture (unsigned char *data, int dxo, int dyo, ogl_texture *tex, int transp) |
| void | ogl_loadbmtexture_m (grs_bitmap *bm, int domipmap) |
| void | ogl_loadbmtexture (grs_bitmap *bm) |
| void | ogl_freetexture (ogl_texture *gltexture) |
| void | ogl_freebmtexture (grs_bitmap *bm) |
| bool | ogl_ubitmapm_cs (int x, int y, int dw, int dh, grs_bitmap *bm, int c, int scale, int orient) |
| bool | ogl_ubitmapm_cf (int x, int y, int dw, int dh, grs_bitmap *bm, int c, int scale) |
Variables |
| unsigned char * | ogl_pal = gr_palette |
| int | GL_texmagfilt = GL_NEAREST |
| int | GL_texminfilt = GL_NEAREST |
| int | GL_needmipmaps = 0 |
| int | last_width = -1 |
| int | last_height = -1 |
| int | GL_TEXTURE_2D_enabled = -1 |
| int | GL_texclamp_enabled = -1 |
| int | gr_renderstats |
| int | gr_badtexture |
| int | ogl_alttexmerge = 1 |
| int | ogl_rgba_format = 4 |
| int | ogl_intensity4_ok = 1 |
| int | ogl_luminance4_alpha4_ok = 1 |
| int | ogl_rgba2_ok = 1 |
| int | ogl_readpixels_ok = 1 |
| int | ogl_gettexlevelparam_ok = 1 |
| int | sphereh = 0 |
| int | circleh5 = 0 |
| int | circleh10 = 0 |
| int | cross_lh [2] = {0,0} |
| int | primary_lh [3] = {0,0,0} |
| int | secondary_lh [5] = {0,0,0,0,0} |
| int | bNoDepthTest = 0 |
| ogl_texture | ogl_texture_list [OGL_TEXTURE_LIST_SIZE] |
| int | ogl_texture_list_cur |
| int | ogl_mem_target = -1 |
| int | r_polyc |
| int | r_tpolyc |
| int | r_bitmapc |
| int | r_ubitmapc |
| int | r_ubitbltc |
| int | r_upixelc |
| int | r_texcount = 0 |
| float | bright_g [4] = { 32.0/256, 252.0/256, 32.0/256} |
| float | dark_g [4] = { 32.0/256, 148.0/256, 32.0/256} |
| float | darker_g [4] = { 32.0/256, 128.0/256, 32.0/256} |
| void(* | tmap_drawer_ptr )(grs_bitmap *bm, int nv, g3s_point **vertlist) |
| grs_canvas * | offscreen_save_canv = NULL |
| grs_canvas * | offscreen_canv = NULL |
| GLubyte | texbuf [OGLTEXBUFSIZE] |
| unsigned char | decodebuf [1024 *1024] |