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

Function LoadLighting

Source/loadsave.cpp:772–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

770}
771
772void LoadLighting(int i)
773{
774 LightListStruct *pLight = &LightList[i];
775
776 CopyInt(tbuff, &pLight->_lx);
777 CopyInt(tbuff, &pLight->_ly);
778 CopyInt(tbuff, &pLight->_lradius);
779 CopyInt(tbuff, &pLight->_lid);
780 CopyInt(tbuff, &pLight->_ldel);
781 CopyInt(tbuff, &pLight->_lunflag);
782 CopyInt(tbuff, &pLight->field_18);
783 CopyInt(tbuff, &pLight->_lunx);
784 CopyInt(tbuff, &pLight->_luny);
785 CopyInt(tbuff, &pLight->_lunr);
786 CopyInt(tbuff, &pLight->_xoff);
787 CopyInt(tbuff, &pLight->_yoff);
788 CopyInt(tbuff, &pLight->_lflags);
789}
790
791void LoadVision(int i)
792{

Callers 1

LoadGameFunction · 0.85

Calls 1

CopyIntFunction · 0.85

Tested by

no test coverage detected