From 667f03610913b86c18c3039804d6a9c39d3612b6 Mon Sep 17 00:00:00 2001 From: mogami Date: Thu, 24 Jan 2002 08:50:03 +0000 Subject: [PATCH] =?utf8?q?=E3=82=82=E3=81=86=E4=BD=BF=E3=82=8F=E3=81=AA?= =?utf8?q?=E3=81=8F=E3=81=AA=E3=81=A3=E3=81=9F=20prt=5Fnum()=E7=AD=89?= =?utf8?q?=E3=82=92=E5=89=8A=E9=99=A4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/files.c | 61 ------------------------------------------------------------- 1 file changed, 61 deletions(-) diff --git a/src/files.c b/src/files.c index f950dc763..b3cac158d 100644 --- a/src/files.c +++ b/src/files.c @@ -1502,64 +1502,6 @@ errr check_load_init(void) } -/* - * Print long number with header at given row, column - * Use the color for the number, not the header - */ -static void prt_lnum(cptr header, s32b num, int row, int col, byte color) -{ - int len = strlen(header); - char out_val[32]; - put_str(header, row, col); - (void)sprintf(out_val, "%9ld", (long)num); - c_put_str(color, out_val, row, col + len); -} - - -/* - * Print number with header at given row, column - */ -static void prt_num(cptr header, int num, int row, int col, byte color) -{ - int len = strlen(header); - char out_val[32]; - put_str(header, row, col); - put_str(" ", row, col + len); - (void)sprintf(out_val, "%6ld", (long)num); - c_put_str(color, out_val, row, col + len + 3); -} - - -#ifdef JP -/* ÆüËܸìÈdzÈÄ¥ - * £È£Ð / ºÇÂç ¤Î¤è¤¦¤Êɽ¼¨ - * xxxxx / yyyyy - */ -static void prt_num_max( int num, int max , int row, int col, byte color1, byte color2 ) -{ - char out_val[32]; - (void)sprintf(out_val, "%5ld", (long)num); - c_put_str(color1, out_val, row, col ); - put_str("/",row, col+6); - (void)sprintf(out_val, "%5ld", (long)max); - c_put_str(color2, out_val, row, col+8 ); -} - -/* ÆüËܸìÈdzÈÄ¥ - * xx ºÐ ¤È¤« xx kg ¤Ê¤É¤Îɽ¼¨ÍÑ cptr tailer ¤Ëñ°Ì¤¬Æþ¤ë¡£ - */ -static void prt_num2(cptr header, cptr tailer, int num, int row, int col, byte color) -{ - int len = strlen(header); - char out_val[32]; - put_str(header, row, col); - put_str(" ", row, col + len); - (void)sprintf(out_val, "%6ld", (long)num); - c_put_str(color, out_val, row, col + len + 3); - put_str(tailer, row, col + len + 3+6); -} -#endif - #define ENTRY_BARE_HAND 0 #define ENTRY_TWO_HANDS 1 #define ENTRY_RIGHT_HAND1 2 @@ -1740,9 +1682,6 @@ static void display_player_one_line(int entry, cptr val, byte attr) /* * Prints the following information on the screen. - * - * For this to look right, the following should be spaced the - * same as in the prt_lnum code... -CFT */ static void display_player_middle(void) { -- 2.11.0