From dc6319ecf25bd6ad65c498f30f50e0090473e194 Mon Sep 17 00:00:00 2001 From: Murilo Pereira Date: Sun, 6 Feb 2011 00:45:24 -0200 Subject: [PATCH] This name makes more sense. --- lib/game.c | 4 ++-- lib/game.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 *);