Moving cursor declaration to the game file.
* Also moving some functions around.
This commit is contained in:
+2
-1
@@ -2,6 +2,7 @@
|
||||
#define GAME_H
|
||||
|
||||
#include "deck.h"
|
||||
#include "cursor.h"
|
||||
|
||||
#define NUMBER_OF_CARDS 52
|
||||
|
||||
@@ -27,6 +28,7 @@
|
||||
#define MANEUVRE_6_STARTING_X 49
|
||||
|
||||
struct deck *deck;
|
||||
struct cursor *cursor;
|
||||
|
||||
void set_stacks_coordinates(struct deck *);
|
||||
void fill_deck(struct deck *);
|
||||
@@ -34,7 +36,6 @@ void shuffle_deck(struct deck *);
|
||||
void deal_cards(struct deck *);
|
||||
void greet_player();
|
||||
void initialize_game();
|
||||
void prepare_game(struct deck **);
|
||||
void end_game();
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user