modified scaling minimap

This commit is contained in:
ReverseSky 2024-11-19 13:11:42 +01:00 committed by mcolonna
parent 54f61ee4b0
commit fc318fc851
4 changed files with 60 additions and 43 deletions

View file

@ -6,7 +6,7 @@
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/31 17:00:59 by mcolonna #+# #+# */
/* Updated: 2024/11/19 13:31:42 by marvin ### ########.fr */
/* Updated: 2024/11/19 13:54:46 by mcolonna ### ########.fr */
/* */
/* ************************************************************************** */
@ -27,7 +27,7 @@
# define FOV 0.66 // Width of the view plane (unit: cases)
# define MINIMAP_SCALE 8 // Size of a case on the minimap.
# define MINIMAP_SIZE_INVERT 4 // The minimap takes 1/N of the window.
# define MINIMAP_COLOR_WALL 0xFFAF33 // Color of the walls on the minimap
# define MINIMAP_COLOR_EMPTY 0xFFFC33 // Color of the empty cases on the minimap
# define MINIMAP_COLOR_PLAYER 0x0000FF // Color of the player on the minimap