X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fa8.c;h=e6ebb4f16742e79a418cbd824330176f127319ea;hb=3d9acf8660ae1f0148c8578b8e9ca168795deec4;hp=7b461c9c43a4203e1d3052c21f98767a9adb9236;hpb=ef16dea09f87b15fc6d58fae0aa0832e0648c00e;p=flatwaifu.git diff --git a/src/a8.c b/src/a8.c index 7b461c9..e6ebb4f 100644 --- a/src/a8.c +++ b/src/a8.c @@ -214,7 +214,7 @@ int A8_nextframe(void) { p=draw2(p); break; default: - ERR_fatal("Плохой блок в файле A8"); + ERR_fatal("Bad block in A8 file"); } ++frame; return 1; @@ -279,10 +279,10 @@ int A8_start(char *nm) { } sprintf(s,"%sA8\\%s.A8",cd_path,nm); if((fh=fopen(s,"rb"))==NULL) { - ERR_fatal("Не могу открыть файл %s",s); + ERR_fatal("Unable to open file %s",s); } myfread(&ah,1,sizeof(ah)-4,fh); - if(ah.id!=A8_ID || ah.ver!=0) ERR_fatal("Испорченный файл A8 %s",s); + if(ah.id!=A8_ID || ah.ver!=0) ERR_fatal("Bad A8 file %s",s); fseek(fh,0,SEEK_END); fsz=ftell(fh)-sizeof(ah)+4; fseek(fh,sizeof(ah)-4,SEEK_SET);