src/gfxinit.c
branchcustombridgeheads
changeset 5648 1608018c5ff2
parent 5645 72ebd9e4cd64
equal deleted inserted replaced
5647:cbde85c8c878 5648:1608018c5ff2
   172 
   172 
   173 	for (i = 0; i < 2; i++) if (FileMD5(files_win.basic[i], true)) win++;
   173 	for (i = 0; i < 2; i++) if (FileMD5(files_win.basic[i], true)) win++;
   174 	for (i = 0; i < 3; i++) if (FileMD5(files_win.landscape[i], true)) win++;
   174 	for (i = 0; i < 3; i++) if (FileMD5(files_win.landscape[i], true)) win++;
   175 
   175 
   176 	if (!FileMD5(sample_cat_win, false) && !FileMD5(sample_cat_dos, false))
   176 	if (!FileMD5(sample_cat_win, false) && !FileMD5(sample_cat_dos, false))
   177 		fprintf(stderr, "Your sample.cat file is corrupted or missing!\n");
   177 		ShowInfo("Your 'sample.cat' file is corrupted or missing!");
   178 
   178 
   179 	for (i = 0; i < lengthof(files_openttd); i++) {
   179 	for (i = 0; i < lengthof(files_openttd); i++) {
   180 		if (!FileMD5(files_openttd[i], false)) {
   180 		if (!FileMD5(files_openttd[i], false)) {
   181 			fprintf(stderr, "Your %s file is corrupted or missing!\n", files_openttd[i].filename);
   181 			ShowInfoF("Your '%s' file is corrupted or missing!", files_openttd[i].filename);
   182 		}
   182 		}
   183 	}
   183 	}
   184 
   184 
   185 	/*
   185 	/*
   186 	 * forced DOS palette via command line -> leave it that way
   186 	 * forced DOS palette via command line -> leave it that way