style: remove mlx & libft headers from central includes folder

This commit is contained in:
Khaïs COLIN 2025-07-17 14:11:30 +02:00
parent d7efc43f12
commit 4ffc52b462
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
8 changed files with 20 additions and 235 deletions

View file

@ -3,14 +3,14 @@
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tchampio <tchampio@student.42lehavre. +#+ +:+ +#+ */
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/05/06 13:16:11 by tchampio #+# #+# */
/* Updated: 2025/07/15 10:29:56 by tchampio ### ########.fr */
/* Created: 2025/07/17 14:14:30 by kcolin #+# #+# */
/* Updated: 2025/07/17 14:15:04 by kcolin ### ########.fr */
/* */
/* ************************************************************************** */
#include "../includes/libft.h"
#include "../libft/includes/libft.h"
#include "../includes/structs.h"
#include "../mlx/mlx.h"
#include "../includes/maputils.h"

View file

@ -3,15 +3,15 @@
/* ::: :::::::: */
/* checkers.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tchampio <tchampio@student.42lehavre.fr> +#+ +:+ +#+ */
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/06/21 19:29:45 by tchampio #+# #+# */
/* Updated: 2025/07/04 15:04:38 by tchampio ### ########.fr */
/* Created: 2025/07/17 14:15:26 by kcolin #+# #+# */
/* Updated: 2025/07/17 14:15:26 by kcolin ### ########.fr */
/* */
/* ************************************************************************** */
#include "../../includes/maputils.h"
#include "../../includes/libft.h"
#include "../../libft/includes/libft.h"
bool check_filename(t_mapdata *map, char *file)
{

View file

@ -3,14 +3,14 @@
/* ::: :::::::: */
/* forbidden_characters.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tchampio <tchampio@student.42lehavre. +#+ +:+ +#+ */
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/06/30 17:19:16 by tchampio #+# #+# */
/* Updated: 2025/07/04 14:33:49 by tchampio ### ########.fr */
/* Created: 2025/07/17 14:18:13 by kcolin #+# #+# */
/* Updated: 2025/07/17 14:18:18 by kcolin ### ########.fr */
/* */
/* ************************************************************************** */
#include "../../includes/libft.h"
#include "../../libft/includes/libft.h"
#include "../../includes/maputils.h"
#ifdef BONUS

View file

@ -3,10 +3,10 @@
/* ::: :::::::: */
/* map_checker.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tchampio <tchampio@student.42lehavre. +#+ +:+ +#+ */
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/06/06 17:54:42 by tchampio #+# #+# */
/* Updated: 2025/07/04 14:40:00 by tchampio ### ########.fr */
/* Updated: 2025/07/17 14:17:06 by kcolin ### ########.fr */
/* */
/* ************************************************************************** */
@ -14,7 +14,7 @@
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include "../../includes/libft.h"
#include "../../libft/includes/libft.h"
void print_mapdata(const t_mapdata *data)
{

View file

@ -3,15 +3,15 @@
/* ::: :::::::: */
/* setters.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tchampio <tchampio@student.42lehavre.fr> +#+ +:+ +#+ */
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/06/21 19:35:43 by tchampio #+# #+# */
/* Updated: 2025/06/21 19:39:32 by tchampio ### ########.fr */
/* Updated: 2025/07/17 14:17:39 by kcolin ### ########.fr */
/* */
/* ************************************************************************** */
#include "../../includes/maputils.h"
#include "../../includes/libft.h"
#include "../../libft/includes/libft.h"
#include "../../includes/cub3d.h"
unsigned long set_color(const char *s, t_mapdata *map)

View file

@ -6,14 +6,13 @@
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/17 13:59:27 by kcolin #+# #+# */
/* Updated: 2025/07/17 14:00:01 by kcolin ### ########.fr */
/* Updated: 2025/07/17 14:18:05 by kcolin ### ########.fr */
/* */
/* ************************************************************************** */
#include "../../includes/cub3d_consts.h"
#include "../../includes/structs.h"
#include "../../mlx/mlx.h"
#include "../../includes/libft.h"
#include "../../libft/includes/libft.h"
#include <stdlib.h>
void free_tab(char **tab)