so_long/so_long.h
2022-12-11 18:48:37 +01:00

36 lines
1.2 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* so_long.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/12/10 17:59:18 by erey-bet #+# #+# */
/* Updated: 2022/12/11 14:47:20 by erey-bet ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef SO_LONG_H
# define SO_LONG_H
# include <X11/X.h>
# include "minilibx-linux/mlx.h"
# include "key.h"
# include <stdlib.h>
# include "libft/libft.h"
typedef struct s_data
{
void *mlx;
void *mlx_win;
void *mlx_img;
int update;
int size;
int x_player;
int y_player;
int h_screen;
int w_screen;
} t_data;
#endif