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

Function SavePortal

Source/loadsave.cpp:1528–1538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1526}
1527
1528void SavePortal(int i)
1529{
1530 PortalStruct *pPortal = &portal[i];
1531
1532 CopyInt(&pPortal->open, tbuff);
1533 CopyInt(&pPortal->x, tbuff);
1534 CopyInt(&pPortal->y, tbuff);
1535 CopyInt(&pPortal->level, tbuff);
1536 CopyInt(&pPortal->ltype, tbuff);
1537 CopyInt(&pPortal->setlvl, tbuff);
1538}
1539
1540void SaveLevel()
1541{

Callers 1

SaveGameFunction · 0.85

Calls 1

CopyIntFunction · 0.85

Tested by

no test coverage detected