Crossfire Client, Trunk
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
 
guint16 read:1
 
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

◆ anim_speed

guint8 item_struct::anim_speed

◆ anim_state

guint8 item_struct::anim_state

Definition at line 65 of file item.h.

Referenced by animate_inventory(), animate_look(), animate_objects(), draw_inv_table(), and new_item().

◆ animation_id

guint16 item_struct::animation_id

◆ applied

◆ apply_type

guint8 item_struct::apply_type

Definition at line 80 of file item.h.

Referenced by get_flags(), and set_flag_string().

◆ blessed

guint16 item_struct::blessed

Definition at line 70 of file item.h.

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

◆ cursed

guint16 item_struct::cursed

◆ d_name

◆ damned

guint16 item_struct::damned

◆ env

◆ face

◆ flags

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().

◆ flagsval

guint32 item_struct::flagsval

Definition at line 81 of file item.h.

Referenced by get_flags(), new_item(), script_send_item(), show_unidentified(), and UpdateItemCmd().

◆ inv

◆ inv_updated

◆ last_anim

guint16 item_struct::last_anim

Definition at line 66 of file item.h.

Referenced by animate_inventory(), animate_look(), animate_objects(), draw_inv_table(), and new_item().

◆ locked

◆ magical

guint16 item_struct::magical

◆ next

◆ nrof

guint32 item_struct::nrof

◆ open

guint16 item_struct::open

◆ p_name

char item_struct::p_name[NAME_LEN]

Definition at line 57 of file item.h.

Referenced by new_item(), and set_item_values().

◆ prev

struct item_struct* item_struct::prev

Definition at line 52 of file item.h.

Referenced by add_item(), insert_item_before_item(), new_item(), remove_item(), and update_item_sort().

◆ read

guint16 item_struct::read

Definition at line 76 of file item.h.

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

◆ s_name

char item_struct::s_name[NAME_LEN]

Definition at line 56 of file item.h.

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

◆ tag

◆ type

guint16 item_struct::type

◆ unpaid

guint16 item_struct::unpaid

◆ was_open

guint16 item_struct::was_open

Definition at line 75 of file item.h.

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

◆ weight


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