summaryrefslogtreecommitdiff
path: root/src/map/mob.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/mob.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/mob.c')
-rw-r--r--src/map/mob.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index e802e9228..0c9bbc734 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -21,6 +21,7 @@
#include "party.h"
#include "npc.h"
#include "log.h"
+#include "showmsg.h"
#ifdef MEMWATCH
#include "memwatch.h"
@@ -3889,7 +3890,8 @@ static int mob_readdb(void)
mob_db[class].clothes_color=0; //Add for player monster dye - Valaris
}
fclose(fp);
- printf("read %s done\n",filename[i]);
+ sprintf(tmp_output,"Done reading '\033[1;29m%s\033[0;0m'.\n",filename[i]);
+ ShowStatus(tmp_output);
}
return 0;
}
@@ -4001,7 +4003,8 @@ static int mob_read_randommonster(void)
mob_db[class].summonper[i]=per;
}
fclose(fp);
- printf("read %s done\n",mobfile[i]);
+ sprintf(tmp_output,"Done reading '\033[1;29m%s\033[0;0m'.\n",mobfile[i]);
+ ShowStatus(tmp_output);
}
return 0;
}
@@ -4153,7 +4156,8 @@ static int mob_readskilldb(void)
mob_db[mob_id].maxskill=i+1;
}
fclose(fp);
- printf("read %s done\n",filename[x]);
+ sprintf(tmp_output,"Done reading '\033[1;29m%s\033[0;0m'.\n",filename[x]);
+ ShowStatus(tmp_output);
}
return 0;
}
@@ -4308,7 +4312,8 @@ static int mob_read_sqldb(void)
mob_db[class].head_buttom=0;
}
mysql_free_result(sql_res);
- printf("read %s done (count=%d)\n",mob_db_db,ln);
+ sprintf(tmp_output,"Done reading '\033[1;29m%lu\033[0;0m' entries in '\033[1;29m%s\033[0;0m'.\n",ln,mob_db_db);
+ ShowStatus(tmp_output);
}
return 0;
}