(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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user