tmp bring back rays and highlight for debug purpose
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user