MCPcopy Create free account
hub / github.com/diasurgical/devilution / InitLighting

Function InitLighting

Source/lighting.cpp:1009–1020  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1007}
1008
1009void InitLighting()
1010{
1011 int i;
1012
1013 numlights = 0;
1014 dolighting = FALSE;
1015 lightflag = FALSE;
1016
1017 for (i = 0; i < MAXLIGHTS; i++) {
1018 lightactive[i] = i;
1019 }
1020}
1021
1022int AddLight(int x, int y, int r)
1023{

Callers 1

LoadGameLevelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected