plr orientation at begining

This commit is contained in:
hugogogo
2022-05-04 00:55:47 +02:00
parent eb3b5c37a8
commit 3c76a8646a
13 changed files with 176 additions and 193 deletions

View File

@@ -125,6 +125,7 @@ typedef struct s_map
int cell;
int plr_x;
int plr_y;
int plr_dir;
} t_map;
/*
@@ -165,13 +166,13 @@ typedef struct s_game
t_map map;
//tmp draw map
// map window
t_win map_win;
t_img map_img;
// rays
int ray_highlight;
int ray_activ;
t_vec ray;
// // map window
// t_win map_win;
// t_img map_img;
// // rays
// int ray_highlight;
// int ray_activ;
// t_vec ray;
// tmp end
// key hook