aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorNathan Vance <nathav63@gmail.com>2015-04-03 19:21:20 -0400
committerNathan Vance <nathav63@gmail.com>2015-04-03 19:21:20 -0400
commite5cc06ddd5e6f725605ccabd312bcd5c5da2aa8c (patch)
tree42fde640ee2a6f3a0e85a74cb364805d8525abc5 /view.c
parentHalicarnassus bug fixes (diff)
download7w-e5cc06ddd5e6f725605ccabd312bcd5c5da2aa8c.tar.gz
7w-e5cc06ddd5e6f725605ccabd312bcd5c5da2aa8c.tar.bz2
7w-e5cc06ddd5e6f725605ccabd312bcd5c5da2aa8c.zip
Can now see history of previous turn
Diffstat (limited to 'view.c')
-rw-r--r--view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/view.c b/view.c
index 82dec18..006a74d 100644
--- a/view.c
+++ b/view.c
@@ -9,6 +9,7 @@ int data_numplayers();
void printmessage(int x, int y, int width);
int data_geteast(int p);
int data_getwest(int p);
+int write_history(int player, int x, int y);
int* view_printwonders(int focus, int cursor, int player)
{
@@ -25,6 +26,7 @@ int* view_printwonders(int focus, int cursor, int player)
ret = print_wonder(34, 0, p, cursor);
y = print_wondersmall(x, y, p, focus == p, dir);
}
+ y = write_history(focus, 0, y);
printmessage(0, y+2, 35);
return ret;
}
bgstack15