Fixed functions to initialize the game and now initializing it from main.
This commit is contained in:
+6
-2
@@ -4,6 +4,8 @@
|
||||
#include "card.h"
|
||||
#include "deck.h"
|
||||
|
||||
#define KEY_SPACEBAR ' '
|
||||
|
||||
#define EMPTY_STACKS_NUMBER 13
|
||||
|
||||
#define DIAMONDS_SYMBOL "\u2666"
|
||||
@@ -15,9 +17,11 @@
|
||||
#define RED_ON_WHITE 2
|
||||
#define WHITE_ON_BLUE 3
|
||||
|
||||
void init_curses();
|
||||
void draw_empty_stacks();
|
||||
void initialize_curses();
|
||||
void end_curses();
|
||||
void initialize_game();
|
||||
void end_game();
|
||||
void draw_empty_stacks();
|
||||
char *card_suit(enum suit);
|
||||
char *card_value(enum value);
|
||||
void draw_value(struct card *);
|
||||
|
||||
Reference in New Issue
Block a user