/dports/games/0ad/0ad-0.0.23b-alpha/source/graphics/ |
H A D | Patch.cpp | 30 CPatch::CPatch() in CPatch() function in CPatch 37 CPatch::~CPatch() in ~CPatch() 44 void CPatch::Initialize(CTerrain* parent,ssize_t x,ssize_t z) in Initialize() 58 void CPatch::CalcBounds() in CalcBounds() 78 int CPatch::GetSideFlags() in GetSideFlags()
|
H A D | Patch.h | 48 class CPatch : public CRenderableObject 52 CPatch(); 54 ~CPatch();
|
H A D | HFTracer.h | 25 class CPatch; variable 56 …static bool PatchRayIntersect(CPatch* patch, const CVector3D& origin, const CVector3D& dir, CVecto…
|
H A D | Terrain.cpp | 81 m_Patches = new CPatch[m_MapSizePatches*m_MapSizePatches]; in Initialize() 284 CPatch* CTerrain::GetPatch(ssize_t i, ssize_t j) const in GetPatch() 305 CPatch* patch=GetPatch(i/PATCH_SIZE, j/PATCH_SIZE); // can't fail (due to above check) in GetTile() 517 CPatch* newPatches=new CPatch[size*size]; in Resize() 577 CPatch* srcpatch=&newPatches[(m_MapSizePatches-1)*size]; in Resize() 578 CPatch* dstpatch=srcpatch+size; in Resize() 619 CPatch* patch = GetPatch(i, j); // can't fail in InitialisePatches() 638 CPatch* patch = GetPatch(i, j); // can't fail in SetHeightMap() 663 CPatch* patch = GetPatch(i, j); // can't fail (i,j were clamped) in MakeDirty() 687 CPatch* patch = GetPatch(i, j); // can't fail in MakeDirty()
|
H A D | Terrain.h | 30 class CPatch; variable 111 CPatch* GetPatch(ssize_t i, ssize_t j) const; 173 CPatch* m_Patches;
|
H A D | HFTracer.cpp | 275 bool CHFTracer::PatchRayIntersect(CPatch* patch, const CVector3D& origin, const CVector3D& dir, CVe… in PatchRayIntersect()
|
H A D | GameView.cpp | 509 CPatch* patch=pTerrain->GetPatch(i,j); // can't fail in EnumerateObjects()
|
H A D | MapReader.cpp | 559 CPatch* patch = m_MapReader.pTerrain->GetPatch(px, pz); // can't fail in ReadTerrain()
|
/dports/games/0ad/0ad-0.0.23b-alpha/source/renderer/ |
H A D | SilhouetteRenderer.h | 26 class CPatch; variable 34 void AddOccluder(CPatch* patch); 50 std::vector<CPatch*> m_SubmittedPatchOccluders; 54 std::vector<CPatch*> m_VisiblePatchOccluders;
|
H A D | PatchRData.h | 29 class CPatch; variable 41 CPatchRData(CPatch* patch, CSimulation2* simulation); 57 CPatch* GetPatch() { return m_Patch; } in GetPatch() 133 CPatch* m_Patch;
|
H A D | TerrainRenderer.h | 26 class CPatch; variable 62 void Submit(int cullGroup, CPatch* patch);
|
H A D | Scene.h | 36 class CPatch; variable 91 virtual void Submit(CPatch* patch) = 0;
|
H A D | SilhouetteRenderer.cpp | 44 void SilhouetteRenderer::AddOccluder(CPatch* patch) in AddOccluder() 252 CPatch* occluder = m_SubmittedPatchOccluders[i]; in ComputeSubmissions() 288 CPatch* occluder = m_SubmittedPatchOccluders[i]; in ComputeSubmissions() 369 CPatch* patch = static_cast<CPatch*>(occluder.renderable); in ComputeSubmissions() 412 m_VisiblePatchOccluders.push_back(static_cast<CPatch*>(occluders[i].renderable)); in ComputeSubmissions()
|
H A D | Renderer.h | 43 class CPatch; variable 365 void Submit(CPatch* patch);
|
H A D | PatchRData.cpp | 62 CPatchRData::CPatchRData(CPatch* patch, CSimulation2* simulation) : in CPatchRData() 1329 CPatch* patch = m_Patch; in BuildWater()
|
H A D | TerrainRenderer.cpp | 114 void TerrainRenderer::Submit(int cullGroup, CPatch* patch) in Submit()
|
H A D | Renderer.cpp | 1721 void CRenderer::Submit(CPatch* patch) in Submit()
|
/dports/graphics/pixie/Pixie/src/ri/ |
H A D | surface.h | 43 class CPatch : public CObject { 45 …CPatch(CAttributes *a,CXform *x,CSurface *o,float umin,float umax,float vmin,float vmax,int depth,… 46 ~CPatch();
|
H A D | surface.cpp | 70 CPatch::CPatch(CAttributes *a,CXform *x,CSurface *o,float umin,float umax,float vmin,float vmax,int… in CPatch() function in CPatch 96 CPatch::~CPatch() { in ~CPatch() 146 void CPatch::dice(CShadingContext *r) { in dice() 428 void CPatch::splitToChildren(CShadingContext *r,int dir) { in splitToChildren() 429 CPatch *p1,*p2,*p3,*p4; in splitToChildren() 438 p1 = new CPatch(attributes,xform,object,umin,umid,vmin,vmax,depth+1,minDepth); in splitToChildren() 439 p2 = new CPatch(attributes,xform,object,umid,umax,vmin,vmax,depth+1,minDepth); in splitToChildren() 476 p1 = new CPatch(attributes,xform,object,umin,umid,vmin,vmid,depth+1,minDepth); in splitToChildren() 477 p2 = new CPatch(attributes,xform,object,umid,umax,vmin,vmid,depth+1,minDepth); in splitToChildren() 478 p3 = new CPatch(attributes,xform,object,umin,umid,vmid,vmax,depth+1,minDepth); in splitToChildren() [all …]
|
H A D | object.cpp | 568 CPatch *cSurface = new CPatch(attributes,xform,this,0,1,0,1,0,minSplits); in dice()
|
/dports/games/0ad/0ad-0.0.23b-alpha/source/tools/atlas/GameInterface/ |
H A D | ActorViewer.cpp | 272 CPatch* patch = m.Terrain.GetPatch(pi, pj); in ActorViewer()
|