Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
97
void 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
105
uint8_t GetLight(Point position)
106
{
Callers
1
DoLighting
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected