Home
last modified time | relevance | path

Searched refs:numlights (Results 26 – 50 of 84) sorted by relevance

1234

/dports/java/java3d/java3d-1.5.2/j3d-core/src/classes/share/javax/media/j3d/
H A DShape3DRetained.java116 int numlights = 0; field in Shape3DRetained
189 numlights = 0; in Shape3DRetained()
1252 for (i = 0; i < numlights; i++) in clearMirrorShape()
1254 numlights = 0; in clearMirrorShape()
1381 numlights = 0; in clearLive()
1616 for (i=0; i<numlights; i++) { in addLight()
1621 lights[numlights] = light; in addLight()
1622 numlights++; in addLight()
1629 for (i=0; i<numlights; i++) { in removeLight()
1637 for (i++; i<numlights; i++) { in removeLight()
[all …]
/dports/games/devilutionX/devilutionX-1.2.1/Source/
H A Dlighting.h33 extern int numlights;
/dports/games/avp/avp-20170505/src/avp/
H A Dlighting.c228 int numlights = dptr->ObNumLights; in LightBlockDeallocation() local
229 while(numlights) in LightBlockDeallocation()
231 LIGHTBLOCK *lightPtr = dptr->ObLights[--numlights]; in LightBlockDeallocation()
/dports/games/alienarena/alienarena-7.66/source/ref_gl/
H A Dr_mesh.c783 float numlights, nonweighted_numlights, weight; in R_GetLightVals() local
802 numlights = nonweighted_numlights = 0; in R_GetLightVals()
825 numlights = cl_persistent_ents[currententity->number].oldnumlights; in R_GetLightVals()
859 numlights+=weight; in R_GetLightVals()
864 if (numlights > 0.0) in R_GetLightVals()
867 cl_persistent_ents[currententity->number].oldnumlights = numlights; in R_GetLightVals()
874 if(numlights > 0.0) { in R_GetLightVals()
877 statLightPosition[i] = lightAdd[i]/numlights; in R_GetLightVals()
903 numlights+=10*dl->intensity; in R_GetLightVals()
912 if(numlights > 0.0) { in R_GetLightVals()
[all …]
/dports/games/alienarena-data/alienarena-7.66/source/ref_gl/
H A Dr_mesh.c783 float numlights, nonweighted_numlights, weight; in R_GetLightVals() local
802 numlights = nonweighted_numlights = 0; in R_GetLightVals()
825 numlights = cl_persistent_ents[currententity->number].oldnumlights; in R_GetLightVals()
859 numlights+=weight; in R_GetLightVals()
864 if (numlights > 0.0) in R_GetLightVals()
867 cl_persistent_ents[currententity->number].oldnumlights = numlights; in R_GetLightVals()
874 if(numlights > 0.0) { in R_GetLightVals()
877 statLightPosition[i] = lightAdd[i]/numlights; in R_GetLightVals()
903 numlights+=10*dl->intensity; in R_GetLightVals()
912 if(numlights > 0.0) { in R_GetLightVals()
[all …]
/dports/games/pioneer/pioneer-20210723/src/graphics/opengl/
H A DRendererGL.cpp712 bool RendererOGL::SetLights(Uint32 numlights, const Light *lights) in SetLights() argument
714 numlights = std::min(numlights, TOTAL_NUM_LIGHTS); in SetLights()
715 if (numlights < 1) { in SetLights()
721 m_numLights = numlights; in SetLights()
724 for (Uint32 i = 0; i < numlights; i++) { in SetLights()
H A DRendererGL.h92 virtual bool SetLights(Uint32 numlights, const Light *l) override final;
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/
H A Dr_defs.h425 int numlights; member
771 int numlights; member
H A Dr_things.c1309 for(i = 1; i < sector->numlights; i++) // from top to bottom in R_Split_Sprite_over_FFloor()
1550 if(thingsector->numlights) in R_ProjectSprite()
1727 if(thingsector->numlights) in R_ProjectSprite()
1755 if(!sec->numlights) // otherwise see ProjectSprite in R_AddSprites()
1952 if(viewer_sector->numlights) in R_DrawPSprite()
1991 if(viewer_sector->numlights) in R_DrawPlayerSprites()
/dports/games/ufoai/ufoai-2.5-source/src/tools/ufo2map/
H A Dlightmap.cpp294 static int numlights[LIGHTMAP_MAX]; variable
313 numlights[config.compile_for_day]++; in BuildLights()
345 numlights[config.compile_for_day]++; in BuildLights()
467 …Verb_Printf(VERB_NORMAL, "%i direct lights for %s lightmap\n", numlights[config.compile_for_day], … in BuildLights()
833 headhints = Mem_AllocTypeN(int, (numlights[config.compile_for_day] + 1)); in BuildFacelights()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dr_defs.h332 INT32 numlights; member
554 size_t numlights; member
H A Dr_things.c1047 for (i = 1; i < sector->numlights; i++) in R_SplitSprite()
1356 if (thing->subsector->sector->numlights)
1359 light = thing->subsector->sector->numlights - 1;
1362 for (lightnum = 1; lightnum < thing->subsector->sector->numlights; lightnum++) {
1371 if (thing->subsector->sector->numlights)
1895 if (thing->subsector->sector->numlights)
1899 light = thing->subsector->sector->numlights - 1;
1902 for (lightnum = 1; lightnum < thing->subsector->sector->numlights; lightnum++) {
1973 if (thing->subsector->sector->numlights)
2054 if (thing->subsector->sector->numlights && !(shadowdraw || splat))
[all …]
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/hardware/
H A Dhw_main.c1348 for (i = 1; i < sector->numlights; i++) in HWR_SplitWall()
1677 if (gr_frontsector->numlights) in HWR_StoreWallRange()
1716 if (gr_frontsector->numlights) in HWR_StoreWallRange()
1892 if (gr_frontsector->numlights) in HWR_StoreWallRange()
2006 if (gr_frontsector->numlights) in HWR_StoreWallRange()
2089 if (gr_backsector->numlights) in HWR_StoreWallRange()
2799 gr_frontsector->numlights = sub->sector->numlights = 0; in HWR_Subsector()
2802 sub->sector->numlights = gr_frontsector->numlights; in HWR_Subsector()
3446 if(!sec->numlights) // when numlights then light in DrawSprite in HWR_AddSprites()
3618 if(thingsector->numlights) in HWR_ProjectSprite()
[all …]
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/hardware/
H A Dhw_main.c953 if (i + 1 < sector->numlights) in HWR_SplitWall()
1207 if (gl_frontsector->numlights) in HWR_ProcessSeg()
1273 if (gl_frontsector->numlights) in HWR_ProcessSeg()
1494 if (gl_frontsector->numlights) in HWR_ProcessSeg()
1582 if (gl_frontsector->numlights) in HWR_ProcessSeg()
1857 if (gl_backsector->numlights) in HWR_ProcessSeg()
3027 gl_frontsector->numlights = sub->sector->numlights = 0; in HWR_Subsector()
3030 sub->sector->numlights = gl_frontsector->numlights; in HWR_Subsector()
3919 if (i + 1 < sector->numlights) in HWR_SplitSprite()
4245 if (splat && sector->numlights) in HWR_DrawSprite()
[all …]
/dports/graphics/tachyon/tachyon/src/
H A Dtypes.h335 int numlights; /* number of lights in the scene */ member
H A Dapi.c514 scene->numlights = 0; in rt_newscene()
777 scene->numlights++; in rt_light()
800 scene->numlights++; in rt_directional_light()
826 scene->numlights++; in rt_spotlight()
H A Dparvol.c173 for (i=0; i<numlights; i++) { in par_volume_texture()
/dports/games/pioneer/pioneer-20210723/src/graphics/dummy/
H A DRendererDummy.h59 virtual bool SetLights(Uint32 numlights, const Light *l) override final { return true; } in SetLights() argument
/dports/graphics/Coin/coin-Coin-4.0.0/src/shapenodes/
H A DSoShape.cpp690 const int numlights = lights.getLength(); in shouldGLRender() local
691 for (int i = 0; i < numlights; i++) { in shouldGLRender()
713 if (i == numlights-1) { in shouldGLRender()
741 for (int i = 0; i < numlights; i++) { in shouldGLRender()
/dports/graphics/Coin/coin-Coin-4.0.0/src/nodes/
H A DSoSceneTexture2.cpp826 int numlights = SoLightElement::getLights(state).getLength(); in updateFrameBuffer() local
827 for (i = 0; i < numlights; i++) { in updateFrameBuffer()
889 for (i = 0; i < numlights; i++) { in updateFrameBuffer()
/dports/games/pioneer/pioneer-20210723/src/graphics/
H A DRenderer.h103 virtual bool SetLights(Uint32 numlights, const Light *l) = 0;
/dports/games/redeclipse16/base-1.6.0/src/engine/
H A Dshader.cpp785 int numlights = minimizedynlighttcusage() ? 1 : MAXDYNLIGHTS; in gendynlightvariant() local
817 loopk(min(i+1, numlights)) in gendynlightvariant()
819 …ing(dir, "%sdynlight%ddir%s", !k ? "varying vec3 " : " ", k, k==i || k+1==numlights ? ";\n" : ","); in gendynlightvariant()
830 k<numlights ? in gendynlightvariant()
834 if(k < numlights) vsdl.put(tc, strlen(tc)); in gendynlightvariant()
/dports/games/sauerbraten/sauerbraten/src/engine/
H A Dshader.cpp783 int numlights = minimizedynlighttcusage() ? 1 : MAXDYNLIGHTS; in gendynlightvariant() local
815 loopk(min(i+1, numlights)) in gendynlightvariant()
817 …ing(dir, "%sdynlight%ddir%s", !k ? "varying vec3 " : " ", k, k==i || k+1==numlights ? ";\n" : ","); in gendynlightvariant()
828 k<numlights ? in gendynlightvariant()
832 if(k < numlights) vsdl.put(tc, strlen(tc)); in gendynlightvariant()
/dports/games/xray_re-tools/xray_re-tools-52721d2/sources/utils/parsers/parse_lev/
H A Dparse_lev.cpp251 int numlights; in DecodeChunk() local
252 numlights = h.size/108; in DecodeChunk()
254 lev_light *ll = new lev_light[numlights]; in DecodeChunk()
256 if (!destFlag) for (int i = 0;i< numlights; i++) in DecodeChunk()
/dports/games/xonotic/Xonotic/source/darkplaces/
H A Dcl_particles.c1252 if (spawndlight && r_refdef.scene.numlights < MAX_DLIGHTS) in CL_ParticleEffect_Fallback()
1273 …R_RTLight_Update(&r_refdef.scene.templights[r_refdef.scene.numlights], false, &traillightmatrix, l… in CL_ParticleEffect_Fallback()
1274 …ef.scene.lights[r_refdef.scene.numlights] = &r_refdef.scene.templights[r_refdef.scene.numlights];r… in CL_ParticleEffect_Fallback()
1536 else if (r_refdef.scene.numlights < MAX_DLIGHTS) in CL_NewParticlesFromEffectinfo()
1544 …R_RTLight_Update(&r_refdef.scene.templights[r_refdef.scene.numlights], false, &tempmatrix, rvec, -… in CL_NewParticlesFromEffectinfo()
1545 …ef.scene.lights[r_refdef.scene.numlights] = &r_refdef.scene.templights[r_refdef.scene.numlights];r… in CL_NewParticlesFromEffectinfo()

1234