DEADSOFTWARE

portability: avoid errors on some compilers
[flatwaifu.git] / src / game.h
index adbc7574a2c3dce2613fe6f2b38b50280ce718e0..8c0304c468e0323f69338842df60b0aa60761c9e 100644 (file)
@@ -1,10 +1,31 @@
+/* Copyright (C) 1996-1997 Aleksey Volynskov
+ * Copyright (C) 2011 Rambo
+ * Copyright (C) 2020 SovietPony
+ *
+ * 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/>.
+ */
+
 #ifndef GAME_H_INLUDED
 #define GAME_H_INLUDED
 
 #include "glob.h"
-#include "view.h" // pos_t
 #include "player.h" // player_t
 
+typedef struct {
+  int x, y;
+  byte d;
+} pos_t;
+
 extern byte transdraw;
 extern byte _2pl;
 extern byte g_dm;