version 1.38 | | version 1.39 |
---|
| | |
/* | | /* |
* static char *rcsid_c_misc_c = | | * static char *rcsid_c_misc_c = |
* "$Id: c_misc.c,v 1.38 2004/03/12 19:04:14 ryo_saeba Exp $"; | | * "$Id: c_misc.c,v 1.39 2004/03/26 21:59:28 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
int command_statistics(object *pl, char *params) | | int command_statistics(object *pl, char *params) |
{ | | { |
if (!pl->contr) return 1; | | if (!pl->contr) return 1; |
| | #ifndef WIN32 |
new_draw_info_format(NDI_UNIQUE, 0, pl," Experience: %lld",pl->stats.exp); | | new_draw_info_format(NDI_UNIQUE, 0, pl," Experience: %lld",pl->stats.exp); |
new_draw_info_format(NDI_UNIQUE, 0, pl," Next Level: %lld",level_exp(pl->level+1, pl->expmul)); | | new_draw_info_format(NDI_UNIQUE, 0, pl," Next Level: %lld",level_exp(pl->level+1, pl->expmul)); |
| | #else |
| | new_draw_info_format(NDI_UNIQUE, 0, pl," Experience: %I64d",pl->stats.exp); |
| | new_draw_info_format(NDI_UNIQUE, 0, pl," Next Level: %I64d",level_exp(pl->level+1, pl->expmul)); |
| | #endif |
new_draw_info(NDI_UNIQUE, 0, pl, "\nStat Nat/Real/Max"); | | new_draw_info(NDI_UNIQUE, 0, pl, "\nStat Nat/Real/Max"); |
| | |
new_draw_info_format(NDI_UNIQUE, 0, pl, "Str %2d/ %3d/%3d", | | new_draw_info_format(NDI_UNIQUE, 0, pl, "Str %2d/ %3d/%3d", |