「🏗️」 wip: Player on minimap working
This commit is contained in:
@ -6,29 +6,29 @@
|
||||
/* By: madumerg <madumerg@42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/09/12 12:44:52 by madumerg #+# #+# */
|
||||
/* Updated: 2024/09/12 16:49:20 by madumerg ### ########.fr */
|
||||
/* Updated: 2024/09/13 10:43:50 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "cub3d.h"
|
||||
|
||||
int check_info(char **l)
|
||||
{
|
||||
|
||||
}
|
||||
//int check_info(char **l)
|
||||
//{
|
||||
//
|
||||
//}
|
||||
|
||||
int verif_info_map(char *av)
|
||||
{
|
||||
char **map;
|
||||
char **f_part;
|
||||
|
||||
map = parse_map(av);
|
||||
f_part = info_map(map);
|
||||
if (check_info(f_part) == 1)
|
||||
return (1);
|
||||
if (verif_all_map(map) == 1)
|
||||
return (1);
|
||||
}
|
||||
//int verif_info_map(char *av)
|
||||
//{
|
||||
// char **map;
|
||||
// char **f_part;
|
||||
//
|
||||
// map = parse_map(av);
|
||||
// f_part = info_map(map);
|
||||
// if (check_info(f_part) == 1)
|
||||
// return (1);
|
||||
// if (verif_all_map(map) == 1)
|
||||
// return (1);
|
||||
//}
|
||||
|
||||
int verif_all_map(char **map)
|
||||
{
|
||||
|
Reference in New Issue
Block a user