Crossfire Client, Trunk
Classes | Macros | Functions | Variables
pickup.c File Reference
#include "client.h"
#include <gtk/gtk.h>
#include "main.h"
#include "image.h"
#include "gtk2proto.h"
Include dependency graph for pickup.c:

Go to the source code of this file.

Classes

struct  PickupMapping
 

Macros

#define MAX_PICKUPS   50
 
#define PU_ALLWEAPON   0x00020000
 
#define PU_ARMOUR   0x00000800
 
#define PU_ARROW   0x00000100
 
#define PU_BOOTS   0x00001000
 
#define PU_BOW   0x00000080
 
#define PU_CLOAK   0x00004000
 
#define PU_CONTAINERS   0x08000000
 
#define PU_DEBUG   0x10000000
 
#define PU_DRINK   0x00000020
 
#define PU_FLESH   0x04000000
 
#define PU_FOOD   0x00000010
 
#define PU_GLOVES   0x00002000
 
#define PU_HELMET   0x00000200
 
#define PU_INHIBIT   0x20000000
 
#define PU_JEWELS   0x02000000
 
#define PU_KEY   0x00008000
 
#define PU_MAGIC_DEVICE   0x00800000
 
#define PU_MAGICAL   0x00040000
 
#define PU_MISSILEWEAPON   0x00010000
 
#define PU_NEWMODE   0x80000000
 
#define PU_NOT_CURSED   0x01000000
 
#define PU_NOTHING   0x00000000
 
#define PU_POTION   0x00080000
 
#define PU_RATIO   0x0000000F
 
#define PU_READABLES   0x00400000
 
#define PU_SHIELD   0x00000400
 
#define PU_SKILLSCROLL   0x00200000
 
#define PU_SPELLBOOK   0x00100000
 
#define PU_STOP   0x40000000
 
#define PU_VALUABLES   0x00000040
 

Functions

void client_pickup (guint32 pickup)
 
static void new_menu_pickup (int on, int val)
 
void on_menu_all_weapons_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_arrows_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_body_armor_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_boots_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_bows_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_cloaks_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_containers_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_dont_pickup_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_drinks_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_flesh_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_food_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_gloves_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_helmets_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_jewels_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_keys_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_magical_items_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_missile_weapons_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_normal_book_scrolls_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_not_cursed_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_potions_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_ratio_10_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_ratio_15_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_ratio_20_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_ratio_25_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_ratio_30_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_ratio_35_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_ratio_40_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_ratio_45_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_ratio_50_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_ratio_5_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_ratio_pickup_off_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_shields_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_skillscrolls_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_spellbooks_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_stop_before_pickup_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_valuables_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_menu_wands_rods_horns_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void pickup_init (GtkWidget *window_root)
 

Variables

static unsigned int no_recurse =0
 
static int num_pickups =0
 
PickupMapping pickup_mapping [MAX_PICKUPS]
 
static unsigned int pmode =0
 

Detailed Description

This file covers the pickup menu items. We only implement the new pickup code - it seems to me that it should be able to cover everything the old pickup mode does.

Definition in file pickup.c.

Macro Definition Documentation

◆ MAX_PICKUPS

#define MAX_PICKUPS   50

Definition at line 34 of file pickup.c.

◆ PU_ALLWEAPON

#define PU_ALLWEAPON   0x00020000

Definition at line 70 of file pickup.c.

◆ PU_ARMOUR

#define PU_ARMOUR   0x00000800

Definition at line 62 of file pickup.c.

◆ PU_ARROW

#define PU_ARROW   0x00000100

Definition at line 59 of file pickup.c.

◆ PU_BOOTS

#define PU_BOOTS   0x00001000

Definition at line 64 of file pickup.c.

◆ PU_BOW

#define PU_BOW   0x00000080

Definition at line 57 of file pickup.c.

◆ PU_CLOAK

#define PU_CLOAK   0x00004000

Definition at line 66 of file pickup.c.

◆ PU_CONTAINERS

#define PU_CONTAINERS   0x08000000

Definition at line 82 of file pickup.c.

◆ PU_DEBUG

#define PU_DEBUG   0x10000000

Definition at line 47 of file pickup.c.

◆ PU_DRINK

#define PU_DRINK   0x00000020

Definition at line 55 of file pickup.c.

◆ PU_FLESH

#define PU_FLESH   0x04000000

Definition at line 81 of file pickup.c.

◆ PU_FOOD

#define PU_FOOD   0x00000010

Definition at line 54 of file pickup.c.

◆ PU_GLOVES

#define PU_GLOVES   0x00002000

Definition at line 65 of file pickup.c.

◆ PU_HELMET

#define PU_HELMET   0x00000200

Definition at line 60 of file pickup.c.

◆ PU_INHIBIT

#define PU_INHIBIT   0x20000000

Definition at line 48 of file pickup.c.

◆ PU_JEWELS

#define PU_JEWELS   0x02000000

Definition at line 80 of file pickup.c.

◆ PU_KEY

#define PU_KEY   0x00008000

Definition at line 67 of file pickup.c.

◆ PU_MAGIC_DEVICE

#define PU_MAGIC_DEVICE   0x00800000

Definition at line 77 of file pickup.c.

◆ PU_MAGICAL

#define PU_MAGICAL   0x00040000

Definition at line 71 of file pickup.c.

◆ PU_MISSILEWEAPON

#define PU_MISSILEWEAPON   0x00010000

Definition at line 69 of file pickup.c.

◆ PU_NEWMODE

#define PU_NEWMODE   0x80000000

Definition at line 50 of file pickup.c.

◆ PU_NOT_CURSED

#define PU_NOT_CURSED   0x01000000

Definition at line 79 of file pickup.c.

◆ PU_NOTHING

#define PU_NOTHING   0x00000000

Definition at line 45 of file pickup.c.

◆ PU_POTION

#define PU_POTION   0x00080000

Definition at line 72 of file pickup.c.

◆ PU_RATIO

#define PU_RATIO   0x0000000F

Definition at line 52 of file pickup.c.

◆ PU_READABLES

#define PU_READABLES   0x00400000

Definition at line 76 of file pickup.c.

◆ PU_SHIELD

#define PU_SHIELD   0x00000400

Definition at line 61 of file pickup.c.

◆ PU_SKILLSCROLL

#define PU_SKILLSCROLL   0x00200000

Definition at line 75 of file pickup.c.

◆ PU_SPELLBOOK

#define PU_SPELLBOOK   0x00100000

Definition at line 74 of file pickup.c.

◆ PU_STOP

#define PU_STOP   0x40000000

Definition at line 49 of file pickup.c.

◆ PU_VALUABLES

#define PU_VALUABLES   0x00000040

Definition at line 56 of file pickup.c.

Function Documentation

◆ client_pickup()

void client_pickup ( guint32  pickup)

We get pickup information from server, update our status.

Definition at line 630 of file pickup.c.

References no_recurse, num_pickups, pickup_mapping, pmode, and PU_RATIO.

Referenced by PickupCmd().

Here is the caller graph for this function:

◆ new_menu_pickup()

static void new_menu_pickup ( int  on,
int  val 
)
static

Handles the pickup operations. Unfortunately, it isn't easy (possible?) in layout to attach values to the menu items.

Parameters
onis TRUE if the button is activated, 0 if it is off.
valis the PU_ bitmasks to set/clear.

Definition at line 93 of file pickup.c.

References draw_ext_info(), MSG_TYPE_CLIENT, MSG_TYPE_CLIENT_NOTICE, NDI_BLACK, no_recurse, pmode, PU_NEWMODE, and send_command().

Referenced by on_menu_all_weapons_activate(), on_menu_arrows_activate(), on_menu_body_armor_activate(), on_menu_boots_activate(), on_menu_bows_activate(), on_menu_cloaks_activate(), on_menu_containers_activate(), on_menu_dont_pickup_activate(), on_menu_drinks_activate(), on_menu_flesh_activate(), on_menu_food_activate(), on_menu_gloves_activate(), on_menu_helmets_activate(), on_menu_jewels_activate(), on_menu_keys_activate(), on_menu_magical_items_activate(), on_menu_missile_weapons_activate(), on_menu_normal_book_scrolls_activate(), on_menu_not_cursed_activate(), on_menu_potions_activate(), on_menu_ratio_10_activate(), on_menu_ratio_15_activate(), on_menu_ratio_20_activate(), on_menu_ratio_25_activate(), on_menu_ratio_30_activate(), on_menu_ratio_35_activate(), on_menu_ratio_40_activate(), on_menu_ratio_45_activate(), on_menu_ratio_50_activate(), on_menu_ratio_5_activate(), on_menu_ratio_pickup_off_activate(), on_menu_shields_activate(), on_menu_skillscrolls_activate(), on_menu_spellbooks_activate(), on_menu_stop_before_pickup_activate(), on_menu_valuables_activate(), and on_menu_wands_rods_horns_activate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_all_weapons_activate()

void on_menu_all_weapons_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 287 of file pickup.c.

References new_menu_pickup(), and PU_ALLWEAPON.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_arrows_activate()

void on_menu_arrows_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 308 of file pickup.c.

References new_menu_pickup(), and PU_ARROW.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_body_armor_activate()

void on_menu_body_armor_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 135 of file pickup.c.

References new_menu_pickup(), and PU_ARMOUR.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_boots_activate()

void on_menu_boots_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 142 of file pickup.c.

References new_menu_pickup(), and PU_BOOTS.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_bows_activate()

void on_menu_bows_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 301 of file pickup.c.

References new_menu_pickup(), and PU_BOW.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_cloaks_activate()

void on_menu_cloaks_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 149 of file pickup.c.

References new_menu_pickup(), and PU_CLOAK.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_containers_activate()

void on_menu_containers_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 269 of file pickup.c.

References new_menu_pickup(), and PU_CONTAINERS.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_dont_pickup_activate()

void on_menu_dont_pickup_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 117 of file pickup.c.

References new_menu_pickup(), and PU_INHIBIT.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_drinks_activate()

void on_menu_drinks_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 206 of file pickup.c.

References new_menu_pickup(), and PU_DRINK.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_flesh_activate()

void on_menu_flesh_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 276 of file pickup.c.

References new_menu_pickup(), and PU_FLESH.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_food_activate()

void on_menu_food_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 213 of file pickup.c.

References new_menu_pickup(), and PU_FOOD.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_gloves_activate()

void on_menu_gloves_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 156 of file pickup.c.

References new_menu_pickup(), and PU_GLOVES.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_helmets_activate()

void on_menu_helmets_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 163 of file pickup.c.

References new_menu_pickup(), and PU_HELMET.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_jewels_activate()

void on_menu_jewels_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 262 of file pickup.c.

References new_menu_pickup(), and PU_JEWELS.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_keys_activate()

void on_menu_keys_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 220 of file pickup.c.

References new_menu_pickup(), and PU_KEY.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_magical_items_activate()

void on_menu_magical_items_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 227 of file pickup.c.

References new_menu_pickup(), and PU_MAGICAL.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_missile_weapons_activate()

void on_menu_missile_weapons_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 294 of file pickup.c.

References new_menu_pickup(), and PU_MISSILEWEAPON.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_normal_book_scrolls_activate()

void on_menu_normal_book_scrolls_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 189 of file pickup.c.

References new_menu_pickup(), and PU_READABLES.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_not_cursed_activate()

void on_menu_not_cursed_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 255 of file pickup.c.

References new_menu_pickup(), and PU_NOT_CURSED.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_potions_activate()

void on_menu_potions_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 234 of file pickup.c.

References new_menu_pickup(), and PU_POTION.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_ratio_10_activate()

void on_menu_ratio_10_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 333 of file pickup.c.

References new_menu_pickup().

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_ratio_15_activate()

void on_menu_ratio_15_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 340 of file pickup.c.

References new_menu_pickup().

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_ratio_20_activate()

void on_menu_ratio_20_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 347 of file pickup.c.

References new_menu_pickup().

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_ratio_25_activate()

void on_menu_ratio_25_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 354 of file pickup.c.

References new_menu_pickup().

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_ratio_30_activate()

void on_menu_ratio_30_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 361 of file pickup.c.

References new_menu_pickup().

Here is the call graph for this function:

◆ on_menu_ratio_35_activate()

void on_menu_ratio_35_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 368 of file pickup.c.

References new_menu_pickup().

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_ratio_40_activate()

void on_menu_ratio_40_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 375 of file pickup.c.

References new_menu_pickup().

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_ratio_45_activate()

void on_menu_ratio_45_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 382 of file pickup.c.

References new_menu_pickup().

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_ratio_50_activate()

void on_menu_ratio_50_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 389 of file pickup.c.

References new_menu_pickup().

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_ratio_5_activate()

void on_menu_ratio_5_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 326 of file pickup.c.

References new_menu_pickup().

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_ratio_pickup_off_activate()

void on_menu_ratio_pickup_off_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 319 of file pickup.c.

References new_menu_pickup().

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_shields_activate()

void on_menu_shields_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 170 of file pickup.c.

References new_menu_pickup(), and PU_SHIELD.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_skillscrolls_activate()

void on_menu_skillscrolls_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 181 of file pickup.c.

References new_menu_pickup(), and PU_SKILLSCROLL.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_spellbooks_activate()

void on_menu_spellbooks_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 197 of file pickup.c.

References new_menu_pickup(), and PU_SPELLBOOK.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_stop_before_pickup_activate()

void on_menu_stop_before_pickup_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 124 of file pickup.c.

References new_menu_pickup(), and PU_STOP.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_valuables_activate()

void on_menu_valuables_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 241 of file pickup.c.

References new_menu_pickup(), and PU_VALUABLES.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_menu_wands_rods_horns_activate()

void on_menu_wands_rods_horns_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 248 of file pickup.c.

References new_menu_pickup(), and PU_MAGIC_DEVICE.

Referenced by init_menu_items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pickup_init()

void pickup_init ( GtkWidget *  window_root)

Maps the menuitem lists into pickup values. In this way, client_pickup knows what values to change.

Parameters
window_root

Definition at line 401 of file pickup.c.

References has_init, LOG(), LOG_ERROR, MAX_PICKUPS, PickupMapping::menuitem, num_pickups, pickup_mapping, PickupMapping::pickup_mode, PU_ALLWEAPON, PU_ARMOUR, PU_ARROW, PU_BOOTS, PU_BOW, PU_CLOAK, PU_CONTAINERS, PU_DRINK, PU_FLESH, PU_FOOD, PU_GLOVES, PU_HELMET, PU_INHIBIT, PU_JEWELS, PU_KEY, PU_MAGIC_DEVICE, PU_MAGICAL, PU_MISSILEWEAPON, PU_NOT_CURSED, PU_POTION, PU_RATIO, PU_READABLES, PU_SHIELD, PU_SKILLSCROLL, PU_SPELLBOOK, PU_STOP, PU_VALUABLES, and window_xml.

Referenced by init_ui().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ no_recurse

unsigned int no_recurse =0
static

Definition at line 84 of file pickup.c.

Referenced by client_pickup(), and new_menu_pickup().

◆ num_pickups

int num_pickups =0
static

Definition at line 37 of file pickup.c.

Referenced by client_pickup(), and pickup_init().

◆ pickup_mapping

PickupMapping pickup_mapping[MAX_PICKUPS]

Definition at line 36 of file pickup.c.

Referenced by client_pickup(), and pickup_init().

◆ pmode

unsigned int pmode =0
static

Definition at line 84 of file pickup.c.

Referenced by client_pickup(), and new_menu_pickup().