Searched refs:getinp (Results 1 - 9 of 9) sorted by relevance

/openbsd-current/games/monop/
H A Dspec.c46 com_num = getinp("Do you wish to lose 10% of your total worth or $200? ", perc);
H A Dmorg.c94 prop = getinp("Which property do you want to mortgage? ", names);
157 prop = getinp("Which property do you want to unmortgage? ", names);
206 (*func[(getinp("How are you going to fix it up? ", morg_coms))])();
H A DMakefile4 SRCS= monop.c cards.c execute.c getinp.c houses.c jail.c misc.c morg.c \
H A Dgetinp.c1 /* $OpenBSD: getinp.c,v 1.12 2016/01/08 18:20:33 mestre Exp $ */
2 /* $NetBSD: getinp.c,v 1.4 1995/04/24 12:24:20 cgd Exp $ */
47 getinp(char *prompt, char *list[]) function
H A Dmisc.c49 if ((com=getinp(prompt, ynlist)) < 2)
276 while ((pl=getinp("Whose holdings do you want to see? ", name_list)) < num_play)
H A Dtrade.c76 tradee = getinp("Which player do you wish to trade with? ",
117 prop = getinp("Which property do you wish to trade? ",
261 new_own = getinp("Who do you wish to resign to? ",
H A Dmonop.c71 execute(getinp("-- Command: ", comlist));
H A Dmonop.h147 /* getinp.c */
148 int getinp(char *, char *[]);
H A Dhouses.c100 if ((p=getinp("Which property do you wish to buy houses for? ", names)) == num_mon)
234 if ((p=getinp("Which property do you wish to sell houses from? ", names)) == num_mon)

Completed in 115 milliseconds