aboutsummaryrefslogtreecommitdiff
path: root/map.h
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-03-14 15:05:03 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-03-14 15:05:03 +0300
commit7fd2c1ca96f2972bc53a4a89cb6db582c4f6e2e1 (patch)
tree17b935a1b7b38834d5cb9347c8a06ea30054a345 /map.h
parentc73a11860175a830c9b04967eac56dbd8221f311 (diff)
Rename player into start
Diffstat (limited to 'map.h')
-rw-r--r--map.h4
1 files changed, 2 insertions, 2 deletions
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_