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.102 by root, Fri Dec 22 16:34:00 2006 UTC vs.
Revision 1.103 by root, Sat Dec 23 06:21:02 2006 UTC

2196player *first () 2196player *first ()
2197 CODE: 2197 CODE:
2198 RETVAL = first_player; 2198 RETVAL = first_player;
2199 OUTPUT: RETVAL 2199 OUTPUT: RETVAL
2200 2200
2201player *next (player *pl)
2202 CODE:
2203 RETVAL = pl->next;
2204 OUTPUT: RETVAL
2205
2206bool 2201bool
2207cell_visible (player *pl, int dx, int dy) 2202cell_visible (player *pl, int dx, int dy)
2208 CODE: 2203 CODE:
2209 RETVAL = FABS (dx) <= pl->ns->mapx / 2 && FABS (dy) <= pl->ns->mapy / 2 2204 RETVAL = FABS (dx) <= pl->ns->mapx / 2 && FABS (dy) <= pl->ns->mapy / 2
2210 && !pl->blocked_los [dx + pl->ns->mapx / 2][dy + pl->ns->mapy / 2]; 2205 && !pl->blocked_los [dx + pl->ns->mapx / 2][dy + pl->ns->mapy / 2];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines