From 40d4a129b9d1697a31da5128d1efaa81ae31c664 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Fri, 4 Jan 2019 12:20:23 -0500 Subject: Add indicator of current position in map --- client.c | 1 + 1 file changed, 1 insertion(+) (limited to 'client.c') diff --git a/client.c b/client.c index 47a7f90..3647e60 100644 --- a/client.c +++ b/client.c @@ -220,6 +220,7 @@ static void serverMap(void) { wchar_t cell = MapCells[count]; uint8_t color = MapColors[time]; wchar_t tile[] = { cell, cell, cell, L'\0' }; + if (y == MapRows / 2 && x == MapCols / 2) tile[1] = L'⌂'; attr_set(colorAttr(color), colorPair(color), NULL); mvaddwstr(MapY + y, MapX + 3 * x, tile); } -- cgit 1.4.1