diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2020-02-14 18:47:19 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2020-02-14 18:47:19 +0100 |
commit | 8e6080e73661cc8747b21b1153e4336796575cf7 (patch) | |
tree | 2eaec487a73f9df1a69627cff23c42746f1b296e | |
parent | Added turn around keys (diff) | |
download | 42-cub3d-8e6080e73661cc8747b21b1153e4336796575cf7.tar.gz 42-cub3d-8e6080e73661cc8747b21b1153e4336796575cf7.tar.bz2 42-cub3d-8e6080e73661cc8747b21b1153e4336796575cf7.tar.xz 42-cub3d-8e6080e73661cc8747b21b1153e4336796575cf7.tar.zst 42-cub3d-8e6080e73661cc8747b21b1153e4336796575cf7.zip |
Norme is bav
129 files changed, 1262 insertions, 1264 deletions
@@ -41,6 +41,7 @@ SRCS_NAME += ft_init_winlx.c SRCS_NAME += ft_draw_square.c SRCS_NAME += ft_draw_map.c SRCS_NAME += ft_draw_scene.c +SRCS_NAME += ft_basic_keys.c SRCS_NAME += ft_extra_keys.c SRCS_NAME += ft_draw_verline.c SRCS_NAME += ft_print_list.c diff --git a/inc/cub3d.h b/inc/cub3d.h index 60c9bb1..699dc6a 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* cub3d.h .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:43 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:43 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* cub3d.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:20:11 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:20:12 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ # ifndef CUB3D_H @@ -46,7 +45,6 @@ # define FT_SCR_SIZE "1920x1080" # endif - /* ** ret vals: ** 1: no argv[1] @@ -83,19 +81,24 @@ int ft_check_missing(t_cub *clist); int8_t ft_check_map_line(char *line, uint8_t l, t_cub *clist); size_t ft_get_line_len(char *line); int ft_missing_error(const char *err, t_cub *clist); -uint8_t ft_free_words(char **words); int ft_map_error(t_cub *clist); +uint8_t ft_free_words(char **words); +int ft_map_error(t_cub *clist); int ft_init_winlx(t_cub *clist); void ft_draw_scene(t_cub *clist); void ft_print_list(t_cub *clist); uint32_t ft_rgb_to_hex(t_rgb rgb); t_ray ft_init_s_ray(void); void ft_detect(t_cub *cl); -int8_t ft_draw_verline(t_cub *cl, int32_t x, int32_t y1, - int32_t y2, int32_t color); +int8_t ft_draw_verline(t_cub *cl, int32_t x, + int32_t y1, int32_t y2); void ft_castray(t_cub *cl); void ft_draw_map(char **map, t_cub *clist); -int8_t ft_f1_key(t_cub *clist); -int8_t ft_left_key(t_cub *clist); -int8_t ft_right_key(t_cub *clist); +int ft_w_key(t_cub *clist); +int ft_a_key(t_cub *clist); +int ft_s_key(t_cub *clist); +int ft_d_key(t_cub *clist); +int ft_f1_key(t_cub *clist); +int ft_left_key(t_cub *clist); +int ft_right_key(t_cub *clist); # endif diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 08fc814..eab9b7e 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -1,5 +1,17 @@ -#ifndef CUB3D_STRUCTS_H -#define CUB3D_STRUCTS_H +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* cub3d_structs.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:20:05 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:20:06 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + +# ifndef CUB3D_STRUCTS_H +# define CUB3D_STRUCTS_H typedef struct s_win { @@ -99,4 +111,4 @@ typedef struct s_cub struct s_rgb c_rgb; } t_cub; -#endif +# endif diff --git a/libft/Makefile b/libft/Makefile index 051fcd7..38b33d5 100644 --- a/libft/Makefile +++ b/libft/Makefile @@ -1,16 +1,3 @@ -# **************************************************************************** # -# LE - / # -# / # -# Makefile .:: .:/ . .:: # -# +:+:+ +: +: +:+:+ # -# By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ # -# #+# #+ #+ #+# # -# Created: 2019/12/11 13:14:43 by rbousset #+# ## ## #+# # -# Updated: 2019/12/11 18:34:05 by rbousset ### #+. /#+ ###.fr # -# / # -# / # -# **************************************************************************** # - default: all #==============================================================================# #--------------------------------- Shell --------------------------------------# diff --git a/libft/inc/libft.h b/libft/inc/libft.h index 4799121..ccc1c65 100644 --- a/libft/inc/libft.h +++ b/libft/inc/libft.h @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* libft.h .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/07 18:15:13 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 14:17:02 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* libft.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ # ifndef LIBFT_H diff --git a/libft/src/ft_atoi.c b/libft/src/ft_atoi.c index 4459c1d..7a97eae 100644 --- a/libft/src/ft_atoi.c +++ b/libft/src/ft_atoi.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_atoi.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/10 05:32:13 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/15 02:16:20 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_atoi.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:22 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:24 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_bzero.c b/libft/src/ft_bzero.c index 1f09fbe..bec9e50 100644 --- a/libft/src/ft_bzero.c +++ b/libft/src/ft_bzero.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_bzero.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/08 14:04:55 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:45:28 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_bzero.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:31 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:31 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_calloc.c b/libft/src/ft_calloc.c index 4ec518e..88c5457 100644 --- a/libft/src/ft_calloc.c +++ b/libft/src/ft_calloc.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_calloc.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/11 02:47:15 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:43:53 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_calloc.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:32 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:32 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_dprintf.c b/libft/src/ft_dprintf.c index a717df5..caa28dc 100644 --- a/libft/src/ft_dprintf.c +++ b/libft/src/ft_dprintf.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_dprintf.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/01/17 14:38:00 by rbousset #+# ## ## #+# */ -/* Updated: 2020/01/17 14:38:01 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_dprintf.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:39 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:39 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_intlen.c b/libft/src/ft_intlen.c index 1ed6725..c122657 100644 --- a/libft/src/ft_intlen.c +++ b/libft/src/ft_intlen.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_intlen.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/07 02:24:29 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/07 02:24:30 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_intlen.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:39 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:39 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <inttypes.h> diff --git a/libft/src/ft_intlen_base.c b/libft/src/ft_intlen_base.c index a590f3a..47da31d 100644 --- a/libft/src/ft_intlen_base.c +++ b/libft/src/ft_intlen_base.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_intlen_base.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/19 17:22:26 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/19 17:22:27 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_intlen_base.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:39 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:39 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_isalnum.c b/libft/src/ft_isalnum.c index 1ab9ca2..e764ac6 100644 --- a/libft/src/ft_isalnum.c +++ b/libft/src/ft_isalnum.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_isalnum.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/07 18:07:44 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:45:57 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_isalnum.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:39 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:39 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_isalpha.c b/libft/src/ft_isalpha.c index 9e95bd6..562825d 100644 --- a/libft/src/ft_isalpha.c +++ b/libft/src/ft_isalpha.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_isalpha.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/07 16:45:42 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:42:03 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_isalpha.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:39 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:39 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ static int diff --git a/libft/src/ft_isascii.c b/libft/src/ft_isascii.c index 937ead5..8d2f3f2 100644 --- a/libft/src/ft_isascii.c +++ b/libft/src/ft_isascii.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_isascii.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/07 18:18:31 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:41:32 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_isascii.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:39 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:39 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ int diff --git a/libft/src/ft_ischarset.c b/libft/src/ft_ischarset.c index 8eea456..95b9172 100644 --- a/libft/src/ft_ischarset.c +++ b/libft/src/ft_ischarset.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_ischarset.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/22 16:52:31 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/22 16:52:32 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_ischarset.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:39 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:39 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_isdigit.c b/libft/src/ft_isdigit.c index 52ededc..ebe1f40 100644 --- a/libft/src/ft_isdigit.c +++ b/libft/src/ft_isdigit.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_isdigit.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/07 17:46:41 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:41:27 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_isdigit.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:39 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:39 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ int diff --git a/libft/src/ft_isprint.c b/libft/src/ft_isprint.c index d82ded0..12fdb7a 100644 --- a/libft/src/ft_isprint.c +++ b/libft/src/ft_isprint.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_isprint.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/07 18:23:39 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:41:21 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_isprint.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:40 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:40 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ int diff --git a/libft/src/ft_isspace.c b/libft/src/ft_isspace.c index c9cf255..188e94a 100644 --- a/libft/src/ft_isspace.c +++ b/libft/src/ft_isspace.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_isspace.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/10 05:57:19 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:44:18 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_isspace.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:40 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:40 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <inttypes.h> diff --git a/libft/src/ft_itoa.c b/libft/src/ft_itoa.c index f70f889..e10fbab 100644 --- a/libft/src/ft_itoa.c +++ b/libft/src/ft_itoa.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_itoa.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 02:22:48 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 13:35:46 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_itoa.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:40 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:40 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_itoa_base.c b/libft/src/ft_itoa_base.c index 37b792b..f3abe46 100644 --- a/libft/src/ft_itoa_base.c +++ b/libft/src/ft_itoa_base.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_itoa_base.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:28:40 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:28:43 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_itoa_base.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:40 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:40 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_kernel_panic.c b/libft/src/ft_kernel_panic.c index 06ea43e..437a79a 100644 --- a/libft/src/ft_kernel_panic.c +++ b/libft/src/ft_kernel_panic.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_kernel_panic.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/11 18:26:08 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/11 18:26:09 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_kernel_panic.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:40 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:40 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_lstadd_back.c b/libft/src/ft_lstadd_back.c index 1c8aeeb..3f031ab 100644 --- a/libft/src/ft_lstadd_back.c +++ b/libft/src/ft_lstadd_back.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_lstadd_back.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 10:04:16 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 10:11:08 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_lstadd_back.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:40 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:40 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_lstadd_front.c b/libft/src/ft_lstadd_front.c index 796740b..fac38cc 100644 --- a/libft/src/ft_lstadd_front.c +++ b/libft/src/ft_lstadd_front.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_lstadd_front.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 09:31:45 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 10:11:10 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_lstadd_front.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:40 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:40 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_lstclear.c b/libft/src/ft_lstclear.c index 936672d..10a6d91 100644 --- a/libft/src/ft_lstclear.c +++ b/libft/src/ft_lstclear.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_lstclear.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 10:19:53 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 13:52:03 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_lstclear.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:41 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:41 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_lstdelone.c b/libft/src/ft_lstdelone.c index 47f0669..3653e70 100644 --- a/libft/src/ft_lstdelone.c +++ b/libft/src/ft_lstdelone.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_lstdelone.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 10:11:20 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 10:18:40 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_lstdelone.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:41 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:41 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_lstiter.c b/libft/src/ft_lstiter.c index 2570cf0..72810c9 100644 --- a/libft/src/ft_lstiter.c +++ b/libft/src/ft_lstiter.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_lstiter.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 10:30:22 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 11:01:22 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_lstiter.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:41 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:41 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_lstlast.c b/libft/src/ft_lstlast.c index 0ac542a..85a708b 100644 --- a/libft/src/ft_lstlast.c +++ b/libft/src/ft_lstlast.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_lstlast.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 09:53:13 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 10:11:09 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_lstlast.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:41 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:41 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_lstmap.c b/libft/src/ft_lstmap.c index 9aed5b9..b489527 100644 --- a/libft/src/ft_lstmap.c +++ b/libft/src/ft_lstmap.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_lstmap.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 10:36:15 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 11:06:32 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_lstmap.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:41 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:41 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_lstnew.c b/libft/src/ft_lstnew.c index f4a9908..9f66691 100644 --- a/libft/src/ft_lstnew.c +++ b/libft/src/ft_lstnew.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_lstnew.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 09:25:56 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 10:56:17 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_lstnew.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:41 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:41 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_lstsize.c b/libft/src/ft_lstsize.c index 0c71a69..7134a9f 100644 --- a/libft/src/ft_lstsize.c +++ b/libft/src/ft_lstsize.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_lstsize.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 09:45:10 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 09:51:16 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_lstsize.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:41 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:41 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_memccpy.c b/libft/src/ft_memccpy.c index a029e7d..70f8226 100644 --- a/libft/src/ft_memccpy.c +++ b/libft/src/ft_memccpy.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_memccpy.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/08 14:59:46 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:40:44 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_memccpy.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:41 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:41 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <stddef.h> diff --git a/libft/src/ft_memchr.c b/libft/src/ft_memchr.c index 8dfb477..8917427 100644 --- a/libft/src/ft_memchr.c +++ b/libft/src/ft_memchr.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_memchr.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/08 19:14:54 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/10 18:34:21 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_memchr.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:42 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:42 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <stddef.h> diff --git a/libft/src/ft_memcmp.c b/libft/src/ft_memcmp.c index 96f21c4..39fbdf6 100644 --- a/libft/src/ft_memcmp.c +++ b/libft/src/ft_memcmp.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_memcmp.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/08 19:23:43 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:40:10 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_memcmp.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:42 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:42 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <stddef.h> diff --git a/libft/src/ft_memcpy.c b/libft/src/ft_memcpy.c index 49a1ff7..1357f2e 100644 --- a/libft/src/ft_memcpy.c +++ b/libft/src/ft_memcpy.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_memcpy.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/08 14:17:11 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:39:01 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_memcpy.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:42 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:42 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_memdel.c b/libft/src/ft_memdel.c index a15e494..38d6e08 100644 --- a/libft/src/ft_memdel.c +++ b/libft/src/ft_memdel.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_memdel.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/01/09 15:58:16 by rbousset #+# ## ## #+# */ -/* Updated: 2020/01/09 15:58:17 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_memdel.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:42 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:42 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <stdlib.h> diff --git a/libft/src/ft_memlchr.c b/libft/src/ft_memlchr.c index 1123743..643affc 100644 --- a/libft/src/ft_memlchr.c +++ b/libft/src/ft_memlchr.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_memlchr.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/11 16:50:58 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/11 16:50:59 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_memlchr.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:42 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:42 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_memmove.c b/libft/src/ft_memmove.c index dee44f3..1aa3588 100644 --- a/libft/src/ft_memmove.c +++ b/libft/src/ft_memmove.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_memmove.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/08 18:57:44 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:38:47 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_memmove.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:42 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:42 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_memset.c b/libft/src/ft_memset.c index 1498ae6..e53cf38 100644 --- a/libft/src/ft_memset.c +++ b/libft/src/ft_memset.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_memset.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/08 13:41:09 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:38:10 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_memset.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:42 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:42 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <stddef.h> diff --git a/libft/src/ft_nrealloc.c b/libft/src/ft_nrealloc.c index 96d5ad1..ea13f19 100644 --- a/libft/src/ft_nrealloc.c +++ b/libft/src/ft_nrealloc.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_nrealloc.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/01/09 15:58:24 by rbousset #+# ## ## #+# */ -/* Updated: 2020/01/09 15:58:25 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_nrealloc.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:43 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:43 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_nstr.c b/libft/src/ft_nstr.c index 8919e64..7b09053 100644 --- a/libft/src/ft_nstr.c +++ b/libft/src/ft_nstr.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_nstr.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/07 04:23:30 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/07 04:23:32 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_nstr.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:43 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:43 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <stdlib.h> diff --git a/libft/src/ft_printf.c b/libft/src/ft_printf.c index a37d76e..ec1922f 100644 --- a/libft/src/ft_printf.c +++ b/libft/src/ft_printf.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/15 06:17:50 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/15 06:17:51 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:43 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:43 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_cat_output.c b/libft/src/ft_printf_cat_output.c index 19e6cf1..f340109 100644 --- a/libft/src/ft_printf_cat_output.c +++ b/libft/src/ft_printf_cat_output.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_cat_output.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:40:18 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:40:19 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_cat_output.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:43 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:43 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_flag_to_atoi.c b/libft/src/ft_printf_flag_to_atoi.c index f6b2d8a..2f3c6e7 100644 --- a/libft/src/ft_printf_flag_to_atoi.c +++ b/libft/src/ft_printf_flag_to_atoi.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_flag_to_atoi.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:40:21 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:40:22 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_flag_to_atoi.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:43 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:43 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_get_flags.c b/libft/src/ft_printf_get_flags.c index 8dffd9a..ca49206 100644 --- a/libft/src/ft_printf_get_flags.c +++ b/libft/src/ft_printf_get_flags.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_get_flags.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:40:22 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:40:23 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_get_flags.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:43 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:43 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_get_s_putlen.c b/libft/src/ft_printf_get_s_putlen.c index 5d0dfdf..3f26a90 100644 --- a/libft/src/ft_printf_get_s_putlen.c +++ b/libft/src/ft_printf_get_s_putlen.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_get_s_putlen.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:40:24 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:40:25 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_get_s_putlen.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:43 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:43 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_get_width_nstr.c b/libft/src/ft_printf_get_width_nstr.c index cb1b665..2aec3b8 100644 --- a/libft/src/ft_printf_get_width_nstr.c +++ b/libft/src/ft_printf_get_width_nstr.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_get_width_nstr.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/01/02 15:58:53 by rbousset #+# ## ## #+# */ -/* Updated: 2020/01/02 15:58:56 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_get_width_nstr.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:44 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:44 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_init_struct.c b/libft/src/ft_printf_init_struct.c index 44c9931..8c65046 100644 --- a/libft/src/ft_printf_init_struct.c +++ b/libft/src/ft_printf_init_struct.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_init_struct.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:40:28 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:40:29 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_init_struct.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:44 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:44 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_parts.c b/libft/src/ft_printf_parts.c index 8c83936..f29d680 100644 --- a/libft/src/ft_printf_parts.c +++ b/libft/src/ft_printf_parts.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_parts.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:40:35 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:40:37 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_parts.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:44 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:44 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_process.c b/libft/src/ft_printf_process.c index 6979ad6..92f4601 100644 --- a/libft/src/ft_printf_process.c +++ b/libft/src/ft_printf_process.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_process.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/13 00:32:59 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/13 00:33:04 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_process.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:44 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:44 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_put_char.c b/libft/src/ft_printf_put_char.c index 111ffa8..f9cc6e5 100644 --- a/libft/src/ft_printf_put_char.c +++ b/libft/src/ft_printf_put_char.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_put_char.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:40:40 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:40:41 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_put_char.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:44 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:44 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_put_hex.c b/libft/src/ft_printf_put_hex.c index f204bf1..68126a4 100644 --- a/libft/src/ft_printf_put_hex.c +++ b/libft/src/ft_printf_put_hex.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_put_hex.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:40:42 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:40:43 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_put_hex.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:44 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:44 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_put_int.c b/libft/src/ft_printf_put_int.c index 6aaa49f..09b8bf6 100644 --- a/libft/src/ft_printf_put_int.c +++ b/libft/src/ft_printf_put_int.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_put_int.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:40:45 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:40:45 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_put_int.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:44 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:44 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_put_none.c b/libft/src/ft_printf_put_none.c index 871ce2b..01fd672 100644 --- a/libft/src/ft_printf_put_none.c +++ b/libft/src/ft_printf_put_none.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_put_none.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:40:47 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:40:48 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_put_none.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:45 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:45 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_put_precision.c b/libft/src/ft_printf_put_precision.c index cc237fa..af7f7b7 100644 --- a/libft/src/ft_printf_put_precision.c +++ b/libft/src/ft_printf_put_precision.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_put_precision.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:40:49 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:40:50 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_put_precision.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:45 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:45 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_put_ptr.c b/libft/src/ft_printf_put_ptr.c index 9ee7636..bd50443 100644 --- a/libft/src/ft_printf_put_ptr.c +++ b/libft/src/ft_printf_put_ptr.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_put_ptr.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:40:51 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:40:52 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_put_ptr.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:45 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:45 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_put_str.c b/libft/src/ft_printf_put_str.c index dcb732c..6834fff 100644 --- a/libft/src/ft_printf_put_str.c +++ b/libft/src/ft_printf_put_str.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_put_str.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:40:54 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:40:54 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_put_str.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:45 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:45 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_put_width.c b/libft/src/ft_printf_put_width.c index d201e82..e649a65 100644 --- a/libft/src/ft_printf_put_width.c +++ b/libft/src/ft_printf_put_width.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_put_width.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:40:56 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:40:56 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_put_width.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:45 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:45 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_treat_flags.c b/libft/src/ft_printf_treat_flags.c index 8beebca..d7b11a1 100644 --- a/libft/src/ft_printf_treat_flags.c +++ b/libft/src/ft_printf_treat_flags.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_treat_flags.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:41:01 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:41:01 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_treat_flags.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:45 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:45 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_printf_use_flags.c b/libft/src/ft_printf_use_flags.c index 4646bc6..562d499 100644 --- a/libft/src/ft_printf_use_flags.c +++ b/libft/src/ft_printf_use_flags.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_printf_use_flags.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:41:02 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:41:03 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_printf_use_flags.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:45 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:45 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_putchar.c b/libft/src/ft_putchar.c index b558ead..b48bd32 100644 --- a/libft/src/ft_putchar.c +++ b/libft/src/ft_putchar.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_putchar.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/12 15:02:55 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/15 01:10:32 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_putchar.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:56 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:56 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <unistd.h> diff --git a/libft/src/ft_putchar_fd.c b/libft/src/ft_putchar_fd.c index a8fed8f..7e32ea7 100644 --- a/libft/src/ft_putchar_fd.c +++ b/libft/src/ft_putchar_fd.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_putchar_fd.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 08:27:19 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:49:34 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_putchar_fd.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:57 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:57 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <unistd.h> diff --git a/libft/src/ft_putendl.c b/libft/src/ft_putendl.c index e2ab518..8ffbd60 100644 --- a/libft/src/ft_putendl.c +++ b/libft/src/ft_putendl.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_putendl.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/15 05:19:52 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/15 05:19:53 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_putendl.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:58 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:58 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_putendl_fd.c b/libft/src/ft_putendl_fd.c index 9b0f495..c8c6401 100644 --- a/libft/src/ft_putendl_fd.c +++ b/libft/src/ft_putendl_fd.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_putendl_fd.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 08:52:34 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 09:01:41 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_putendl_fd.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:59 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:59 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_putnbr.c b/libft/src/ft_putnbr.c index 9812f75..3aacca3 100644 --- a/libft/src/ft_putnbr.c +++ b/libft/src/ft_putnbr.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_putnbr.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/08/08 12:22:48 by rbousset #+# ## ## #+# */ -/* Updated: 2019/08/12 17:54:48 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_putnbr.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:00 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:00 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_putnbr_base.c b/libft/src/ft_putnbr_base.c index a8aaf7e..3a04cad 100644 --- a/libft/src/ft_putnbr_base.c +++ b/libft/src/ft_putnbr_base.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_putnbr_base.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/19 15:00:38 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/19 15:00:40 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_putnbr_base.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:01 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:01 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_putnbr_fd.c b/libft/src/ft_putnbr_fd.c index 3246976..437a6e6 100644 --- a/libft/src/ft_putnbr_fd.c +++ b/libft/src/ft_putnbr_fd.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_putnbr_fd.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 08:57:19 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 12:13:09 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_putnbr_fd.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:02 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:02 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_putnchar.c b/libft/src/ft_putnchar.c index 45fb7b2..5fdfc3f 100644 --- a/libft/src/ft_putnchar.c +++ b/libft/src/ft_putnchar.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_putnchar.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/22 16:52:25 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/22 16:52:26 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_putnchar.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:03 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:03 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_putstr.c b/libft/src/ft_putstr.c index 572e989..5cd7a6d 100644 --- a/libft/src/ft_putstr.c +++ b/libft/src/ft_putstr.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_putstr.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 09:05:27 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 09:07:45 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_putstr.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:03 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:03 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_putstr_fd.c b/libft/src/ft_putstr_fd.c index 068d959..ae827a1 100644 --- a/libft/src/ft_putstr_fd.c +++ b/libft/src/ft_putstr_fd.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_putstr_fd.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 08:48:25 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 09:00:42 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_putstr_fd.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:04 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:04 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_split.c b/libft/src/ft_split.c index 5a7bf2d..3035a00 100644 --- a/libft/src/ft_split.c +++ b/libft/src/ft_split.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_split.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:07:16 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:07:17 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_split.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:05 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:05 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_sprintf.c b/libft/src/ft_sprintf.c index 7cf0204..8413505 100644 --- a/libft/src/ft_sprintf.c +++ b/libft/src/ft_sprintf.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_sprintf.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/01/17 15:09:24 by rbousset #+# ## ## #+# */ -/* Updated: 2020/01/17 15:09:26 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_sprintf.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:06 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:06 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_sqrt.c b/libft/src/ft_sqrt.c index 3003e6d..ed69117 100644 --- a/libft/src/ft_sqrt.c +++ b/libft/src/ft_sqrt.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_sqrt.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/08/10 21:34:14 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/14 23:26:06 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_sqrt.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:06 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:06 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <limits.h> diff --git a/libft/src/ft_strcat.c b/libft/src/ft_strcat.c index 59084c2..b43e439 100644 --- a/libft/src/ft_strcat.c +++ b/libft/src/ft_strcat.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_strcat.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/12 16:31:34 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:44:34 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_strcat.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:07 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:07 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ char diff --git a/libft/src/ft_strchr.c b/libft/src/ft_strchr.c index f3be716..1f2e745 100644 --- a/libft/src/ft_strchr.c +++ b/libft/src/ft_strchr.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_strchr.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/07 18:39:17 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:36:43 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_strchr.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:07 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:07 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <stddef.h> diff --git a/libft/src/ft_strcmp.c b/libft/src/ft_strcmp.c index 595f349..4122ab2 100644 --- a/libft/src/ft_strcmp.c +++ b/libft/src/ft_strcmp.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_strcmp.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 13:55:24 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 13:56:42 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_strcmp.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:08 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:08 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_strdup.c b/libft/src/ft_strdup.c index 830c965..ab5b5c1 100644 --- a/libft/src/ft_strdup.c +++ b/libft/src/ft_strdup.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_strdup.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/11 05:45:32 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:36:24 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_strdup.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:09 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:09 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_strjoin.c b/libft/src/ft_strjoin.c index 2e00daf..90650d0 100644 --- a/libft/src/ft_strjoin.c +++ b/libft/src/ft_strjoin.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_strjoin.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/12 16:35:23 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:36:17 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_strjoin.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:10 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:10 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_strlcat.c b/libft/src/ft_strlcat.c index 4b6f036..b9feae1 100644 --- a/libft/src/ft_strlcat.c +++ b/libft/src/ft_strlcat.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_strlcat.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/09 06:44:30 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:36:04 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_strlcat.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:10 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:10 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_strlchr.c b/libft/src/ft_strlchr.c index 80d1308..228aa89 100644 --- a/libft/src/ft_strlchr.c +++ b/libft/src/ft_strlchr.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_strlchr.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:37:19 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:37:20 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_strlchr.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:11 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:11 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_strlcpy.c b/libft/src/ft_strlcpy.c index 9331f1c..ed4d924 100644 --- a/libft/src/ft_strlcpy.c +++ b/libft/src/ft_strlcpy.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_strlcpy.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/08 20:44:40 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:35:51 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_strlcpy.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:11 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:11 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_strlen.c b/libft/src/ft_strlen.c index 0964c64..90f5110 100644 --- a/libft/src/ft_strlen.c +++ b/libft/src/ft_strlen.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_strlen.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/07 16:32:28 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:35:37 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_strlen.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:12 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:12 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <stddef.h> diff --git a/libft/src/ft_strmapi.c b/libft/src/ft_strmapi.c index 8a47875..fe455c1 100644 --- a/libft/src/ft_strmapi.c +++ b/libft/src/ft_strmapi.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_strmapi.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 05:57:35 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:35:12 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_strmapi.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:13 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:13 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_strncmp.c b/libft/src/ft_strncmp.c index 3bccfd5..30a4562 100644 --- a/libft/src/ft_strncmp.c +++ b/libft/src/ft_strncmp.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_strncmp.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/07 20:25:31 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:35:01 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_strncmp.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:13 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:13 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <stddef.h> diff --git a/libft/src/ft_strnlen.c b/libft/src/ft_strnlen.c index d9d20a1..325fa0d 100644 --- a/libft/src/ft_strnlen.c +++ b/libft/src/ft_strnlen.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_strnlen.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/30 14:28:01 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/30 14:28:03 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_strnlen.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:14 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:14 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <stddef.h> diff --git a/libft/src/ft_strnstr.c b/libft/src/ft_strnstr.c index 711629d..58e1d0e 100644 --- a/libft/src/ft_strnstr.c +++ b/libft/src/ft_strnstr.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_strnstr.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/10 00:23:15 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:34:35 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_strnstr.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:14 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:14 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_strrchr.c b/libft/src/ft_strrchr.c index ada7470..1ebbdc3 100644 --- a/libft/src/ft_strrchr.c +++ b/libft/src/ft_strrchr.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_strrchr.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/07 19:07:53 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:34:19 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_strrchr.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:15 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:15 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_strtrim.c b/libft/src/ft_strtrim.c index 48fdad5..69fd95a 100644 --- a/libft/src/ft_strtrim.c +++ b/libft/src/ft_strtrim.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_strtrim.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/12 17:30:33 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:34:03 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_strtrim.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:15 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:15 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_substr.c b/libft/src/ft_substr.c index 0cb9733..6d94368 100644 --- a/libft/src/ft_substr.c +++ b/libft/src/ft_substr.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_substr.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/12 15:37:02 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:33:09 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_substr.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:15 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:15 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_tolower.c b/libft/src/ft_tolower.c index 48c065e..1877dbb 100644 --- a/libft/src/ft_tolower.c +++ b/libft/src/ft_tolower.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_tolower.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/07 18:32:59 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:32:22 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_tolower.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:16 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:16 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ static int diff --git a/libft/src/ft_toupper.c b/libft/src/ft_toupper.c index 3346cc3..864ef70 100644 --- a/libft/src/ft_toupper.c +++ b/libft/src/ft_toupper.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_toupper.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/07 18:25:57 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 08:32:15 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_toupper.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:16 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:16 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ static int diff --git a/libft/src/ft_uintlen.c b/libft/src/ft_uintlen.c index b788ed7..da5be7b 100644 --- a/libft/src/ft_uintlen.c +++ b/libft/src/ft_uintlen.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_uintlen.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:37:05 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:37:06 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_uintlen.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:16 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:16 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <inttypes.h> diff --git a/libft/src/ft_uintlen_base.c b/libft/src/ft_uintlen_base.c index 5d0261e..ba96a29 100644 --- a/libft/src/ft_uintlen_base.c +++ b/libft/src/ft_uintlen_base.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_uintlen_base.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:37:28 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:37:29 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_uintlen_base.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:17 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:17 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_uitoa.c b/libft/src/ft_uitoa.c index 87b2866..f1a5fa2 100644 --- a/libft/src/ft_uitoa.c +++ b/libft/src/ft_uitoa.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_uitoa.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:37:37 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:37:38 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_uitoa.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:18 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:18 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/ft_uitoa_base.c b/libft/src/ft_uitoa_base.c index 698ff6e..a931d29 100644 --- a/libft/src/ft_uitoa_base.c +++ b/libft/src/ft_uitoa_base.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_uitoa_base.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/12/31 14:37:55 by rbousset #+# ## ## #+# */ -/* Updated: 2019/12/31 14:37:56 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_uitoa_base.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:19 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:19 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/libft/src/get_next_line.c b/libft/src/get_next_line.c index e50e5fd..64ca7fc 100644 --- a/libft/src/get_next_line.c +++ b/libft/src/get_next_line.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* get_next_line.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/29 00:37:39 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/29 00:37:41 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* get_next_line.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:20 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:20 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/map/map_one.cub b/map/map_one.cub index fb74051..a8dc201 100644 --- a/map/map_one.cub +++ b/map/map_one.cub @@ -1,4 +1,4 @@ -R 800 600 +R 1200 1000 NO ./path_to_the_north_texture SO ./path_to_the_south_texture diff --git a/src/ft_basic_keys.c b/src/ft_basic_keys.c new file mode 100644 index 0000000..48fc009 --- /dev/null +++ b/src/ft_basic_keys.c @@ -0,0 +1,55 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_basic_keys.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:43:55 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:43:56 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + +#include <cub3d.h> +#include <stdint.h> + +int + ft_w_key(t_cub *clist) +{ + t_player *pl; + + pl = clist->plist; + pl->pos_y += 0.2 * (-1); + pl->pos_x += 0; + return (0); +} + +int + ft_a_key(t_cub *clist) +{ + t_player *pl; + + pl = clist->plist; + pl->pos_x -= 0.2; + return (0); +} + +int + ft_s_key(t_cub *clist) +{ + t_player *pl; + + pl = clist->plist; + pl->pos_y += 0.2; + return (0); +} + +int + ft_d_key(t_cub *clist) +{ + t_player *pl; + + pl = clist->plist; + pl->pos_x += 0.2; + return (0); +} diff --git a/src/ft_check_map_line.c b/src/ft_check_map_line.c index a53c9c8..9e4e484 100644 --- a/src/ft_check_map_line.c +++ b/src/ft_check_map_line.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_check_map_line.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:10 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:11 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_check_map_line.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:34 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:37 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_check_missing.c b/src/ft_check_missing.c index 58ef223..12da7ad 100644 --- a/src/ft_check_missing.c +++ b/src/ft_check_missing.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_check_missing.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:12 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:13 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_check_missing.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:42 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:42 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_click_close.c b/src/ft_click_close.c index db3b2e2..6c876ea 100644 --- a/src/ft_click_close.c +++ b/src/ft_click_close.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_click_close.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/09 15:12:16 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/09 15:12:17 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_click_close.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:46 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:46 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_detect.c b/src/ft_detect.c index 7153123..bfc4449 100644 --- a/src/ft_detect.c +++ b/src/ft_detect.c @@ -1,9 +1,21 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_detect.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:22:11 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:23:42 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + #include <libft.h> #include <cub3d.h> #include <math.h> static void -ft_detection_init_y(t_cub *cl) + ft_detection_init_y(t_cub *cl) { cl->rlist.y_delta_dist = sqrt(1 + (cl->rlist.x_ray_dir * cl->rlist.x_ray_dir) / (cl->rlist.y_ray_dir * @@ -23,7 +35,7 @@ ft_detection_init_y(t_cub *cl) } static void -ft_detection_init_x(t_cub *cl) + ft_detection_init_x(t_cub *cl) { cl->rlist.x_delta_dist = sqrt(1 + (cl->rlist.y_ray_dir * cl->rlist.y_ray_dir) / (cl->rlist.x_ray_dir * @@ -44,10 +56,10 @@ ft_detection_init_x(t_cub *cl) } void -ft_detect(t_cub *cl) + ft_detect(t_cub *cl) { ft_detection_init_x(cl); - cl->rlist.hit = 0; + cl->rlist.hit = 0; while (cl->rlist.hit == 0) { if (cl->rlist.x_side_dist < cl->rlist.y_side_dist) diff --git a/src/ft_draw_map.c b/src/ft_draw_map.c index da7ece2..202439b 100644 --- a/src/ft_draw_map.c +++ b/src/ft_draw_map.c @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_draw_map.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:22:18 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:23:42 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + #include <cub3d.h> #include <stdint.h> @@ -30,7 +42,7 @@ void { if (map[y][x] == '1') ft_draw_square(scale + (x * (scale)), - scale + (y * (scale)), 0x00aa99aa, clist); + scale + (y * (scale)), 0x0000ffaa, clist); else if (map[y][x] == '2') ft_draw_square(scale + (x * (scale)), scale + (y * (scale)), 0x0033ccff, clist); diff --git a/src/ft_draw_scene.c b/src/ft_draw_scene.c index 6043a55..ec2cc89 100644 --- a/src/ft_draw_scene.c +++ b/src/ft_draw_scene.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_drawmap.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:18 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:19 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_draw_scene.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:46 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:46 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> @@ -21,9 +20,9 @@ void { mlx_clear_window(clist->wlist->wlx, clist->wlist->winptr); clist->img.img = mlx_new_image(clist->wlist->wlx, - clist->wlist->x_size, clist->wlist->y_size); + clist->wlist->x_size, clist->wlist->y_size); clist->img.ptr = mlx_get_data_addr(clist->img.img, &clist->img.bpp, - &clist->img.sizeline, &clist->img.endian); + &clist->img.sizeline, &clist->img.endian); ft_castray(clist); if (clist->minimap) ft_draw_map(clist->mlist->map, clist); diff --git a/src/ft_draw_square.c b/src/ft_draw_square.c index 9f9af56..8bbce36 100644 --- a/src/ft_draw_square.c +++ b/src/ft_draw_square.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_drawsquare.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:22 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:22 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_draw_square.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:46 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:46 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <cub3d.h> diff --git a/src/ft_draw_verline.c b/src/ft_draw_verline.c index f7e5a1c..6584bcb 100644 --- a/src/ft_draw_verline.c +++ b/src/ft_draw_verline.c @@ -1,7 +1,19 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_draw_verline.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:22:23 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:23:42 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + #include <cub3d.h> static void -ft_draw_floor(t_cub *cl, int32_t y, int32_t x) + ft_draw_floor(t_cub *cl, int32_t y, int32_t x) { while (y <= cl->wlist->y_size) { @@ -12,7 +24,7 @@ ft_draw_floor(t_cub *cl, int32_t y, int32_t x) } static void -ft_draw_ceil(t_cub *cl, int32_t y, int32_t x) + ft_draw_ceil(t_cub *cl, int32_t y, int32_t x) { int16_t i; @@ -26,7 +38,7 @@ ft_draw_ceil(t_cub *cl, int32_t y, int32_t x) } int8_t -ft_draw_verline(t_cub *cl, int32_t x, int32_t y1, int32_t y2, int32_t color) + ft_draw_verline(t_cub *cl, int32_t x, int32_t y1, int32_t y2) { int32_t y; int32_t t; @@ -47,7 +59,7 @@ ft_draw_verline(t_cub *cl, int32_t x, int32_t y1, int32_t y2, int32_t color) ft_draw_ceil(cl, y, x); while (y <= y2) { - *(int*)(cl->img.ptr + (x * 4 + (y * cl->img.sizeline))) = color; + *(int*)(cl->img.ptr + (x * 4 + (y * cl->img.sizeline))) = 0x0000ffaa; y++; } ft_draw_floor(cl, y, x); diff --git a/src/ft_exit.c b/src/ft_exit.c index 8ada2e4..d4b69ba 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_exit.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:23 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:23 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_exit.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:46 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:46 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_extra_keys.c b/src/ft_extra_keys.c index c920b48..3ca8fd8 100644 --- a/src/ft_extra_keys.c +++ b/src/ft_extra_keys.c @@ -1,8 +1,20 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_extra_keys.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:22:32 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:23:42 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + #include <cub3d.h> #include <stdint.h> #include <math.h> -int8_t +int ft_left_key(t_cub *clist) { t_player *pl; @@ -21,7 +33,7 @@ int8_t return (0); } -int8_t +int ft_right_key(t_cub *clist) { t_player *pl; @@ -40,7 +52,7 @@ int8_t return (0); } -int8_t +int ft_f1_key(t_cub *clist) { if (clist->minimap == 0) diff --git a/src/ft_free_words.c b/src/ft_free_words.c index de52244..598a7ac 100644 --- a/src/ft_free_words.c +++ b/src/ft_free_words.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_free_words.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:24 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:24 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_free_words.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:47 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:47 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_get_colors.c b/src/ft_get_colors.c index 52461ea..869dd71 100644 --- a/src/ft_get_colors.c +++ b/src/ft_get_colors.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_get_colors.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:25 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:25 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_get_colors.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:47 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:47 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_get_map.c b/src/ft_get_map.c index 9148964..ee23c7a 100644 --- a/src/ft_get_map.c +++ b/src/ft_get_map.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_get_map.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:26 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:26 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_get_map.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:47 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:47 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_get_player_spawn.c b/src/ft_get_player_spawn.c index b803f25..74e2231 100644 --- a/src/ft_get_player_spawn.c +++ b/src/ft_get_player_spawn.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_get_player_spawn.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 19:07:18 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 19:07:19 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_get_player_spawn.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:47 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:47 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_get_res.c b/src/ft_get_res.c index 5e3dc06..86a3186 100644 --- a/src/ft_get_res.c +++ b/src/ft_get_res.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_get_res.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:27 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:27 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_get_res.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:47 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:47 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_get_screen_size.c b/src/ft_get_screen_size.c index a580a77..fe368c4 100644 --- a/src/ft_get_screen_size.c +++ b/src/ft_get_screen_size.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_get_screen_size.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/05 16:06:58 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/05 16:06:59 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_get_screen_size.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:47 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:47 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_get_sprite.c b/src/ft_get_sprite.c index c63c357..cdea85c 100644 --- a/src/ft_get_sprite.c +++ b/src/ft_get_sprite.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_get_sprite.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:27 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:27 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_get_sprite.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:51 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:51 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_get_tex.c b/src/ft_get_tex.c index 30b360a..1965e72 100644 --- a/src/ft_get_tex.c +++ b/src/ft_get_tex.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_get_tex.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:28 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:28 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_get_tex.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:52 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:52 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_hooks_and_loops.c b/src/ft_hooks_and_loops.c index fdddc10..a494597 100644 --- a/src/ft_hooks_and_loops.c +++ b/src/ft_hooks_and_loops.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_hooks_and_loops.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/09 20:16:25 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/09 20:16:27 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_hooks_and_loops.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:52 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:52 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index 6754923..a66634a 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_init_lists.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:29 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:29 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_init_lists.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:53 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:53 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_init_map.c b/src/ft_init_map.c index 0bbae5e..cc767f6 100644 --- a/src/ft_init_map.c +++ b/src/ft_init_map.c @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_init_map.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:22:42 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:23:42 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + #include <libft.h> #include <cub3d.h> #include <stdlib.h> diff --git a/src/ft_init_s_ray.c b/src/ft_init_s_ray.c index 5dd0a01..e890d68 100644 --- a/src/ft_init_s_ray.c +++ b/src/ft_init_s_ray.c @@ -1,7 +1,19 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_init_s_ray.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:22:48 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:23:42 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + #include <cub3d.h> t_ray -ft_init_s_ray(void) + ft_init_s_ray(void) { t_ray rl; diff --git a/src/ft_init_winlx.c b/src/ft_init_winlx.c index b9c714e..1b60477 100644 --- a/src/ft_init_winlx.c +++ b/src/ft_init_winlx.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_init_winlx.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:29 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:29 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_init_winlx.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:54 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:54 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_key_events.c b/src/ft_key_events.c index 2c189ad..e08e3d0 100644 --- a/src/ft_key_events.c +++ b/src/ft_key_events.c @@ -1,67 +1,51 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_key_events.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:30 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:30 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_key_events.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:55 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:55 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> #include <cub3d.h> #include <stdlib.h> +#include <stdint.h> -static int8_t - ft_w_key(t_cub *clist) +static uint16_t + ft_set_keycode(const uint16_t tmp_code) { - t_player *pl; + uint16_t keycode; - pl = clist->plist; - pl->pos_y += 0.2 * (-1); /* pl->mult; */ - pl->pos_x += 0; - return (0); -} - -static int8_t - ft_a_key(t_cub *clist) -{ - t_player *pl; - - pl = clist->plist; - pl->pos_x -= 0.2; - return (0); -} - -static int8_t - ft_s_key(t_cub *clist) -{ - t_player *pl; - - pl = clist->plist; - pl->pos_y += 0.2; - return (0); + keycode = UINT16_MAX; + (tmp_code == FT_W_KEY) ? (keycode = 0) : 0; + (tmp_code == FT_A_KEY) ? (keycode = 1) : 0; + (tmp_code == FT_S_KEY) ? (keycode = 2) : 0; + (tmp_code == FT_D_KEY) ? (keycode = 3) : 0; + (tmp_code == FT_L_ARR_KEY) ? (keycode = 4) : 0; + (tmp_code == FT_R_ARR_KEY) ? (keycode = 5) : 0; + (tmp_code == 3) ? (keycode = UINT16_MAX) : 0; + (tmp_code == 4) ? (keycode = UINT16_MAX) : 0; + (tmp_code == 5) ? (keycode = UINT16_MAX) : 0; + return (keycode); } -static int8_t - ft_d_key(t_cub *clist) +static void + ft_secure_player_pos(t_player *pl, t_map *ml) { - t_player *pl; - - pl = clist->plist; - pl->pos_x += 0.2; - return (0); + (pl->pos_y < 1) ? (pl->pos_y = 1.1) : 0; + (pl->pos_x < 1) ? (pl->pos_x = 1.1) : 0; + (pl->pos_y > ml->map_h - 1.4) ? (pl->pos_y = ml->map_h - 1.4) : 0; + (pl->pos_x > ml->map_w - 1.4) ? (pl->pos_x = ml->map_w - 1.4) : 0; } int ft_key_event(int keycode, t_cub *clist) { - t_player *pl; - t_map *ml; - int8_t (*fun_ptr[6])(t_cub*); + int (*fun_ptr[6])(t_cub*); const uint16_t tmp_code = keycode; fun_ptr[0] = ft_w_key; @@ -70,25 +54,12 @@ int fun_ptr[3] = ft_d_key; fun_ptr[4] = ft_left_key; fun_ptr[5] = ft_right_key; + keycode = ft_set_keycode(tmp_code); ft_printf("Key [%d] pressed\n", tmp_code); - (tmp_code == FT_W_KEY) ? (keycode = 0) : 0; - (tmp_code == FT_A_KEY) ? (keycode = 1) : 0; - (tmp_code == FT_S_KEY) ? (keycode = 2) : 0; - (tmp_code == FT_D_KEY) ? (keycode = 3) : 0; - (tmp_code == FT_L_ARR_KEY) ? (keycode = 4) : 0; - (tmp_code == FT_R_ARR_KEY) ? (keycode = 5) : 0; - (tmp_code == 3) ? (keycode = UINT16_MAX) : 0; - (tmp_code == 4) ? (keycode = UINT16_MAX) : 0; - (tmp_code == 5) ? (keycode = UINT16_MAX) : 0; - pl = clist->plist; - ml = clist->mlist; if (keycode <= 5) { (*fun_ptr[keycode])(clist); - (pl->pos_y < 1) ? (pl->pos_y = 1.1) : 0; - (pl->pos_x < 1) ? (pl->pos_x = 1.1) : 0; - (pl->pos_y > ml->map_h - 1.4) ? (pl->pos_y = ml->map_h - 1.4) : 0; - (pl->pos_x > ml->map_w - 1.4) ? (pl->pos_x = ml->map_w - 1.4) : 0; + ft_secure_player_pos(clist->plist, clist->mlist); ft_draw_scene(clist); return (0); } diff --git a/src/ft_map_error.c b/src/ft_map_error.c index 0fc073a..263eee8 100644 --- a/src/ft_map_error.c +++ b/src/ft_map_error.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_map_error.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:30 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:30 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_map_error.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:55 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:55 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c index 4b66d0c..0e1a1e7 100644 --- a/src/ft_parse_map.c +++ b/src/ft_parse_map.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_parse_map.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:31 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:31 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_parse_map.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:56 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:56 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_print_list.c b/src/ft_print_list.c index 314a4ec..3b44115 100644 --- a/src/ft_print_list.c +++ b/src/ft_print_list.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_print_list.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:32 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:32 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_print_list.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:57 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:57 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_raycasting.c b/src/ft_raycasting.c index c0b55c4..fadb9db 100644 --- a/src/ft_raycasting.c +++ b/src/ft_raycasting.c @@ -1,8 +1,20 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_raycasting.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:22:57 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:23:42 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + #include <cub3d.h> #include <stdint.h> static void -ft_initray(t_cub *cl, uint16_t i) + ft_initray(t_cub *cl, uint16_t i) { t_win *wl; t_player *pl; @@ -28,7 +40,7 @@ ft_initray(t_cub *cl, uint16_t i) } void -ft_castray(t_cub *cl) + ft_castray(t_cub *cl) { uint16_t i; t_win *wl; @@ -45,7 +57,7 @@ ft_castray(t_cub *cl) cl->rlist.wall_b = cl->rlist.line_h / 2 + wl->y_size / 2; if (cl->rlist.wall_b >= wl->y_size)\ cl->rlist.wall_b = wl->y_size - 1; - ft_draw_verline(cl, i, cl->rlist.wall_t - 1, cl->rlist.wall_b, 0x0000ffaa); + ft_draw_verline(cl, i, cl->rlist.wall_t - 1, cl->rlist.wall_b); i++; } } diff --git a/src/ft_rgb_to_hex.c b/src/ft_rgb_to_hex.c index 4a7ad8e..a25d3e0 100644 --- a/src/ft_rgb_to_hex.c +++ b/src/ft_rgb_to_hex.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_rgb_to_hex.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/05 16:07:13 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/05 16:07:14 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_rgb_to_hex.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:58 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:58 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <cub3d.h> diff --git a/src/ft_select_get.c b/src/ft_select_get.c index 9c2bcbf..f550d98 100644 --- a/src/ft_select_get.c +++ b/src/ft_select_get.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_select_get.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:33 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:33 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_select_get.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:59 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:59 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> diff --git a/src/ft_set_minimap_scale.c b/src/ft_set_minimap_scale.c index cd3424c..dc4bd12 100644 --- a/src/ft_set_minimap_scale.c +++ b/src/ft_set_minimap_scale.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_set_minimap_scale.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/09 14:33:30 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/09 14:33:31 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_set_minimap_scale.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:59 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:59 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <cub3d.h> @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* main.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2020/02/02 17:19:34 by rbousset #+# ## ## #+# */ -/* Updated: 2020/02/02 17:19:34 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* main.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:29:00 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:29:08 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> |