MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / SaveGame

Function SaveGame

Source/loadsave.cpp:2768–2773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2766}
2767
2768void SaveGame()
2769{
2770 gbValidSaveFile = true;
2771 pfile_write_hero(/*writeGameData=*/true);
2772 sfile_write_stash();
2773}
2774
2775void SaveLevel(SaveWriter &saveWriter)
2776{

Callers 2

LoadGameFunction · 0.85
gamemenu_save_gameFunction · 0.85

Calls 2

pfile_write_heroFunction · 0.85
sfile_write_stashFunction · 0.85

Tested by

no test coverage detected