diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-23 16:51:59 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-23 16:51:59 +0100 |
commit | d69af7ea10ee1f702c2feddbf6d72efbad63fbac (patch) | |
tree | c74b873ce3589d6e2cf5d6b1681f3d6eb565ed0d /src/ft_draw_map.c | |
parent | life bar is fucked up but okok (diff) | |
download | 42-cub3d-d69af7ea10ee1f702c2feddbf6d72efbad63fbac.tar.gz 42-cub3d-d69af7ea10ee1f702c2feddbf6d72efbad63fbac.tar.bz2 42-cub3d-d69af7ea10ee1f702c2feddbf6d72efbad63fbac.tar.xz 42-cub3d-d69af7ea10ee1f702c2feddbf6d72efbad63fbac.tar.zst 42-cub3d-d69af7ea10ee1f702c2feddbf6d72efbad63fbac.zip |
Better map colors
Diffstat (limited to 'src/ft_draw_map.c')
-rw-r--r-- | src/ft_draw_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_draw_map.c b/src/ft_draw_map.c index db915e4..4449332 100644 --- a/src/ft_draw_map.c +++ b/src/ft_draw_map.c @@ -50,13 +50,13 @@ void { if (map[y][x] == '1') ft_draw_square(scale + 9 + (x * (scale)), - ft_y_offset(clist) - 9 + (y * (scale)), 0x0000ffaa, clist); + ft_y_offset(clist) - 9 + (y * (scale)), 0x00ca5422, clist); else if (map[y][x] == '2') ft_draw_square(scale + 9 + (x * (scale)), ft_y_offset(clist) - 9 + (y * (scale)), 0x0033ccff, clist); else ft_draw_square(scale + 9 + (x * (scale)), ft_y_offset(clist) - - 9 + (y * (scale)), ft_rgb_to_hex(clist->f_rgb), clist); + - 9 + (y * (scale)), 0x006afa6a, clist); x++; } x = 0; |