… | |
… | |
575 | object_thawer |
575 | object_thawer |
576 | thawer (filename); |
576 | thawer (filename); |
577 | |
577 | |
578 | LOG (llevDebug, " loading treasure...\n"); |
578 | LOG (llevDebug, " loading treasure...\n"); |
579 | load_treasures (); |
579 | load_treasures (); |
|
|
580 | LOG (llevDebug, " done\n"); |
580 | LOG (llevDebug, " done\n arch-pass 2...\n"); |
581 | LOG (llevDebug, " arch-pass 2...\n"); |
581 | second_arch_pass (thawer); |
582 | second_arch_pass (thawer); |
582 | LOG (llevDebug, " done\n"); |
583 | LOG (llevDebug, " done\n"); |
583 | #ifdef DEBUG |
584 | #ifdef DEBUG |
584 | check_generators (); |
585 | check_generators (); |
585 | #endif |
586 | #endif |
… | |
… | |
631 | |
632 | |
632 | /* |
633 | /* |
633 | * Finds which archetype matches the given name, and returns a new |
634 | * Finds which archetype matches the given name, and returns a new |
634 | * object containing a copy of the archetype. |
635 | * object containing a copy of the archetype. |
635 | */ |
636 | */ |
636 | |
|
|
637 | object * |
637 | object * |
638 | get_archetype (const char *name) |
638 | get_archetype (const char *name) |
639 | { |
639 | { |
640 | archetype *at = archetype::find (name); |
640 | archetype *at = archetype::find (name); |
641 | |
641 | |