summaryrefslogtreecommitdiff
path: root/ui.h
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2022-06-06 11:49:25 +0800
committerFrederick Yin <fkfd@fkfd.me>2022-06-06 11:49:25 +0800
commitd7ac8dcb88a5cd93f505f1f00b1daec8ac6cceaf (patch)
tree31cd7a7425e26e64c3c1e23605da8097a949f9e4 /ui.h
parentfc9ae26aacede490d32f0b31d314f2c8286d158a (diff)
Flatten map to array of size H*W
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h2
1 files changed, 1 insertions, 1 deletions
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);