summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6b61ca6)
raw | patch | inline | side by side (parent: 6b61ca6)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Tue, 6 Apr 2021 09:40:25 +0000 (12:40 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Tue, 6 Apr 2021 09:40:25 +0000 (12:40 +0300) |
src/game.h | patch | blob | history | |
src/view.h | patch | blob | history |
diff --git a/src/game.h b/src/game.h
index 0d7d89c69f69e0ce274151b6628c57953dfac9b9..8c0304c468e0323f69338842df60b0aa60761c9e 100644 (file)
--- a/src/game.h
+++ b/src/game.h
#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 914abd7e604d58a55a6fea4fb39e72bf7a56b118..cc4087e16c65fe840ddb8715da3790f238469140 100644 (file)
--- a/src/view.h
+++ b/src/view.h
#define VIEW_H_INCLUDED
#include "glob.h"
-#include <stdio.h> // FILE
#define FLDW 100
#define FLDH 100
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];