start project with header, struct, mlx functionnal, and basic key event action
This commit is contained in:
15
headers/cube3d_struct.h
Normal file
15
headers/cube3d_struct.h
Normal 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
|
||||
Reference in New Issue
Block a user