mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 09:58:09 +01:00
feat: made 3d... for the cub3d
This commit is contained in:
parent
077659cd25
commit
5281fe6abd
8 changed files with 185 additions and 5 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/07/17 14:59:37 by kcolin #+# #+# */
|
||||
/* Updated: 2025/07/29 13:43:40 by tchampio ### ########.fr */
|
||||
/* Updated: 2025/07/30 16:07:36 by tchampio ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -17,6 +17,7 @@
|
|||
# include "draw/img_data.h"
|
||||
# include "player/player.h"
|
||||
# include "utils/keypresses.h"
|
||||
# include "consts.h"
|
||||
|
||||
typedef struct s_cub3d_data
|
||||
{
|
||||
|
|
@ -26,6 +27,7 @@ typedef struct s_cub3d_data
|
|||
t_mapdata *map;
|
||||
t_player player;
|
||||
t_keypresses keypresses;
|
||||
int screen_matrix[HEIGHT][WIDTH];
|
||||
} t_cub3d_data;
|
||||
|
||||
#endif // CUB3D_DATA_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue