X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fa8.c;h=7b461c9c43a4203e1d3052c21f98767a9adb9236;hb=refs%2Fheads%2Frenders;hp=2203b5226ac0fc5e578f840366c5d632e98c7429;hpb=584adc9c1911a6941ef07443a6fc6ff922d7c8ea;p=flatwaifu.git
diff --git a/src/a8.c b/src/a8.c
index 2203b52..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"
@@ -31,6 +25,7 @@
#include "error.h"
#include "files.h"
#include "sound.h"
+#include "a8.h"
*/
/*
@@ -219,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;
@@ -284,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);