ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/c_object.C
(Generate patch)

Comparing deliantra/server/server/c_object.C (file contents):
Revision 1.21 by root, Sun Oct 15 02:16:35 2006 UTC vs.
Revision 1.22 by root, Sun Dec 3 00:59:58 2006 UTC

1455 new_draw_info_format (NDI_UNIQUE, 0, op, "%d MAGICDEVICE", i & PU_MAGIC_DEVICE ? 1 : 0); 1455 new_draw_info_format (NDI_UNIQUE, 0, op, "%d MAGICDEVICE", i & PU_MAGIC_DEVICE ? 1 : 0);
1456 1456
1457 new_draw_info_format (NDI_UNIQUE, 0, op, "%d NOT CURSED", i & PU_NOT_CURSED ? 1 : 0); 1457 new_draw_info_format (NDI_UNIQUE, 0, op, "%d NOT CURSED", i & PU_NOT_CURSED ? 1 : 0);
1458 1458
1459 new_draw_info_format (NDI_UNIQUE, 0, op, "%d JEWELS", i & PU_JEWELS ? 1 : 0); 1459 new_draw_info_format (NDI_UNIQUE, 0, op, "%d JEWELS", i & PU_JEWELS ? 1 : 0);
1460 new_draw_info_format (NDI_UNIQUE, 0, op, "%d FLESH", i & PU_FLESH ? 1 : 0);
1460 1461
1461 new_draw_info_format (NDI_UNIQUE, 0, op, ""); 1462 new_draw_info_format (NDI_UNIQUE, 0, op, "");
1462} 1463}
1463 1464
1464int 1465int
1466{ 1467{
1467 uint32 i; 1468 uint32 i;
1468 static const char *names[] = { 1469 static const char *names[] = {
1469 "debug", "inhibit", "stop", "food", "drink", "valuables", "bow", "arrow", "helmet", 1470 "debug", "inhibit", "stop", "food", "drink", "valuables", "bow", "arrow", "helmet",
1470 "shield", "armour", "boots", "gloves", "cloak", "key", "missile", "allweapon", 1471 "shield", "armour", "boots", "gloves", "cloak", "key", "missile", "allweapon",
1471 "magical", "potion", "spellbook", "skillscroll", "readables", "magicdevice", "notcursed", "jewels", NULL 1472 "magical", "potion", "spellbook", "skillscroll", "readables", "magicdevice", "notcursed",
1473 "jewels", "flesh", NULL
1472 }; 1474 };
1473 static uint32 modes[] = { 1475 static uint32 modes[] = {
1474 PU_DEBUG, PU_INHIBIT, PU_STOP, PU_FOOD, PU_DRINK, PU_VALUABLES, PU_BOW, PU_ARROW, PU_HELMET, 1476 PU_DEBUG, PU_INHIBIT, PU_STOP, PU_FOOD, PU_DRINK, PU_VALUABLES, PU_BOW, PU_ARROW, PU_HELMET,
1475 PU_SHIELD, PU_ARMOUR, PU_BOOTS, PU_GLOVES, PU_CLOAK, PU_KEY, PU_MISSILEWEAPON, PU_ALLWEAPON, 1477 PU_SHIELD, PU_ARMOUR, PU_BOOTS, PU_GLOVES, PU_CLOAK, PU_KEY, PU_MISSILEWEAPON, PU_ALLWEAPON,
1476 PU_MAGICAL, PU_POTION, PU_SPELLBOOK, PU_SKILLSCROLL, PU_READABLES, PU_MAGIC_DEVICE, PU_NOT_CURSED, PU_JEWELS, 0 1478 PU_MAGICAL, PU_POTION, PU_SPELLBOOK, PU_SKILLSCROLL, PU_READABLES, PU_MAGIC_DEVICE, PU_NOT_CURSED,
1479 PU_JEWELS, PU_FLESH, 0
1477 }; 1480 };
1478 1481
1479 if (!params) 1482 if (!params)
1480 { 1483 {
1481 /* if the new mode is used, just print the settings */ 1484 /* if the new mode is used, just print the settings */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines