ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/image.C
(Generate patch)

Comparing deliantra/server/common/image.C (file contents):
Revision 1.6 by root, Sun Sep 10 16:00:23 2006 UTC vs.
Revision 1.8 by root, Thu Dec 14 22:45:40 2006 UTC

1
2/*
3 * static char *rcsid_image_c =
4 * "$Id: image.C,v 1.6 2006/09/10 16:00:23 root Exp $";
5 */
6
7/* 1/*
8 CrossFire, A Multiplayer game for X-windows 2 CrossFire, A Multiplayer game for X-windows
9 3
10 Copyright (C) 2002 Mark Wedel & Crossfire Development Team 4 Copyright (C) 2002 Mark Wedel & Crossfire Development Team
11 Copyright (C) 1992 Frank Tore Johansen 5 Copyright (C) 1992 Frank Tore Johansen
22 16
23 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software 18 along with this program; if not, write to the Free Software
25 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 20
27 The maintainer of this code can be reached at crossfire-devel@real-time.com 21 The maintainer of this code can be reached at <crossfire@schmorp.de>
28*/ 22*/
29 23
30 24
31#include <global.h> 25#include <global.h>
32#include <stdio.h> 26#include <stdio.h>
270 { 264 {
271 LOG (llevDebug, "Warning, syntax error: %s\n", buf); 265 LOG (llevDebug, "Warning, syntax error: %s\n", buf);
272 continue; 266 continue;
273 } 267 }
274 value = atoi (p); 268 value = atoi (p);
275 xbm[nroffiles].name = strdup_local (q); 269 xbm[nroffiles].name = strdup (q);
276 270
277 /* We need to calculate the checksum of the bmaps file 271 /* We need to calculate the checksum of the bmaps file
278 * name->number mapping to send to the client. This does not 272 * name->number mapping to send to the client. This does not
279 * need to match what sum or other utility may come up with - 273 * need to match what sum or other utility may come up with -
280 * as long as we get the same results on the same real file 274 * as long as we get the same results on the same real file

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines