aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--inc/cub3d_structs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 1bf2bca..2f032e0 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -23,8 +23,8 @@ typedef struct s_win
uint8_t inited;
uint16_t x_max_size;
uint16_t y_max_size;
- uint16_t x_size;
- uint16_t y_size;
+ uint32_t x_size;
+ uint32_t y_size;
} t_win;
typedef struct s_img
@@ -109,6 +109,7 @@ typedef struct s_map
typedef struct s_cub
{
uint8_t minimap;
+ char errmsg[40];
struct s_win *wlist;
struct s_player *plist;
struct s_map *mlist;