… | |
… | |
482 | { |
482 | { |
483 | archetype (); |
483 | archetype (); |
484 | ~archetype (); |
484 | ~archetype (); |
485 | void gather_callbacks (AV *&callbacks, event_type event) const; |
485 | void gather_callbacks (AV *&callbacks, event_type event) const; |
486 | |
486 | |
|
|
487 | static bool load (object_thawer &f); |
487 | static archetype *get (const char *name); // find or create |
488 | static archetype *get (const char *name); // find or create |
488 | static archetype *read (object_thawer &f); |
|
|
489 | static archetype *find (const char *name); |
489 | static archetype *find (const char *name); |
490 | |
490 | |
491 | void hash_add (); // add to hashtable |
491 | void hash_add (); // add to hashtable |
492 | void hash_del (); // remove from hashtable |
492 | void hash_del (); // remove from hashtable |
493 | |
493 | |
… | |
… | |
495 | struct archetype *ACC (RW, next); /* Next archetype in a linked list */ |
495 | struct archetype *ACC (RW, next); /* Next archetype in a linked list */ |
496 | struct archetype *ACC (RW, head); /* The main part of a linked object */ |
496 | struct archetype *ACC (RW, head); /* The main part of a linked object */ |
497 | struct archetype *ACC (RW, more); /* Next part of a linked object */ |
497 | struct archetype *ACC (RW, more); /* Next part of a linked object */ |
498 | object ACC (RO, clone); /* An object from which to do ->copy_to () */ |
498 | object ACC (RO, clone); /* An object from which to do ->copy_to () */ |
499 | uint32 ACC (RW, editable); /* editable flags (mainly for editor) */ |
499 | uint32 ACC (RW, editable); /* editable flags (mainly for editor) */ |
|
|
500 | bool ACC (RW, linked); // linked into list of heads |
500 | sint8 ACC (RW, tail_x), ACC (RW, tail_y); /* Where the lower right most portion of the object is |
501 | sint8 ACC (RW, tail_x), ACC (RW, tail_y); /* Where the lower right most portion of the object is |
501 | * in comparison to the head. |
502 | * in comparison to the head. |
502 | */ |
503 | */ |
503 | }; |
504 | }; |
504 | |
505 | |