diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-14 15:05:03 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-14 15:05:03 +0300 |
| commit | 7fd2c1ca96f2972bc53a4a89cb6db582c4f6e2e1 (patch) | |
| tree | 17b935a1b7b38834d5cb9347c8a06ea30054a345 /main.c | |
| parent | c73a11860175a830c9b04967eac56dbd8221f311 (diff) | |
Rename player into start
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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(); |
