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