1 | /* |
1 | /* |
2 | * static char *rcsid_object_h = |
2 | * static char *rcsid_object_h = |
3 | * "$Id: object.h,v 1.10 2006/08/28 16:52:51 root Exp $"; |
3 | * "$Id: object.h,v 1.11 2006/08/29 05:03:55 root Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /* |
6 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
7 | CrossFire, A Multiplayer game for X-windows |
8 | |
8 | |
… | |
… | |
187 | sint32 weight_limit; /* Weight-limit of object */ |
187 | sint32 weight_limit; /* Weight-limit of object */ |
188 | sint32 carrying; /* How much weight this object contains */ |
188 | sint32 carrying; /* How much weight this object contains */ |
189 | sint8 glow_radius; /* indicates the glow radius of the object */ |
189 | sint8 glow_radius; /* indicates the glow radius of the object */ |
190 | living stats; /* Str, Con, Dex, etc */ |
190 | living stats; /* Str, Con, Dex, etc */ |
191 | sint64 perm_exp; /* Permanent exp */ |
191 | sint64 perm_exp; /* Permanent exp */ |
192 | const char *current_weapon_script; /* The script of the currently used weapon. Executed */ |
|
|
193 | /* each time the object attacks something */ |
|
|
194 | struct object *current_weapon; /* Pointer to the weapon currently used */ |
192 | struct object *current_weapon; /* Pointer to the weapon currently used */ |
195 | uint32 weapontype; /* type of weapon */ |
193 | uint32 weapontype; /* type of weapon */ |
196 | uint32 tooltype; /* type of tool or build facility */ |
194 | uint32 tooltype; /* type of tool or build facility */ |
197 | sint8 body_info[NUM_BODY_LOCATIONS]; /* body info as loaded from the file */ |
195 | sint8 body_info[NUM_BODY_LOCATIONS]; /* body info as loaded from the file */ |
198 | sint8 body_used[NUM_BODY_LOCATIONS]; /* Calculated value based on items equipped */ |
196 | sint8 body_used[NUM_BODY_LOCATIONS]; /* Calculated value based on items equipped */ |