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

Comparing deliantra/server/plugins/cfperl/cfperl.xs (file contents):
Revision 1.42 by root, Tue Mar 28 16:48:12 2006 UTC vs.
Revision 1.43 by root, Fri Mar 31 19:47:55 2006 UTC

1634 player *pl; 1634 player *pl;
1635 for (pl = first_player; pl; pl = pl->next) 1635 for (pl = first_player; pl; pl = pl->next)
1636 XPUSHs (newSVcfapi (CFAPI_PPLAYER, pl)); 1636 XPUSHs (newSVcfapi (CFAPI_PPLAYER, pl));
1637} 1637}
1638 1638
1639bool
1640peaceful (player *pl, bool new_setting = 0)
1641 PROTOTYPE: $;$
1642 CODE:
1643 RETVAL = pl->peaceful;
1644 if (items > 1)
1645 pl->peaceful = new_setting;
1646 OUTPUT:
1647 RETVAL
1648
1639living * 1649living *
1640orig_stats (player *pl) 1650orig_stats (player *pl)
1641 CODE: 1651 CODE:
1642 RETVAL = &pl->orig_stats; 1652 RETVAL = &pl->orig_stats;
1643 OUTPUT: RETVAL 1653 OUTPUT: RETVAL

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines