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

Comparing deliantra/server/socket/image.C (file contents):
Revision 1.24 by root, Sun Mar 11 02:12:45 2007 UTC vs.
Revision 1.25 by root, Sun Mar 11 20:25:37 2007 UTC

207} 207}
208 208
209// how lame 209// how lame
210static void print_facename (packet &sl, const facedata &d) 210static void print_facename (packet &sl, const facedata &d)
211{ 211{
212 sl.printf ("%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x" 212 for (int i = 0; i < CHKSUM_SIZE; ++i)
213 "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x", 213 sl.printf ("%02x", d.chksum [i]);
214 d.chksum [ 0], d.chksum [ 1], d.chksum [ 2], d.chksum [ 3],
215 d.chksum [ 4], d.chksum [ 5], d.chksum [ 6], d.chksum [ 7],
216 d.chksum [ 8], d.chksum [ 9], d.chksum [10], d.chksum [11],
217 d.chksum [12], d.chksum [13], d.chksum [14], d.chksum [15]);
218} 214}
219 215
220/** 216/**
221 * Sends a face to a client if they are in pixmap mode 217 * Sends a face to a client if they are in pixmap mode
222 * nothing gets sent in bitmap mode. 218 * nothing gets sent in bitmap mode.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines