(svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.

-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
This commit is contained in:
rubidium
2007-06-17 15:48:57 +00:00
parent 5fdde681c2
commit 347c28b71a
25 changed files with 427 additions and 274 deletions

View File

@@ -5,6 +5,8 @@
#ifndef SAVELOAD_H
#define SAVELOAD_H
#include "fileio.h"
#ifdef SIZE_MAX
#undef SIZE_MAX
#endif
@@ -26,7 +28,7 @@ enum SaveOrLoadMode {
SL_BMP = 4,
};
SaveOrLoadResult SaveOrLoad(const char *filename, int mode);
SaveOrLoadResult SaveOrLoad(const char *filename, int mode, Subdirectory sb);
void WaitTillSaved();
void DoExitSave();