'draw_deck' is more consistent.

This commit is contained in:
Murilo Pereira 2011-02-06 00:22:16 -02:00
parent a8c98d4756
commit 8bd7147a8e
5 changed files with 4 additions and 5 deletions

View File

@ -94,7 +94,7 @@ void move_cursor(struct cursor *cursor, enum movement movement) {
/* this is needed because of the screen glitch that moving the cursor
* on the maneuvre's stacks causes */
refresh();
draw_game(deck);
draw_deck(deck);
return;
}

View File

@ -197,7 +197,7 @@ void draw_stack(struct stack *stack) {
return;
}
void draw_game(struct deck *deck) {
void draw_deck(struct deck *deck) {
draw_stack(deck->stock);
draw_stack(deck->waste_pile);

View File

@ -25,6 +25,6 @@ void draw_front(struct card *);
void draw_back(struct card *);
void draw_card(struct card *);
void draw_stack(struct stack *);
void draw_game(struct deck *);
void draw_deck(struct deck *);
#endif

View File

@ -211,7 +211,7 @@ void initialize_game() {
draw_empty_stacks();
draw_cursor(cursor);
draw_game(deck);
draw_deck(deck);
return;
}

View File

@ -11,7 +11,6 @@ int main(int argc, const char *argv[]) {
int option;
initialize_curses();
greet_player();
while (option != KEY_SPACEBAR) {