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.140 by root, Sat Jan 13 23:06:13 2007 UTC vs.
Revision 1.144 by root, Fri Jan 19 15:55:27 2007 UTC

1552 1552
1553NV floor (NV x) 1553NV floor (NV x)
1554 1554
1555NV ceil (NV x) 1555NV ceil (NV x)
1556 1556
1557NV rndm (...)
1558 CODE:
1559 switch (items)
1560 {
1561 case 0: RETVAL = rndm (); break;
1562 case 1: RETVAL = rndm (SvUV (ST (0))); break;
1563 case 2: RETVAL = rndm (SvIV (ST (0)), SvIV (ST (1))); break;
1564 default: croak ("cf::rndm requires none, one or two parameters."); break;
1565 }
1566 OUTPUT:
1567 RETVAL
1568
1557void server_tick () 1569void server_tick ()
1558 CODE: 1570 CODE:
1559 runtime = SvNVx (sv_runtime); 1571 runtime = SvNVx (sv_runtime);
1560 server_tick (); 1572 server_tick ();
1561 1573
1607 } 1619 }
1608 OUTPUT: RETVAL 1620 OUTPUT: RETVAL
1609 1621
1610void abort () 1622void abort ()
1611 1623
1624void fork_abort (char *cause = "cf::fork_abort")
1625
1612void cleanup (const char *cause, bool make_core = false) 1626void cleanup (const char *cause, bool make_core = false)
1613 1627
1614void emergency_save () 1628void emergency_save ()
1615 1629
1616void _exit (int status = 0) 1630void _exit (int status = 0)
1840 1854
1841void drop (object *who, object *op) 1855void drop (object *who, object *op)
1842 1856
1843void pick_up (object *who, object *op) 1857void pick_up (object *who, object *op)
1844 1858
1845object *cf_object_insert_object (object *op, object *container)
1846
1847object *cf_object_insert_in_ob (object *ob, object *where)
1848
1849int cf_object_teleport (object *op, maptile *map, int x, int y) 1859int cf_object_teleport (object *op, maptile *map, int x, int y)
1850 1860
1851void update_object (object *op, int action) 1861void update_object (object *op, int action)
1852 1862
1853object *cf_create_object_by_name (const char *name) 1863object *cf_create_object_by_name (const char *name)
1971 1981
1972void esrv_update_item (object *op, int what, object *item) 1982void esrv_update_item (object *op, int what, object *item)
1973 C_ARGS: what, op, item 1983 C_ARGS: what, op, item
1974 1984
1975void clear_los (object *op) 1985void clear_los (object *op)
1976
1977int command_teleport (object *op, char *params)
1978 1986
1979int command_summon (object *op, char *params) 1987int command_summon (object *op, char *params)
1980 1988
1981int command_arrest (object *op, char *params) 1989int command_arrest (object *op, char *params)
1982 1990

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines