Searched refs:GLMapChunk (Results 1 – 5 of 5) sorted by relevance
/dports/games/openspades/openspades-0.1.3/Sources/Draw/ |
H A D | GLMapRenderer.cpp | 62 chunks = new GLMapChunk *[numChunks]; in GLMapRenderer() 103 int fz = z & (GLMapChunk::Size - 1); in GameMapChanged() 109 int ez = fz == (GLMapChunk::Size - 1) ? 1 : 0; in GameMapChanged() 114 xx >>= GLMapChunk::SizeBits; in GameMapChanged() 115 yy >>= GLMapChunk::SizeBits; in GameMapChanged() 116 zz >>= GLMapChunk::SizeBits; in GameMapChanged() 168 int cx = (int)floorf(eye.x) / GLMapChunk::Size; in Prerender() 169 int cy = (int)floorf(eye.y) / GLMapChunk::Size; in Prerender() 170 int cz = (int)floorf(eye.z) / GLMapChunk::Size; in Prerender() 280 int cx = (int)floorf(eye.x) / GLMapChunk::Size; in RenderSunlightPass() [all …]
|
H A D | GLMapRenderer.h | 32 class GLMapChunk; variable 37 friend class GLMapChunk; variable 55 GLMapChunk **chunks; 67 inline GLMapChunk *GetChunk(int x, int y, int z) { in GetChunk()
|
H A D | GLMapChunk.cpp | 38 GLMapChunk::GLMapChunk(spades::draw::GLMapRenderer *r, client::GameMap *mp, int cx, int cy, in GLMapChunk() function in spades::draw::GLMapChunk 60 GLMapChunk::~GLMapChunk() { SetRealized(false); } in ~GLMapChunk() 62 void GLMapChunk::SetRealized(bool b) { in SetRealized() 89 uint8_t GLMapChunk::calcAOID(int x, int y, int z, int ux, int uy, int uz, int vx, int vy, in calcAOID() 119 void GLMapChunk::EmitVertex(int x, int y, int z, int aoX, int aoY, int aoZ, int ux, int uy, in EmitVertex() 194 bool GLMapChunk::IsSolid(int x, int y, int z) { in IsSolid() 215 void GLMapChunk::Update() { in Update() 298 void GLMapChunk::RenderDepthPass() { in RenderDepthPass() 357 void GLMapChunk::RenderSunlightPass() { in RenderSunlightPass() 438 void GLMapChunk::RenderDLightPass(std::vector<GLDynamicLight> lights) { in RenderDLightPass() [all …]
|
H A D | GLMapChunk.h | 35 class GLMapChunk { 82 GLMapChunk(GLMapRenderer *, client::GameMap *mp, int cx, int cy, int cz); 83 ~GLMapChunk();
|
/dports/games/openspades/openspades-0.1.3/OpenSpades.xcodeproj/ |
H A D | project.pbxproj | 34 …2E670318EA7954004DBA18 /* GLMapChunk.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E88318B217… 534 …1A73002ABE6D /* GLMapChunk.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =… 535 …7911A73002ABE6D /* GLMapChunk.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType … 1786 E88318B217911A73002ABE6D /* GLMapChunk.cpp */, 1787 E88318B317911A73002ABE6D /* GLMapChunk.h */, 2249 E82E670318EA7954004DBA18 /* GLMapChunk.cpp in Sources */,
|