struct IOctreeNode { struct GetTerrainNode { } void SetTerrainNode(struct CTerrainNode* node) { m_pTerrainNode = (m_pTerrainNode & 0x1) | ((INT_PTR) node); } bool IsCompiled() const { return (bool) (m_pTerrainNode & 0x1); } void SetCompiled(bool compiled) { m_pTerrainNode = ((int) compiled) | (m_pTerrainNode & ~0x1); } struct CVisArea * m_pVisArea; public: INT_PTR m_pTerrainNode; };
IEntityRenderState.h