GNL now using libft functions
This commit is contained in:
@@ -14,25 +14,7 @@
|
||||
# define S_W 800
|
||||
# define S_H 600
|
||||
# define FOV 60
|
||||
# define TILE_SIZE 50
|
||||
# define PLAYER_SPEED 3
|
||||
|
||||
typedef struct s_player
|
||||
{
|
||||
int player_x;
|
||||
int player_y;
|
||||
double angel;
|
||||
float fov;
|
||||
int rot;
|
||||
int l_r;
|
||||
int u_d;
|
||||
} t_player;
|
||||
|
||||
typedef struct s_mlx
|
||||
{
|
||||
mlx_image_t *img;
|
||||
mlx_t *mlx_ptr;
|
||||
t_player *player;
|
||||
char **map;
|
||||
} t_mlx;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user