~ubuntu-branches/ubuntu/warty/crossfire-client/warty

« back to all changes in this revision

Viewing changes to common/item.h

  • Committer: Bazaar Package Importer
  • Author(s): Jaakko Niemi
  • Date: 2003-11-15 22:42:35 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20031115224235-ib30cdn3dvr5ptle
Tags: 1.6.0-2
* update config.{guess,sub} and slap self (closes: 218684)
* small patch to x11/png.c to fix segfault (closes: #218015, #218674)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * static char *rcsid_item_h =
3
 
 *   "$Id: item.h,v 1.2 2001/11/04 02:53:48 mwedel Exp $";
 
3
 *   "$Id: item.h,v 1.3 2002/05/31 03:44:54 mwedel Exp $";
4
4
 */
5
5
/*
6
6
    Crossfire client, a client program for the crossfire program.
37
37
#define NAME_LEN        128
38
38
#define copy_name(t,f) strncpy(t, f, NAME_LEN-1); t[NAME_LEN-1]=0;
39
39
 
 
40
#define NO_ITEM_TYPE            30000
40
41
/*
41
42
 *  item structure keeps all information what player 
42
43
 *  (= client) knows about items in its inventory
71
72
                                   routines can use this to redraw things */
72
73
    uint8 apply_type;           /* how item is applied (worn/wield/etc) */
73
74
    uint32 flagsval;            /* unmodified flags value as sent from the server*/
74
 
    uint8   type;               /* Item type for ordering */
 
75
    uint16   type;              /* Item type for ordering */
75
76
} item;
76
77
 
77
78
/*