(svn r14151) -Codechange: make it possible to choose between the DOS and Windows graphics packs while retaining the possibility to override the palette.
add_pos+=snprintf(add_pos,ERROR_MESSAGE_LENGTH,"Your '%s' file is corrupted or missing! You can find '%s' on your Transport Tycoon Deluxe CD-ROM.\n",files->basic[i].filename,files->basic[i].filename);
add_pos+=snprintf(add_pos,ERROR_MESSAGE_LENGTH,"Your '%s' file is corrupted or missing! %s.\n",graphics->basic[i].filename,graphics->base_missing);
}
}
}
}
for(uinti=0;i<lengthof(files->landscape);i++){
for(uinti=0;i<lengthof(graphics->landscape);i++){
if(!FileMD5(files->landscape[i])){
if(!FileMD5(graphics->landscape[i])){
add_pos+=snprintf(add_pos,ERROR_MESSAGE_LENGTH,"Your '%s' file is corrupted or missing! You can find '%s' on your Transport Tycoon Deluxe CD-ROM.\n",files->landscape[i].filename,files->landscape[i].filename);
add_pos+=snprintf(add_pos,ERROR_MESSAGE_LENGTH,"Your '%s' file is corrupted or missing! %s\n",graphics->landscape[i].filename,graphics->base_missing);
add_pos+=snprintf(add_pos,ERROR_MESSAGE_LENGTH,"Your 'sample.cat' file is corrupted or missing! You can find 'sample.cat' on your Transport Tycoon Deluxe CD-ROM.\n");
add_pos+=snprintf(add_pos,ERROR_MESSAGE_LENGTH,"Your 'sample.cat' file is corrupted or missing! You can find 'sample.cat' on your Transport Tycoon Deluxe CD-ROM.\n");
}
}
if(!FileMD5(files->openttd)){
if(!FileMD5(graphics->extra)){
add_pos+=snprintf(add_pos,ERROR_MESSAGE_LENGTH,"Your '%s' file is corrupted or missing! The file was part of your installation.\n",files->openttd.filename);
add_pos+=snprintf(add_pos,ERROR_MESSAGE_LENGTH,"Your '%s' file is corrupted or missing! %s\n",graphics->extra.filename,graphics->extra_missing);