From d94bf01fdd4b8e9f307463ea04454c8db4824859 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Wed, 1 Jun 2022 10:00:50 +0800 Subject: Select and place piece --- ui.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui.h') diff --git a/ui.h b/ui.h index 37df329..09bed98 100644 --- a/ui.h +++ b/ui.h @@ -2,6 +2,7 @@ #define UI_H void printrect(int y, int x, int h, int w); void printmap(char** map, int y, int x, int mapH, int mapW); -void printpieces(struct piece** hand, int y, int x, int nhand); +void printpiece(struct piece* pc, int y, int x, int color_pair); +void printpieces(struct piece** hand, int y, int x, int nhand, int highlight); #endif -- cgit v1.2.3