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

Comparing deliantra/server/socket/lowlevel.C (file contents):
Revision 1.98 by root, Wed Nov 16 23:42:03 2016 UTC vs.
Revision 1.99 by root, Thu Jan 19 21:18:34 2017 UTC

150 memmove (inbuf, inbuf + len, inbuf_len); 150 memmove (inbuf, inbuf + len, inbuf_len);
151} 151}
152 152
153/***************************************************************************** 153/*****************************************************************************
154 * Start of command dispatch area. 154 * Start of command dispatch area.
155 * The commands here are protocol commands. 155 * The commands here are protocol commands.
156 ****************************************************************************/ 156 ****************************************************************************/
157 157
158// SocketCommand, PlayingCommand, should not exist with those ugly casts 158// SocketCommand, PlayingCommand, should not exist with those ugly casts
159#define SC(cb) (void *)static_cast<void (*)(char *, int, client *)>(cb), 159#define SC(cb) (void *)static_cast<void (*)(char *, int, client *)>(cb),
160#define PC(cb) (void *)static_cast<void (*)(char *, int, player *)>(cb), PF_PLAYER | 160#define PC(cb) (void *)static_cast<void (*)(char *, int, player *)>(cb), PF_PLAYER |

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines