cub3d/inc/cub3d.h
2025-05-16 15:02:43 +02:00

61 lines
1.8 KiB
C

/* ************************************************************************** */
/* */
/* :::::::: */
/* cub3d.h :+: :+: */
/* +:+ */
/* By: qmennen <qmennen@student.codam.nl> +#+ */
/* +#+ */
/* Created: 2025/04/15 12:22:29 by qmennen #+# #+# */
/* Updated: 2025/05/16 15:01:40 by whaffman ######## odam.nl */
/* */
/* ************************************************************************** */
#ifndef CUB3D_H
# define CUB3D_H
# define FAILURE 0
# define SUCCESS 1
# define WIDTH 1920
# define HEIGHT 1080
# define TITLE "Cub3D"
# ifndef M_PI
# define M_PI 3.14159265358979323846
# endif
# 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 8
# define MINIMAP_SIZE 300
# 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