display.h now includes the card header.
This commit is contained in:
		
							parent
							
								
									094fff00f0
								
							
						
					
					
						commit
						f01a7c236c
					
				@ -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"
 | 
				
			||||||
 | 
				
			|||||||
@ -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.";
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user