aboutsummaryrefslogtreecommitdiff
path: root/wonder.c
diff options
context:
space:
mode:
authorNathan Vance <nathav63@gmail.com>2015-02-26 13:37:08 -0500
committerNathan Vance <nathav63@gmail.com>2015-02-26 13:37:08 -0500
commit3bc64a91ce3478fdffcacf2ad5585c3922a4b187 (patch)
treeea1de35ce603809293c28982531332b9949776aa /wonder.c
parentTrade ui implemented (diff)
download7w-3bc64a91ce3478fdffcacf2ad5585c3922a4b187.tar.gz
7w-3bc64a91ce3478fdffcacf2ad5585c3922a4b187.tar.bz2
7w-3bc64a91ce3478fdffcacf2ad5585c3922a4b187.zip
Started adding support for special cards
Diffstat (limited to 'wonder.c')
-rw-r--r--wonder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wonder.c b/wonder.c
index 5c5169e..de5a986 100644
--- a/wonder.c
+++ b/wonder.c
@@ -10,7 +10,7 @@ int data_getwonder(int p);
int data_getwonderside(int p);
void io_printborder(int x, int y, int width);
int io_printtext(int xorigin, int y, int width, char* text);
-int io_printcard(int x, int y, int wonder, int stage);
+int io_printcard(int x, int y, int wonder, int stage, int player);
void io_printname(int x, int y, int era, int card);
int data_getwonderstages(int p);
int data_getgold(int p);
@@ -95,9 +95,9 @@ int print_wonder(int x, int y, int player, int cursor)
//Info about component
if(cursor >= 0 && cursor < wonder_numstages(player))
- return io_printcard(x, y, data_getwonder(player), cursor+1+3*data_getwonderside(player));
+ return io_printcard(x, y, data_getwonder(player), cursor+1+3*data_getwonderside(player), player);
if(cursor >= wonder_numstages(player))
- return io_printcard(x, y, built[print], built[print+1]);
+ return io_printcard(x, y, built[print], built[print+1], player);
}
//dir is 0 for none, 1 for east, 2 for west
bgstack15