From 0e7e7ba3b64e6bccfcca85d4120f2f60f1fe05c3 Mon Sep 17 00:00:00 2001 From: James Haley Date: Thu, 10 Feb 2011 20:45:00 +0000 Subject: Restarted work on hub save code. Brought in multiple filepath handling routines from Eternity. Subversion-branch: /branches/strife-branch Subversion-revision: 2252 --- src/strife/m_saves.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/strife/m_saves.h') diff --git a/src/strife/m_saves.h b/src/strife/m_saves.h index 9b587c81..b55ffa12 100644 --- a/src/strife/m_saves.h +++ b/src/strife/m_saves.h @@ -31,8 +31,16 @@ #ifndef M_SAVES_H__ #define M_SAVES_H__ +// Strife Savegame Functions boolean M_SaveMisObj(const char *path); +// Custom Utilities for Filepath Handling +void *M_Calloc(size_t n1, size_t n2); +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); + #endif // EOF -- cgit v1.2.3