aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_map.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-02-14 18:47:19 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-02-14 18:47:19 +0100
commit8e6080e73661cc8747b21b1153e4336796575cf7 (patch)
tree2eaec487a73f9df1a69627cff23c42746f1b296e /src/ft_draw_map.c
parentAdded turn around keys (diff)
download42-cub3d-8e6080e73661cc8747b21b1153e4336796575cf7.tar.gz
42-cub3d-8e6080e73661cc8747b21b1153e4336796575cf7.tar.bz2
42-cub3d-8e6080e73661cc8747b21b1153e4336796575cf7.tar.xz
42-cub3d-8e6080e73661cc8747b21b1153e4336796575cf7.tar.zst
42-cub3d-8e6080e73661cc8747b21b1153e4336796575cf7.zip
Norme is bav
Diffstat (limited to 'src/ft_draw_map.c')
-rw-r--r--src/ft_draw_map.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/ft_draw_map.c b/src/ft_draw_map.c
index da7ece2..202439b 100644
--- a/src/ft_draw_map.c
+++ b/src/ft_draw_map.c
@@ -1,3 +1,15 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ft_draw_map.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/14 17:22:18 by rbousset #+# #+# */
+/* Updated: 2020/02/14 17:23:42 by rbousset ### ########lyon.fr */
+/* */
+/* ************************************************************************** */
+
#include <cub3d.h>
#include <stdint.h>
@@ -30,7 +42,7 @@ void
{
if (map[y][x] == '1')
ft_draw_square(scale + (x * (scale)),
- scale + (y * (scale)), 0x00aa99aa, clist);
+ scale + (y * (scale)), 0x0000ffaa, clist);
else if (map[y][x] == '2')
ft_draw_square(scale + (x * (scale)),
scale + (y * (scale)), 0x0033ccff, clist);