/dports/games/ultimatestunts/ultimatestunts-srcdata-0771/stunts3dedit/ |
H A D | loadglt.cpp | 34 int texid = -1; in loadGLT() local 55 texid =rhs.toInt(); in loadGLT() 112 pr.m_Material.texture = texid; in loadGLT() 121 pr.m_Material.texture = texid; in loadGLT() 130 pr.m_Material.texture = texid; in loadGLT() 139 pr.m_Material.texture = texid; in loadGLT() 148 pr.m_Material.texture = texid; in loadGLT() 157 pr.m_Material.texture = texid; in loadGLT() 164 texid = -1; in loadGLT() 177 pr.m_Material.texture = texid; in loadGLT() [all …]
|
/dports/games/bzflag-server/bzflag-2.4.22/src/game/ |
H A D | BzMaterial.cxx | 839 if ((texid >= 0) && (texid < textureCount)) in setTextureLocal() 1014 if ((texid >= 0) && (texid < textureCount)) in getTexture() 1015 return textures[texid].name; in getTexture() 1022 if ((texid >= 0) && (texid < textureCount)) in getTextureLocal() 1030 if ((texid >= 0) && (texid < textureCount)) in getTextureMatrix() 1031 return textures[texid].matrix; in getTextureMatrix() 1038 if ((texid >= 0) && (texid < textureCount)) in getCombineMode() 1046 if ((texid >= 0) && (texid < textureCount)) in getUseTextureAlpha() 1047 return textures[texid].useAlpha; in getUseTextureAlpha() 1054 if ((texid >= 0) && (texid < textureCount)) in getUseColorOnTexture() [all …]
|
/dports/games/bzflag/bzflag-2.4.22/src/game/ |
H A D | BzMaterial.cxx | 839 if ((texid >= 0) && (texid < textureCount)) in setTextureLocal() 1014 if ((texid >= 0) && (texid < textureCount)) in getTexture() 1015 return textures[texid].name; in getTexture() 1022 if ((texid >= 0) && (texid < textureCount)) in getTextureLocal() 1030 if ((texid >= 0) && (texid < textureCount)) in getTextureMatrix() 1031 return textures[texid].matrix; in getTextureMatrix() 1038 if ((texid >= 0) && (texid < textureCount)) in getCombineMode() 1046 if ((texid >= 0) && (texid < textureCount)) in getUseTextureAlpha() 1047 return textures[texid].useAlpha; in getUseTextureAlpha() 1054 if ((texid >= 0) && (texid < textureCount)) in getUseColorOnTexture() [all …]
|
/dports/science/nwchem-data/nwchem-7.0.2-release/contrib/seetex/ |
H A D | seetex.c | 65 FILE *texid; in main() local 102 texid = fopen(file_tex,"a"); in main() 126 if (! seetex_process(srcid,texid)) in main() 128 (void) fflush(texid); in main() 132 (void) fflush(texid); in main() 133 (void) fclose(texid); in main() 389 int seetex_process(FILE *srcid, FILE *texid) in seetex_process() argument 433 (void) put_line_strip(pline,texid); in seetex_process() 435 (void) put_line_strip_check(pline,texid); in seetex_process()
|
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/contrib/seetex/ |
H A D | seetex.c | 65 FILE *texid; in main() local 102 texid = fopen(file_tex,"a"); in main() 126 if (! seetex_process(srcid,texid)) in main() 128 (void) fflush(texid); in main() 132 (void) fflush(texid); in main() 133 (void) fclose(texid); in main() 389 int seetex_process(FILE *srcid, FILE *texid) in seetex_process() argument 433 (void) put_line_strip(pline,texid); in seetex_process() 435 (void) put_line_strip_check(pline,texid); in seetex_process()
|
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/ |
H A D | gl_hires.c | 1065 gld_HiRes_Bind(gltexture, texid); in gld_HiRes_LoadDDSTexture() 1142 gld_HiRes_Bind(gltexture, texid); in gld_HiRes_LoadFromCache() 1170 buf = gld_GetTextureBuffer(*texid, 0, &w, &h); in gld_HiRes_WriteCache() 1224 gld_HiRes_Bind(gltexture, texid); in gld_HiRes_LoadFromFile() 1237 GLuint *texid; in gld_LoadHiresTex() local 1250 if (*texid == 0 && gl_texture_internal_hires) in gld_LoadHiresTex() 1289 gld_HiRes_Bind(gltexture, texid); in gld_LoadHiresTex() 1300 if (*texid == 0 && gl_texture_external_hires) in gld_LoadHiresTex() 1323 if (*texid) in gld_LoadHiresTex() 1333 if (texid == gltexture->texid_p) in gld_LoadHiresTex() [all …]
|
H A D | gl_detail.c | 163 glDeleteTextures(1, &details[i].texid); in gld_ShutdownDetail() 406 gld_BindDetail(flat->gltexture, detail->texid); in gld_DrawFlatDetail_NoARB() 714 if (details[TAG_DETAIL_WALL].texid > 0) in gld_SetTexDetail() 718 if (details[TAG_DETAIL_FLAT].texid > 0) in gld_SetTexDetail() 734 GLuint texid = 0; in gld_LoadDetailName() local 764 glGenTextures(1, &texid); in gld_LoadDetailName() 766 glBindTexture(GL_TEXTURE_2D, texid); in gld_LoadDetailName() 788 return texid; in gld_LoadDetailName() 803 if (detail->texid > 0) in gld_ReadDetailParams() 848 detail.texid = 0; in gld_ParseDetailItem() [all …]
|
H A D | gl_soft2gl.c | 49 if (vid_8ingl.texid) in gld_Init8InGLMode() 51 glDeleteTextures(1, &vid_8ingl.texid); in gld_Init8InGLMode() 52 vid_8ingl.texid = 0; in gld_Init8InGLMode() 85 glGenTextures(1, &vid_8ingl.texid); in gld_Init8InGLMode() 87 glBindTexture(GL_TEXTURE_2D, vid_8ingl.texid); in gld_Init8InGLMode() 202 glBindTexture(GL_TEXTURE_2D, vid_8ingl.texid); in gld_Draw8InGL() 246 glBindTexture(GL_TEXTURE_2D, vid_8ingl.texid); in gld_Draw8InGL()
|
/dports/games/barony/Barony-3.3.7/src/ |
H A D | draw.hpp | 72 if( texid ) { in ~TempTexture() 73 glDeleteTextures(1,&texid); in ~TempTexture() 74 texid = 0; in ~TempTexture() 80 glGenTextures(1,&texid); in load() 81 glBindTexture(GL_TEXTURE_2D, texid); in load() 103 glBindTexture(GL_TEXTURE_2D, texid); in bind() 107 GLuint texid = 0; member in TempTexture
|
/dports/games/ufoai/ufoai-2.5-source/src/client/renderer/ |
H A D | r_lightmap.cpp | 41 GLuint texid; in R_UploadLightmapPage() local 48 glGenTextures(1, &texid); in R_UploadLightmapPage() 49 r_lightmaps.lightmap_texnums[r_lightmaps.lightmap_count++] = texid; in R_UploadLightmapPage() 51 texid = r_lightmaps.lightmap_texnums[r_lightmaps.lightmap_count]; in R_UploadLightmapPage() 54 R_BindTexture(texid); in R_UploadLightmapPage() 70 glGenTextures(1, &texid); in R_UploadLightmapPage() 71 r_lightmaps.deluxemap_texnums[r_lightmaps.deluxemap_count++] = texid; in R_UploadLightmapPage() 73 texid = r_lightmaps.deluxemap_texnums[r_lightmaps.deluxemap_count]; in R_UploadLightmapPage() 76 R_BindTexture(texid); in R_UploadLightmapPage()
|
/dports/games/cdogs-sdl/cdogs-sdl-1.0.1/src/cdogsed/ |
H A D | tile_brush.c | 106 CA_FOREACH(const GLuint, texid, data.texIdsFloorStyles) in TileBrush() 110 LoadTexFromPic(*texid, styleClass->Pic); in TileBrush() 113 CA_FOREACH(const GLuint, texid, data.texIdsWallStyles) in TileBrush() 117 LoadTexFromPic(*texid, styleClass->Pic); in TileBrush() 120 CA_FOREACH(const GLuint, texid, data.texIdsDoorStyles) in TileBrush() 124 LoadTexFromPic(*texid, styleClass->Pic); in TileBrush() 381 const struct vec2i pos, const GLuint texid); 395 const GLuint *texid = CArrayGet(&tbData->texIdsTileClasses, tilesDrawn); in DrawTileType() local 396 DrawTileClass(tbData->ctx, tbData->pm, tc, svec2i(-40, 5), *texid); in DrawTileType() 400 const struct vec2i pos, const GLuint texid) in DrawTileClass() argument [all …]
|
H A D | nk_window.c | 166 static void BeforeDrawTex(const GLuint texid); 249 void LoadTexFromPic(const GLuint texid, const Pic *pic) in LoadTexFromPic() argument 255 glBindTexture(GL_TEXTURE_2D, texid); in LoadTexFromPic() 310 struct nk_context *ctx, const Pic *pic, const GLuint texid, in DrawPic() argument 315 LoadTexFromPic(texid, pic); in DrawPic() 317 struct nk_image tex = nk_image_id((int)texid); in DrawPic() 318 BeforeDrawTex(texid); in DrawPic() 377 static void BeforeDrawTex(const GLuint texid) in BeforeDrawTex() argument 379 glBindTexture(GL_TEXTURE_2D, texid); in BeforeDrawTex()
|
H A D | nk_window.h | 83 void LoadTexFromPic(const GLuint texid, const Pic *pic); 88 struct nk_context *ctx, const Pic *pic, const GLuint texid,
|
/dports/graphics/freetype-gl/freetype-gl-647b062/demos/ |
H A D | embedded-font.c | 64 GLuint texid; in init() local 65 glGenTextures( 1, &texid ); in init() 66 glBindTexture( GL_TEXTURE_2D, texid ); in init() 73 glBindTexture( GL_TEXTURE_2D, texid ); in init()
|
/dports/x11-toolkits/plib/plib-1.8.5/src/ssgAux/ |
H A D | ssgaCelestialBody.cxx | 303 GLuint texid; 310 glGenTextures(1, &texid); 311 glBindTexture(GL_TEXTURE_2D, texid); 313 glGenTexturesEXT(1, &texid); 314 glBindTextureEXT(GL_TEXTURE_2D, texid); 369 return texid;
|
/dports/games/sea-defender/Sea-Defender-d628051/snoutlib/ |
H A D | misc.cpp | 68 void save_texture_as_ppm(GLuint texid,const char *fname) in save_texture_as_ppm() argument 71 glBindTexture(GL_TEXTURE_2D,texid); in save_texture_as_ppm() 159 GLuint move_texture_red_component(GLuint texid) in move_texture_red_component() argument 163 glBindTexture(GL_TEXTURE_2D, texid); in move_texture_red_component() 170 glDeleteTextures(1,&texid); in move_texture_red_component()
|
/dports/games/tuxracer/tuxracer-0.61/src/ |
H A D | splash_screen.c | 78 GLuint texid[4]; in draw_logo() local 88 if ( ! get_texture_binding( logo_bindings[i], &texid[i] ) ) { in draw_logo() 96 glBindTexture( GL_TEXTURE_2D, texid[i] ); in draw_logo()
|
H A D | track_marks.c | 126 GLuint texid[NUM_TRACK_TYPES]; in draw_tri_tracks() local 133 get_texture_binding( "track_head", &texid[TRACK_HEAD] ); in draw_tri_tracks() 134 get_texture_binding( "track_mark", &texid[TRACK_MARK] ); in draw_tri_tracks() 135 get_texture_binding( "track_tail", &texid[TRACK_TAIL] ); in draw_tri_tracks() 143 texid[*track_tris.track_type[(track_tris.first_mark+i)%MAX_TRIS]] ); in draw_tri_tracks() 341 GLuint texid[NUM_TRACK_TYPES]; in draw_track_marks() 357 get_texture_binding( "track_head", &texid[TRACK_HEAD] ); in draw_track_marks() 358 get_texture_binding( "track_mark", &texid[TRACK_MARK] ); in draw_track_marks() 359 get_texture_binding( "track_tail", &texid[TRACK_TAIL] ); in draw_track_marks() 378 glBindTexture( GL_TEXTURE_2D, texid[q->track_type] ); in draw_track_marks()
|
/dports/games/trigger-rally/trigger-rally-0.6.6.1/src/PEngine/ |
H A D | texture.cpp | 130 if (texid) in unload() 132 glDeleteTextures (1, &texid); in unload() 133 texid = 0; in unload() 192 glGenTextures(1,&texid); in load() 310 glGenTextures(1,&texid); in loadPiece() 406 glGenTextures(1,&texid); in loadAlpha() 487 glGenTextures(1,&texid); in loadCubeMap() 605 glBindTexture(textarget, texid); in bind()
|
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/glx/ |
H A D | carousel.c | 82 GLuint texid; member 181 glGenTextures (1, &frame->current.texid); in alloc_frame() 182 glGenTextures (1, &frame->loading.texid); in alloc_frame() 183 if (frame->current.texid <= 0) abort(); in alloc_frame() 184 if (frame->loading.texid <= 0) abort(); in alloc_frame() 250 mipmap_p, frame->loading.texid, in load_image() 688 glBindTexture (GL_TEXTURE_2D, frame->current.texid); in draw_frame() 955 if (ss->frames[i]->current.texid) in free_carousel() 956 glDeleteTextures (1, &ss->frames[i]->current.texid); in free_carousel() 957 if (ss->frames[i]->loading.texid) in free_carousel() [all …]
|
H A D | quasicrystal.c | 42 GLuint texid; member 272 glGenTextures (1, &p->texid); in init_quasicrystal() 273 glBindTexture (GL_TEXTURE_1D, p->texid); in init_quasicrystal() 384 glBindTexture (GL_TEXTURE_1D, p->texid); in draw_quasicrystal() 486 if (bp->planes[i].texid) glDeleteTextures (1, &bp->planes[i].texid); in free_quasicrystal()
|
/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/graphics/data/ |
H A D | MeshManipulation.cpp | 221 obj->facelist.back().texid = 0; in ObjectAddFace() 225 …0 <= face->texid && (size_t)face->texid < srcobj->texturecontainer.size() && obj->texturecontainer… in ObjectAddFace() 227 obj->facelist.back().texid = (short)i; in ObjectAddFace() 509 if (obj1->facelist[i].texid != -1) in CreateIntermediaryMesh() 510 if (tc != obj1->texturecontainer[obj1->facelist[i].texid]) in CreateIntermediaryMesh() 512 tc = obj1->texturecontainer[obj1->facelist[i].texid]; in CreateIntermediaryMesh() 527 if (obj2->facelist[i].texid != -1) in CreateIntermediaryMesh() 528 if (tc != obj2->texturecontainer[obj2->facelist[i].texid]) in CreateIntermediaryMesh() 530 tc = obj2->texturecontainer[obj2->facelist[i].texid]; in CreateIntermediaryMesh()
|
/dports/games/NBlood/NBlood-a1689a4/source/build/src/ |
H A D | mdsprite.cpp | 169 if (m2->texid[j] == texid) in nullskintexids() 170 m2->texid[j] = 0; in nullskintexids() 174 if (sk->texid[j] == texid) in nullskintexids() 193 if (v->texid[j]) in clearskins() 196 v->texid[j] = 0; in clearskins() 205 if (m2->texid[j]) in clearskins() 235 if (v->texid[j]) in clearskins() 238 v->texid[j] = 0; in clearskins() 689 sk->texid[f] = skzero->texid[f]; in mdloadskin() 1205 Xfree(m->texid); in md2free() [all …]
|
/dports/games/spring/spring_98.0/rts/lib/assimp/code/ |
H A D | B3DImporter.cpp | 286 int texid=ReadInt(); in ReadBRUS() local 287 if( texid<-1 || (texid>=0 && texid>=static_cast<int>(_textures.size())) ){ in ReadBRUS() 290 if( i==0 && texid>=0 ){ in ReadBRUS() 291 aiString texname( _textures[texid] ); in ReadBRUS()
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/Assimp/code/ |
H A D | B3DImporter.cpp | 309 int texid=ReadInt(); in ReadBRUS() local 310 if( texid<-1 || (texid>=0 && texid>=static_cast<int>(_textures.size())) ){ in ReadBRUS() 313 if( i==0 && texid>=0 ){ in ReadBRUS() 314 aiString texname( _textures[texid] ); in ReadBRUS()
|