2023-10-25 14:07:29 +02:00
|
|
|
/* ************************************************************************** */
|
|
|
|
/* */
|
2023-10-26 11:01:31 +02:00
|
|
|
/* :::::::: */
|
2023-10-26 10:45:19 +02:00
|
|
|
/* cub3d.h :+: :+: */
|
2023-10-26 11:01:31 +02:00
|
|
|
/* +:+ */
|
|
|
|
/* By: houtworm <codam@houtworm.net> +#+ */
|
|
|
|
/* +#+ */
|
|
|
|
/* Created: 2023/10/26 10:46:35 by houtworm #+# #+# */
|
|
|
|
/* Updated: 2023/10/26 10:47:00 by houtworm ######## odam.nl */
|
2023-10-25 14:07:29 +02:00
|
|
|
/* */
|
|
|
|
/* ************************************************************************** */
|
|
|
|
|
2023-10-26 10:45:19 +02:00
|
|
|
#ifndef CUB3D_H
|
|
|
|
# define CUB3D_H
|
2023-10-25 14:07:29 +02:00
|
|
|
|
|
|
|
# include <unistd.h>
|
|
|
|
# include <math.h>
|
|
|
|
# include "libft/libft.h"
|
|
|
|
# include "mlx/include/MLX42/MLX42.h"
|
|
|
|
|
|
|
|
typedef struct s_varlist
|
|
|
|
{
|
|
|
|
mlx_t *mlx; //mlx instance
|
|
|
|
mlx_image_t *img; //mlx img
|
|
|
|
mlx_image_t *font[30]; //mlx font image
|
|
|
|
int w; //actual window width used everywhere
|
|
|
|
int h; //actual window height used everywhere
|
|
|
|
} t_varlist;
|
|
|
|
|
|
|
|
#endif
|