16 lines
231 B
C
16 lines
231 B
C
#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
|