summaryrefslogtreecommitdiff
path: root/src/p_saveg.h
diff options
context:
space:
mode:
authorSimon Howard2008-04-19 13:43:17 +0000
committerSimon Howard2008-04-19 13:43:17 +0000
commit974228a52920aeb89b3f1f19184aa9ffcc037ef5 (patch)
tree5d86d98fc7f3d41f48216583f9da9a74aeb93650 /src/p_saveg.h
parent33616f49d8a394b4db5fc237d59a898973270c53 (diff)
downloadchocolate-doom-974228a52920aeb89b3f1f19184aa9ffcc037ef5.tar.gz
chocolate-doom-974228a52920aeb89b3f1f19184aa9ffcc037ef5.tar.bz2
chocolate-doom-974228a52920aeb89b3f1f19184aa9ffcc037ef5.zip
Don't successfully save a savegame if a buffer overrun occurs, and don't
overwrite the existing savegame. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1119
Diffstat (limited to 'src/p_saveg.h')
-rw-r--r--src/p_saveg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/p_saveg.h b/src/p_saveg.h
index 6f95585e..3a96cc3e 100644
--- a/src/p_saveg.h
+++ b/src/p_saveg.h
@@ -34,6 +34,10 @@
#define SAVESTRINGSIZE 24
+// temporary filename to use while saving.
+
+char *P_TempSaveGameFile(void);
+
// filename to use for a savegame slot
char *P_SaveGameFile(int slot);