(comstr, buy, check_market, display_mark, reset, sell): Change comstr
member com_type from mnemo character to item type. (whichitem): Unused, remove. (check_market): Use full item name instead of mnemo in telegrams. (display_mark): Separate arguments for item type and cheapest only. Cheapest only of specific item type is not implemented. (rese): Guard against bad com_type. Delete some code that had no effect.
This commit is contained in:
parent
988f9a8be7
commit
ca80c373bf
8 changed files with 35 additions and 59 deletions
|
@ -79,7 +79,6 @@ extern int trade_desc(struct trdstr *, union trdgenstr *);
|
|||
extern int trade_getitem(struct trdstr *, union trdgenstr *);
|
||||
extern long get_couval(int);
|
||||
extern long get_outstand(int);
|
||||
extern struct ichrstr *whichitem(char);
|
||||
|
||||
#define gettrade(n, p) \
|
||||
ef_read(EF_TRADE, n, (caddr_t)p)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue