mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
provide sensible path for saved files on win32 so state can be preserved
This commit is contained in:
parent
32454235cc
commit
d601ba3488
1 changed files with 11 additions and 6 deletions
|
@ -49,12 +49,17 @@
|
|||
#include "debhacks.h"
|
||||
|
||||
#define MAX_LOADSTRING 100
|
||||
/* #define PREFSFILENAME L"\\My Documents\\Personal\\.xwprefs" */
|
||||
/* #define UNSAVEDGAMEFILENAME "\\My Documents\\Personal\\_newgame" */
|
||||
#define DEFAULT_DIR_NAME L"\\My Documents\\Crosswords"
|
||||
/* #define PREFSFILENAME L"\\My Documents\\Crosswords\\.xwprefs" */
|
||||
#define PREFSFILENAME L"\\My Documents\\Crosswords\\xwprefs"
|
||||
#define UNSAVEDGAMEFILENAME "\\My Documents\\Crosswords\\_newgame"
|
||||
|
||||
#ifdef _WIN32_WCE
|
||||
# define DEFAULT_DIR_NAME L"\\My Documents\\Crosswords"
|
||||
# define PREFSFILENAME L"\\My Documents\\Crosswords\\xwprefs"
|
||||
# define UNSAVEDGAMEFILENAME "\\My Documents\\Crosswords\\_newgame"
|
||||
#else
|
||||
# define DEFAULT_DIR_NAME L"."
|
||||
# define PREFSFILENAME L".\\xwprefs"
|
||||
# define UNSAVEDGAMEFILENAME ".\\_newgame"
|
||||
#endif
|
||||
|
||||
#define SCROLLBAR_WIDTH 12
|
||||
#define SCROLLBARID 0x4321 /* needs to be unique! */
|
||||
|
||||
|
|
Loading…
Reference in a new issue