mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
28 lines
1.4 KiB
C
28 lines
1.4 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* cub3d.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: tchampio <tchampio@student.42lehavre. +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/07/15 10:18:44 by tchampio #+# #+# */
|
|
/* Updated: 2025/07/15 10:32:42 by tchampio ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef CUB3D_H
|
|
# define CUB3D_H
|
|
|
|
# include "structs.h"
|
|
# include "cub3d_consts.h"
|
|
# include "maputils.h"
|
|
|
|
int destroy(t_cub3d_data *data);
|
|
int keypress_handler(int keycode, t_cub3d_data *data);
|
|
int keyrelease_handler(int keycode, t_cub3d_data *data);
|
|
void my_mlx_pixel_put(t_mlx_data *data, int x, int y, int color);
|
|
void draw_2d_wall(unsigned int color, t_mlx_data *data, int x, int y);
|
|
void draw_map(t_mapdata *map, t_player *player, t_mlx_data *data);
|
|
void gnl_exhaust(int fd);
|
|
|
|
#endif
|