/dports/emulators/z80pack/z80pack-1.37/frontpanel/ |
H A D | lp_gfx.cpp | 659 int texnum; in addTexture() local 670 if((tex[texnum]->pixels = read_jpeg(fname, &tex[texnum]->imgXsize, in addTexture() 686 return(texnum); in addTexture() 693 int texnum; in downloadTextures() local 696 for(texnum = 1; texnum < num_textures; texnum++) in downloadTextures() 701 tex[texnum]->texSsize = GetPowerOf2i(tex[texnum]->imgXsize); in downloadTextures() 702 tex[texnum]->texTsize = GetPowerOf2i(tex[texnum]->imgYsize); in downloadTextures() 735 tex[texnum]->texSmax = (float) tex[texnum]->imgXsize / in downloadTextures() 738 tex[texnum]->texTmax = (float) tex[texnum]->imgYsize / in downloadTextures() 754 tex[texnum]->texels = new unsigned char [tex[texnum]->texSsize * in downloadTextures() [all …]
|
/dports/games/gl-117/gl-117-1.3.2-src/src/ |
H A D | gl.cpp | 45 texnum = -1; in GL() 101 if (!tex [texnum]->mipmap) in enableLinearTexture() 111 if (!tex [texnum]->mipmap) in disableLinearTexture() 137 texnum ++; in genTextureTGA() 146 tex [texnum]->width = 8; tex [texnum]->height = 8; in genTextureTGA() 147 int buflen = tex [texnum]->width * tex [texnum]->height * 4; in genTextureTGA() 152 tex [texnum]->alpha = alpha; in genTextureTGA() 153 tex [texnum]->textureID = texnum; in genTextureTGA() 157 …exImage2D (GL_TEXTURE_2D, 0, 4, tex [texnum]->width, tex [texnum]->height, 0, GL_RGBA, GL_UNSIGNED… in genTextureTGA() 159 …uild2DMipmaps (GL_TEXTURE_2D, 4, tex [texnum]->width, tex [texnum]->height, GL_RGBA, GL_UNSIGNED_B… in genTextureTGA() [all …]
|
/dports/games/zdoom/zdoom-2.8.1/src/textures/ |
H A D | textures.h | 30 void SetNull() { texnum = 0; } in SetNull() 31 bool operator ==(const FTextureID &other) const { return texnum == other.texnum; } 32 bool operator !=(const FTextureID &other) const { return texnum != other.texnum; } 37 int operator -(FTextureID other) const { return texnum - other.texnum; } 38 bool operator < (FTextureID other) const { return texnum < other.texnum; } 39 bool operator > (FTextureID other) const { return texnum > other.texnum; } 44 int texnum; 335 if ((size_t)texnum.texnum >= Textures.Size()) return NULL; in operator() 336 int picnum = Translation[texnum.texnum]; in operator() 346 if (texnum.texnum == -1) return NULL; in operator() [all …]
|
/dports/games/ecwolf/ecwolf-1.3.3-src/src/textures/ |
H A D | textures.h | 29 void SetInvalid() { texnum = -1; } in SetInvalid() 30 bool operator ==(const FTextureID &other) const { return texnum == other.texnum; } 31 bool operator !=(const FTextureID &other) const { return texnum != other.texnum; } 36 int operator -(FTextureID other) const { return texnum - other.texnum; } 37 bool operator < (FTextureID other) const { return texnum < other.texnum; } 38 bool operator > (FTextureID other) const { return texnum > other.texnum; } 43 int texnum; 337 if ((size_t)texnum.texnum >= Textures.Size()) return NULL; in operator() 338 int picnum = Translation[texnum.texnum]; in operator() 348 if (texnum.texnum == -1) return NULL; in operator() [all …]
|
/dports/games/nehquake/NehQuake-bjp-bin-src.linux/src/ |
H A D | gl_draw.c | 46 int texnum; member 65 int texnum; member 82 texnum = char_texture; in GL_Bind() 120 int texnum; in Scrap_AllocBlock() local 122 for (texnum=0 ; texnum<MAX_SCRAPS ; texnum++) in Scrap_AllocBlock() 150 return texnum; in Scrap_AllocBlock() 162 int texnum; in Scrap_Upload() local 167 for (texnum=0 ; texnum<MAX_SCRAPS ; texnum++) in Scrap_Upload() 212 int texnum; in Draw_PicFromWad() local 221 gl->texnum = texnum; in Draw_PicFromWad() [all …]
|
H A D | r_part.c | 320 p->texnum = flare_tex; in R_EntityParticles() 451 p->texnum = flare_tex; in R_ParticleExplosion() 514 p->texnum = flare_tex; in R_ParticleExplosion2() 550 p->texnum = flare_tex; in R_BlobExplosion() 662 p->texnum = smoke_tex; in R_SparkShower() 673 p->texnum = blood_tex; in R_SparkShower() 692 p->texnum = flare_tex; in R_SparkShower() 1364 int i, texnum, j = 0; in R_DrawParticles() local 1377 texnum = particle_tex; in R_DrawParticles() 1451 if (p->texnum != texnum) in R_DrawParticles() [all …]
|
/dports/games/quetoo/quetoo-0.6.1/src/ |
H A D | gl_image.c | 95 void GL_Bind(int texnum){ in GL_Bind() argument 111 GL_Bind(texnum); in GL_MBind() 180 GL_Bind(glt->texnum); in GL_TextureMode() 237 if(image->texnum <= 0) in GL_ImageList_f() 286 int texnum; in Scrap_AllocBlock() local 288 for(texnum = 0; texnum < MAX_SCRAPS; texnum++){ in Scrap_AllocBlock() 312 return texnum; in Scrap_AllocBlock() 646 if(!image->texnum) in GL_LoadPic() 682 int texnum; in GL_LoadPic() local 685 if(texnum == -1) in GL_LoadPic() [all …]
|
/dports/games/alienarena/alienarena-7.66/source/ref_gl/ |
H A D | r_particle.c | 47 if (a->image->texnum != b->image->texnum) in compare_particle() 48 return a->image->texnum-b->image->texnum; in compare_particle() 116 texnum = p->image->texnum; in PART_DrawParticles() 118 texnum = 0; in PART_DrawParticles() 129 GL_Bind (texnum); in PART_DrawParticles() 478 flaretex = r_flare->texnum; in PART_RenderFlare() 687 GL_Bind(tex->texnum); in PART_RenderSunFlare() 876 grass->texnum = texnum; in Mod_AddVegetationSurface() 1026 GL_Bind(grass->texnum); in R_DrawVegetationSurface() 1190 beam->texnum = texnum; in Mod_AddBeamSurface() [all …]
|
/dports/games/alienarena-data/alienarena-7.66/source/ref_gl/ |
H A D | r_particle.c | 47 if (a->image->texnum != b->image->texnum) in compare_particle() 48 return a->image->texnum-b->image->texnum; in compare_particle() 116 texnum = p->image->texnum; in PART_DrawParticles() 118 texnum = 0; in PART_DrawParticles() 129 GL_Bind (texnum); in PART_DrawParticles() 478 flaretex = r_flare->texnum; in PART_RenderFlare() 687 GL_Bind(tex->texnum); in PART_RenderSunFlare() 876 grass->texnum = texnum; in Mod_AddVegetationSurface() 1026 GL_Bind(grass->texnum); in R_DrawVegetationSurface() 1190 beam->texnum = texnum; in Mod_AddBeamSurface() [all …]
|
/dports/games/ufoai/ufoai-2.5-source/src/client/renderer/ |
H A D | r_state.cpp | 56 static void R_BindTexture_ (int texnum) in R_BindTexture_() argument 58 if (texnum == r_state.active_texunit->texnum) in R_BindTexture_() 61 assert(texnum > 0); in R_BindTexture_() 63 r_state.active_texunit->texnum = texnum; in R_BindTexture_() 65 glBindTexture(GL_TEXTURE_2D, texnum); in R_BindTexture_() 71 if (texnum <= 0) { in R_BindTextureDebug() 74 R_BindTexture_(texnum); in R_BindTextureDebug() 80 if (texnum == texunit->texnum) in R_BindTextureForTexUnit() 85 R_BindTexture(texnum); in R_BindTextureForTexUnit() 90 void R_BindLightmapTexture (GLuint texnum) in R_BindLightmapTexture() argument [all …]
|
/dports/games/quakeforge/quakeforge-0.7.2/libs/models/ |
H A D | gl_skin.c | 101 build_skin_8 (tex_t *tex, int texnum, byte *translate, in build_skin_8() argument 127 build_skin_32 (tex_t *tex, int texnum, byte *translate, in build_skin_32() argument 155 qfglBindTexture (GL_TEXTURE_2D, texnum); in build_skin_32() 171 int texnum, fb_texnum; in build_skin() local 188 texnum = skin_textures + cmap; in build_skin() 193 skin->texnum = texnum; in build_skin() 197 build_skin_8 (s->tex, texnum, skin_cmap[cmap], in build_skin() 203 build_skin_32 (s->tex, texnum, skin_cmap[cmap], in build_skin() 233 skin->texnum = 0; in gl_Skin_SetupSkin() 244 skin->texnum = skin_textures + cmap; in gl_Skin_SetupSkin()
|
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/hexen/ |
H A D | r_data.c | 127 void R_GenerateComposite(int texnum) in R_GenerateComposite() argument 139 texture = textures[texnum]; in R_GenerateComposite() 141 &texturecomposite[texnum]); in R_GenerateComposite() 142 collump = texturecolumnlump[texnum]; in R_GenerateComposite() 143 colofs = texturecolumnofs[texnum]; in R_GenerateComposite() 187 void R_GenerateLookup(int texnum) in R_GenerateLookup() argument 198 texture = textures[texnum]; in R_GenerateLookup() 201 texturecompositesize[texnum] = 0; in R_GenerateLookup() 202 collump = texturecolumnlump[texnum]; in R_GenerateLookup() 203 colofs = texturecolumnofs[texnum]; in R_GenerateLookup() [all …]
|
/dports/games/uhexen/uhexen-0.601/src/ |
H A D | r_data.c | 120 void R_GenerateComposite (int texnum) in R_GenerateComposite() argument 132 texture = textures[texnum]; in R_GenerateComposite() 134 &texturecomposite[texnum]); in R_GenerateComposite() 135 collump = texturecolumnlump[texnum]; in R_GenerateComposite() 136 colofs = texturecolumnofs[texnum]; in R_GenerateComposite() 181 void R_GenerateLookup (int texnum) in R_GenerateLookup() argument 192 texture = textures[texnum]; in R_GenerateLookup() 195 texturecompositesize[texnum] = 0; in R_GenerateLookup() 196 collump = texturecolumnlump[texnum]; in R_GenerateLookup() 197 colofs = texturecolumnofs[texnum]; in R_GenerateLookup() [all …]
|
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/hexen/ |
H A D | r_data.c | 127 void R_GenerateComposite(int texnum) in R_GenerateComposite() argument 139 texture = textures[texnum]; in R_GenerateComposite() 141 &texturecomposite[texnum]); in R_GenerateComposite() 142 collump = texturecolumnlump[texnum]; in R_GenerateComposite() 143 colofs = texturecolumnofs[texnum]; in R_GenerateComposite() 189 void R_GenerateLookup(int texnum) in R_GenerateLookup() argument 200 texture = textures[texnum]; in R_GenerateLookup() 203 texturecompositesize[texnum] = 0; in R_GenerateLookup() 204 collump = texturecolumnlump[texnum]; in R_GenerateLookup() 205 colofs = texturecolumnofs[texnum]; in R_GenerateLookup() [all …]
|
/dports/games/heretic/glheretic-1.2/ |
H A D | r_data.c | 143 void R_GenerateComposite (int texnum) in R_GenerateComposite() argument 155 texture = textures[texnum]; in R_GenerateComposite() 157 &texturecomposite[texnum]); in R_GenerateComposite() 161 collump = texturecolumnlump[texnum]; in R_GenerateComposite() 162 colofs = texturecolumnofs[texnum]; in R_GenerateComposite() 207 void R_GenerateLookup (int texnum) in R_GenerateLookup() argument 218 texture = textures[texnum]; in R_GenerateLookup() 221 texturecompositesize[texnum] = 0; in R_GenerateLookup() 222 collump = texturecolumnlump[texnum]; in R_GenerateLookup() 223 colofs = texturecolumnofs[texnum]; in R_GenerateLookup() [all …]
|
/dports/games/quake2-source/quake2-r0.16.2/src/ref_gl/ |
H A D | gl_image.c | 136 void GL_Bind (int texnum) in GL_Bind() argument 141 texnum = draw_chars->texnum; in GL_Bind() 161 GL_Bind( texnum ); in GL_MBind() 242 GL_Bind (glt->texnum); in GL_TextureMode() 371 int texnum; in Scrap_AllocBlock() local 373 for (texnum=0 ; texnum<MAX_SCRAPS ; texnum++) in Scrap_AllocBlock() 401 return texnum; in Scrap_AllocBlock() 1268 if (!image->texnum) in GL_LoadPic() 1314 int texnum; in GL_LoadPic() local 1317 if (texnum == -1) in GL_LoadPic() [all …]
|
/dports/games/quake2lnx/quake2-r0.16.2/src/ref_gl/ |
H A D | gl_image.c | 136 void GL_Bind (int texnum) in GL_Bind() argument 141 texnum = draw_chars->texnum; in GL_Bind() 161 GL_Bind( texnum ); in GL_MBind() 242 GL_Bind (glt->texnum); in GL_TextureMode() 371 int texnum; in Scrap_AllocBlock() local 373 for (texnum=0 ; texnum<MAX_SCRAPS ; texnum++) in Scrap_AllocBlock() 401 return texnum; in Scrap_AllocBlock() 1268 if (!image->texnum) in GL_LoadPic() 1314 int texnum; in GL_LoadPic() local 1317 if (texnum == -1) in GL_LoadPic() [all …]
|
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/heretic/ |
H A D | r_data.c | 133 void R_GenerateComposite(int texnum) in R_GenerateComposite() argument 145 texture = textures[texnum]; in R_GenerateComposite() 147 &texturecomposite[texnum]); in R_GenerateComposite() 148 collump = texturecolumnlump[texnum]; in R_GenerateComposite() 149 colofs = texturecolumnofs[texnum]; in R_GenerateComposite() 193 void R_GenerateLookup(int texnum) in R_GenerateLookup() argument 204 texture = textures[texnum]; in R_GenerateLookup() 207 texturecompositesize[texnum] = 0; in R_GenerateLookup() 208 collump = texturecolumnlump[texnum]; in R_GenerateLookup() 209 colofs = texturecolumnofs[texnum]; in R_GenerateLookup() [all …]
|
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/heretic/ |
H A D | r_data.c | 132 void R_GenerateComposite(int texnum) in R_GenerateComposite() argument 144 texture = textures[texnum]; in R_GenerateComposite() 146 &texturecomposite[texnum]); in R_GenerateComposite() 147 collump = texturecolumnlump[texnum]; in R_GenerateComposite() 148 colofs = texturecolumnofs[texnum]; in R_GenerateComposite() 194 void R_GenerateLookup(int texnum) in R_GenerateLookup() argument 205 texture = textures[texnum]; in R_GenerateLookup() 208 texturecompositesize[texnum] = 0; in R_GenerateLookup() 209 collump = texturecolumnlump[texnum]; in R_GenerateLookup() 210 colofs = texturecolumnofs[texnum]; in R_GenerateLookup() [all …]
|
/dports/games/odamex/odamex-src-0.7.0/common/ |
H A D | r_data.cpp | 246 void R_GenerateComposite (int texnum) in R_GenerateComposite() argument 250 texture_t *texture = textures[texnum]; in R_GenerateComposite() 254 short *collump = texturecolumnlump[texnum]; in R_GenerateComposite() 344 short *collump = texturecolumnlump[texnum]; in R_GenerateLookup() 392 texturecomposite[texnum] = 0; in R_GenerateLookup() 424 texturecolumnofs[texnum][x] = csize; in R_GenerateLookup() 431 texturecompositesize[texnum] = csize; in R_GenerateLookup() 459 colnum &= texturewidthmask[texnum]; in R_GetTextureColumn() 461 int ofs = texturecolumnofs[texnum][colnum]; in R_GetTextureColumn() 466 if (!texturecomposite[texnum]) in R_GetTextureColumn() [all …]
|
/dports/print/tex-dvipsk/texlive-20150521-source/texk/dvipsk/ |
H A D | afm2tfm.c | 172 int adobenum, texnum, width; member 404 ai->texnum = -1; in newchar() 746 if (ai->texnum >= 0) in assignchars() 748 ai->texnum = i; in assignchars() 776 ai->texnum = nextfree; in assignchars() 791 ai->texnum = -1; in assignchars() 803 if (ai->texnum >= 0 && ai->texnum < 256) { in assignchars() 808 j = ai->texnum; in assignchars() 809 ai->texnum = i; in assignchars() 811 nexttex[ai->texnum] = j; in assignchars() [all …]
|
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/doom/ |
H A D | r_data.c | 226 void R_GenerateComposite (int texnum) in R_GenerateComposite() argument 240 texture = textures[texnum]; in R_GenerateComposite() 244 &texturecomposite[texnum]); in R_GenerateComposite() 246 collump = texturecolumnlump[texnum]; in R_GenerateComposite() 247 colofs = texturecolumnofs[texnum]; in R_GenerateComposite() 294 void R_GenerateLookup (int texnum) in R_GenerateLookup() argument 307 texture = textures[texnum]; in R_GenerateLookup() 310 texturecomposite[texnum] = 0; in R_GenerateLookup() 312 texturecompositesize[texnum] = 0; in R_GenerateLookup() 314 colofs = texturecolumnofs[texnum]; in R_GenerateLookup() [all …]
|
/dports/games/quake2-source/quake2-r0.16.2/src/ref_candygl/ |
H A D | gl_image.c | 137 void GL_Bind (int texnum) in GL_Bind() argument 142 texnum = draw_chars->texnum; in GL_Bind() 163 GL_Bind( texnum ); in GL_MBind() 244 GL_Bind (glt->texnum); in GL_TextureMode() 320 if (image->texnum <= 0) in GL_ImageList_f() 374 int texnum; in Scrap_AllocBlock() local 376 for (texnum=0 ; texnum<MAX_SCRAPS ; texnum++) in Scrap_AllocBlock() 404 return texnum; in Scrap_AllocBlock() 1570 int texnum; in GL_LoadPic() local 1573 if (texnum == -1) in GL_LoadPic() [all …]
|
/dports/games/quake2lnx/quake2-r0.16.2/src/ref_candygl/ |
H A D | gl_image.c | 137 void GL_Bind (int texnum) in GL_Bind() argument 142 texnum = draw_chars->texnum; in GL_Bind() 163 GL_Bind( texnum ); in GL_MBind() 244 GL_Bind (glt->texnum); in GL_TextureMode() 320 if (image->texnum <= 0) in GL_ImageList_f() 374 int texnum; in Scrap_AllocBlock() local 376 for (texnum=0 ; texnum<MAX_SCRAPS ; texnum++) in Scrap_AllocBlock() 404 return texnum; in Scrap_AllocBlock() 1570 int texnum; in GL_LoadPic() local 1573 if (texnum == -1) in GL_LoadPic() [all …]
|
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/strife/ |
H A D | r_data.c | 222 void R_GenerateComposite (int texnum) in R_GenerateComposite() argument 236 texture = textures[texnum]; in R_GenerateComposite() 240 &texturecomposite[texnum]); in R_GenerateComposite() 242 collump = texturecolumnlump[texnum]; in R_GenerateComposite() 243 colofs = texturecolumnofs[texnum]; in R_GenerateComposite() 288 void R_GenerateLookup (int texnum) in R_GenerateLookup() argument 301 texture = textures[texnum]; in R_GenerateLookup() 304 texturecomposite[texnum] = 0; in R_GenerateLookup() 306 texturecompositesize[texnum] = 0; in R_GenerateLookup() 308 colofs = texturecolumnofs[texnum]; in R_GenerateLookup() [all …]
|