/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* test.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/11/27 12:07:20 by rparodi #+# #+# */ /* Updated: 2024/11/27 12:08:19 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef TEST_H # define TEST_H # include "minilibx-linux/mlx.h" # include # include # include # define WINDOW_WIDTH 1024 # define WINDOW_HEIGHT 768 # define MAP_WIDTH 24 # define MAP_HEIGHT 24 # define MOVE_SPEED 0.5 # define ROT_SPEED 0.5 typedef struct s_data { void *mlx; void *win; void *img; char *addr; int bits_per_pixel; int line_length; int endian; double pos_x; double pos_y; double dir_x; double dir_y; double plane_x; double plane_y; } t_data; #endif