From: DeaDDooMER Date: Tue, 6 Apr 2021 09:40:25 +0000 (+0300) Subject: cosmetix: cleanup view.h X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=ca64d4165dd79ead16edd9a79f35e3b1cf48e557;p=flatwaifu.git cosmetix: cleanup view.h --- diff --git a/src/game.h b/src/game.h index 0d7d89c..8c0304c 100644 --- a/src/game.h +++ b/src/game.h @@ -19,9 +19,13 @@ #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; diff --git a/src/view.h b/src/view.h index 914abd7..cc4087e 100644 --- a/src/view.h +++ b/src/view.h @@ -19,7 +19,6 @@ #define VIEW_H_INCLUDED #include "glob.h" -#include // FILE #define FLDW 100 #define FLDH 100 @@ -44,16 +43,6 @@ typedef struct { int r, h; // radius, height } obj_t; -typedef struct { - int x, y; - byte d; -} pos_t; - -typedef struct { - char n[8]; - char t; -} wall_t; - extern int sky_type; extern dword walf[256]; extern byte fldb[FLDH][FLDW];