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

40
headers/cube3d_proto.h Normal file
View File

@@ -0,0 +1,40 @@
#ifndef CUBE3D_PROTO_H
# define CUBE3D_PROTO_H
// -------------------------------
// SRC
// -------------------------------
// SRC/INIT
// init_struct.c
t_game *init_game(void);
// init_parsing.c
void init_parsing(int ac, char **av, t_game *game);
// -------------------------------
// SRC/PARSING
// -------------------------------
// SRC/HOOK
// key_hook.c
int keypress(int keycode, t_game *game);
// key_do_action.c
int shut_down(t_game *game);
// -------------------------------
// SRC/DRAW
// -------------------------------
// SRC/FREE
#endif