/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/src/world/ |
H A D | mapobject.cpp | 33 BspLeaf *bspLeaf = nullptr; ///< BSP leaf at @ref origin in the map (not owned). in DENG2_PIMPL_NOREF() local 58 d->bspLeaf = nullptr; in setOrigin() 72 if(!d->bspLeaf) in bspLeafAtOrigin() 75 d->bspLeaf = &map().bspLeafAt(origin()); in bspLeafAtOrigin() 77 return *d->bspLeaf; in bspLeafAtOrigin()
|
H A D | generator.cpp | 520 pinfo->bspLeaf = &map().bspLeafAt(ptOrigin); in newParticle() 523 if(!pinfo->bspLeaf->hasSubspace()) in newParticle() 598 auto const &subsec = pinfo.bspLeaf->subspace().subsector().as<world::ClientSubsector>(); in particleZ() 753 if(pinfo->origin[2] != DDMININT && pinfo->origin[2] != DDMAXINT && pinfo->bspLeaf) in moveParticle() 755 auto &subsec = pinfo->bspLeaf->subspace().subsector().as<world::ClientSubsector>(); in moveParticle() 1013 pinfo->bspLeaf = &map().bspLeafAt(Vector2d(FIX2FLT(x), FIX2FLT(y))); in moveParticle() 1016 if(!pinfo->bspLeaf->hasSubspace()) in moveParticle()
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/include/world/ |
H A D | convexsubspace.h | 71 static ConvexSubspace *newFromConvexPoly(de::Face &poly, BspLeaf *bspLeaf = nullptr); 147 inline BspLeaf &bspLeaf() const { in bspLeaf() function 295 ConvexSubspace(de::Face &convexPolygon, BspLeaf *bspLeaf = nullptr);
|
H A D | polyobj.h | 111 world::BspLeaf &bspLeaf() const;
|
H A D | generator.h | 45 world::BspLeaf *bspLeaf; ///< Updated when needed. member
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/src/world/bsp/ |
H A D | convexsubspaceproxy.cpp | 184 BspLeaf *bspLeaf; ///< BSP leaf attributed to the subspace (if any). in DENG2_PIMPL_NOREF() local 188 , bspLeaf (nullptr) in DENG2_PIMPL_NOREF() 196 , bspLeaf (other.bspLeaf) in DENG2_PIMPL_NOREF() 610 BspLeaf *ConvexSubspaceProxy::bspLeaf() const in bspLeaf() function in world::bsp::ConvexSubspaceProxy 612 return d->bspLeaf; in bspLeaf() 617 d->bspLeaf = newBspLeaf; in setBspLeaf()
|
H A D | partitioner.cpp | 1032 BspLeaf &bspLeaf = *subspace.bspLeaf(); in DENG2_PIMPL() local 1034 subspace.buildGeometry(bspLeaf, *mesh); in DENG2_PIMPL()
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/src/render/ |
H A D | vissprite.cpp | 84 p.bspLeaf = bspLeafAtOrigin; in VisSprite_SetupSprite() 174 world::BspLeaf const &bspLeaf) in setupLighting() argument 195 auto const &subsec = bspLeaf.subspace().subsector().as<world::ClientSubsector>(); in setupLighting() 218 Rend_CollectAffectingLights(origin, ambientColor, bspLeaf.subspacePtr(), in setupLighting()
|
H A D | r_main.cpp | 115 DENG2_ASSERT(vs.bspLeaf); in setupPSpriteParams() 134 auto const &subsec = vs.bspLeaf->subspace().subsector().as<world::ClientSubsector>(); in setupPSpriteParams() 158 vs.bspLeaf->subspacePtr()); in setupPSpriteParams() 246 vis.light.setupLighting(vis.pose.origin, vis.pose.distance, *spr.bspLeaf); in setupModelParamsForVisPSprite() 282 lit.light.setupLighting(spr.origin + Vector3d(0, 0, -10), -10, *spr.bspLeaf); in Rend_Draw3DPlayerSprites()
|
H A D | rend_particle.cpp | 297 if(!pinfo.bspLeaf || !pinfo.bspLeaf->hasSubspace()) in particlePVisible() 301 return R_ViewerSubspaceIsVisible(pinfo.bspLeaf->subspace()); in particlePVisible() 457 world::Map &map = pinfo->bspLeaf->subspace().sector().map(); in setupModelParamsForParticle() 475 … Vector4f const color = pinfo->bspLeaf->subspace().subsector().as<world::ClientSubsector>() in setupModelParamsForParticle() 646 if (world::ConvexSubspace *subspace = pinfo.bspLeaf->subspacePtr()) in drawParticles() 683 if (world::ConvexSubspace *space = pinfo.bspLeaf->subspacePtr()) in drawParticles()
|
H A D | modelrenderer.cpp | 334 world::ConvexSubspace const *sub = pspr.bspLeaf ? pspr.bspLeaf->subspacePtr() : nullptr; in render()
|
H A D | walledge.cpp | 216 ConvexSubspace const &space = (line.definesPolyobj() ? line.polyobj().bspLeaf().subspace() in init()
|
H A D | rend_main.cpp | 5179 BspLeaf const &bspLeaf = Mobj_BspLeafAtOrigin(mob); in drawMobjBBox() local 5180 if (!bspLeaf.hasSubspace() || !R_ViewerSubspaceIsVisible(bspLeaf.subspace())) in drawMobjBBox() 5342 (line.definesPolyobj() ? line.polyobj().bspLeaf().subspace() in drawTangentVectorsForWalls() 5355 (line.definesPolyobj() ? line.polyobj().bspLeaf().subspace() in drawTangentVectorsForWalls() 5360 (line.definesPolyobj() ? line.polyobj().bspLeaf().subspace() in drawTangentVectorsForWalls()
|
H A D | viewports.cpp | 806 spr->bspLeaf = &Mobj_BspLeafAtOrigin(*mob); in setupPlayerSprites()
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/src/world/base/ |
H A D | polyobj.cpp | 71 auto &subsec = pob.bspLeaf().subspace().subsector().as<ClientSubsector>(); 238 BspLeaf &Polyobj::bspLeaf() const in bspLeaf() function in Polyobj 247 return hasBspLeaf() && bspLeaf().hasSubspace(); in hasSector() 252 return *bspLeaf().sectorPtr(); in sector() 257 return hasBspLeaf() ? bspLeaf().sectorPtr() : nullptr; in sectorPtr()
|
H A D | convexsubspace.cpp | 163 ConvexSubspace::ConvexSubspace(Face &convexPolygon, BspLeaf *bspLeaf) in ConvexSubspace() argument 169 setBspLeaf(bspLeaf); in ConvexSubspace() 172 ConvexSubspace *ConvexSubspace::newFromConvexPoly(de::Face &poly, BspLeaf *bspLeaf) // static in newFromConvexPoly() argument 179 return new ConvexSubspace(poly, bspLeaf); in newFromConvexPoly()
|
H A D | linesighttest.cpp | 309 auto const &bspLeaf = bspTree->userData()->as<BspLeaf>(); in DENG2_PIMPL_NOREF() local 310 if (bspLeaf.hasSubspace()) in DENG2_PIMPL_NOREF() 312 return crossSubspace(bspLeaf.subspace()); in DENG2_PIMPL_NOREF()
|
H A D | subsector.cpp | 110 d->sector = firstSubspace().bspLeaf().sectorPtr(); in sector() 120 d->sector = firstSubspace().bspLeaf().sectorPtr(); in sector()
|
H A D | map.cpp | 734 if (subspace->bspLeaf().sectorPtr() == §or) in DENG2_PIMPL() 762 if (otherSubspace.bspLeaf().sectorPtr() == §or in DENG2_PIMPL() 1489 if (pInfo->stage < 0 || !pInfo->bspLeaf) in DENG2_PIMPL() 1492 dint listIndex = pInfo->bspLeaf->sectorPtr()->indexInMap(); in DENG2_PIMPL() 2130 BspLeaf const &bspLeaf = bspLeafAt(point); in isPointInVoid() local 2131 …if (bspLeaf.hasSubspace() && bspLeaf.subspace().contains(point) && bspLeaf.subspace().hasSubsector… in isPointInVoid() 2133 auto const &subsec = bspLeaf.subspace().subsector().as<ClientSubsector>(); in isPointInVoid() 2321 BspLeaf &bspLeaf = bspLeafAt(point); in subsectorAt() local 2322 if (bspLeaf.hasSubspace() && bspLeaf.subspace().contains(point)) in subsectorAt() 2324 return bspLeaf.subspace().subsectorPtr(); in subsectorAt()
|
H A D | p_mobj.cpp | 298 BspLeaf const &bspLeaf = Mobj_BspLeafAtOrigin(mob); in Mobj_HasSubsector() local 299 if (!bspLeaf.hasSubspace()) return false; in Mobj_HasSubsector() 300 return bspLeaf.subspace().hasSubsector(); in Mobj_HasSubsector()
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/include/world/bsp/ |
H A D | convexsubspaceproxy.h | 170 void buildGeometry(BspLeaf &bspLeaf, de::Mesh &mesh) const; 179 BspLeaf *bspLeaf() const;
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/include/render/ |
H A D | vissprite.h | 110 …oid setupLighting(de::Vector3d const &origin, de::ddouble distance, world::BspLeaf const &bspLeaf); 167 const world::BspLeaf *bspLeaf; member
|
H A D | billboard.h | 90 world::BspLeaf *bspLeaf; member
|