int junk;
Boolean singleList;
+char *homeDir;\r
void EnsureOnScreen(int *x, int *y, int minX, int minY);
char StringGet(void *getClosure);
{ "defaultCacheSizeEGTB", ArgInt, (void *) &appData.defaultCacheSizeEGTB, TRUE, (ArgIniType) 4 },
{ "defaultPathEGTB", ArgFilename, (void *) &appData.defaultPathEGTB, TRUE, (ArgIniType) "c:\\egtb" },
{ "language", ArgFilename, (void *) &appData.language, TRUE, (ArgIniType) "" },
+ { "userFileDirectory", ArgFilename, (void *) &homeDir, FALSE, (ArgIniType) installDir },
// [HGM] tournament options
{ "tourney", ArgFilename, (void *) &appData.tourneyFile, FALSE, (ArgIniType) "" },
Boolean GLT_GetFromList( int index, char *name );
extern char lpUserGLT[];
-extern char homeDir[];
+extern char *homeDir;
/* these are in wgamelist.c */
void GameListPopUp P((FILE *fp, char *filename));
char *settingsFileName;\r
Boolean saveSettingsOnExit;\r
char installDir[MSG_SIZ];\r
-char homeDir[MSG_SIZ];\r
int errorExitStatus;\r
\r
BoardSize boardSize;\r
} else {\r
GetCurrentDirectory(MSG_SIZ, installDir);\r
}\r
- safeStrCpy(homeDir, installDir, MSG_SIZ);\r
gameInfo.boardWidth = gameInfo.boardHeight = 8; // [HGM] won't have open window otherwise\r
screenWidth = screenHeight = 1000; // [HGM] placement: kludge to allow calling EnsureOnScreen from InitAppData\r
InitAppData(lpCmdLine); /* Get run-time parameters */\r