#ifndef MAZE_H #define MAZE_H #include "position_stack.h" typedef struct Dimensions { int width; int height; } Dimensions; typedef struct Maze { char ***grid; Dimensions dimens; Dimensions full_dimens; } Maze; Maze maze_create(Dimensions dimens, char *wall); void maze_destroy(Maze *maze); /** * Excavates a maze. * * This is what creates the actual maze. * * @param maze The maze to excavate * @param start_pos Start position */ void maze_excavate(Maze *maze, Position start_pos); void maze_print(Maze maze); #endif