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

Function InitPortals

Source/portal.cpp:11–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9int WarpDropY[MAXPORTAL] = { 40, 40, 40, 40 };
10
11void InitPortals()
12{
13 int i;
14
15 for (i = 0; i < MAXPORTAL; i++) {
16 if (delta_portal_inited(i))
17 portal[i].open = FALSE;
18 }
19}
20
21void SetPortalStats(int i, BOOL o, int x, int y, int lvl, int lvltype)
22{

Callers 1

StartGameFunction · 0.85

Calls 1

delta_portal_initedFunction · 0.85

Tested by

no test coverage detected