diff --git a/game/init.c b/game/init.c index 3f267f1..6e4c4c7 100644 --- a/game/init.c +++ b/game/init.c @@ -6,7 +6,7 @@ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/04/27 14:50:22 by erey-bet #+# #+# */ -/* Updated: 2023/06/13 13:13:00 by erey-bet ### ########.fr */ +/* Updated: 2023/06/16 17:48:34 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ @@ -57,7 +57,7 @@ int init(t_map map, t_game *game) { if (init_textures(map, game->textures)) return (2); - game->mlx = mlx_init(WIDTH, HEIGHT, "jan lili", false); + game->mlx = mlx_init(WIDTH, HEIGHT, "jan lili meli", false); if (!game->mlx) return (1); game->map = map; diff --git a/game/utils.c b/game/utils.c index 9bfa181..d050171 100644 --- a/game/utils.c +++ b/game/utils.c @@ -6,7 +6,7 @@ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/05/11 14:19:16 by erey-bet #+# #+# */ -/* Updated: 2023/05/11 14:19:19 by erey-bet ### ########.fr */ +/* Updated: 2023/06/16 17:45:58 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ @@ -39,12 +39,12 @@ uint32_t get_pixel_color(mlx_texture_t *texture, uint32_t x, uint32_t y) int get_texture_side(t_dda *dda) { if (dda->side == 0 && dda->step_x < 0) - return (0); + return (3); if (dda->side == 0 && dda->step_x > 0) return (1); if (dda->side == 1 && dda->step_y < 0) return (2); if (dda->side == 1 && dda->step_y > 0) - return (3); + return (0); return (0); } diff --git a/libftx/extra/extra.a b/libftx/extra/extra.a new file mode 100644 index 0000000..def0c1e Binary files /dev/null and b/libftx/extra/extra.a differ diff --git a/libftx/gnl/get_next_line.a b/libftx/gnl/get_next_line.a new file mode 100644 index 0000000..b04e9ae Binary files /dev/null and b/libftx/gnl/get_next_line.a differ diff --git a/libftx/libft/libft.a b/libftx/libft/libft.a new file mode 100644 index 0000000..2c6a5d9 Binary files /dev/null and b/libftx/libft/libft.a differ diff --git a/libftx/libftx.a b/libftx/libftx.a new file mode 100644 index 0000000..902756a Binary files /dev/null and b/libftx/libftx.a differ diff --git a/libftx/printf/ft_printf.a b/libftx/printf/ft_printf.a new file mode 100644 index 0000000..dbae6fa Binary files /dev/null and b/libftx/printf/ft_printf.a differ