aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--minilibx-linux/Makefile.gen2
-rw-r--r--minilibx-linux/test/Makefile.gen2
-rwxr-xr-xminilibx-linux/test/mlx-testbin76952 -> 0 bytes
-rw-r--r--src/ft_bad_boy_actions.c1
-rw-r--r--src/ft_draw_scene.c8
-rw-r--r--src/ft_set_minimap_scale.c1
6 files changed, 6 insertions, 8 deletions
diff --git a/minilibx-linux/Makefile.gen b/minilibx-linux/Makefile.gen
index 58ce77e..156687c 100644
--- a/minilibx-linux/Makefile.gen
+++ b/minilibx-linux/Makefile.gen
@@ -1,5 +1,5 @@
INC=/usr/include
-HT=Linux
+HT=x86_64
DOCP=do_cp
##
## Makefile for MiniLibX in /home/boulon/work/c/raytraceur/minilibx
diff --git a/minilibx-linux/test/Makefile.gen b/minilibx-linux/test/Makefile.gen
index 2fcca89..b31bdb4 100644
--- a/minilibx-linux/test/Makefile.gen
+++ b/minilibx-linux/test/Makefile.gen
@@ -1,5 +1,5 @@
INC=/usr/include
-HT=Linux
+HT=x86_64
DOCP=do_cp
diff --git a/minilibx-linux/test/mlx-test b/minilibx-linux/test/mlx-test
deleted file mode 100755
index ee26362..0000000
--- a/minilibx-linux/test/mlx-test
+++ /dev/null
Binary files differ
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)
{