Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
2768
void SaveGame()
2769
{
2770
gbValidSaveFile = true;
2771
pfile_write_hero(/*writeGameData=*/true);
2772
sfile_write_stash();
2773
}
2774
2775
void SaveLevel(SaveWriter &saveWriter)
2776
{
Callers
2
LoadGame
Function · 0.85
gamemenu_save_game
Function · 0.85
Calls
2
pfile_write_hero
Function · 0.85
sfile_write_stash
Function · 0.85
Tested by
no test coverage detected