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

Comparing deliantra/server/common/item.C (file contents):
Revision 1.62 by root, Thu Nov 5 15:43:21 2009 UTC vs.
Revision 1.63 by root, Fri Nov 6 13:03:34 2009 UTC

207 {BUILDER, "item builder", "item builders", 0, 0}, 207 {BUILDER, "item builder", "item builders", 0, 0},
208 {MATERIAL, "building material", "building materials", 0, 0}, 208 {MATERIAL, "building material", "building materials", 0, 0},
209 {ITEM_TRANSFORMER, "item_transformer", "item_transformers", 0, 0}, 209 {ITEM_TRANSFORMER, "item_transformer", "item_transformers", 0, 0},
210}; 210};
211 211
212const int item_types_size = sizeof (item_types) / sizeof (*item_types); 212static const int item_types_size = sizeof (item_types) / sizeof (*item_types);
213 213
214materialtype_t *materialt; 214materialtype_t *materialt;
215 215
216/* 216/*
217materialtype material[NROFMATERIALS] = { 217materialtype material[NROFMATERIALS] = {
446 * get_number(integer) returns the text-representation of the given number 446 * get_number(integer) returns the text-representation of the given number
447 * in a static buffer. The buffer might be overwritten at the next 447 * in a static buffer. The buffer might be overwritten at the next
448 * call to get_number(). 448 * call to get_number().
449 * It is currently only used by the query_name() function. 449 * It is currently only used by the query_name() function.
450 */ 450 */
451const char * 451static const char *
452get_number (int i) 452get_number (int i)
453{ 453{
454 if (i <= 20) 454 if (i <= 20)
455 return numbers[i]; 455 return numbers[i];
456 else 456 else
473 */ 473 */
474 474
475/* Aug 95 modified this slightly so that Skill tools don't have magic bonus 475/* Aug 95 modified this slightly so that Skill tools don't have magic bonus
476 * from stats.sp - b.t. 476 * from stats.sp - b.t.
477 */ 477 */
478const char * 478static const char *
479ring_desc (const object *op) 479ring_desc (const object *op)
480{ 480{
481 static dynbuf_text buf; buf.clear (); 481 static dynbuf_text buf; buf.clear ();
482 int attr, val, len; 482 int attr, val, len;
483 483

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines