Crossfire Client, Branches  R11627
item.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  item_struct
 

Macros

#define copy_name(t, f)   strncpy(t, f, NAME_LEN-1); t[NAME_LEN-1]=0;
 
#define NAME_LEN   128
 
#define NO_ITEM_TYPE   30000
 

Typedefs

typedef struct item_struct item
 

Functions

int can_write_spell_on (item *it)
 
void item_event_container_clearing (item *container)
 
void item_event_item_changed (item *it)
 
void item_event_item_deleting (item *it)
 

Macro Definition Documentation

#define copy_name (   t,
 
)    strncpy(t, f, NAME_LEN-1); t[NAME_LEN-1]=0;
#define NAME_LEN   128

Definition at line 37 of file item.h.

Referenced by resize_list_info().

#define NO_ITEM_TYPE   30000

Definition at line 40 of file item.h.

Referenced by new_item(), remove_item(), and set_item_values().

Typedef Documentation

typedef struct item_struct item

Function Documentation

int can_write_spell_on ( item it)

Definition at line 752 of file item.c.

void item_event_container_clearing ( item container)

Definition at line 525 of file inventory.c.

Referenced by remove_item_inventory().

+ Here is the caller graph for this function:

void item_event_item_changed ( item it)

Definition at line 489 of file inventory.c.

Referenced by set_item_values().

+ Here is the caller graph for this function:

void item_event_item_deleting ( item it)

Definition at line 596 of file inventory.c.

Referenced by remove_item().

+ Here is the caller graph for this function: