DEADSOFTWARE

openal: remove dependency on SDL
[flatwaifu.git] / src / files.h
index 1dfd0cb2a902dcaa7ac86c674a1fa5668f67d044..5603209689f209514f8f61d06dc1f7454fffd977 100644 (file)
 #define FILES_H_INCLUDED
 
 #include "glob.h"
-#include <stdio.h> // FILE
-#include "map.h" // map_block_t
 
+#define SAVE_MAX 7
+#define SAVE_MAXLEN 24
+
+extern char savname[SAVE_MAX][SAVE_MAXLEN];
+extern char savok[SAVE_MAX];
 extern int d_start, d_end;
 
-void F_startup (void);
 void F_addwad (const char *fn);
 void F_initwads (void);
-void F_allocres (void);
-void F_loadres (int r, void *p);
 int F_findres (const char n[8]);
 int F_getresid (const char n[8]);
 void F_getresname (char n[8], int r);
 int F_getsprid (const char n[4], int s, int d, char *dir);
 int F_getreslen (int r);
-void F_nextmus (char *s);
-void F_randmus (char *s);
-void F_readstr (FILE* h, char *s, int m);
+
+// void F_nextmus (char *s);
+// void F_randmus (char *s);
 
 void F_loadmap (char n[8]);
 
+void F_getsavnames (void);
+void F_savegame (int n, char *s);
+void F_loadgame (int n);
+
 #endif /* FILES_H_INCLUDED */