mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 09:58:09 +01:00
normed + finished movements
This commit is contained in:
parent
cc12b7554a
commit
aa9f9bf6de
11 changed files with 200 additions and 121 deletions
27
includes/cub3d.h
Normal file
27
includes/cub3d.h
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* 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);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue