Crossfire Client, Trunk  R19307
Data Structures | Defines | Typedefs | Functions
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

Defines

#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)

Detailed Description

Definition in file item.h.


Define Documentation

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

Definition at line 43 of file item.h.

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

#define NAME_LEN   128

Definition at line 42 of file item.h.

#define NO_ITEM_TYPE   30000

Definition at line 45 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 778 of file item.c.

void item_event_container_clearing ( item container)

Definition at line 702 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 703 of file inventory.c.

Referenced by set_item_values().

Here is the caller graph for this function:

Definition at line 701 of file inventory.c.

Referenced by remove_item().

Here is the caller graph for this function: