Crossfire Client, Trunk  R20693
item_struct Struct Reference

#include <item.h>

+ Collaboration diagram for item_struct:

Data Fields

guint8 anim_speed
guint8 anim_state
guint16 animation_id
guint16 applied:1
guint8 apply_type
guint16 blessed:1
guint16 cursed:1
char d_name [NAME_LEN]
guint16 damned:1
struct item_structenv
gint16 face
char flags [NAME_LEN]
guint32 flagsval
struct item_structinv
guint16 inv_updated:1
guint16 last_anim
guint16 locked:1
guint16 magical:1
struct item_structnext
guint32 nrof
guint16 open:1
char p_name [NAME_LEN]
struct item_structprev
char s_name [NAME_LEN]
gint32 tag
guint16 type
guint16 unpaid:1
guint16 was_open:1
float weight

Detailed Description

Definition at line 50 of file item.h.

Field Documentation

guint8 item_struct::anim_speed
guint8 item_struct::anim_state
guint16 item_struct::animation_id
guint8 item_struct::apply_type

Definition at line 79 of file item.h.

Referenced by get_flags(), and set_flag_string().

guint16 item_struct::blessed

Definition at line 70 of file item.h.

Referenced by get_flags(), new_item(), remove_item(), and set_flag_string().

guint16 item_struct::cursed
guint16 item_struct::damned
char item_struct::flags[NAME_LEN]

Definition at line 58 of file item.h.

Referenced by add_object_to_store(), draw_inv_table(), print_inventory(), and set_flag_string().

guint32 item_struct::flagsval
guint16 item_struct::last_anim
guint16 item_struct::magical
guint16 item_struct::open
char item_struct::p_name[NAME_LEN]

Definition at line 57 of file item.h.

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

struct item_struct* item_struct::prev
char item_struct::s_name[NAME_LEN]

Definition at line 56 of file item.h.

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

guint16 item_struct::unpaid
guint16 item_struct::was_open

Definition at line 75 of file item.h.

Referenced by get_flags(), item_actions(), and script_send_item().

The documentation for this struct was generated from the following file: