aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--inc/cub3d_structs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index eee6188..1bf2bca 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -34,6 +34,11 @@ typedef struct s_img
int bpp;
int sizeline;
int endian;
+ int img_w;
+ int img_h;
+ int tex_x;
+ int tex_y;
+
} t_img;
typedef struct s_rgb
@@ -111,6 +116,7 @@ typedef struct s_cub
struct s_img img;
struct s_rgb f_rgb;
struct s_rgb c_rgb;
+ struct s_img tlist[5];
} t_cub;
# endif