From d7ac8dcb88a5cd93f505f1f00b1daec8ac6cceaf Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Mon, 6 Jun 2022 11:49:25 +0800 Subject: Flatten map to array of size H*W --- ui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui.h') diff --git a/ui.h b/ui.h index 8d25ab0..0a4c2e1 100644 --- a/ui.h +++ b/ui.h @@ -1,7 +1,7 @@ #ifndef UI_H #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 printmap(char* map, int y, int x, int mapH, int mapW); 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); void printhelp(int y, int x); -- cgit v1.2.3