MCPcopy Create free account
hub / github.com/JACoders/OpenJK / CM_CleanLeafCache

Function CM_CleanLeafCache

code/qcommon/cm_test.cpp:70–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68//static hlist<pair<CPoint,int> > pointToContents;
69
70void CM_CleanLeafCache(void)
71{
72 oldestPointToLeaf = sizePointToLeaf = 0;
73// pointToLeaf.clear();
74#if 0 // VVFIXME
75 hlist<pair<CPoint,int> >::iterator l;
76 for(l=pointToLeaf.begin();l!=pointToLeaf.end();l++)
77 {
78 pointToLeaf.erase(l);
79 }
80#endif
81/*
82 for(l=pointToContents.begin();l!=pointToContents.end();l++)
83 {
84 pointToContents.erase(l);
85 }
86*/
87}
88
89/*
90==================

Callers 2

SV_ShutdownFunction · 0.85
CM_LoadMap_ActualFunction · 0.85

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected