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

« back to all changes in this revision

Viewing changes to gtk-v2/src/pickup.c

  • 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
char *rcsid_gtk_pickup_c =
2
 
    "$Id: pickup.c,v 1.2 2005/11/01 13:46:10 akirschbaum Exp $";
 
2
    "$Id: pickup.c 5145 2006-11-29 22:55:31Z ryo_saeba $";
3
3
 
4
4
/*
5
5
    Crossfire client, a client program for the crossfire program.
81
81
#define PU_MAGIC_DEVICE         0x00800000
82
82
 
83
83
#define PU_NOT_CURSED           0x01000000
 
84
#define PU_JEWELS               0x02000000
 
85
#define PU_FLESH                0x04000000
84
86
 
85
87
static unsigned int pmode=0;
86
88
 
267
269
 
268
270
}
269
271
 
 
272
void
 
273
on_menu_jewels_activate                  (GtkMenuItem     *menuitem,
 
274
                                        gpointer         user_data)
 
275
{
 
276
    new_menu_pickup(gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem)), PU_JEWELS);
 
277
 
 
278
}
 
279
 
 
280
void
 
281
on_menu_flesh_activate                  (GtkMenuItem     *menuitem,
 
282
                                        gpointer         user_data)
 
283
{
 
284
    new_menu_pickup(gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem)), PU_FLESH);
 
285
 
 
286
}
 
287
 
270
288
/***************************************************************************
271
289
 * Weapons submenu
272
290
 ***************************************************************************/