display.h now includes the card header.

This commit is contained in:
Murilo Soares Pereira 2010-04-04 21:44:31 -03:00
parent 094fff00f0
commit f01a7c236c
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
#ifndef DISPLAY_H #ifndef DISPLAY_H
#define DISPLAY_H #define DISPLAY_H
#include "card.h"
#define DIAMONDS_SYMBOL "\u2666" #define DIAMONDS_SYMBOL "\u2666"
#define SPADES_SYMBOL "\u2660" #define SPADES_SYMBOL "\u2660"
#define HEARTS_SYMBOL "\u2665" #define HEARTS_SYMBOL "\u2665"

View File

@ -1,7 +1,7 @@
#include <ncurses.h> #include <ncurses.h>
#include <malloc.h> #include <malloc.h>
#include <string.h> #include <string.h>
#include "../lib/card.h" #include "../lib/display.h"
int main(int argc, const char *argv[]) { int main(int argc, const char *argv[]) {
char message[] = "Welcome to tty-solitaire."; char message[] = "Welcome to tty-solitaire.";