change: minimap: pretty player with fov
This commit is contained in:
parent
d4c0e5faf9
commit
2ec9ce4f8e
4 changed files with 168 additions and 14 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/10/31 17:00:59 by mcolonna #+# #+# */
|
||||
/* Updated: 2024/11/18 13:40:04 by mcolonna ### ########.fr */
|
||||
/* Updated: 2024/11/19 13:05:50 by mcolonna ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -31,5 +31,8 @@
|
|||
# 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 0xFF0000 // Color of the player on the minimap
|
||||
// Distance from the player until where the FOV is drawn (unit: cases).
|
||||
# define MINIMAP_DISTANCE_FOV 3 // Size of the FOV on the minimap
|
||||
# define MINIMAP_OPACITY_FOV 0.8 // Opacity of the FOV on the minimap
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue