Home
last modified time | relevance | path

Searched refs:bspLeaf (Results 1 – 23 of 23) sorted by relevance

/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/src/world/
H A Dmapobject.cpp33 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 Dgenerator.cpp520 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 Dconvexsubspace.h71 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 Dpolyobj.h111 world::BspLeaf &bspLeaf() const;
H A Dgenerator.h45 world::BspLeaf *bspLeaf; ///< Updated when needed. member
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/src/world/bsp/
H A Dconvexsubspaceproxy.cpp184 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 Dpartitioner.cpp1032 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 Dvissprite.cpp84 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 Dr_main.cpp115 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 Drend_particle.cpp297 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 Dmodelrenderer.cpp334 world::ConvexSubspace const *sub = pspr.bspLeaf ? pspr.bspLeaf->subspacePtr() : nullptr; in render()
H A Dwalledge.cpp216 ConvexSubspace const &space = (line.definesPolyobj() ? line.polyobj().bspLeaf().subspace() in init()
H A Drend_main.cpp5179 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 Dviewports.cpp806 spr->bspLeaf = &Mobj_BspLeafAtOrigin(*mob); in setupPlayerSprites()
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/src/world/base/
H A Dpolyobj.cpp71 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 Dconvexsubspace.cpp163 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 Dlinesighttest.cpp309 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 Dsubsector.cpp110 d->sector = firstSubspace().bspLeaf().sectorPtr(); in sector()
120 d->sector = firstSubspace().bspLeaf().sectorPtr(); in sector()
H A Dmap.cpp734 if (subspace->bspLeaf().sectorPtr() == &sector) in DENG2_PIMPL()
762 if (otherSubspace.bspLeaf().sectorPtr() == &sector 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 Dp_mobj.cpp298 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 Dconvexsubspaceproxy.h170 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 Dvissprite.h110 …oid setupLighting(de::Vector3d const &origin, de::ddouble distance, world::BspLeaf const &bspLeaf);
167 const world::BspLeaf *bspLeaf; member
H A Dbillboard.h90 world::BspLeaf *bspLeaf; member