summaryrefslogtreecommitdiff
path: root/ui.h
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2022-06-01 10:00:50 +0800
committerFrederick Yin <fkfd@fkfd.me>2022-06-01 10:00:50 +0800
commitd94bf01fdd4b8e9f307463ea04454c8db4824859 (patch)
treef5762b4084e00a89b27cd2a1a50a3f5a28d89084 /ui.h
parent5ae9641cbd6def9126bc039bf29384f8fed98de6 (diff)
Select and place piece
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h3
1 files changed, 2 insertions, 1 deletions
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