ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/cfperl.xs
(Generate patch)

Comparing deliantra/server/server/cfperl.xs (file contents):
Revision 1.97 by root, Thu Dec 21 22:41:35 2006 UTC vs.
Revision 1.98 by root, Thu Dec 21 23:37:06 2006 UTC

2137 OUTPUT: RETVAL 2137 OUTPUT: RETVAL
2138 2138
2139bool 2139bool
2140cell_visible (player *pl, int dx, int dy) 2140cell_visible (player *pl, int dx, int dy)
2141 CODE: 2141 CODE:
2142 RETVAL = FABS (dx) <= pl->socket->mapx / 2 && FABS (dy) <= pl->socket->mapy / 2 2142 RETVAL = FABS (dx) <= pl->ns->mapx / 2 && FABS (dy) <= pl->ns->mapy / 2
2143 && !pl->blocked_los [dx + pl->socket->mapx / 2][dy + pl->socket->mapy / 2]; 2143 && !pl->blocked_los [dx + pl->ns->mapx / 2][dy + pl->ns->mapy / 2];
2144 OUTPUT: 2144 OUTPUT:
2145 RETVAL 2145 RETVAL
2146 2146
2147void 2147void
2148send (player *pl, SV *packet) 2148send (player *pl, SV *packet)
2149 CODE: 2149 CODE:
2150{ 2150{
2151 STRLEN len; 2151 STRLEN len;
2152 char *buf = SvPVbyte (packet, len); 2152 char *buf = SvPVbyte (packet, len);
2153 2153
2154 pl->socket->send_packet (buf, len); 2154 pl->ns->send_packet (buf, len);
2155} 2155}
2156 2156
2157int 2157int
2158listening (player *pl, int new_value = -1) 2158listening (player *pl, int new_value = -1)
2159 CODE: 2159 CODE:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines