diff options
author | Alexander Baldeck <alexander@archlinux.org> | 2004-10-03 13:01:25 +0000 |
---|---|---|
committer | Alexander Baldeck <alexander@archlinux.org> | 2004-10-03 13:01:25 +0000 |
commit | 3f10af1967a587e6b3c583316aa97bff5a0dc62a (patch) | |
tree | b2abd1026e81d7aacf09f96e2d2e3d449de4d1af /src/gui/stats.cpp | |
parent | 0b00bf2ccff23b5f565e214b36be3ea823ab59da (diff) | |
download | mana-client-3f10af1967a587e6b3c583316aa97bff5a0dc62a.tar.gz mana-client-3f10af1967a587e6b3c583316aa97bff5a0dc62a.tar.bz2 mana-client-3f10af1967a587e6b3c583316aa97bff5a0dc62a.tar.xz mana-client-3f10af1967a587e6b3c583316aa97bff5a0dc62a.zip |
*** empty log message ***
Diffstat (limited to 'src/gui/stats.cpp')
-rw-r--r-- | src/gui/stats.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/stats.cpp b/src/gui/stats.cpp index bd9c413d..d036c58b 100644 --- a/src/gui/stats.cpp +++ b/src/gui/stats.cpp @@ -23,26 +23,26 @@ #include "stats.h" -char stats_name[48]; +char stats_name[42]; char stats_hp[24]; char stats_sp[24]; char stats_zeny[24]; DIALOG stats_dialog[] = { - /* (dialog proc) (x) (y) (w) (h) (fg) (bg) (key) (flags) (d1) (d2) (dp) (dp2) (dp3) */ - { tmw_ldialog_proc, 493, 0, 300, 55, 0, 0, 0, 0, 0, 0, stats_name, NULL, NULL }, - { tmw_text_proc, 497, 22, 296, 100, 0, 0, 0, 0, 0, 0, stats_hp, NULL, NULL }, - { tmw_text_proc, 607, 22, 296, 100, 0, 0, 0, 0, 0, 0, stats_zeny, NULL, NULL }, - { tmw_text_proc, 497, 34, 296, 100, 0, 0, 0, 0, 0, 0, stats_sp, NULL, NULL }, - { NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL } + /* (dialog proc) (x) (y) (w) (h) (fg) (bg) (key) (flags) (d1) (d2) (dp) (dp2) (dp3) */ + { tmw_ldialog_proc, 493, 0, 300, 55, 0, 0, 0, 0, 0, 0, stats_name, NULL, NULL }, + { tmw_text_proc, 497, 22, 296, 100, 0, 0, 0, 0, 0, 0, stats_hp, NULL, NULL }, + { tmw_text_proc, 607, 22, 296, 100, 0, 0, 0, 0, 0, 0, stats_zeny, NULL, NULL }, + { tmw_text_proc, 497, 34, 296, 100, 0, 0, 0, 0, 0, 0, stats_sp, NULL, NULL }, + { NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL } }; /** updates stats_dialog w/ values from PLAYER_INFO *char_info */ void update_stats_dialog() { - sprintf(stats_name, "%s Lvl:% 2i Job:% 2i", char_info->name, char_info->lv, char_info->job_lv); - sprintf(stats_hp, "HP % 4d / % 4d", char_info->hp, char_info->max_hp); - sprintf(stats_zeny, "Zeny % 5i", char_info->zeny); - sprintf(stats_sp, "SP % 4d / % 4d", char_info->sp, char_info->max_sp); + sprintf(stats_name, "%s Lvl: % 2i Job: % 2i", char_info->name, char_info->lv, char_info->job_lv); + sprintf(stats_hp, "HP % 4d / % 4d", char_info->hp, char_info->max_hp); + sprintf(stats_zeny, "Zeny % 5i", char_info->zeny); + sprintf(stats_sp, "SP % 4d / % 4d", char_info->sp, char_info->max_sp); } |