diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,11 +2,11 @@ #include <signal.h> #include <stdlib.h> #include <stdio.h> +#include <time.h> #include "map.h" #include "structs.h" // So, TODO for now: -// - Implement a stack // - Implement a maze algorithm to test my A* algorithm with // - Implement the A* algorithm @@ -35,8 +35,8 @@ int main(void) { noecho(); // Don't echo characters initialize_colors(); - Map map = rbt_maze_map(20, 10); - Position fake_player_position_to_pass_into_draw_map = {0, 0}; + Map map = rbt_maze_map(20, 10, (unsigned int) time(NULL)); + Position fake_player_position_to_pass_into_draw_map = {11, 21}; draw_map(map, 20*2-1, 10*2-1, fake_player_position_to_pass_into_draw_map); getch(); |
