59 my_bool_t only_free_room;
90void remove_comment(
char *line);
92int add_door(
maze_t *maze,
char *line);
93int add_room(
maze_t *maze,
char **line);
94int check_line(
maze_t *maze,
char **line,
int line_index);
95int error_handling(
maze_t *maze,
char **line,
int line_index);
97int next_error_handling(
maze_t *maze,
char **line,
int line_index);
98int next_line(
maze_t *maze,
char **line);
99int check_valid_maze(
maze_t *maze);
path_t * get_best_path(room_t *start, room_t *end, my_bool_t only_free_room)
Get the best path between two rooms.
Definition path_finding.c:113
void reset_rooms(room_t *rooms)
Reset the visited attribute of each rooms.
Definition rooms.c:86
robot_t * create_robots_list(room_t *start, int nb_robots)
Create a list of robots.
Definition robots.c:22
void move_robots(maze_t *maze)
Move the robots.
Definition robots.c:140
void display_path(path_t *path)
Display the path found.
Definition path_finding.c:142
void remove_robots_at_end(room_t *end, robot_t **robots)
Remove the robots at the end of the maze.
Definition robots.c:49