start project with header, struct, mlx functionnal, and basic key event action

This commit is contained in:
hugogogo
2022-03-23 14:27:36 +01:00
parent 1959a1a9a3
commit 95bd304708
11 changed files with 228 additions and 1 deletions

15
headers/cube3d_struct.h Normal file
View File

@@ -0,0 +1,15 @@
#ifndef CUBE3D_STRUCT_H
# define CUBE3D_STRUCT_H
typedef struct s_game
{
void *mlx_ptr;
void *win_ptr;
int plr_x;
int plr_y;
int win_size_x;
int win_size_y;
int k_hook[MAX_NB_KEY];
} t_game;
#endif