X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ffiles.c;h=be7bd1a1aa84b01c27732517fb0798904c88d193;hb=c56ae03b51200429cfa20db7d61cfe907dc2e26e;hp=dfd9c85fd5f2c019e794011a0056d565b3703eb1;hpb=e6fa0d1ce485a8a23d282fa9fbbd61474044af2b;p=rocksndiamonds.git diff --git a/src/files.c b/src/files.c index dfd9c85f..be7bd1a1 100644 --- a/src/files.c +++ b/src/files.c @@ -58,8 +58,9 @@ #define LEVELSETUP_FILENAME "lvlsetup.cnf" #define LEVELINFO_FILENAME "lvlinfo.cnf" #define LEVELFILE_EXTENSION "lvl" -#define TAPEFILE_EXTENSION "rec" +#define TAPEFILE_EXTENSION "tap" #define SCOREFILE_EXTENSION "sco" +#define ERROR_FILENAME "error.out" #endif /* file permissions for newly written files */ @@ -80,7 +81,7 @@ static char *getGlobalDataDir() return GAME_DIR; } -static char *getUserDataDir() +char *getUserDataDir() { static char *userdata_dir = NULL; @@ -698,7 +699,7 @@ void LoadScore(int level_nr) /* always start with reliable default values */ for(i=0; i