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.119 by root, Sun Dec 31 10:28:36 2006 UTC vs.
Revision 1.121 by root, Sun Dec 31 18:10:41 2006 UTC

1288 const_iv (P_BLOCKSVIEW) 1288 const_iv (P_BLOCKSVIEW)
1289 const_iv (P_PLAYER) 1289 const_iv (P_PLAYER)
1290 const_iv (P_NO_MAGIC) 1290 const_iv (P_NO_MAGIC)
1291 const_iv (P_IS_ALIVE) 1291 const_iv (P_IS_ALIVE)
1292 const_iv (P_NO_CLERIC) 1292 const_iv (P_NO_CLERIC)
1293 const_iv (P_NEED_UPDATE)
1294 const_iv (P_OUT_OF_MAP) 1293 const_iv (P_OUT_OF_MAP)
1295 const_iv (P_NEW_MAP) 1294 const_iv (P_NEW_MAP)
1295 const_iv (P_UPTODATE)
1296 1296
1297 const_iv (UP_OBJ_INSERT) 1297 const_iv (UP_OBJ_INSERT)
1298 const_iv (UP_OBJ_REMOVE) 1298 const_iv (UP_OBJ_REMOVE)
1299 const_iv (UP_OBJ_CHANGE) 1299 const_iv (UP_OBJ_CHANGE)
1300 const_iv (UP_OBJ_FACE) 1300 const_iv (UP_OBJ_FACE)
1595 case 5: RETVAL = settings.playerdir; break; 1595 case 5: RETVAL = settings.playerdir; break;
1596 case 6: RETVAL = settings.datadir ; break; 1596 case 6: RETVAL = settings.datadir ; break;
1597 } 1597 }
1598 OUTPUT: RETVAL 1598 OUTPUT: RETVAL
1599 1599
1600void abort ()
1601
1600void emergency_save () 1602void emergency_save ()
1601 1603
1602void _exit (int status = 0) 1604void _exit (int status = 0)
1603 1605
1604int find_animation (char *text) 1606int find_animation (char *text)
1913 RETVAL = op->contr; 1915 RETVAL = op->contr;
1914 OUTPUT: RETVAL 1916 OUTPUT: RETVAL
1915 1917
1916void check_score (object *op) 1918void check_score (object *op)
1917 1919
1918void cf_player_message (object *obj, char *txt, int flags = NDI_ORANGE | NDI_UNIQUE) 1920void message (object *op, char *txt, int flags = NDI_ORANGE | NDI_UNIQUE)
1921 CODE:
1922 new_draw_info (flags, 0, op, txt);
1919 1923
1920object *cf_player_send_inventory (object *op) 1924object *cf_player_send_inventory (object *op)
1921 1925
1922char *cf_player_get_ip (object *op) 1926char *cf_player_get_ip (object *op)
1923 ALIAS: ip = 0 1927 ALIAS: ip = 0
2227 region *region\ 2231 region *region\
2228) 2232)
2229 CODE: 2233 CODE:
2230{ 2234{
2231 random_map_params rmp; 2235 random_map_params rmp;
2236 memset (&rmp, 0, sizeof (rmp)); // just to be sure
2232 2237
2233 assign (rmp.wallstyle , wallstyle); 2238 assign (rmp.wallstyle , wallstyle);
2234 assign (rmp.wall_name , wall_name); 2239 assign (rmp.wall_name , wall_name);
2235 assign (rmp.floorstyle , floorstyle); 2240 assign (rmp.floorstyle , floorstyle);
2236 assign (rmp.monsterstyle , monsterstyle); 2241 assign (rmp.monsterstyle , monsterstyle);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines