From 7fd2c1ca96f2972bc53a4a89cb6db582c4f6e2e1 Mon Sep 17 00:00:00 2001 From: Kirill Petrashin Date: Sat, 14 Mar 2026 15:05:03 +0300 Subject: Rename player into start --- map.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'map.h') diff --git a/map.h b/map.h index 9c4a4fa..b06da7c 100644 --- a/map.h +++ b/map.h @@ -16,7 +16,7 @@ enum Colors_e { EMPTY_COLOR = 1, GOAL_COLOR = 2, WALL_COLOR = 3, - PLAYER_COLOR = 4, + START_COLOR = 4, }; // A map is a 2D array of MapTiles. @@ -36,6 +36,6 @@ unsigned int neighbours(Position neighbour_array[], Position pos, size_t width, Map rbt_maze_map(size_t width, size_t height, unsigned int seed); // Draw the map. Bet you didn't expect that. -void draw_map(Map map, int width, int height, Position player_pos); +void draw_map(Map map, int width, int height, Position start); #endif //MAP_H_ -- cgit v1.2.3