… | |
… | |
27 | #include <sproto.h> |
27 | #include <sproto.h> |
28 | |
28 | |
29 | ///////////////////////////////////////////////////////////////////////////// |
29 | ///////////////////////////////////////////////////////////////////////////// |
30 | |
30 | |
31 | extern archetype *loading_arch; |
31 | extern archetype *loading_arch; |
|
|
32 | |
|
|
33 | //+GPL |
32 | |
34 | |
33 | /* This table is only necessary to convert objects that existed before the |
35 | /* This table is only necessary to convert objects that existed before the |
34 | * spell object conversion to the new object. It was not practical |
36 | * spell object conversion to the new object. It was not practical |
35 | * to go through every mapping looking for every potion, rod, wand, etc |
37 | * to go through every mapping looking for every potion, rod, wand, etc |
36 | * that had a sp set and update to the new value. So this maps the |
38 | * that had a sp set and update to the new value. So this maps the |
… | |
… | |
537 | |
539 | |
538 | next: ; |
540 | next: ; |
539 | } |
541 | } |
540 | } |
542 | } |
541 | |
543 | |
|
|
544 | //-GPL |
|
|
545 | |
542 | #define GET_FLAG(op,flg) op->flag [flg] = f.get_bool () |
546 | #define GET_FLAG(op,flg) op->flag [flg] = f.get_bool () |
543 | |
547 | |
544 | bool |
548 | bool |
545 | object::parse_kv (object_thawer &f) |
549 | object::parse_kv (object_thawer &f) |
546 | { |
550 | { |