feat: adding the full screen support (hard-coded)

This commit is contained in:
Raphael 2024-11-27 19:53:13 +01:00
parent 2faabaa713
commit f100ccef11
3 changed files with 21 additions and 19 deletions

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/27 12:07:20 by rparodi #+# #+# */
/* Updated: 2024/11/27 12:08:19 by rparodi ### ########.fr */
/* Updated: 2024/11/27 19:29:06 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -18,8 +18,8 @@
# include <stdio.h>
# include <stdlib.h>
# define WINDOW_WIDTH 1024
# define WINDOW_HEIGHT 768
# define WINDOW_WIDTH 1920
# define WINDOW_HEIGHT 1080
# define MAP_WIDTH 24
# define MAP_HEIGHT 24
# define MOVE_SPEED 0.5
@ -40,6 +40,8 @@ typedef struct s_data
double dir_y;
double plane_x;
double plane_y;
int screen_x;
int screen_y;
} t_data;
#endif