This name makes more sense.

This commit is contained in:
Murilo Pereira 2011-02-06 00:45:24 -02:00
parent a12a972daa
commit dc6319ecf2
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
#include "game.h" #include "game.h"
#include "../debug/deck_debug.h" // noob debugging #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, set_frame(deck->stock->card->frame,
STOCK_STARTING_Y, STOCK_STARTING_Y,
STOCK_STARTING_X); STOCK_STARTING_X);
@ -205,7 +205,7 @@ void initialize_game() {
allocate_deck(&deck); allocate_deck(&deck);
initialize_deck(deck); initialize_deck(deck);
set_stacks_coordinates(deck); set_stacks_initial_coordinates(deck);
fill_deck(deck); fill_deck(deck);
shuffle_deck(deck); shuffle_deck(deck);
deal_cards(deck); deal_cards(deck);

View File

@ -30,7 +30,7 @@
struct deck *deck; struct deck *deck;
struct cursor *cursor; struct cursor *cursor;
void set_stacks_coordinates(struct deck *); void set_stacks_initial_coordinates(struct deck *);
void fill_deck(struct deck *); void fill_deck(struct deck *);
void shuffle_deck(struct deck *); void shuffle_deck(struct deck *);
void deal_cards(struct deck *); void deal_cards(struct deck *);