--- deliantra/server/common/image.C 2006/12/14 22:45:40 1.8 +++ deliantra/server/common/image.C 2007/01/10 19:52:43 1.11 @@ -1,6 +1,7 @@ /* CrossFire, A Multiplayer game for X-windows + Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team Copyright (C) 2002 Mark Wedel & Crossfire Development Team Copyright (C) 1992 Frank Tore Johansen @@ -113,6 +114,7 @@ { return strcmp (a->name, b->name); } + static int compar_smooth (const struct smoothing *a, const struct smoothing *b) { @@ -123,13 +125,11 @@ return 0; } - /* * Returns the matching color in the coloralias if found, * 0 otherwise. Note that 0 will actually be black, so there is no * way the calling function can tell if an error occurred or not */ - static uint8 find_color (const char *name) { @@ -145,7 +145,6 @@ /* This reads the lib/faces file, getting color and visibility information. * it is called by ReadBmapNames. */ - static void ReadFaceData (void) { @@ -154,7 +153,7 @@ FILE *fp; sprintf (buf, "%s/faces", settings.datadir); - LOG (llevDebug, "Reading faces from %s...", buf); + LOG (llevDebug, "Reading faces from %s...\n", buf); if ((fp = fopen (buf, "r")) == NULL) { LOG (llevError, "Cannot open faces file %s: %s\n", buf, strerror (errno)); @@ -218,6 +217,7 @@ else LOG (llevDebug, "Got unknown line in faces file: %s\n", buf); } + LOG (llevDebug, "done\n"); fclose (fp); } @@ -227,7 +227,6 @@ * independent (ie, what display the person is on will not make a * difference.) */ - void ReadBmapNames (void) { @@ -238,7 +237,7 @@ bmaps_checksum = 0; sprintf (buf, "%s/bmaps", settings.datadir); - LOG (llevDebug, "Reading bmaps from %s...", buf); + LOG (llevDebug, "Reading bmaps from %s...\n", buf); if ((fp = fopen (buf, "r")) == NULL) { LOG (llevError, "Cannot open bmaps file %s: %s\n", buf, strerror (errno)); @@ -389,7 +388,7 @@ bmaps_checksum = 0; sprintf (buf, "%s/smooth", settings.datadir); - LOG (llevDebug, "Reading smooth from %s...", buf); + LOG (llevDebug, "Reading smooth from %s...\n", buf); if ((fp = fopen (buf, "r")) == NULL) { LOG (llevError, "Cannot open smooth file %s: %s\n", strerror (errno));