Crossfire Client, Trunk
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

◆ copy_name

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

Definition at line 43 of file item.h.

◆ NAME_LEN

#define NAME_LEN   128

Definition at line 42 of file item.h.

◆ NO_ITEM_TYPE

#define NO_ITEM_TYPE   30000

Definition at line 45 of file item.h.

Typedef Documentation

◆ item

typedef struct item_struct item

Function Documentation

◆ can_write_spell_on()

int can_write_spell_on ( item it)

Definition at line 720 of file item.c.

◆ item_event_container_clearing()

void item_event_container_clearing ( item container)

Definition at line 773 of file inventory.c.

Referenced by remove_item_inventory().

+ Here is the caller graph for this function:

◆ item_event_item_changed()

void item_event_item_changed ( item it)

Definition at line 776 of file inventory.c.

Referenced by set_item_values().

+ Here is the caller graph for this function:

◆ item_event_item_deleting()

void item_event_item_deleting ( item it)

Definition at line 760 of file inventory.c.

Referenced by remove_item().

+ Here is the caller graph for this function: