Putting functions were they belong.
This commit is contained in:
+12
-1
@@ -5,7 +5,6 @@
|
||||
#include <errno.h>
|
||||
#include <ncurses.h>
|
||||
#include "display.h"
|
||||
#include "game.h"
|
||||
|
||||
static char *card_suit(enum suit suit) {
|
||||
char *card_suit;
|
||||
@@ -229,3 +228,15 @@ void draw_deck(struct deck *deck) {
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void draw_cursor(struct cursor *cursor) {
|
||||
mvaddch(cursor->y, cursor->x, '*');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void erase_cursor(struct cursor *cursor) {
|
||||
mvdelch(cursor->y, cursor->x);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user