Adding the starting of cub
This commit is contained in:
parent
3c74145832
commit
9415f843e7
7 changed files with 230 additions and 0 deletions
33
includes/cub3d.h
Normal file
33
includes/cub3d.h
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* cub3d.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/10/30 16:30:26 by rparodi #+# #+# */
|
||||
/* Updated: 2024/10/30 17:01:03 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef CUB3D_H
|
||||
# define CUB3D_H
|
||||
|
||||
# include <stdio.h>
|
||||
# include <math.h>
|
||||
# include <fcntl.h>
|
||||
# include <stdlib.h>
|
||||
# include <sys/time.h>
|
||||
# include <unistd.h>
|
||||
# include <stdbool.h>
|
||||
|
||||
# include "message_error.h"
|
||||
|
||||
# ifndef BONUS
|
||||
# define BONUS 0
|
||||
# endif
|
||||
|
||||
bool ft_parse_args(int argc, char *argv[]);
|
||||
int main(int argc, char *argv[]);
|
||||
|
||||
#endif
|
||||
18
includes/message_error.h
Normal file
18
includes/message_error.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* message_error.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/10/30 16:43:20 by rparodi #+# #+# */
|
||||
/* Updated: 2024/10/30 16:46:28 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef MESSAGE_ERROR_H
|
||||
# define MESSAGE_ERROR_H
|
||||
|
||||
# define ERR_ARGS_COUNT "Error:\nYou have to give only the map on arguments !"
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue