feat: testing how to play with textures
This commit is contained in:
parent
badd6534f4
commit
e581c72b02
14 changed files with 598 additions and 313 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/11/11 19:53:42 by rparodi #+# #+# */
|
||||
/* Updated: 2024/12/02 00:20:25 by rparodi ### ########.fr */
|
||||
/* Updated: 2024/12/05 16:55:30 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
#include "cub3d_struct.h"
|
||||
#include "mlx_functions.h"
|
||||
#include "mlx_structs.h"
|
||||
|
||||
#include "ft_string.h"
|
||||
#include "ft_math.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/11/20 12:25:45 by rparodi #+# #+# */
|
||||
/* Updated: 2024/12/02 17:54:04 by rparodi ### ########.fr */
|
||||
/* Updated: 2024/12/05 17:01:12 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -30,7 +30,7 @@ bool mlx_load_all_textures(t_info *info)
|
|||
size_t i;
|
||||
|
||||
i = 0;
|
||||
info->map.texture[0] = mlx_load_image(info, "../textures/a.xpm");
|
||||
info->map.texture[0] = mlx_load_image(info, "../textures/wasteland_32.xpm");
|
||||
info->map.texture[1] = mlx_load_image(info, "../textures/b.xpm");
|
||||
info->map.texture[2] = mlx_load_image(info, "../textures/sandy_32.xpm");
|
||||
info->map.texture[3] = mlx_load_image(info, "../textures/cobblestone_32.xpm");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue