… | |
… | |
556 | void unlink (); |
556 | void unlink (); |
557 | |
557 | |
558 | int ACC (RW, archid); // index in archvector |
558 | int ACC (RW, archid); // index in archvector |
559 | shstr ACC (RW, archname); /* More definite name, like "generate_kobold" */ |
559 | shstr ACC (RW, archname); /* More definite name, like "generate_kobold" */ |
560 | bool ACC (RW, stub); // if true, this is an invalid archetype |
560 | bool ACC (RW, stub); // if true, this is an invalid archetype |
561 | struct archetype *ACC (RW, next); /* Next archetype in a linked list */ |
|
|
562 | struct archetype *ACC (RW, head); /* The main part of a linked object */ |
|
|
563 | struct archetype *ACC (RW, more); /* Next part of a linked object */ |
|
|
564 | uint32 ACC (RW, editable); /* editable flags (mainly for editor) */ |
561 | uint32 ACC (RW, editable); /* editable flags (mainly for editor) */ |
565 | |
562 | |
566 | sint8 ACC (RW, min_x), ACC (RW, min_y); /* extents, compared to the head (min_x, min_y should be zero, but aren't...) */ |
563 | sint8 ACC (RW, min_x), ACC (RW, min_y); /* extents, compared to the head (min_x, min_y should be zero, but aren't...) */ |
567 | sint8 ACC (RW, max_x), ACC (RW, max_y); |
564 | sint8 ACC (RW, max_x), ACC (RW, max_y); |
568 | }; |
565 | }; |
|
|
566 | |
|
|
567 | inline void |
|
|
568 | object_freezer::put (keyword k, archetype *v) |
|
|
569 | { |
|
|
570 | put (k, v ? &v->archname : (const char *)0); |
|
|
571 | } |
569 | |
572 | |
570 | typedef object_vector<object, &object::index > objectvec; |
573 | typedef object_vector<object, &object::index > objectvec; |
571 | typedef object_vector<object, &object::active> activevec; |
574 | typedef object_vector<object, &object::active> activevec; |
572 | typedef object_vector<archetype, &archetype::archid> archvec; |
575 | typedef object_vector<archetype, &archetype::archid> archvec; |
573 | |
576 | |
… | |
… | |
627 | #define INS_NO_WALK_ON 0x0004 |
630 | #define INS_NO_WALK_ON 0x0004 |
628 | #define INS_ON_TOP 0x0008 |
631 | #define INS_ON_TOP 0x0008 |
629 | #define INS_BELOW_ORIGINATOR 0x0010 |
632 | #define INS_BELOW_ORIGINATOR 0x0010 |
630 | #define INS_MAP_LOAD 0x0020 |
633 | #define INS_MAP_LOAD 0x0020 |
631 | |
634 | |
632 | #define ARCH_SINGULARITY "singularity" |
|
|
633 | #define ARCH_DETECT_MAGIC "detect_magic" |
|
|
634 | #define ARCH_DEPLETION "depletion" |
635 | #define ARCH_DEPLETION "depletion" |
635 | #define ARCH_SYMPTOM "symptom" |
|
|
636 | |
636 | |
637 | #endif |
637 | #endif |
638 | |
638 | |