Putting functions were they belong.

This commit is contained in:
Murilo Pereira
2011-02-16 23:50:29 -02:00
parent 3420045a35
commit daf0b4809f
5 changed files with 19 additions and 19 deletions
+12 -1
View File
@@ -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;
}