Lines Matching defs:trade
1 /* $NetBSD: trade.c,v 1.16 2012/06/19 05:35:32 dholland Exp $ */
35 static char sccsid[] = "@(#)trade.c 8.1 (Berkeley) 5/31/93";
37 __RCSID("$NetBSD: trade.c,v 1.16 2012/06/19 05:35:32 dholland Exp $");
50 typedef struct trd_st TRADE;
56 static TRADE trades[2];
62 static void move_em(TRADE *, TRADE *);
65 trade(void)
77 printf("There ain't no-one around to trade WITH!!\n");
81 tradee = getinp("Which player do you wish to trade with? ",
86 printf("You can't trade with yourself!\n");
96 if (getyn("Is the trade ok? ") == 0)
111 TRADE *tp;
123 propnum=getinp("Which property do you wish to trade? ",
172 * This routine summates the trade.
179 TRADE *tp;
203 * This routine actually executes the trade.
216 move_em(TRADE *from, TRADE *to)