MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / SetLight

Function SetLight

Source/lighting.cpp:97–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void SetLight(Point position, uint8_t v)
98{
99 if (LoadingMapObjects)
100 dPreLight[position.x][position.y] = v;
101 else
102 dLight[position.x][position.y] = v;
103}
104
105uint8_t GetLight(Point position)
106{

Callers 1

DoLightingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected