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.55 by root, Tue Sep 12 18:15:34 2006 UTC vs.
Revision 1.57 by root, Thu Sep 14 18:13:02 2006 UTC

1616 reattach (pl); 1616 reattach (pl);
1617 1617
1618 for (mapstruct *map = first_map; map; map = map->next) 1618 for (mapstruct *map = first_map; map; map = map->next)
1619 reattach (map); 1619 reattach (map);
1620 1620
1621 for (object *op = objects; op; op = op->next) 1621 for (object *op = object::first; op; op = op->next)
1622 reattach (op); 1622 reattach (op);
1623} 1623}
1624 1624
1625NV floor (NV x) 1625NV floor (NV x)
1626 1626
1674 case 5: RETVAL = settings.playerdir; break; 1674 case 5: RETVAL = settings.playerdir; break;
1675 case 6: RETVAL = settings.datadir ; break; 1675 case 6: RETVAL = settings.datadir ; break;
1676 } 1676 }
1677 OUTPUT: RETVAL 1677 OUTPUT: RETVAL
1678 1678
1679int 1679void _exit (int status = 0)
1680
1680cf_find_animation (char *text) 1681int cf_find_animation (char *text)
1681 PROTOTYPE: $ 1682 PROTOTYPE: $
1682 1683
1683int random_roll(int min, int max, object *op, int goodbad); 1684int random_roll(int min, int max, object *op, int goodbad);
1684 1685
1685const char *cost_string_from_value(uint64 cost, int approx = 0) 1686const char *cost_string_from_value(uint64 cost, int approx = 0)
1751SV *registry (object *op) 1752SV *registry (object *op)
1752 CODE: 1753 CODE:
1753 RETVAL = registry_of (op); 1754 RETVAL = registry_of (op);
1754 OUTPUT: 1755 OUTPUT:
1755 RETVAL 1756 RETVAL
1757
1758void mortals ()
1759 CODE:
1760 EXTEND (SP, object::mortals.size ());
1761 for (AUTODECL (i, object::mortals.begin ()); i != object::mortals.end (); ++i)
1762 PUSHs (to_sv (*i));
1763
1764object *first ()
1765 CODE:
1766 RETVAL = object::first;
1767 OUTPUT: RETVAL
1756 1768
1757INCLUDE: $PERL genacc object ../include/object.h | 1769INCLUDE: $PERL genacc object ../include/object.h |
1758 1770
1759# missing properties 1771# missing properties
1760 1772

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines