diff --git a/lib/game.c b/lib/game.c index ba97ac2..b6b274d 100644 --- a/lib/game.c +++ b/lib/game.c @@ -6,7 +6,7 @@ #include "game.h" #include "../debug/deck_debug.h" // noob debugging -void set_stacks_coordinates(struct deck *deck) { +void set_stacks_initial_coordinates(struct deck *deck) { set_frame(deck->stock->card->frame, STOCK_STARTING_Y, STOCK_STARTING_X); @@ -205,7 +205,7 @@ void initialize_game() { allocate_deck(&deck); initialize_deck(deck); - set_stacks_coordinates(deck); + set_stacks_initial_coordinates(deck); fill_deck(deck); shuffle_deck(deck); deal_cards(deck); diff --git a/lib/game.h b/lib/game.h index 078b250..ff8e67e 100644 --- a/lib/game.h +++ b/lib/game.h @@ -30,7 +30,7 @@ struct deck *deck; struct cursor *cursor; -void set_stacks_coordinates(struct deck *); +void set_stacks_initial_coordinates(struct deck *); void fill_deck(struct deck *); void shuffle_deck(struct deck *); void deal_cards(struct deck *);