ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/object.h
(Generate patch)

Comparing deliantra/server/include/object.h (file contents):
Revision 1.20 by root, Fri Sep 8 16:51:44 2006 UTC vs.
Revision 1.21 by root, Fri Sep 8 16:53:57 2006 UTC

213 uint8 ACC (RW, dam_modifier); /* How going up in level effects damage */ 213 uint8 ACC (RW, dam_modifier); /* How going up in level effects damage */
214 sint8 ACC (RW, range); /* Range of the spell */ 214 sint8 ACC (RW, range); /* Range of the spell */
215 uint8 ACC (RW, range_modifier); /* How going up in level effects range */ 215 uint8 ACC (RW, range_modifier); /* How going up in level effects range */
216 216
217 /* Following are values used by any object */ 217 /* Following are values used by any object */
218 struct archt *ACC (RW, arch); /* Pointer to archetype */ 218 struct archetype *ACC (RW, arch); /* Pointer to archetype */
219 struct archt *ACC (RW, other_arch); /* Pointer used for various things - mostly used for what */ 219 struct archetype *ACC (RW, other_arch); /* Pointer used for various things - mostly used for what */
220 /* this objects turns into or what this object creates */ 220 /* this objects turns into or what this object creates */
221 uint32 flags[4]; /* various flags */ 221 uint32 flags[4]; /* various flags */
222 uint16 ACC (RW, animation_id); /* An index into the animation array */ 222 uint16 ACC (RW, animation_id); /* An index into the animation array */
223 uint8 ACC (RW, anim_speed); /* ticks between animation-frames */ 223 uint8 ACC (RW, anim_speed); /* ticks between animation-frames */
224 uint8 ACC (RW, last_anim); /* last sequence used to draw face */ 224 uint8 ACC (RW, last_anim); /* last sequence used to draw face */
267 * object and pointers. This structure should get removed, and just replaced 267 * object and pointers. This structure should get removed, and just replaced
268 * by the object structure 268 * by the object structure
269 */ 269 */
270 270
271ACC_CLASS(archetype) 271ACC_CLASS(archetype)
272struct archt : zero_initialised 272struct archetype : zero_initialised
273{ 273{
274 shstr ACC (RW, name); /* More definite name, like "generate_kobold" */ 274 shstr ACC (RW, name); /* More definite name, like "generate_kobold" */
275 struct archt *ACC (RW, next); /* Next archetype in a linked list */ 275 struct archetype *ACC (RW, next); /* Next archetype in a linked list */
276 struct archt *ACC (RW, head); /* The main part of a linked object */ 276 struct archetype *ACC (RW, head); /* The main part of a linked object */
277 struct archt *ACC (RW, more); /* Next part of a linked object */ 277 struct archetype *ACC (RW, more); /* Next part of a linked object */
278 object ACC (RO, clone); /* An object from which to do copy_object() */ 278 object ACC (RO, clone); /* An object from which to do copy_object() */
279 uint32 ACC (RW, editable); /* editable flags (mainly for editor) */ 279 uint32 ACC (RW, editable); /* editable flags (mainly for editor) */
280 sint8 ACC (RW, tail_x), ACC (RW, tail_y); /* Where the lower right most portion of the object is 280 sint8 ACC (RW, tail_x), ACC (RW, tail_y); /* Where the lower right most portion of the object is
281 * in comparison to the head. 281 * in comparison to the head.
282 */ 282 */
283} archetype; 283};
284 284
285extern object *objects; 285extern object *objects;
286extern object *active_objects; 286extern object *active_objects;
287 287
288extern int nrofallocobjects; 288extern int nrofallocobjects;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines