MCPcopy Create free account
hub / github.com/ZDoom/Raze / G_DoSaveGame

Function G_DoSaveGame

source/core/savegamehelp.cpp:842–850  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

840//---------------------------------------------------------------------------
841
842void G_DoSaveGame(bool ok4q, bool forceq, const char* fn, const char* desc)
843{
844 if (WriteSavegame(fn, desc))
845 {
846 savegameManager.NotifyNewSave(fn, desc, ok4q, forceq);
847 Printf(PRINT_NOTIFY, "%s\n", GStrings.GetString("GGSAVED"));
848 BackupSaveGame = fn;
849 }
850}
851
852 //---------------------------------------------------------------------------
853 //

Callers 2

M_AutosaveFunction · 0.85
GameTickerFunction · 0.85

Calls 4

WriteSavegameFunction · 0.85
PrintfFunction · 0.85
NotifyNewSaveMethod · 0.80
GetStringMethod · 0.45

Tested by

no test coverage detected