tmp bring back rays and highlight for debug purpose

This commit is contained in:
hugogogo
2022-05-03 21:43:00 +02:00
parent 4414917234
commit 101680c839
6 changed files with 185 additions and 1 deletions

View File

@@ -20,7 +20,7 @@
/* screen focal (in degree) */
# define SCREEN_FOCAL 70
/* size of a cell on the map */
# define CELL 100
# define CELL 20
/*
* keys macro

View File

@@ -163,6 +163,16 @@ typedef struct s_game
t_txt txt;
// map
t_map map;
//tmp draw map
// map window
t_win map_win;
t_img map_img;
// rays
int ray_highlight;
int ray_activ;
// tmp end
// key hook
int k_hook[MAX_NB_KEY];
} t_game;