X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fa8.c;h=e6ebb4f16742e79a418cbd824330176f127319ea;hb=refs%2Fheads%2Frenders;hp=855ec1e6f71d2aaccea2deca1941c6d1d37fee9a;hpb=2bb81ea2565c3627c954b5c37326db89b0048472;p=flatwaifu.git
diff --git a/src/a8.c b/src/a8.c
index 855ec1e..e6ebb4f 100644
--- a/src/a8.c
+++ b/src/a8.c
@@ -1,23 +1,17 @@
-/*
- Copyright (C) Prikol Software 1996-1997
- Copyright (C) Aleksey Volynskov 1996-1997
-
- This file is part of the Doom2D:Rembo project.
-
- Doom2D:Rembo is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License version 2 as
- published by the Free Software Foundation.
-
- Doom2D:Rembo is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, see or
- write to the Free Software Foundation, Inc.,
- 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
+/* Copyright (C) 1996-1997 Aleksey Volynskov
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 3 of the License ONLY.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
/*
#include "glob.h"
@@ -220,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;
@@ -285,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);