Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ reinitLightGrid
Method
reinitLightGrid
plugins/rendermax/renderer_opengl.hpp:278–282 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
276
}
277
}
278
void reinitLightGrid(int w,int h)
279
{
280
std::lock_guard<std::mutex> guard{dataMutex};
281
lightGrid.resize(w*h);
282
}
283
void reinitLightGrid()
284
{
285
reinitLightGrid(df::global::gps->dimy,df::global::gps->dimx);
Callers
nothing calls this directly
Calls
1
resize
Method · 0.45
Tested by
no test coverage detected