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 --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 0c7aea5..bfa19f5 100644 --- a/main.c +++ b/main.c @@ -24,7 +24,7 @@ void initialize_colors(void) { init_pair(EMPTY_COLOR, COLOR_BLACK, -1); init_pair(GOAL_COLOR, COLOR_CYAN, -1); init_pair(WALL_COLOR, COLOR_WHITE, -1); - init_pair(PLAYER_COLOR, COLOR_RED, -1); + init_pair(START_COLOR, COLOR_RED, -1); } int main(void) { @@ -37,8 +37,8 @@ int main(void) { initialize_colors(); 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); + Position fake_start_position_to_pass_into_draw_map = {11, 21}; + draw_map(map, 20*2-1, 10*2-1, fake_start_position_to_pass_into_draw_map); getch(); endwin(); -- cgit v1.2.3