32 lines
1.3 KiB
C
32 lines
1.3 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* cub3d.h :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: houtworm <codam@houtworm.net> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2022/11/29 03:25:46 by houtworm #+# #+# */
|
|
/* Updated: 2023/10/26 10:37:13 by houtworm ######## odam.nl */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
|
|
#ifndef CUB3D_H
|
|
# define CUB3D_H
|
|
|
|
# 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
|