diff options
author | James Haley | 2011-02-11 03:02:45 +0000 |
---|---|---|
committer | James Haley | 2011-02-11 03:02:45 +0000 |
commit | 9c4484196a6a5daa1b8c7426a67f6158659027c3 (patch) | |
tree | 5583b41bbc117224decf81d3936f63d144b495b6 /src/strife/m_saves.h | |
parent | 0e7e7ba3b64e6bccfcca85d4120f2f60f1fe05c3 (diff) | |
download | chocolate-doom-9c4484196a6a5daa1b8c7426a67f6158659027c3.tar.gz chocolate-doom-9c4484196a6a5daa1b8c7426a67f6158659027c3.tar.bz2 chocolate-doom-9c4484196a6a5daa1b8c7426a67f6158659027c3.zip |
Finished routines in m_saves.c. Added M_CreateSaveDirs to make
directories under the standard choco savegamedir for each Strife
saveslot.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2253
Diffstat (limited to 'src/strife/m_saves.h')
-rw-r--r-- | src/strife/m_saves.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/strife/m_saves.h b/src/strife/m_saves.h index b55ffa12..8942f237 100644 --- a/src/strife/m_saves.h +++ b/src/strife/m_saves.h @@ -2,7 +2,6 @@ //-----------------------------------------------------------------------------
//
// Copyright(C) 1993-1996 Id Software, Inc.
-// Copyright(C) 1996 Rogue Entertainment / Velocity, Inc.
// Copyright(C) 2010 James Haley, Samuel Villareal
//
// This program is free software; you can redistribute it and/or
@@ -31,8 +30,20 @@ #ifndef M_SAVES_H__
#define M_SAVES_H__
+extern char *savepath;
+extern char *savepath2;
+extern char *loadpath;
+
// Strife Savegame Functions
+void ClearTmp(void);
+void ClearSlot(void);
+void FromCurr(void);
+void ToCurr(void);
+void M_SaveMoveMapToHere(void);
+void M_SaveMoveHereToMap(void);
+
boolean M_SaveMisObj(const char *path);
+void M_ReadMisObj(void);
// Custom Utilities for Filepath Handling
void *M_Calloc(size_t n1, size_t n2);
@@ -40,6 +51,7 @@ void M_NormalizeSlashes(char *str); int M_StringAlloc(char **str, int numstrs, size_t extra, const char *str1, ...);
char *M_SafeFilePath(const char *basepath, const char *newcomponent);
char M_GetFilePath(const char *fn, char *dest, size_t len);
+void M_CreateSaveDirs(const char *savedir);
#endif
|