diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-14 18:33:12 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-14 18:33:12 +0200 |
commit | ea56c3450215beb36045d11e7ea869dcf0f95c6a (patch) | |
tree | 064a481c6bf06d8319e69a4099336beae70d5b8f /src | |
parent | New lib (diff) | |
download | 42-cub3d-ea56c3450215beb36045d11e7ea869dcf0f95c6a.tar.gz 42-cub3d-ea56c3450215beb36045d11e7ea869dcf0f95c6a.tar.bz2 42-cub3d-ea56c3450215beb36045d11e7ea869dcf0f95c6a.tar.xz 42-cub3d-ea56c3450215beb36045d11e7ea869dcf0f95c6a.tar.zst 42-cub3d-ea56c3450215beb36045d11e7ea869dcf0f95c6a.zip |
More norme
Diffstat (limited to 'src')
-rw-r--r-- | src/ft_bad_boy_actions.c | 1 | ||||
-rw-r--r-- | src/ft_draw_scene.c | 8 | ||||
-rw-r--r-- | src/ft_set_minimap_scale.c | 1 |
3 files changed, 4 insertions, 6 deletions
diff --git a/src/ft_bad_boy_actions.c b/src/ft_bad_boy_actions.c index ea2822c..26d294b 100644 --- a/src/ft_bad_boy_actions.c +++ b/src/ft_bad_boy_actions.c @@ -14,7 +14,6 @@ #include <cub3d.h> #include <mlx.h> #include <stdlib.h> -#include <math.h> void ft_bb_wait(t_bad_boy *bl, t_sprite *sl, t_map *ml) diff --git a/src/ft_draw_scene.c b/src/ft_draw_scene.c index 4c7879b..36cdf4f 100644 --- a/src/ft_draw_scene.c +++ b/src/ft_draw_scene.c @@ -20,10 +20,10 @@ static void ft_put_fps(t_cub *clist) { mlx_string_put(clist->wlist.wlx, - clist->wlist.winptr, - 10, 20, - 0x00eeeeee, - clist->fps_count); + clist->wlist.winptr, + 10, 20, + 0x00eeeeee, + clist->fps_count); } static int8_t diff --git a/src/ft_set_minimap_scale.c b/src/ft_set_minimap_scale.c index fcda6f6..ac464dd 100644 --- a/src/ft_set_minimap_scale.c +++ b/src/ft_set_minimap_scale.c @@ -12,7 +12,6 @@ #include <cub3d.h> -#include <libft.h> void ft_set_minimap_scale(t_cub *clist) { |