use ceiling and floor colors from the map file

This commit is contained in:
mcolonna 2024-11-07 19:29:58 +01:00
parent 6eb1479fc5
commit 184c8a60af
3 changed files with 19 additions and 7 deletions

View file

@ -6,7 +6,7 @@
/* By: mc <mc@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/31 17:00:59 by mc #+# #+# */
/* Updated: 2024/11/07 17:10:50 by mc ### ########.fr */
/* Updated: 2024/11/07 19:26:53 by mc ### ########.fr */
/* */
/* ************************************************************************** */
@ -22,9 +22,6 @@
# define MOUSE_ROTATION_SPEED 0.001 // rad/px
# define HITBOX 0.25 // Hitbox of N cases around player.
# define COLOR_CEILING 0x29f8ff // TODO get from cub file
# define COLOR_FLOOR 0xFF985C // TODO get from cub file
# define SCREEN_WIDTH 640 // Width of the window
# define SCREEN_HEIGHT 480 // Height of the window