debut du projet
This commit is contained in:
31
includes/fdf.h
Normal file
31
includes/fdf.h
Normal file
@@ -0,0 +1,31 @@
|
||||
#ifndef FDF_H
|
||||
# define FDF_H
|
||||
|
||||
# include "../libft/includes/libft.h"
|
||||
# include <mlx.h>
|
||||
# include <unistd.h> // for sleep()
|
||||
|
||||
# define ESCAPE 65307
|
||||
# define UP 65362
|
||||
# define DOWN 65364
|
||||
# define LEFT 65361
|
||||
# define RIGHT 65363
|
||||
|
||||
typedef struct s_map
|
||||
{
|
||||
void *mlx_ptr;
|
||||
void *win_ptr;
|
||||
int win_size_x;
|
||||
int win_size_y;
|
||||
int img_size_x;
|
||||
int img_size_y;
|
||||
void *img_ptr;
|
||||
char *img_addr;
|
||||
int img_bpp;
|
||||
int img_sizel;
|
||||
int img_endian;
|
||||
int rot_x;
|
||||
int rot_y;
|
||||
} t_map;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user