summaryrefslogtreecommitdiff
path: root/src/strife/m_saves.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/strife/m_saves.h')
-rw-r--r--src/strife/m_saves.h14
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