/dports/games/vkquake/vkQuake-1.12.2/Quake/ |
H A D | r_world.c | 30 byte *SV_FatPVS (vec3_t org, qmodel_t *worldmodel); 176 unsigned int numleafs = cl.worldmodel->numleafs; in R_MarkVisSurfacesSIMD() 178 byte *surfvis = cl.worldmodel->surfvis; in R_MarkVisSurfacesSIMD() 181 memset(cl.worldmodel->surfvis, 0, (cl.worldmodel->numsurfaces + 7) / 8); in R_MarkVisSurfacesSIMD() 232 surf = &cl.worldmodel->surfaces[i + j]; in R_MarkVisSurfacesSIMD() 254 leaf = &cl.worldmodel->leafs[1]; in R_MarkVisSurfaces() 309 vis = Mod_NoVisPVS (cl.worldmodel); in R_MarkSurfaces() 311 vis = SV_FatPVS (r_origin, cl.worldmodel); in R_MarkSurfaces() 318 for (i=0 ; i<cl.worldmodel->numtextures ; i++) in R_MarkSurfaces() 319 if (cl.worldmodel->textures[i]) in R_MarkSurfaces() [all …]
|
H A D | gl_rlight.c | 111 surf = cl.worldmodel->surfaces + node->firstsurface; in R_MarkLights() 160 R_MarkLights(l, i, cl.worldmodel->nodes); in R_PushDlights() 251 surf = cl.worldmodel->surfaces + node->firstsurface; in RecursiveLightPoint() 302 cache->surfidx = surf - cl.worldmodel->surfaces + 1; in RecursiveLightPoint() 329 if (!cl.worldmodel->lightdata) in R_LightPoint() 342 || cache->surfidx > cl.worldmodel->numsurfaces in R_LightPoint() 349 RecursiveLightPoint (cache, cl.worldmodel->nodes, p, p, end, &maxdist); in R_LightPoint() 353 …InterpolateLightmap (lightcolor, cl.worldmodel->surfaces + cache->surfidx - 1, cache->ds, cache->d… in R_LightPoint()
|
/dports/games/libretro-tyrquake/tyrquake-e76477d/QW/server/ |
H A D | sv_init.c | 200 numleafs = sv.worldmodel->numleafs; in SV_CalcPHS() 201 leafmem = Mod_LeafbitsSize(sv.worldmodel->numleafs); in SV_CalcPHS() 217 leafbits = Mod_LeafPVS(sv.worldmodel, sv.worldmodel->leafs + i); in SV_CalcPHS() 333 sv.worldmodel = Mod_ForName(sv.modelname, true); in SV_SpawnServer() 345 sv.models[1] = sv.worldmodel; in SV_SpawnServer() 346 for (i = 1; i < sv.worldmodel->numsubmodels; i++) { in SV_SpawnServer() 365 ent->v.model = PR_SetString(sv.worldmodel->name); in SV_SpawnServer() 378 ED_LoadFromFile(sv.worldmodel->entities); in SV_SpawnServer()
|
/dports/games/nehquake/NehQuake-bjp-bin-src.linux/src/ |
H A D | gl_rmisc.c | 264 r_worldentity.model = cl.worldmodel; in R_NewMap() 268 for (i=0 ; i<cl.worldmodel->numleafs ; i++) in R_NewMap() 269 cl.worldmodel->leafs[i].efrags = NULL; in R_NewMap() 280 for (i=0 ; i<cl.worldmodel->numtextures ; i++) in R_NewMap() 282 if (!cl.worldmodel->textures[i]) in R_NewMap() 284 if (!Q_strncmp(cl.worldmodel->textures[i]->name,"sky",3) ) in R_NewMap() 294 if (!Q_strncmp(cl.worldmodel->textures[i]->name,"window02_1",10) ) in R_NewMap() 296 cl.worldmodel->textures[i]->texturechain = NULL; in R_NewMap()
|
H A D | gl_rlight.c | 203 surf = cl.worldmodel->surfaces + node->firstsurface; in R_MarkLights() 254 R_MarkLights ( l, 1<<i, cl.worldmodel->nodes ); in R_PushDlights() 316 surf = cl.worldmodel->surfaces + node->firstsurface; in RecursiveLightPoint() 374 if (!cl.worldmodel->lightdata) in R_LightPoint() 381 r = RecursiveLightPoint (cl.worldmodel->nodes, p, end); in R_LightPoint()
|
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexenworld/client/ |
H A D | gl_rmisc.c | 376 r_worldentity.model = cl.worldmodel; in R_NewMap() 380 for (i = 0; i < cl.worldmodel->numleafs; i++) in R_NewMap() 381 cl.worldmodel->leafs[i].efrags = NULL; in R_NewMap() 391 for (i = 0; i < cl.worldmodel->numtextures; i++) in R_NewMap() 393 if (!cl.worldmodel->textures[i]) in R_NewMap() 395 if (!strncmp(cl.worldmodel->textures[i]->name,"sky",3) ) in R_NewMap() 397 if (!strncmp(cl.worldmodel->textures[i]->name,"window02_1",10) ) in R_NewMap() 399 cl.worldmodel->textures[i]->texturechain = NULL; in R_NewMap()
|
/dports/games/nexuiz/Nexuiz/sources/darkplaces/ |
H A D | cl_collision.c | 39 if (cl.worldmodel && cl.worldmodel->TraceBox) in CL_SelectTraceLine() 40 …cl.worldmodel->TraceBox(cl.worldmodel, 0, &trace, start, vec3_origin, vec3_origin, end, SUPERCONTE… in CL_SelectTraceLine() 107 if (cl.worldmodel && cl.worldmodel->brush.FindNonSolidLocation) in CL_FindNonSolidLocation() 108 cl.worldmodel->brush.FindNonSolidLocation(cl.worldmodel, in, out, radius); in CL_FindNonSolidLocation() 287 …Collision_ClipToWorld(&cliptrace, cl.worldmodel, clipstart, clipmins, clipmaxs, clipend, hitsuperc… in CL_Move() 305 if (cl.worldmodel && cl.worldmodel->brush.RoundUpToHullSize) in CL_Move() 306 cl.worldmodel->brush.RoundUpToHullSize(cl.worldmodel, clipmins, clipmaxs, hullmins, hullmaxs); in CL_Move()
|
H A D | r_sky.c | 63 else if (r_refdef.scene.worldmodel && r_refdef.scene.worldmodel->brush.solidskytexture) in R_SkyStartFrame() 407 R_Mesh_TexBind(0, R_GetTexture(r_refdef.scene.worldmodel->brush.solidskytexture)); in R_SkySphere() 414 R_Mesh_TexBind(1, R_GetTexture(r_refdef.scene.worldmodel->brush.alphaskytexture)); in R_SkySphere() 430 R_Mesh_TexBind(0, R_GetTexture(r_refdef.scene.worldmodel->brush.alphaskytexture)); in R_SkySphere()
|
H A D | sv_main.c | 500 if (!sv.active || !sv.worldmodel) in SV_SaveEntFile_f() 1241 if (sv.worldmodel && sv.worldmodel->brush.FindBoxClusters) in SV_PrepareEntityForSending() 1359 …if (sv.worldmodel && sv.worldmodel->brush.BoxTouchingPVS && !sv.worldmodel->brush.BoxTouchingPVS(s… in SV_MarkWriteEntityStateToClient() 1476 if (sv.worldmodel && sv.worldmodel->brush.FatPVS) in SV_WriteEntitiesToClient() 2784 dp_model_t *worldmodel; in SV_SpawnServer() local 2819 if (!worldmodel || !worldmodel->TraceBox) in SV_SpawnServer() 2925 worldmodel->used = true; in SV_SpawnServer() 2929 sv.worldmodel = worldmodel; in SV_SpawnServer() 2930 sv.models[1] = sv.worldmodel; in SV_SpawnServer() 2935 …World_SetSize(&sv.world, sv.worldmodel->name, sv.worldmodel->normalmins, sv.worldmodel->normalmaxs… in SV_SpawnServer() [all …]
|
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexen2/ |
H A D | gl_rmisc.c | 378 r_worldentity.model = cl.worldmodel; in R_NewMap() 382 for (i = 0; i < cl.worldmodel->numleafs; i++) in R_NewMap() 383 cl.worldmodel->leafs[i].efrags = NULL; in R_NewMap() 393 for (i = 0; i < cl.worldmodel->numtextures; i++) in R_NewMap() 395 if (!cl.worldmodel->textures[i]) in R_NewMap() 397 if (!strncmp(cl.worldmodel->textures[i]->name,"sky",3) ) in R_NewMap() 399 if (!strncmp(cl.worldmodel->textures[i]->name,"window02_1",10) ) in R_NewMap()
|
/dports/games/tenebrae/tenebrae_0/ |
H A D | r_light.c | 94 surf = cl.worldmodel->surfaces + node->firstsurface; in R_MarkLights() 128 R_MarkLights ( l, 1<<i, cl.worldmodel->nodes ); in R_PushDlights() 185 surf = cl.worldmodel->surfaces + node->firstsurface; in RecursiveLightPoint() 243 if (!cl.worldmodel->lightdata) in R_LightPoint() 250 r = RecursiveLightPoint (cl.worldmodel->nodes, p, end); in R_LightPoint()
|
H A D | gl_shadow.c | 297 vis = Mod_LeafPVS (r_viewleaf, cl.worldmodel); in R_InitShadowsForFrame() 549 for (i=0 ; i<cl.worldmodel->numleafs ; i++) in HasSharedLeafs() 774 PrecalcVolumesForLight(cl.worldmodel); in R_ConstructShadowVolume() 1650 leaf = &cl.worldmodel->leafs[i]; in CutLeafs() 1868 R_RecursiveShadowAdd(cl.worldmodel->nodes); in ShadowVolumeBsp() 1955 for (i=0 ; i<cl.worldmodel->numtextures ; i++) in R_CalcSvBsp() 1957 if (!cl.worldmodel->textures[i]) continue; in R_CalcSvBsp() 1973 for (i=0 ; i<cl.worldmodel->numtextures ; i++) in R_CalcSvBsp() 1975 t = cl.worldmodel->textures[i]; in R_CalcSvBsp() 1999 PrecalcVolumesForLight(cl.worldmodel); in R_CalcSvBsp() [all …]
|
H A D | gl_rmisc.c | 446 r_worldentity.model = cl.worldmodel; in R_NewMap() 450 for (i=0 ; i<cl.worldmodel->numleafs ; i++) in R_NewMap() 451 cl.worldmodel->leafs[i].efrags = NULL; in R_NewMap() 464 for (i=0 ; i<cl.worldmodel->numtextures ; i++) in R_NewMap() 466 if (!cl.worldmodel->textures[i]) in R_NewMap() 468 if (!Q_strncmp(cl.worldmodel->textures[i]->name,"sky",3) ) in R_NewMap() 470 if (!Q_strncmp(cl.worldmodel->textures[i]->name,"window02_1",10) ) in R_NewMap() 472 cl.worldmodel->textures[i]->texturechain = NULL; in R_NewMap()
|
H A D | gl_rlight.c | 133 surf = cl.worldmodel->surfaces + node->firstsurface; in RecursiveLightPoint() 191 if (!cl.worldmodel->lightdata) in R_LightPoint() 198 r = RecursiveLightPoint (cl.worldmodel->nodes, p, end); in R_LightPoint()
|
H A D | gl_refrag.c | 188 R_SplitEntityOnNode (cl.worldmodel->nodes); in R_AddEfrags() 320 leafnum = leaf - cl.worldmodel->leafs - 1; in R_SplitEntityOnNodePenta() 376 R_SplitEntityOnNodePenta (ent, cl.worldmodel->nodes); in R_FillEntityLeafs()
|
/dports/games/quakeforge/quakeforge-0.7.2/qw/source/ |
H A D | sv_init.c | 231 num = sv.worldmodel->numleafs; in SV_CalcPHS() 239 memcpy (scan, Mod_LeafPVS (sv.worldmodel->leafs + i, sv.worldmodel), in SV_CalcPHS() 389 sv.worldmodel = Mod_ForName (sv.modelname, true); in SV_SpawnServer() 400 sv.models[1] = sv.worldmodel; in SV_SpawnServer() 401 for (i = 1; i < sv.worldmodel->numsubmodels; i++) { in SV_SpawnServer() 419 SVstring (ent, model) = PR_SetString (&sv_pr_state, sv.worldmodel->name); in SV_SpawnServer() 440 ED_LoadFromFile (&sv_pr_state, sv.worldmodel->entities); in SV_SpawnServer()
|
H A D | teamplay.c | 296 mapname = strdup (cl.worldmodel->name); in Team_NewMap() 297 t2 = malloc (sizeof (cl.worldmodel->name)); in Team_NewMap() 347 if (!cl.worldmodel) { in locs_loc() 353 mapname = malloc (sizeof (cl.worldmodel->name)); in locs_loc() 356 map_to_loc (cl.worldmodel->name, mapname); in locs_loc()
|
H A D | cl_screen.c | 87 if (cls.state == ca_active && cl.worldmodel) { in SCR_CShift() 88 leaf = Mod_PointInLeaf (r_data->refdef->vieworg, cl.worldmodel); in SCR_CShift()
|
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexenworld/server/ |
H A D | sv_init.c | 228 num = sv.worldmodel->numleafs; in SV_CalcPHS() 237 memcpy (scan, Mod_LeafPVS(sv.worldmodel->leafs+i, sv.worldmodel), in SV_CalcPHS() 356 sv.worldmodel = Mod_ForName (sv.modelname, true); in SV_SpawnServer() 367 sv.models[1] = sv.worldmodel; in SV_SpawnServer() 368 for (i = 1; i < sv.worldmodel->numsubmodels; i++) in SV_SpawnServer() 384 ent->v.model = PR_SetEngineString(sv.worldmodel->name); in SV_SpawnServer() 431 ED_LoadFromFile (sv.worldmodel->entities); in SV_SpawnServer()
|
/dports/games/uhexen2/hexen2source-1.5.9/engine/h2shared/ |
H A D | r_light.c | 123 surf = cl.worldmodel->surfaces + node->firstsurface; in R_MarkLights() 160 R_MarkLights ( l, 1<<i, cl.worldmodel->nodes ); in R_PushDlights() 234 surf = cl.worldmodel->surfaces + node->firstsurface; in RecursiveLightPoint() 296 if (!cl.worldmodel->lightdata) in R_LightPoint() 303 r = RecursiveLightPoint (cl.worldmodel->nodes, p, end); in R_LightPoint()
|
H A D | gl_rlight.c | 241 surf = cl.worldmodel->surfaces + node->firstsurface; 288 surf = cl.worldmodel->surfaces + node->firstsurface; in R_MarkLights() 353 R_MarkLights ( l, 1<<i, cl.worldmodel->nodes ); in R_PushDlights() 413 surf = cl.worldmodel->surfaces + node->firstsurface; in RecursiveLightPoint() 470 if (!cl.worldmodel->lightdata) in R_LightPoint() 477 r = RecursiveLightPoint (cl.worldmodel->nodes, p, end); in R_LightPoint() 527 surf = cl.worldmodel->surfaces + node->firstsurface; in RecursiveLightPointColor() 591 if (!cl.worldmodel->lightdata) in R_LightPointColor() 602 RecursiveLightPointColor (lightcolor, cl.worldmodel->nodes, p, end); in R_LightPointColor()
|
/dports/games/xonotic/Xonotic/source/darkplaces/ |
H A D | cl_collision.c | 20 if (cl.worldmodel && cl.worldmodel->TraceLine) in CL_SelectTraceLine() 21 cl.worldmodel->TraceLine(cl.worldmodel, NULL, NULL, &trace, start, end, SUPERCONTENTS_SOLID, 0); in CL_SelectTraceLine() 82 if (cl.worldmodel && cl.worldmodel->brush.FindNonSolidLocation) in CL_FindNonSolidLocation() 83 cl.worldmodel->brush.FindNonSolidLocation(cl.worldmodel, in, out, radius); in CL_FindNonSolidLocation() 242 …Collision_ClipPointToWorld(&cliptrace, cl.worldmodel, clipstart, hitsupercontentsmask, skipsuperco… in CL_TracePoint() 460 …Collision_ClipLineToWorld(&cliptrace, cl.worldmodel, clipstart, clipend, hitsupercontentsmask, ski… in CL_TraceLine() 694 …Collision_ClipToWorld(&cliptrace, cl.worldmodel, clipstart, clipmins, clipmaxs, clipend, hitsuperc… in CL_TraceBox() 712 if (cl.worldmodel && cl.worldmodel->brush.RoundUpToHullSize) in CL_TraceBox() 713 cl.worldmodel->brush.RoundUpToHullSize(cl.worldmodel, clipmins, clipmaxs, hullmins, hullmaxs); in CL_TraceBox() 911 …Collision_Cache_ClipLineToWorldSurfaces(&cliptrace, cl.worldmodel, clipstart, clipend, hitsupercon… in CL_Cache_TraceLineSurfaces()
|
/dports/games/darkplaces/darkplaces/ |
H A D | cl_collision.c | 20 if (cl.worldmodel && cl.worldmodel->TraceLine) in CL_SelectTraceLine() 21 …cl.worldmodel->TraceLine(cl.worldmodel, NULL, NULL, &trace, start, end, SUPERCONTENTS_SOLID, 0, 0); in CL_SelectTraceLine() 82 if (cl.worldmodel && cl.worldmodel->brush.FindNonSolidLocation) in CL_FindNonSolidLocation() 83 cl.worldmodel->brush.FindNonSolidLocation(cl.worldmodel, in, out, radius); in CL_FindNonSolidLocation() 242 …Collision_ClipPointToWorld(&cliptrace, cl.worldmodel, clipstart, hitsupercontentsmask, skipsuperco… in CL_TracePoint() 460 …Collision_ClipLineToWorld(&cliptrace, cl.worldmodel, clipstart, clipend, hitsupercontentsmask, ski… in CL_TraceLine() 694 …Collision_ClipToWorld(&cliptrace, cl.worldmodel, clipstart, clipmins, clipmaxs, clipend, hitsuperc… in CL_TraceBox() 712 if (cl.worldmodel && cl.worldmodel->brush.RoundUpToHullSize) in CL_TraceBox() 713 cl.worldmodel->brush.RoundUpToHullSize(cl.worldmodel, clipmins, clipmaxs, hullmins, hullmaxs); in CL_TraceBox() 911 …Collision_Cache_ClipLineToWorldSurfaces(&cliptrace, cl.worldmodel, clipstart, clipend, hitsupercon… in CL_Cache_TraceLineSurfaces()
|
/dports/games/libretro-tyrquake/tyrquake-e76477d/common/ |
H A D | r_light.c | 95 surf = cl.worldmodel->surfaces + node->firstsurface; in R_MarkLights() 198 surf = cl.worldmodel->surfaces + node->firstsurface; in RecursiveLightPoint() 299 surf = cl.worldmodel->surfaces + node->firstsurface; in RecursiveLightPointRGB() 364 if (!cl.worldmodel->lightdata){ in R_LightPoint() 378 r = RecursiveLightPointRGB(lightcolor, cl.worldmodel->nodes, p, end); in R_LightPoint() 388 r = RecursiveLightPoint(cl.worldmodel->nodes, p, end); in R_LightPoint()
|
/dports/games/quakeforge/quakeforge-0.7.2/nq/source/ |
H A D | cl_screen.c | 87 if (cls.state == ca_active && cl.worldmodel) { in SCR_CShift() 88 leaf = Mod_PointInLeaf (r_data->refdef->vieworg, cl.worldmodel); in SCR_CShift()
|