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

Function AddUnLight

Source/lighting.cpp:1047–1055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1045}
1046
1047void AddUnLight(int i)
1048{
1049 if (lightflag || i == -1) {
1050 return;
1051 }
1052
1053 LightList[i]._ldel = 1;
1054 dolighting = TRUE;
1055}
1056
1057void ChangeLightRadius(int i, int r)
1058{

Callers 15

Obj_LightFunction · 0.85
Obj_FlameTrapFunction · 0.85
RemovePortalMissileFunction · 0.85
MI_LArrowFunction · 0.85
MI_FireboltFunction · 0.85
MI_FirewallFunction · 0.85
MI_FireballFunction · 0.85
MI_LightningFunction · 0.85
MI_TownFunction · 0.85
MI_FiremoveFunction · 0.85
MI_GuardianFunction · 0.85
MI_WeapexpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected