~ubuntu-branches/ubuntu/maverick/crossfire-client/maverick

« back to all changes in this revision

Viewing changes to common/item.h

  • Committer: Bazaar Package Importer
  • Author(s): Kari Pahula
  • Date: 2007-04-13 21:15:44 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070413211544-vjo6zesj6g0wgmwf
Tags: 1.10.0-1
* New upstream release
* Install the README, README-dev and TODO files specific to the GTK2
  client to the corresponding package.

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.5 2005/12/27 14:26:29 ryo_saeba Exp $";
 
3
 *   "$Id: item.h 4963 2006-09-21 05:50:22Z mwedel $";
4
4
 */
5
5
/*
6
6
    Crossfire client, a client program for the crossfire program.
75
75
    uint16   type;              /* Item type for ordering */
76
76
} item;
77
77
 
78
 
/*
79
 
 *  A few macros to make clear interface 
80
 
 *  These will change (especially update_item and add_new_item)
81
 
 */
82
 
#define delete_item(tag) remove_item(locate_item(tag))
83
 
#define delete_item_inventory(tag) remove_item_inventory(locate_item(tag))
84
 
 
85
 
 
86
 
#define add_new_item(tag,loc,name,weight,face,flags) \
87
 
    set_item_values(create_new_item (locate_item(loc),tag), \
88
 
                    name,weight,face,flags)
89
 
 
90
78
/* Toolkits implement these. */
91
79
extern void item_event_item_deleting(item * it);
92
80
extern void item_event_container_clearing(item * container);