diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-14 19:32:58 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-14 19:32:58 +0200 |
commit | c42ccd996d84a92eccf34496f647a8cdfa3ffef1 (patch) | |
tree | e5141aa4470a8cd7330f44dc5873868dfa9fe049 /src/ft_get_traps.c | |
parent | Some more norms (diff) | |
download | 42-cub3d-c42ccd996d84a92eccf34496f647a8cdfa3ffef1.tar.gz 42-cub3d-c42ccd996d84a92eccf34496f647a8cdfa3ffef1.tar.bz2 42-cub3d-c42ccd996d84a92eccf34496f647a8cdfa3ffef1.tar.xz 42-cub3d-c42ccd996d84a92eccf34496f647a8cdfa3ffef1.tar.zst 42-cub3d-c42ccd996d84a92eccf34496f647a8cdfa3ffef1.zip |
Norme norme
Diffstat (limited to '')
-rw-r--r-- | src/ft_get_traps.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/ft_get_traps.c b/src/ft_get_traps.c index db0699c..410ba55 100644 --- a/src/ft_get_traps.c +++ b/src/ft_get_traps.c @@ -14,36 +14,6 @@ #include <cub3d.h> #include <stdint.h> -/* void */ -/* ft_get_trap_spawn(t_cub *clist) */ -/* { */ -/* size_t x; */ -/* size_t y; */ -/* uint16_t i; */ - -/* x = 1; */ -/* y = 1; */ -/* i = 0; */ -/* while (clist->mlist.map[y]) */ -/* { */ -/* while (clist->mlist.map[y][x]) */ -/* { */ -/* if (clist->mlist.map[y][x] == 'T') */ -/* { */ -/* clist->mlist.traps_nbr++; */ -/* if (clist->mlist.traps_nbr > 512) */ -/* ft_map_error(FT_ERR_TOO_MUCH_TRAPS, clist); */ -/* clist->traps[i].s_pos_x = x; */ -/* clist->traps[i].s_pos_y = y; */ -/* i++; */ -/* } */ -/* x++; */ -/* } */ -/* x = 1; */ -/* y++; */ -/* } */ -/* } */ - int8_t ft_get_traps(char **words, t_cub *clist) { |