From 90c93c385af0fbe3c279b805dc64b84910075231 Mon Sep 17 00:00:00 2001
From: Rudy Bousset <rbousset@z2r4p3.le-101.fr>
Date: Mon, 9 Mar 2020 20:28:38 +0100
Subject: in progress

---
 inc/cub3d_structs.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'inc')

diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index d650110..845ae31 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -186,6 +186,7 @@ typedef struct			s_map
 	uint8_t				ismusic;
 	uint8_t				isftex;
 	uint8_t				isctex;
+	uint8_t				isskybox;
 	uint8_t				darklvl;
 	uint8_t				scale;
 	uint32_t			nlx;
@@ -208,7 +209,7 @@ typedef struct			s_cub
 	pid_t				mpid;
 	int					(*key_ptr[6])(struct s_cub*);
 	int8_t				(*get_ptr[12])(char**, struct s_cub*);
-	char				ref[13][3];
+	char				ref[14][3];
 	struct s_win		wlist;
 	struct s_player		plist;
 	struct s_map		mlist;
-- 
cgit v1.2.3


From 35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4 Mon Sep 17 00:00:00 2001
From: Rudy Bousset <rbousset@z2r4p3.le-101.fr>
Date: Mon, 9 Mar 2020 20:42:04 +0100
Subject: In progress, Makefile was bav back then

---
 inc/cub3d.h         | 1 +
 inc/cub3d_structs.h | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

(limited to 'inc')

diff --git a/inc/cub3d.h b/inc/cub3d.h
index f255b00..6201b91 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -99,6 +99,7 @@ int8_t			ft_get_c_color(char **words, t_cub *clist);
 int8_t			ft_get_c_tex(char **words, t_cub *clist);
 int8_t			ft_get_darkness(char **words, t_cub *clist);
 int8_t			ft_get_path_nl(char **words, t_cub *clist);
+int8_t			ft_get_skybox(char **words, t_cub *clist);
 int8_t			ft_get_tex_nl(char **words, t_cub *clist);
 int8_t			ft_get_music(char **words, t_cub *clist);
 size_t			ft_get_map_h(char **map);
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 845ae31..773c783 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -167,6 +167,7 @@ typedef struct			s_map
 	char				*fl_tex_path;
 	char				*ce_tex_path;
 	char				*nlevel_path;
+	char				*skybox_path;
 	char				*music_path;
 	char				*music_cmd;
 	char				*mapl;
@@ -208,7 +209,7 @@ typedef struct			s_cub
 	int32_t				key_input[5];
 	pid_t				mpid;
 	int					(*key_ptr[6])(struct s_cub*);
-	int8_t				(*get_ptr[12])(char**, struct s_cub*);
+	int8_t				(*get_ptr[13])(char**, struct s_cub*);
 	char				ref[14][3];
 	struct s_win		wlist;
 	struct s_player		plist;
-- 
cgit v1.2.3


From fcf4c36c2027d268afd7925785e8588fcb2d920c Mon Sep 17 00:00:00 2001
From: Rudy Bousset <rbousset@z2r4p3.le-101.fr>
Date: Mon, 9 Mar 2020 20:50:36 +0100
Subject: Not done

---
 inc/cub3d_defines.h | 1 +
 1 file changed, 1 insertion(+)

(limited to 'inc')

diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h
index b3dd986..edc3dec 100644
--- a/inc/cub3d_defines.h
+++ b/inc/cub3d_defines.h
@@ -162,6 +162,7 @@ enum
 #	define FT_ERR_RD_EA			"could not find east side texture file"
 #	define FT_ERR_RD_WE			"could not find west side texture file"
 #	define FT_ERR_RD_SP			"could not find sprite texture file"
+#	define FT_ERR_RD_SB			"could not find skybox file"
 #	define FT_ERR_RD_NL_TEX		"could not find next level texture file"
 #	define FT_ERR_RD_NL_MAP		"could not find next level map file"
 #	define FT_ERR_RD_MUSIC		"could not find music file"
-- 
cgit v1.2.3


From e821fb7ab1232349f0be023b08dafee75da02ea9 Mon Sep 17 00:00:00 2001
From: Rudy Bousset <rbousset@z2r4p3.le-101.fr>
Date: Mon, 9 Mar 2020 21:01:07 +0100
Subject: Almost there

---
 inc/cub3d.h | 1 +
 1 file changed, 1 insertion(+)

(limited to 'inc')

diff --git a/inc/cub3d.h b/inc/cub3d.h
index 6201b91..7de1df7 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -77,6 +77,7 @@ void			ft_sprite_height(t_cub *cl, t_sprite *sprite);
 void			ft_calc_sprite(t_cub *cl);
 void			ft_draw_sprite(t_cub *cl, t_sprite *sprite);
 void			ft_get_sprite_spawn(t_cub *cl);
+void			ft_draw_skybox(t_cub *cl);
 
 /*
 ** ====== PARSING ======
-- 
cgit v1.2.3


From fa363a935fab25f9150378e2b1e03dc745cf3255 Mon Sep 17 00:00:00 2001
From: Rudy Bousset <rbousset@z2r4p3.le-101.fr>
Date: Tue, 10 Mar 2020 02:53:17 +0100
Subject: updated larry world

---
 inc/cub3d_structs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'inc')

diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 773c783..f1dfdfc 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -219,7 +219,7 @@ typedef struct			s_cub
 	struct s_rgb		f_rgb;
 	struct s_rgb		c_rgb;
 	struct s_img		tlist[8];
-	struct s_sprite		sprites[12];
+	struct s_sprite		sprites[4096];
 }						t_cub;
 
 #	endif
-- 
cgit v1.2.3