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

Comparing deliantra/server/socket/info.C (file contents):
Revision 1.15 by root, Thu Dec 14 01:21:58 2006 UTC vs.
Revision 1.16 by root, Thu Dec 14 02:37:37 2006 UTC

43 * much the same thing as the draw_info above, but takes a color 43 * much the same thing as the draw_info above, but takes a color
44 * parameter. the esrv_drawinfo functions should probably be 44 * parameter. the esrv_drawinfo functions should probably be
45 * replaced with this, just using black as the color. 45 * replaced with this, just using black as the color.
46 */ 46 */
47static void 47static void
48esrv_print_msg (NewSocket * ns, int color, const char *str) 48esrv_print_msg (client_socket * ns, int color, const char *str)
49{ 49{
50 packet sl; 50 packet sl;
51 51
52 if (ns->status == Ns_Old) 52 if (ns->status == Ns_Old)
53 sl.printf ("%s\n", str); 53 sl.printf ("%s\n", str);
65 * subtype type and subtype of text message 65 * subtype type and subtype of text message
66 * intro Intro message to send with main message if client does not support the message type 66 * intro Intro message to send with main message if client does not support the message type
67 * message The main message 67 * message The main message
68 */ 68 */
69static void 69static void
70esrv_print_ext_msg (NewSocket * ns, int color, uint8 type, uint8 subtype, const char *message) 70esrv_print_ext_msg (client_socket * ns, int color, uint8 type, uint8 subtype, const char *message)
71{ 71{
72 packet sl; 72 packet sl;
73 73
74 sl.printf ("drawextinfo %d %hhu %hhu %s", color, type, subtype, message); 74 sl.printf ("drawextinfo %d %hhu %hhu %s", color, type, subtype, message);
75 ns->send_packet (sl); 75 ns->send_packet (sl);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines