1 | /* |
1 | /* |
2 | * static char *rcsid_shop_c = |
2 | * static char *rcsid_shop_c = |
3 | * "$Id: shop.C,v 1.2 2006/08/14 04:22:05 elmex Exp $"; |
3 | * "$Id: shop.C,v 1.3 2006/08/14 07:10:47 elmex Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /* |
6 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
7 | CrossFire, A Multiplayer game for X-windows |
8 | |
8 | |
… | |
… | |
330 | * have so much money that they have more than 2 billion platinum |
330 | * have so much money that they have more than 2 billion platinum |
331 | * coins, there are certainly issues - the easiest fix at that |
331 | * coins, there are certainly issues - the easiest fix at that |
332 | * time is to add a higher denomination (mithril piece with |
332 | * time is to add a higher denomination (mithril piece with |
333 | * 10,000 silver or something) |
333 | * 10,000 silver or something) |
334 | */ |
334 | */ |
335 | static const char *cost_string_from_value(uint64 cost, int approx) |
335 | const char *cost_string_from_value(uint64 cost, int approx) |
336 | { |
336 | { |
337 | static char buf[MAX_BUF]; |
337 | static char buf[MAX_BUF]; |
338 | archetype *coin, *next_coin; |
338 | archetype *coin, *next_coin; |
339 | int num, cointype = 0; |
339 | int num, cointype = 0; |
340 | |
340 | |