MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / GetSaveFileNameForSlot

Function GetSaveFileNameForSlot

PanzerChasm/save_load.cpp:182–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182void GetSaveFileNameForSlot(
183 const unsigned int slot_number,
184 char* const out_file_name,
185 const unsigned int out_file_name_max_length )
186{
187 std::snprintf( out_file_name, out_file_name_max_length, SAVES_DIR"/save_%02d.pcs", slot_number );
188}
189
190void CreateSlotSavesDir()
191{

Callers 3

GetSavesNamesMethod · 0.85
SaveGameMethod · 0.85
LoadGameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected