DEADSOFTWARE

portability: avoid errors on some compilers
[flatwaifu.git] / src / anim.c
index bd02b2176cedc659578e6beeb2295a19853ab976..c5caade4781e741a0d99c389e4c3bb9539db7e13 100644 (file)
@@ -1,24 +1,18 @@
-/*
-   Copyright (C) Prikol Software 1996-1997
-   Copyright (C) Aleksey Volynskov 1996-1997
-   Copyright (C) <ARembo@gmail.com> 2011
-
-   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.
+/* 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 <http://www.gnu.org/licenses/>.
+ */
 
-   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 <http://www.gnu.org/licenses/> or
-   write to the Free Software Foundation, Inc.,
-   51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
-*/
 /*
 
 #include "glob.h"
@@ -27,6 +21,7 @@
 #include <vga.h>
 //#include <keyb.h>
 #include "error.h"
+#include "anim.h"
 
 enum{AB_END,AB_SCREEN,AB_UPDATE};
 
@@ -99,10 +94,10 @@ int ANM_play(void) {
               u=line(y*320*SQ,u);
           }else{y+=*u+1;++u;}
         break;
-      default: ERR_fatal("\8f«®å®© ANM-ä ©«");
+      default: ERR_fatal("Bad ANM-file");
     }
     anm=((anm_blk_t*)((byte*)anm+anm->len))+1;
   if(anm->t==AB_END) return 0;
   return 1;
 }
-*/
\ No newline at end of file
+*/