diff options
author | Nathan Vance <nathav63@gmail.com> | 2015-02-26 13:37:08 -0500 |
---|---|---|
committer | Nathan Vance <nathav63@gmail.com> | 2015-02-26 13:37:08 -0500 |
commit | 3bc64a91ce3478fdffcacf2ad5585c3922a4b187 (patch) | |
tree | ea1de35ce603809293c28982531332b9949776aa /wonder.c | |
parent | Trade ui implemented (diff) | |
download | 7w-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |