strcpy(filename, st_dir);
/* Open the high score file: */
-#ifdef LINUX
-
+#ifndef WIN32
strcat(filename, "/highscore");
#else
-#ifdef WIN32
-
strcat(filename, "/st_highscore.dat");
#endif
-#endif
/* Try opening the file: */
{
FILE * fi;
char temp[128];
- int c, i, strl;
+ int strl;
+ unsigned int i, c;
hs_score = 100;
strcpy(hs_name, "Grandma\0");
FILE * fi;
- texture_load(&bkgd, DATA_PREFIX "/images/highscore/highscore.png", IGNORE_ALPHA);
+ texture_load(&bkgd, datadir + "/images/highscore/highscore.png", IGNORE_ALPHA);
hs_score = score;