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

Function InitLevelType

Source/multi.cpp:737–749  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

735}
736
737int InitLevelType(int l)
738{
739 if (l == 0)
740 return 0;
741 if (l >= 1 && l <= 4)
742 return 1;
743 if (l >= 5 && l <= 8)
744 return 2;
745 if (l >= 9 && l <= 12)
746 return 3;
747
748 return 4;
749}
750
751void SetupLocalCoords()
752{

Callers 1

NetInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected