style: move consts header to src folder

This commit is contained in:
Khaïs COLIN 2025-07-17 14:55:04 +02:00
parent 7000634228
commit 38a05423dd
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
3 changed files with 10 additions and 10 deletions

View file

@ -1,17 +1,17 @@
/* ************************************************************************** */ /* ************************************************************************** */
/* */ /* */
/* ::: :::::::: */ /* ::: :::::::: */
/* cub3d_consts.h :+: :+: :+: */ /* consts.h :+: :+: :+: */
/* +:+ +:+ +:+ */ /* +:+ +:+ +:+ */
/* By: tchampio <tchampio@student.42lehavre. +#+ +:+ +#+ */ /* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/06/06 17:42:23 by tchampio #+# #+# */ /* Created: 2025/07/17 14:54:36 by kcolin #+# #+# */
/* Updated: 2025/07/15 10:32:13 by tchampio ### ########.fr */ /* Updated: 2025/07/17 14:57:09 by kcolin ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
#ifndef CUB3D_CONSTS_H #ifndef CONSTS_H
# define CUB3D_CONSTS_H # define CONSTS_H
# define HEIGHT 800 # define HEIGHT 800
# define WIDTH 800 # define WIDTH 800

View file

@ -6,14 +6,14 @@
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */ /* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/17 14:14:30 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 "../libft/includes/libft.h"
#include "../includes/structs.h" #include "../includes/structs.h"
#include "../mlx/mlx.h" #include "../mlx/mlx.h"
#include "../includes/cub3d_consts.h" #include "consts.h"
#include "map/map_checker.h" #include "map/map_checker.h"
#include "draw/draw_map.h" #include "draw/draw_map.h"
#include "utils/hooks.h" #include "utils/hooks.h"

View file

@ -6,11 +6,11 @@
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */ /* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/17 14:22:57 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 "../../includes/structs.h"
#include "frees.h" #include "frees.h"
#include <X11/keysym.h> #include <X11/keysym.h>