summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authormc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-13 10:51:29 +0000
committermc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-13 10:51:29 +0000
commit61ec51abb422c4813347d5f2297e877f3a5ac22b (patch)
tree86df815d650218c554c9c22651af6948312b1f0d /src/map/pc.c
parent7cb9aaf42599afc257f9370ae9aefc3b4aba81c3 (diff)
downloadhercules-61ec51abb422c4813347d5f2297e877f3a5ac22b.tar.gz
hercules-61ec51abb422c4813347d5f2297e877f3a5ac22b.tar.bz2
hercules-61ec51abb422c4813347d5f2297e877f3a5ac22b.tar.xz
hercules-61ec51abb422c4813347d5f2297e877f3a5ac22b.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@552 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c25
1 files changed, 17 insertions, 8 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 6b4e4d7a6..7f6b2cb1f 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -7706,7 +7706,8 @@ int pc_readdb(void)
break;
}
fclose(fp);
- printf("read db/exp.txt done\n");
+ sprintf(tmp_output,"Done reading '\033[1;29m%s\033[0;0m'.\n","db/exp.txt");
+ ShowStatus(tmp_output);
// JOB補正?値1
fp=fopen("db/job_db1.txt","r");
@@ -7740,7 +7741,8 @@ int pc_readdb(void)
break;
}
fclose(fp);
- printf("read db/job_db1.txt done\n");
+ sprintf(tmp_output,"Done reading '\033[1;29m%s\033[0;0m'.\n","db/job_db1.txt");
+ ShowStatus(tmp_output);
// JOBボ?ナス
fp=fopen("db/job_db2.txt","r");
@@ -7768,7 +7770,8 @@ int pc_readdb(void)
break;
}
fclose(fp);
- printf("read db/job_db2.txt done\n");
+ sprintf(tmp_output,"Done reading '\033[1;29m%s\033[0;0m'.\n","db/job_db2.txt");
+ ShowStatus(tmp_output);
// JOBボ?ナス2 ?生職用
fp=fopen("db/job_db2-2.txt","r");
@@ -7833,7 +7836,8 @@ int pc_readdb(void)
}
}
fclose(fp);
- printf("read db/skill_tree.txt done\n");
+ sprintf(tmp_output,"Done reading '\033[1;29m%s\033[0;0m'.\n","db/skill_tree.txt");
+ ShowStatus(tmp_output);
// ?性修正テ?ブル
for(i=0;i<4;i++)
@@ -7879,7 +7883,8 @@ int pc_readdb(void)
}
}
fclose(fp);
- printf("read db/attr_fix.txt done\n");
+ sprintf(tmp_output,"Done reading '\033[1;29m%s\033[0;0m'.\n","db/attr_fix.txt");
+ ShowStatus(tmp_output);
// サイズ補正テ?ブル
for(i=0;i<3;i++)
@@ -7908,7 +7913,8 @@ int pc_readdb(void)
i++;
}
fclose(fp);
- printf("read db/size_fix.txt done\n");
+ sprintf(tmp_output,"Done reading '\033[1;29m%s\033[0;0m'.\n","db/size_fix.txt");
+ ShowStatus(tmp_output);
// 精?デ?タテ?ブル
for(i=0;i<5;i++){
@@ -7944,7 +7950,8 @@ int pc_readdb(void)
i++;
}
fclose(fp); //Lupus. close this file!!!
- printf("read db/refine_db.txt done\n");
+ sprintf(tmp_output,"Done reading '\033[1;29m%s\033[0;0m'.\n","db/refine_db.txt");
+ ShowStatus(tmp_output);
return 0;
}
@@ -7985,7 +7992,9 @@ static void pc_statpointdb(void)
buf_stat = (char *) malloc (end + 1);
l = fread(buf_stat,1,end,stp);
fclose(stp);
- printf("read db/statpoint.txt done (size=%d)\n",l);
+ sprintf(tmp_output,"Done reading '\033[1;29m%s\033[0;0m'.\n","db/statpoint.txt");
+ ShowStatus(tmp_output);
+// printf("read db/statpoint.txt done (size=%d)\n",l);
for(i=0;i<255;i++) {
j=0;