56 lines
1.7 KiB
C
56 lines
1.7 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* cub3d.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: qmennen <qmennen@student.codam.nl> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/04/15 12:22:29 by qmennen #+# #+# */
|
|
/* Updated: 2025/05/06 15:56:57 by qmennen ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef CUB3D_H
|
|
# define CUB3D_H
|
|
|
|
# define FAILURE 0
|
|
# define SUCCESS 1
|
|
|
|
# define WIDTH 1920
|
|
# define HEIGHT 1080
|
|
# define TITLE "Cub3D"
|
|
|
|
# define RESET "\033[0m"
|
|
# define BLACK "\033[0;30m"
|
|
# define RED "\033[0;31m"
|
|
# define GREEN "\033[0;32m"
|
|
# define YELLOW "\033[0;33m"
|
|
# define BLUE "\033[0;34m"
|
|
# define MAGENTA "\033[0;35m"
|
|
# define CYAN "\033[0;36m"
|
|
# define WHITE "\033[0;37m"
|
|
|
|
# define NUM_KEYS 256
|
|
# define TILE_SIZE 16
|
|
|
|
# include "MLX42.h"
|
|
# include "allowed.h"
|
|
# include "libft.h"
|
|
# include "types.h"
|
|
# include "errors.h"
|
|
# include "vec_math.h"
|
|
# include "map.h"
|
|
# include "game.h"
|
|
# include "screen.h"
|
|
# include "keyboard.h"
|
|
# include "hooks.h"
|
|
# include "render.h"
|
|
# include "player.h"
|
|
# include "collision.h"
|
|
# include "parser.h"
|
|
# include "texture.h"
|
|
|
|
int initialize_cub3d(t_game **game, const char *mapfile);
|
|
|
|
#endif
|