MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / EditorSaveLevel

Function EditorSaveLevel

editor/HFile.cpp:636–645  ·  view source on GitHub ↗

Save the current level Returns 1 if level saved sucessfully

Source from the content-addressed store, hash-verified

634// Save the current level
635// Returns 1 if level saved sucessfully
636int EditorSaveLevel(char *filename) {
637 int sucess;
638
639 sucess = SaveLevel(filename);
640
641 if (sucess)
642 Mine_changed = 0;
643
644 return sucess;
645}
646
647// Returns a pointer to enough spaces to right-justify a number that's printed after the spaces
648char *IntSpacing(int i) {

Callers 1

OnSaveDocumentMethod · 0.85

Calls 1

SaveLevelFunction · 0.85

Tested by

no test coverage detected