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.214 by root, Sat May 26 15:44:07 2007 UTC vs.
Revision 1.215 by root, Sun May 27 23:56:21 2007 UTC

1741object *actives (U32 index) 1741object *actives (U32 index)
1742 CODE: 1742 CODE:
1743 RETVAL = index < actives.size () ? actives [index] : 0; 1743 RETVAL = index < actives.size () ? actives [index] : 0;
1744 OUTPUT: RETVAL 1744 OUTPUT: RETVAL
1745 1745
1746const char *slot_save_name (U32 slot) 1746const char *slot_use_name (U32 slot)
1747 ALIAS: 1747 ALIAS:
1748 slot_use_name = 1
1749 slot_nonuse_name = 2 1748 slot_nonuse_name = 1
1750 CODE: 1749 CODE:
1751{ 1750{
1752 if (slot >= NUM_BODY_LOCATIONS) 1751 if (slot >= NUM_BODY_LOCATIONS)
1753 croak ("body slot index out of range"); 1752 croak ("body slot index out of range");
1754 1753
1755 switch (ix) 1754 switch (ix)
1756 { 1755 {
1757 case 0: RETVAL = body_locations[slot].save_name; break;
1758 case 1: RETVAL = body_locations[slot].use_name; break; 1756 case 0: RETVAL = body_locations[slot].use_name; break;
1759 case 2: RETVAL = body_locations[slot].nonuse_name; break; 1757 case 1: RETVAL = body_locations[slot].nonuse_name; break;
1760 } 1758 }
1761} 1759}
1762 OUTPUT: 1760 OUTPUT:
1763 RETVAL 1761 RETVAL
1764 1762

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines