diff --git a/includes/cub3d_consts.h b/src/consts.h similarity index 73% rename from includes/cub3d_consts.h rename to src/consts.h index d9177fc..2ef886e 100644 --- a/includes/cub3d_consts.h +++ b/src/consts.h @@ -1,17 +1,17 @@ /* ************************************************************************** */ /* */ /* ::: :::::::: */ -/* cub3d_consts.h :+: :+: :+: */ +/* consts.h :+: :+: :+: */ /* +:+ +:+ +:+ */ -/* By: tchampio +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ -/* Created: 2025/06/06 17:42:23 by tchampio #+# #+# */ -/* Updated: 2025/07/15 10:32:13 by tchampio ### ########.fr */ +/* Created: 2025/07/17 14:54:36 by kcolin #+# #+# */ +/* Updated: 2025/07/17 14:57:09 by kcolin ### ########.fr */ /* */ /* ************************************************************************** */ -#ifndef CUB3D_CONSTS_H -# define CUB3D_CONSTS_H +#ifndef CONSTS_H +# define CONSTS_H # define HEIGHT 800 # define WIDTH 800 diff --git a/src/main.c b/src/main.c index 33622ac..34ca65e 100644 --- a/src/main.c +++ b/src/main.c @@ -6,14 +6,14 @@ /* By: kcolin +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/07/17 14:14:30 by kcolin #+# #+# */ -/* Updated: 2025/07/17 14:35:52 by kcolin ### ########.fr */ +/* Updated: 2025/07/17 14:55:29 by kcolin ### ########.fr */ /* */ /* ************************************************************************** */ #include "../libft/includes/libft.h" #include "../includes/structs.h" #include "../mlx/mlx.h" -#include "../includes/cub3d_consts.h" +#include "consts.h" #include "map/map_checker.h" #include "draw/draw_map.h" #include "utils/hooks.h" diff --git a/src/utils/hooks.c b/src/utils/hooks.c index 1ddcfeb..fc15335 100644 --- a/src/utils/hooks.c +++ b/src/utils/hooks.c @@ -6,11 +6,11 @@ /* By: kcolin +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/07/17 14:22:57 by kcolin #+# #+# */ -/* Updated: 2025/07/17 14:28:18 by kcolin ### ########.fr */ +/* Updated: 2025/07/17 14:55:42 by kcolin ### ########.fr */ /* */ /* ************************************************************************** */ -#include "../../includes/cub3d_consts.h" +#include "../consts.h" #include "../../includes/structs.h" #include "frees.h" #include