27
27
template <typename _index_type, typename _data_type>
28
28
class CALifeAbstractRegistry ;
29
29
30
- // для всех персонажей, те порции информации, которые они помнят
31
- typedef CALifeAbstractRegistry<u16 , KNOWN_INFO_VECTOR> CInfoPortionRegistry;
30
+ // для всех персонажей, те порции информации, которые они помнят
31
+ typedef CALifeAbstractRegistry<u16 , KNOWN_INFO_VECTOR> CInfoPortionRegistry;
32
32
add_to_registry_type_list (CInfoPortionRegistry)
33
33
#define info_portions define_constant (CInfoPortionRegistry)
34
+ #undef registry_type_list
34
35
#define registry_type_list save_registry_type_list (CInfoPortionRegistry)
35
36
36
37
// для всех персонажей, отношения с другими персонажами
37
38
typedef CALifeAbstractRegistry<u16, RELATION_DATA> CRelationRegistry;
38
39
add_to_registry_type_list (CRelationRegistry)
39
40
#define character_relations define_constant (CRelationRegistry)
41
+ #undef registry_type_list
40
42
#define registry_type_list save_registry_type_list (CRelationRegistry)
41
43
42
44
// //для актеров, список персонажей с которыми были разговоры
@@ -55,27 +57,32 @@ add_to_registry_type_list(CRelationRegistry)
55
57
typedef CALifeAbstractRegistry<u16, GAME_NEWS_VECTOR> CGameNewsRegistry;
56
58
add_to_registry_type_list (CGameNewsRegistry)
57
59
#define game_news define_constant (CGameNewsRegistry)
60
+ #undef registry_type_list
58
61
#define registry_type_list save_registry_type_list (CGameNewsRegistry)
59
62
60
63
// список описаний персонажей, которые уже задействованы в игре
61
64
typedef CALifeAbstractRegistry<shared_str, int> CSpecificCharacterRegistry;
62
65
add_to_registry_type_list (CSpecificCharacterRegistry)
63
66
#define specific_characters define_constant (CSpecificCharacterRegistry)
67
+ #undef registry_type_list
64
68
#define registry_type_list save_registry_type_list (CSpecificCharacterRegistry)
65
69
66
70
// map locations for actor
67
71
add_to_registry_type_list(CMapLocationRegistry)
68
72
#define map_locations define_constant (CMapLocationRegistry)
73
+ #undef registry_type_list
69
74
#define registry_type_list save_registry_type_list (CMapLocationRegistry)
70
75
71
76
// game tasks for actor
72
77
add_to_registry_type_list(CGameTaskRegistry)
73
78
#define map_locations define_constant (CGameTaskRegistry)
79
+ #undef registry_type_list
74
80
#define registry_type_list save_registry_type_list (CGameTaskRegistry)
75
81
76
82
// ActorStatistics
77
83
add_to_registry_type_list(CActorStatisticRegistry)
78
84
#define map_locations define_constant (CActorStatisticRegistry)
85
+ #undef registry_type_list
79
86
#define registry_type_list save_registry_type_list (CActorStatisticRegistry)
80
87
81
88
#pragma warning(pop)
0 commit comments