aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d.h
blob: 459bbb77b1b2ee15a2657c03c690ea89cf1edf1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef CUB3D_H
#define CUB3D_H

#include <inttypes.h>

typedef struct	s_win
{
	void		*wlx;
	void		*winptr;
	int			x_size;
	int			y_size;
}				t_win;

typedef struct	s_cub
{
	char		coolcub;
}				t_cub;

t_cub			*ft_init_cub(void);
t_win			*ft_init_win(void);
void			ft_parse_map(t_cub *clist);
int				ft_key_event(int keycode, void *param);
void			ft_exit(uint8_t exit_code);
void			ft_drawsquare(t_win *wlist, t_cub *clist, int a, int b);

#endif