feat: adding the list
This commit is contained in:
parent
646a95451d
commit
6cee3288cf
4 changed files with 106 additions and 70 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/11/11 19:53:42 by rparodi #+# #+# */
|
||||
/* Updated: 2024/11/12 06:19:04 by bgoulard ### ########.fr */
|
||||
/* Updated: 2024/11/22 15:17:07 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -32,17 +32,17 @@ int c3_redcross(t_info *info)
|
|||
{
|
||||
return (mlx_loop_end(info->mlx_ptr), EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
t_win_list *c3_init_mlx_window(t_info *info)
|
||||
{
|
||||
int x;
|
||||
int y;
|
||||
|
||||
x = 0;
|
||||
y = 0;
|
||||
mlx_get_screen_size(info->mlx_ptr, &x, &y);
|
||||
return (mlx_new_window(info->mlx_ptr, x, y, "C3D"));
|
||||
}
|
||||
t_win_list *c3_init_mlx_window(t_info *info);
|
||||
/*t_win_list *c3_init_mlx_window(t_info *info)*/
|
||||
/*{*/
|
||||
/* int x;*/
|
||||
/* int y;*/
|
||||
/**/
|
||||
/* x = 0;*/
|
||||
/* y = 0;*/
|
||||
/* mlx_get_screen_size(info->mlx_ptr, &x, &y);*/
|
||||
/* return (mlx_new_window(info->mlx_ptr, x, y, "C3D"));*/
|
||||
/*}*/
|
||||
|
||||
int init_mlx_env(t_info *info)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ t_img *mlx_load_image(t_info *info, char *path)
|
|||
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[1] = mlx_load_image(info, "../textures/b.xpm");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue