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

Comparing deliantra/server/socket/request.C (file contents):
Revision 1.110 by root, Sun Jul 1 03:16:56 2007 UTC vs.
Revision 1.111 by root, Sun Jul 1 04:08:14 2007 UTC

471 471
472 ns->send_packet (cmdback); 472 ns->send_packet (cmdback);
473} 473}
474 474
475/** 475/**
476 * client requested an image. send it rate-limited
477 * before flushing.
478 */
479void
480AskFaceCmd (char *buf, int len, client *ns)
481{
482 ns->ixface.push_back (atoi (buf));
483}
484
485/**
486 * Tells client the picture it has to use
487 * to smooth a picture number given as argument.
488 */
489void
490AskSmooth (char *buf, int len, client *ns)
491{
492 ns->send_face (atoi (buf));
493 ns->flush_fx ();
494}
495
496/**
497 * This handles the general commands from the client (ie, north, fire, cast, 476 * This handles the general commands from the client (ie, north, fire, cast,
498 * etc.) 477 * etc.)
499 */ 478 */
500void 479void
501PlayerCmd (char *buf, int len, player *pl) 480PlayerCmd (char *buf, int len, player *pl)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines