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

Function ChangeLightXY

Source/lighting.cpp:1071–1084  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1069}
1070
1071void ChangeLightXY(int i, int x, int y)
1072{
1073 if (lightflag || i == -1) {
1074 return;
1075 }
1076
1077 LightList[i]._lunflag = 1;
1078 LightList[i]._lunx = LightList[i]._lx;
1079 LightList[i]._luny = LightList[i]._ly;
1080 LightList[i]._lunr = LightList[i]._lradius;
1081 LightList[i]._lx = x;
1082 LightList[i]._ly = y;
1083 dolighting = TRUE;
1084}
1085
1086void ChangeLightOff(int i, int x, int y)
1087{

Callers 13

M_StartWalk2Function · 0.85
M_StartWalk3Function · 0.85
M_DoWalkFunction · 0.85
M_DoWalk2Function · 0.85
M_DoWalk3Function · 0.85
SetDeadFunction · 0.85
MI_TeleportFunction · 0.85
MI_RhinoFunction · 0.85
StartWalk2Function · 0.85
StartWalk3Function · 0.85
PM_DoWalkFunction · 0.85
PM_DoWalk2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected