aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_parse_map.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 23:55:12 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 23:55:12 +0100
commit998d2df1356f83049c30f71bd5dc4c0597fd4824 (patch)
tree660eef6063088eea2b844984c49c5aa1b2b6e2f2 /src/ft_parse_map.c
parentClean (diff)
download42-cub3d-998d2df1356f83049c30f71bd5dc4c0597fd4824.tar.gz
42-cub3d-998d2df1356f83049c30f71bd5dc4c0597fd4824.tar.bz2
42-cub3d-998d2df1356f83049c30f71bd5dc4c0597fd4824.tar.xz
42-cub3d-998d2df1356f83049c30f71bd5dc4c0597fd4824.tar.zst
42-cub3d-998d2df1356f83049c30f71bd5dc4c0597fd4824.zip
Nice bmp
Diffstat (limited to '')
-rw-r--r--src/ft_parse_map.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c
index 7dd652e..3c1fd9c 100644
--- a/src/ft_parse_map.c
+++ b/src/ft_parse_map.c
@@ -84,19 +84,6 @@ void
ft_sprintf(mlist->filename, "%s", map_path);
}
-static void
-ft_print_map(char **map)
-{
- size_t i;
-
- i = 0;
- while(map[i])
- {
- ft_printf("[%s]\n", map[i]);
- i++;
- }
-}
-
void
ft_parse_map(const char *map_path, t_cub *clist)
{
@@ -121,7 +108,6 @@ void
ft_get_player_spawn(&clist->plist, clist);
ft_get_nlvl_pos(&clist->mlist);
ft_check_missing(clist);
- ft_print_map(clist->mlist.map);
ft_set_minimap_scale(clist);
clist->currlvl += 1;
close(fd);