annotate mm7text_ru.cpp @ 1183:fa30ea497e94

arcomage refactoring started
author Gloval
date Thu, 06 Jun 2013 00:58:07 +0400
parents 29a8defbad9e
children 934074e7fcc1
rev   line source
1165
29a8defbad9e temporary _CRT_SECURE_NO_WARNINGS to remove some warnings
Grumpy7
parents: 809
diff changeset
1 #ifdef _MSC_VER
29a8defbad9e temporary _CRT_SECURE_NO_WARNINGS to remove some warnings
Grumpy7
parents: 809
diff changeset
2 #define _CRT_SECURE_NO_WARNINGS
29a8defbad9e temporary _CRT_SECURE_NO_WARNINGS to remove some warnings
Grumpy7
parents: 809
diff changeset
3 #endif
29a8defbad9e temporary _CRT_SECURE_NO_WARNINGS to remove some warnings
Grumpy7
parents: 809
diff changeset
4
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
5 #include <string.h>
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
6 #include <stdlib.h>
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
7 #include <stdio.h>
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
8 #include <assert.h>
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
9
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
10 #include "Log.h"
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
11
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
12
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
13 struct GenderTableEntry
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
14 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
15 const char *name;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
16 int gender;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
17 } gender_table_caps[] =
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
18 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
19 {"Авель", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
20 {"Адам", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
21 {"Адриан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
22 {"Адрианис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
23 {"Адская", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
24 {"Айр", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
25 {"Акио", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
26 {"Акира", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
27 {"Алан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
28 {"Алейн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
29 {"Алек", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
30 {"Александр", 0},
255
0a37a56e9f02 sprintfex & classes enum
Nomad
parents: 254
diff changeset
31 {"Алексис", 1},
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
32 {"Ален", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
33 {"Алехандро", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
34 {"Алиса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
35 {"Альберт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
36 {"Альтон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
37 {"Альтред", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
38 {"Альфред", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
39 {"Аманда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
40 {"Амбер", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
41 {"Амброзий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
42 {"Амелия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
43 {"Амос", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
44 {"Ангел", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
45 {"Андреа", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
46 {"Андрей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
47 {"Анжела", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
48 {"Анита", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
49 {"Анна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
50 {"Антон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
51 {"Антоний", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
52 {"Арби", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
53 {"Арда", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
54 {"Арден", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
55 {"Арена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
56 {"Аристей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
57 {"Аристидис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
58 {"Арих", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
59 {"Ариэль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
60 {"Арлен", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
61 {"Арло", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
62 {"Арманд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
63 {"Арнольд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
64 {"Арон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
65 {"Артур", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
66 {"Архангел", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
67 {"Архимаг", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
68 {"Ахмед", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
69 {"Бёртон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
70 {"Бад", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
71 {"Байрон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
72 {"Бандит", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
73 {"Бар", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
74 {"Барбара", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
75 {"Баретт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
76 {"Барт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
77 {"Батч", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
78 {"Беатрис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
79 {"Беверли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
80 {"Беки", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
81 {"Белинда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
82 {"Бен", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
83 {"Бенджамин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
84 {"Бенедикт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
85 {"Бенито", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
86 {"Беннет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
87 {"Бенни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
88 {"Бенуа", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
89 {"Бернадетта", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
90 {"Бернард", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
91 {"Берни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
92 {"Бернис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
93 {"Бернучо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
94 {"Берт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
95 {"Бертран", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
96 {"Бет", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
97 {"Бетси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
98 {"Бетти", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
99 {"Билли", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
100 {"Биллис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
101 {"Бишоп", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
102 {"Блейк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
103 {"Блейн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
104 {"Блондо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
105 {"Бо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
106 {"Боб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
107 {"Бобби", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
108 {"Бодо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
109 {"Болотный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
110 {"Большой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
111 {"Бонни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
112 {"Борегард", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
113 {"Борис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
114 {"Браден", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
115 {"Брайс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
116 {"Брат", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
117 {"Брейн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
118 {"Бренда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
119 {"Брендон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
120 {"Брент", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
121 {"Брет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
122 {"Бронвин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
123 {"Бронзовый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
124 {"Брук", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
125 {"Бруно", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
126 {"Брэд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
127 {"Брэдли", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
128 {"Брэдфорд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
129 {"Брэндон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
130 {"Брюс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
131 {"Буфорд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
132 {"Вадим", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
133 {"Вал", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
134 {"Валерия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
135 {"Вальтер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
136 {"Ванда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
137 {"Ванесса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
138 {"Ванетта", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
139 {"Ванс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
140 {"Вейн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
141 {"Великий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
142 {"Венделл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
143 {"Венди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
144 {"Вера", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
145 {"Верн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
146 {"Вернон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
147 {"Вероника", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
148 {"Верховная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
149 {"Весли", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
150 {"Виверн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
151 {"Вивьен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
152 {"Вики", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
153 {"Виктор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
154 {"Викторис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
155 {"Виктория", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
156 {"Вилам", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
157 {"Вилл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
158 {"Виллард", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
159 {"Вильма", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
160 {"Вильфред", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
161 {"Вильям", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
162 {"Винный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
163 {"Винстон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
164 {"Винченцо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
165 {"Виолет", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
166 {"Виргилий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
167 {"Виргиния", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
168 {"Вихрь", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
169 {"Владимир", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
170 {"Властелин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
171 {"Водный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
172 {"Военное", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
173 {"Воздушная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
174 {"Воздушный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
175 {"Волхв", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
176 {"Вольг", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
177 {"Восставший", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
178 {"Врата", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
179 {"Вудро", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
180 {"Вурдалак", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
181 {"Высшая", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
182 {"Вэйд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
183 {"Габриэль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
184 {"Гай", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
185 {"Ганс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
186 {"Гарет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
187 {"Гари", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
188 {"Гарпия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
189 {"Гарри", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
190 {"Гвендолин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
191 {"Гвенн", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
192 {"Гейб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
193 {"Гейл", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
194 {"Гектор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
195 {"Гельмут", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
196 {"Геникки", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
197 {"Генри", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
198 {"Георгина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
199 {"Герб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
200 {"Герберт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
201 {"Герман", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
202 {"Гертруда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
203 {"Герц", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
204 {"Гигантская", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
205 {"Гильдия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
206 {"Гильермо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
207 {"Гильмор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
208 {"Гимнастический", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
209 {"Глазище", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
210 {"Глен", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
211 {"Гленда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
212 {"Глиняный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
213 {"Глория", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
214 {"Гниющий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
215 {"Гном", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
216 {"Гоблин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
217 {"Говард", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
218 {"Гог", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
219 {"Гомер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
220 {"Гонзало", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
221 {"Гораций", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
222 {"Гордон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
223 {"Горный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
224 {"Грабитель", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
225 {"Грант", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
226 {"Грахэм", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
227 {"Грег", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
228 {"Грегори", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
229 {"Грей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
230 {"Гретхен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
231 {"Грифон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
232 {"Грозовой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
233 {"Гус", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
234 {"Давид", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
235 {"Дайана", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
236 {"Дал", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
237 {"Даллас", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
238 {"Дамиан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
239 {"Дана", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
240 {"Даниэль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
241 {"Данте", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
242 {"Дара", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
243 {"Дарлин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
244 {"Дарон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
245 {"Дарси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
246 {"Дастин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
247 {"Дафна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
248 {"Двайт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
249 {"Двейн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
250 {"Деанна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
251 {"Дебби", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
252 {"Дебора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
253 {"Девон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
254 {"Дейв", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
255 {"Дейл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
256 {"Дел", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
257 {"Делорис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
258 {"Денис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
259 {"Денни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
260 {"Депозитарий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
261 {"Дерево", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
262 {"Дерек", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
263 {"Десмонд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
264 {"Джанис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
265 {"Джастин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
266 {"Джед", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
267 {"Джедай", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
268 {"Джей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
269 {"Джейк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
270 {"Джеймс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
271 {"Джейн", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
272 {"Джейсон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
273 {"Джек", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
274 {"Джеки", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
275 {"Джеми", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
276 {"Дженифер", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
277 {"Дженни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
278 {"Джеральд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
279 {"Джеральдина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
280 {"Джером", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
281 {"Джероми", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
282 {"Джерри", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
283 {"Джесс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
284 {"Джесса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
285 {"Джессика", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
286 {"Джетано", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
287 {"Джим", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
288 {"Джин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
289 {"Джина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
290 {"Джинжер", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
291 {"Джинни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
292 {"Джино", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
293 {"Джо", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
294 {"Джоан", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
295 {"Джоанн", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
296 {"Джоанна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
297 {"Джозеф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
298 {"Джой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
299 {"Джойс", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
300 {"Джойсин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
301 {"Джон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
302 {"Джонатан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
303 {"Джордж", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
304 {"Джоу", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
305 {"Джошуа", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
306 {"Джоэль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
307 {"Джуд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
308 {"Джуди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
309 {"Джудис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
310 {"Джули", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
311 {"Джун", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
312 {"Диана", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
313 {"Дилан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
314 {"Дин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
315 {"Дитер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
316 {"Додридж", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
317 {"Док", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
318 {"Долорес", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
319 {"Дольф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
320 {"Дом", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
321 {"Доминик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
322 {"Доминика", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
323 {"Дон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
324 {"Донайс", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
325 {"Дональд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
326 {"Донна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
327 {"Дорин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
328 {"Дорис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
329 {"Дороти", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
330 {"Драконовая", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
331 {"Древнее", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
332 {"Древний", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
333 {"Друид", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
334 {"Дрю", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
335 {"Дуглас", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
336 {"Дункан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
337 {"Дьявол", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
338 {"Дэви", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
339 {"Дэн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
340 {"Дэнис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
341 {"Дэнни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
342 {"Дюк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
343 {"Ева", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
344 {"Евгений", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
345 {"Елизавета", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
346 {"Жан-Поль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
347 {"Жан-Пьер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
348 {"Жанета", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
349 {"Жанетт", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
350 {"Жанетта", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
351 {"Жанин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
352 {"Жанис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
353 {"Жанна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
354 {"Жасмин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
355 {"Жейн", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
356 {"Женна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
357 {"Жильбер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
358 {"Жофрей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
359 {"Жуль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
360 {"Зак", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
361 {"Замок", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
362 {"Замороженные", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
363 {"Захарий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
364 {"Зебулон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
365 {"Зеленый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
366 {"Земной", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
367 {"Зигги", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
368 {"Зик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
369 {"Златые", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
370 {"Зод", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
371 {"Золотой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
372 {"Золтан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
373 {"Зорекс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
374 {"Ив", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
375 {"Иван", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
376 {"Ивар", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
377 {"Иверсон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
378 {"Ивонна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
379 {"Игнасио", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
380 {"Игорь", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
381 {"Ида", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
382 {"Иеремия", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
383 {"Измаил", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
384 {"Изумрудный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
385 {"Ике", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
386 {"Илена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
387 {"Илья", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
388 {"Имение", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
389 {"Инкубатор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
390 {"Иоланда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
391 {"Ион", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
392 {"Иона", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
393 {"Иоханн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
394 {"Ирвин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
395 {"Ирвинг", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
396 {"Ирена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
397 {"Ирина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
398 {"Ирис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
399 {"Ирма", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
400 {"Исаак", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
401 {"Исао", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
402 {"Йордан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
403 {"Каао", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
404 {"Кай", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
405 {"Калеб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
406 {"Кальвин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
407 {"Каменная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
408 {"Каменный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
409 {"Кандейс", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
410 {"Капитан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
411 {"Карен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
412 {"Кари", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
413 {"Карин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
414 {"Карл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
415 {"Карли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
416 {"Карло", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
417 {"Карлон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
418 {"Карлос", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
419 {"Кармен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
420 {"Картер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
421 {"Касандра", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
422 {"Катерина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
423 {"Кати", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
424 {"Катлин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
425 {"Кван", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
426 {"Квентин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
427 {"Квинн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
428 {"Кевин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
429 {"Кевинус", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
430 {"Кейлин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
431 {"Кейт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
432 {"Кел", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
433 {"Келли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
434 {"Кен", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
435 {"Кеннет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
436 {"Кери", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
437 {"Керн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
438 {"Киган", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
439 {"Ким", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
440 {"Кимберли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
441 {"Кирк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
442 {"Кирус", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
443 {"Клайд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
444 {"Кларенс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
445 {"Кларк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
446 {"Клирик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
447 {"Клиффорд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
448 {"Клэй", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
449 {"Клэр", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
450 {"Коди", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
451 {"Колин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
452 {"Колония", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
453 {"Конни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
454 {"Коннор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
455 {"Конрад", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
456 {"Константин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
457 {"Констанция", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
458 {"Копи", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
459 {"Кора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
460 {"Корбет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
461 {"Корд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
462 {"Кори", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
463 {"Корисо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
464 {"Корнелия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
465 {"Корнилий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
466 {"Королева", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
467 {"Королевский", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
468 {"Король", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
469 {"Кошка", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
470 {"Красный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
471 {"Крейг", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
472 {"Крис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
473 {"Криста", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
474 {"Кристен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
475 {"Кристина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
476 {"Кристис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
477 {"Кристофер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
478 {"Кровавый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
479 {"Ксуан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
480 {"Кулак", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
481 {"Курган", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
482 {"Курица", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
483 {"Кэй", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
484 {"Кэйс", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
485 {"Кэл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
486 {"Кэлло", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
487 {"Кэмерон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
488 {"Кэнди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
489 {"Кэри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
490 {"Кэрол", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
491 {"Кэролан", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
492 {"Кэролин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
493 {"Кэрри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
494 {"Кэси", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
495 {"Лабиринт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
496 {"Лаборатория", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
497 {"Лазарь", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
498 {"Лайонел", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
499 {"Лаки", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
500 {"Лана", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
501 {"Ланс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
502 {"Лара", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
503 {"Ларри", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
504 {"Ларс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
505 {"Лаура", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
506 {"Лаури", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
507 {"Леа", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
508 {"Леаса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
509 {"Лейф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
510 {"Лео", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
511 {"Леонард", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
512 {"Леора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
513 {"Лерой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
514 {"Лесли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
515 {"Лестер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
516 {"Летучая", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
517 {"Ли", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
518 {"Ли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
519 {"Лиам", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
520 {"Ливия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
521 {"Лиза", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
522 {"Лила", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
523 {"Лиланд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
524 {"Лилли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
525 {"Лиман", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
526 {"Линда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
527 {"Линден", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
528 {"Линдсей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
529 {"Линн", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
530 {"Лион", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
531 {"Лич", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
532 {"Ллойд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
533 {"Ловчий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
534 {"Логан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
535 {"Логово", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
536 {"Лон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
537 {"Лонни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
538 {"Лора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
539 {"Лорд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
540 {"Лорен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
541 {"Лорена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
542 {"Лоу", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
543 {"Лоувелл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
544 {"Лояльный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
545 {"Луи", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
546 {"Луиджи", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
547 {"Луиза", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
548 {"Луис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
549 {"Луиса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
550 {"Лучник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
551 {"Льюис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
552 {"Людвиг", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
553 {"Люк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
554 {"Люсиль", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
555 {"Лютер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
556 {"Маделена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
557 {"Майк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
558 {"Майлз", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
559 {"Майлс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
560 {"Мак", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
561 {"Макро", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
562 {"Макс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
563 {"Максвелл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
564 {"Малкольм", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
565 {"Малый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
566 {"Мами", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
567 {"Манни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
568 {"Мантикора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
569 {"Манфред", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
570 {"Марвин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
571 {"Маргарита", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
572 {"Марджори", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
573 {"Марж", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
574 {"Мариана", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
575 {"Марианна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
576 {"Марио", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
577 {"Марион", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
578 {"Марис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
579 {"Мариса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
580 {"Маришаль", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
581 {"Мария", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
582 {"Марк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
583 {"Марко", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
584 {"Маркони", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
585 {"Маркус", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
586 {"Марлен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
587 {"Марлон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
588 {"Марни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
589 {"Марси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
590 {"Марсия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
591 {"Марта", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
592 {"Мартил", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
593 {"Мартин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
594 {"Мархэм", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
595 {"Марчелло", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
596 {"Марша", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
597 {"Маршал", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
598 {"Мастер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
599 {"Матвей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
600 {"Материальные", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
601 {"Матт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
602 {"Мегадракон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
603 {"Медный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
604 {"Медуза", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
605 {"Мейм", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
606 {"Мелани", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
607 {"Мелвин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
608 {"Мелинда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
609 {"Мелисса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
610 {"Мелководье", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
611 {"Мелоди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
612 {"Мертвец", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
613 {"Мертвый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
614 {"Местная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
615 {"Местный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
616 {"Мик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
617 {"Минди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
618 {"Минеральные", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
619 {"Миникора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
620 {"Минни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
621 {"Мириам", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
622 {"Митч", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
623 {"Мишель", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
624 {"Могучий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
625 {"Мойра", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
626 {"Монах", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
627 {"Моника", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
628 {"Монте", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
629 {"Морел", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
630 {"Морина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
631 {"Моррис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
632 {"Мортон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
633 {"Мохаммед", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
634 {"Мраморная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
635 {"Мудрый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
636 {"Мэл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
637 {"Мэнди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
638 {"Мэри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
639 {"Мэри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
640 {"Мэрилин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
641 {"Мюрель", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
642 {"Мюррей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
643 {"Надина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
644 {"Налётчик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
645 {"Наоми", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
646 {"Натали", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
647 {"Натан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
648 {"Натаниэль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
649 {"Начальная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
650 {"Небеса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
651 {"Нед", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
652 {"Некромант", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
653 {"Нельсон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
654 {"Неустрашимый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
655 {"Ник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
656 {"Ники", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
657 {"Николай", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
658 {"Николас", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
659 {"Николь", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
660 {"Нил", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
661 {"Новобранец", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
662 {"Ной", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
663 {"Норина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
664 {"Норм", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
665 {"Норма", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
666 {"Норман", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
667 {"Норрис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
668 {"Ньют", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
669 {"Нэйт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
670 {"Нэнси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
671 {"Нэнсис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
672 {"Обсидиановая", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
673 {"Огненный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
674 {"Олаф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
675 {"Оливер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
676 {"Оливия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
677 {"Орден", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
678 {"Особняк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
679 {"Остин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
680 {"Отис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
681 {"Оувен", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
682 {"Охотник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
683 {"Павел", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
684 {"Пам", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
685 {"Памела", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
686 {"Паркер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
687 {"Парти", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
688 {"Патрик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
689 {"Патрисия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
690 {"Пег", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
691 {"Пегги", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
692 {"Пейдж", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
693 {"Пенни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
694 {"Перри", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
695 {"Перси", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
696 {"Персиваль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
697 {"Петер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
698 {"Пикси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
699 {"Пирс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
700 {"Пит", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
701 {"Плавучий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
702 {"Покои", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
703 {"Пол", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
704 {"Посвящённый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
705 {"Посвященный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
706 {"Последний", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
707 {"Послушник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
708 {"Постоялый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
709 {"Предводитель", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
710 {"Престон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
711 {"Привидение", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
712 {"Придорожный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
713 {"Призрак", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
714 {"Природные", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
715 {"Пьер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
716 {"Пэт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
717 {"Пэтти", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
718 {"Раду", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
719 {"Разбойник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
720 {"Райан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
721 {"Раймонд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
722 {"Ральф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
723 {"Рамей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
724 {"Рамси", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
725 {"Рандольф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
726 {"Рассел", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
727 {"Расти", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
728 {"Ратуша", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
729 {"Рауль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
730 {"Рафаэль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
731 {"Рашель", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
732 {"Ребекка", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
733 {"Реви", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
734 {"Рег", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
735 {"Регина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
736 {"Реджинальд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
737 {"Рекс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
738 {"Рене", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
739 {"Рени", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
740 {"Ренцо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
741 {"Ресанда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
742 {"Речной", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
743 {"Рики", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
744 {"Ринальдо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
745 {"Рита", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
746 {"Ричард", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
747 {"Роб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
748 {"Робби", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
749 {"Роберт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
750 {"Роберта", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
751 {"Робин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
752 {"Рогатый", 0},
255
0a37a56e9f02 sprintfex & classes enum
Nomad
parents: 254
diff changeset
753 {"Родерик", 0},
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
754 {"Родни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
755 {"Роза", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
756 {"Розали", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
757 {"Розанна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
758 {"Рози", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
759 {"Розмари", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
760 {"Розмарина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
761 {"Рой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
762 {"Роки", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
763 {"Роланд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
764 {"Ромона", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
765 {"Рон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
766 {"Рональд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
767 {"Ронда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
768 {"Рори", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
769 {"Росс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
770 {"Роуз", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
771 {"Рошель", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
772 {"Рубина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
773 {"Руди", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
774 {"Руперт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
775 {"Рут", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
776 {"Рути", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
777 {"Рэндал", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
778 {"Рэнди", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
779 {"Саад", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
780 {"Сабрина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
781 {"Сади", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
782 {"Сал", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
783 {"Салли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
784 {"Сальваторе", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
785 {"Самюэль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
786 {"Сандип", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
787 {"Сандра", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
788 {"Сантос", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
789 {"Сапфировый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
790 {"Сара", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
791 {"Свен", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
792 {"Свет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
793 {"Светлана", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
794 {"Светящийся", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
795 {"Святилище", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
796 {"Священная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
797 {"Священник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
798 {"Себастьян", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
799 {"Седрик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
800 {"Сеймур", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
801 {"Секлия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
802 {"Селена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
803 {"Сергио", 0},
255
0a37a56e9f02 sprintfex & classes enum
Nomad
parents: 254
diff changeset
804 {"Серена", 1},
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
805 {"Серый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
806 {"Сесиль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
807 {"Сет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
808 {"Сидней", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
809 {"Сильвестр", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
810 {"Сильфида", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
811 {"Симон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
812 {"Симона", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
813 {"Синди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
814 {"Синдис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
815 {"Синий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
816 {"Синтия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
817 {"Скалис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
818 {"Скелет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
819 {"Скорпикора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
820 {"Скотт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
821 {"Слабый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
822 {"Слейд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
823 {"Собака", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
824 {"Собор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
825 {"Сол", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
826 {"Солнце", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
827 {"Сонни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
828 {"Спенсер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
829 {"Старший", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
830 {"Стейси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
831 {"Стелс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
832 {"Стефан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
833 {"Стефани", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
834 {"Стив", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
835 {"Стивен", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
836 {"Сторожевая", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
837 {"Страж", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
838 {"Стражник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
839 {"Стрекозавр", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
840 {"Стрелок", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
841 {"Стэн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
842 {"Стэнли", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
843 {"Стюарт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
844 {"Суанна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
845 {"Судья", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
846 {"Сулейман", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
847 {"Сумеречный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
848 {"Сьюзан", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
849 {"Сьюзи", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
850 {"Сэм", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
851 {"Сэнди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
852 {"Сэндин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
853 {"Сэра", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
854 {"Сюзанна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
855 {"Тадеус", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
856 {"Тайлер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
857 {"Тайсон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
858 {"Така", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
859 {"Тамара", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
860 {"Тамми", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
861 {"Таня", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
862 {"Тара", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
863 {"Тейн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
864 {"Теодор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
865 {"Тереза", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
866 {"Тереса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
867 {"Терранс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
868 {"Терри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
869 {"Тим", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
870 {"Тимоти", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
871 {"Тина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
872 {"Тиффани", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
873 {"Тобиас", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
874 {"Тодд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
875 {"Том", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
876 {"Томас", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
877 {"Тон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
878 {"Тони", 0},
366
85edec9da96b _4B910F_shop_interaction
Nomad
parents: 303
diff changeset
879 {"Тор", 0},
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
880 {"Тран", 0},
651
2bf48d11d742 Training hall UI fixed
Nomad
parents: 649
diff changeset
881 {"Траян", 0},
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
882 {"Трейси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
883 {"Трент", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
884 {"Трентон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
885 {"Трина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
886 {"Трип", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
887 {"Трисия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
888 {"Троглодит", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
889 {"Тронный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
890 {"Трувор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
891 {"Трэвис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
892 {"Туманный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
893 {"Тэд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
894 {"Тэрри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
895 {"Тюрьма", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
896 {"Уальдо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
897 {"Уилберт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
898 {"Уильсон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
899 {"Ундина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
900 {"Уоллес", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
901 {"Уоррен", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
902 {"Упырь", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
903 {"Учебный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
904 {"Уэбб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
905 {"Фабиан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
906 {"Фамильный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
907 {"Фарелл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
908 {"Федрус", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
909 {"Фейт", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
910 {"Феликс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
911 {"Фелиция", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
912 {"Фердинанд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
913 {"Фил", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
914 {"Филип", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
915 {"Филлис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
916 {"Филомена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
917 {"Флетчер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
918 {"Флойд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
919 {"Флоренция", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
920 {"Флосси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
921 {"Форрест", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
922 {"Франк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
923 {"Франклин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
924 {"Франц", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
925 {"Франциск", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
926 {"Франческа", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
927 {"Фред", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
928 {"Фредерик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
929 {"Хавьер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
930 {"Хайден", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
931 {"Хайди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
932 {"Хан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
933 {"Ханк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
934 {"Ханн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
935 {"Хаос", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
936 {"Харви", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
937 {"Харди", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
938 {"Хариетта", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
939 {"Харлан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
940 {"Харлей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
941 {"Харольд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
942 {"Харрисон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
943 {"Хелен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
944 {"Хильда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
945 {"Хит", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
946 {"Хитер", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
947 {"Хитет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
948 {"Хитоми", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
949 {"Ходячий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
950 {"Хок", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
951 {"Холден", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
952 {"Холли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
953 {"Храм", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
954 {"Хранилище", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
955 {"Хью", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
956 {"Хьюго", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
957 {"Хэл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
958 {"Хэмптон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
959 {"Царь", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
960 {"Цезарь", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
961 {"Циклон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
962 {"Цитадель", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
963 {"Чад", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
964 {"Чак", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
965 {"Чан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
966 {"Чандра", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
967 {"Чарли", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
968 {"Чарльз", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
969 {"Чародей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
970 {"Часовой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
971 {"Чемпион", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
972 {"Черная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
973 {"Чернокнижник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
974 {"Чертог", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
975 {"Честер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
976 {"Чет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
977 {"Чип", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
978 {"Чудище", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
979 {"Шатер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
980 {"Шахтерская", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
981 {"Шейла", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
982 {"Шейлани", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
983 {"Шелдон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
984 {"Шелл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
985 {"Шелли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
986 {"Шеллис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
987 {"Шердон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
988 {"Шерил", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
989 {"Шерман", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
990 {"Шерри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
991 {"Шеррин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
992 {"Шимон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
993 {"Школа", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
994 {"Шон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
995 {"Шоуна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
996 {"Штаб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
997 {"Шэнон", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
998 {"Шэри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
999 {"Шэрон", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1000 {"Эван", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1001 {"Эвелин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1002 {"Эд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1003 {"Эдгар", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1004 {"Эдди", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1005 {"Эдисон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1006 {"Эдит", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1007 {"Эдмонд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1008 {"Эдна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1009 {"Эйб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1010 {"Эйлин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1011 {"Эйприл", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1012 {"Экспертная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1013 {"Эл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1014 {"Элвин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1015 {"Элегантный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1016 {"Элен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1017 {"Элеонора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1018 {"Элиот", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1019 {"Элисон", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1020 {"Элисса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1021 {"Элитный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1022 {"Элла", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1023 {"Эллен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1024 {"Элси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1025 {"Элтон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1026 {"Эльф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1027 {"Эми", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1028 {"Эмиль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1029 {"Эмма", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1030 {"Эммануил", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1031 {"Эммет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1032 {"Энджи", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1033 {"Энди", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1034 {"Энн", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1035 {"Энн", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1036 {"Энок", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1037 {"Эрвин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1038 {"Эрик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1039 {"Эрин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1040 {"Эрл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1041 {"Эрнест", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1042 {"Эрни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1043 {"Эрнин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1044 {"Эрол", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1045 {"Этан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1046 {"Этель", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1047 {"Эш", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1048 {"Эштон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1049 {"Юдифь", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1050 {"Юрий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1051 {"Ядовитый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1052 {"Якоб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1053 {"Ян", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1054 {"Янси", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1055 {"Ярод", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1056 {"Яспер", 0}
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1057 },
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1058 gender_table[] =
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1059 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1060 {"ад", 0}, {"акула", 1}, {"банк", 0}, {"башня", 1}, {"бластер", 0}, {"вампир", 0}, {"вдова", 1}, {"ведьма", 1}, {"витерсмит", 0}, {"владыка", 0}, {"владычица", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1061 {"воин", 0}, {"вор", 0}, {"гидра", 1}, {"глаз", 0}, {"голем", 0}, {"гора", 1}, {"горгулья", 1}, {"город", 0}, {"громовая", 1}, {"двор", 0}, {"джинн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1062 {"дракон", 0}, {"дух", 0}, {"житель", 0}, {"жительница", 1}, {"зал", 0}, {"защитник", 0}, {"земля", 1}, {"искатель", 0}, {"ифрит", 0}, {"квартира", 1}, {"кольчуга", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1063 {"командир", 0}, {"крыса", 1}, {"лейтенант", 0}, {"луна", 1}, {"людоед", 0}, {"магог", 0}, {"меч", 0}, {"мечник", 0}, {"минотавр", 0}, {"мышь", 1}, {"наемник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1064 {"огненная", 1}, {"огонь", 0}, {"орк", 0}, {"паук", 0}, {"пещера", 1}, {"пещеры", 1}, {"повелитель", 0}, {"погреб", 0}, {"полигон", 0}, {"приют", 0}, {"птица", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1065 {"птичий", 0}, {"работник", 0}, {"рай", 0}, {"рейнджер", 0}, {"рух", 0}, {"слизень", 0}, {"солдат", 0}, {"титан", 0}, {"трактир", 0}, {"тролль", 0}, {"убийца", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1066 {"улан", 0}, {"училище", 2}, {"шляпа", 1}, {"элементал", 0}
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1067 };
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1068
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1069
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1070
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1071 #include <mbstring.h>
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1072
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1073 int GetGender(char *ansi_name, int name_len)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1074 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1075 auto name = (unsigned char *)ansi_name;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1076
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1077 GenderTableEntry *table = nullptr;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1078 unsigned int table_size = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1079 if (name[0] >= (unsigned char)'а' && name[0] <= (unsigned char)'я')
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1080 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1081 table = gender_table;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1082 table_size = sizeof(gender_table) / sizeof(*gender_table);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1083 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1084 else if (name[0] >= (unsigned char)'А' && name[0] <= (unsigned char)'Я')
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1085 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1086 table = gender_table_caps;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1087 table_size = sizeof(gender_table_caps) / sizeof(*gender_table_caps);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1088 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1089 else return 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1090
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1091 int left = 0,
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1092 right = table_size - 1,
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1093 match = 0;
255
0a37a56e9f02 sprintfex & classes enum
Nomad
parents: 254
diff changeset
1094 while (left < right - 1)
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1095 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1096 match = left + (right - left) / 2;
250
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1097 int rval = _mbsncmp(name, (unsigned char *)table[match].name, name_len);
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1098 if (rval < 0)
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1099 right = match;
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1100 else if (!rval)
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1101 return table[match].gender;
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1102 else
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1103 left = match;
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1104 }
303
3dcc9d945eeb DamageMonsterFromParty
Nomad
parents: 255
diff changeset
1105
3dcc9d945eeb DamageMonsterFromParty
Nomad
parents: 255
diff changeset
1106 Log::Warning(L"sprintfex: unknown gender: %S", name);
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1107 return 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1108 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1109
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1110
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1111 bool IsSpecialName(const char *ansi_name)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1112 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1113 auto name = (unsigned char *)ansi_name;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1114 return !_mbsncmp(name, (unsigned char *)"Мэри Джо", 8) || !_mbsncmp(name, (unsigned char *)"Ли Энн", 6) ||
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1115 !_mbsncmp(name, (unsigned char *)"Врата в Бездну", 14) || !_mbsncmp(name, (unsigned char *)"Стены тумана", 12);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1116 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1117 int GetSpecialGender(const char *ansi_name)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1118 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1119 auto name = (unsigned char *)ansi_name;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1120 if (!_mbsncmp(name, (unsigned char *)"Мэри Джо", 8))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1121 return 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1122 if (!_mbsncmp(name, (unsigned char *)"Ли Энн", 6))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1123 return 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1124 if (!_mbsncmp(name, (unsigned char *)"Врата в Бездну", 14))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1125 return 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1126 if (!!_mbsncmp(name, (unsigned char *)"Стены тумана", 12))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1127 return 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1128 return 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1129 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1130 const char *GetSpecialCase(const char *ansi_name, char c)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1131 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1132 auto name = (unsigned char *)ansi_name;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1133
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1134 if (!_mbsncmp(name, (unsigned char *)"Мэри Джо", 8))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1135 return "Мэри Джо";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1136 if (!_mbsncmp(name, (unsigned char *)"Ли Энн", 6))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1137 return "Ли Энн";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1138
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1139 if (!_mbsncmp(name, (unsigned char *)"Врата в Бездну", 14))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1140 switch (c)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1141 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1142 case 'I': case 'i': return "Врата в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1143 case 'R': case 'r': return "Врат в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1144 case 'D': case 'd': return "Вратам в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1145 case 'V': case 'v': return "Врат в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1146 case 'T': case 't': return "Вратами в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1147 case 'P': case 'p': return "Вратах в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1148 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1149
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1150 if (!_mbsncmp(name, (unsigned char *)"Стены тумана", 12))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1151 switch (c)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1152 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1153 case 'I': case 'i': return "Стены тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1154 case 'R': case 'r': return "Стен тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1155 case 'D': case 'd': return "Стенам тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1156 case 'V': case 'v': return "Стены тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1157 case 'T': case 't': return "Стенами тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1158 case 'P': case 'p': return "Стенах тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1159 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1160
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1161 return nullptr;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1162 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1163
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1164 int __cdecl sprintfex_internal(char *str)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1165 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1166 auto p = strstr(str, "^");
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1167 if (!p)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1168 return strlen(str);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1169
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1170 char buf[8192];
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1171 assert(strlen(str) < sizeof(buf));
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1172
648
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1173 int next_integer_token = 0;
649
0e368c04acfb Sleeping in a tavern
Nomad
parents: 648
diff changeset
1174 bool integer_tokens_defined[10] = {false, false, false, false, false, false, false, false, false, false};
0e368c04acfb Sleeping in a tavern
Nomad
parents: 648
diff changeset
1175 int integer_tokens[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1176
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1177 bool gender_token_defined = false;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1178 int gender_token = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1179
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1180 auto src = buf,
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1181 dst = p;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1182 strcpy(buf, str + (p - str));
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1183 while (true)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1184 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1185 switch (src[1])
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1186 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1187 case 'I':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1188 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1189 if (src[2] != '[')
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1190 goto _invalid_token;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1191 src += 3; // ^I[
649
0e368c04acfb Sleeping in a tavern
Nomad
parents: 648
diff changeset
1192
0e368c04acfb Sleeping in a tavern
Nomad
parents: 648
diff changeset
1193 assert(next_integer_token < 10);
648
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1194 if (sscanf(src, "%d", &integer_tokens[next_integer_token]))
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1195 integer_tokens_defined[next_integer_token++] = true;
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1196
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1197 auto int_begin = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1198 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1199
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1200 int int_len = src - int_begin - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1201 strncpy(dst, int_begin, int_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1202 dst += int_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1203 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1204 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1205
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1206 case 'L':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1207 {
648
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1208 int integer_token_idx = 0;
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1209 if (src[2] >= '1' && src[2] <= '9')
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1210 {
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1211 if (src[3] != '[')
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1212 goto _invalid_token;
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1213 integer_token_idx = src[2] - '1';
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1214
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1215 src += 1;
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1216 }
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1217 else if (src[2] != '[')
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1218 goto _invalid_token;
648
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1219
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1220 assert(integer_tokens_defined[integer_token_idx]);
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1221 src += 3; // ^L[
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1222
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1223 auto ending1 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1224 while (*src++ != ';');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1225 auto ending2 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1226 while (*src++ != ';');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1227 auto ending3 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1228 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1229
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1230 char *actual_ending = nullptr;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1231 int actual_ending_len = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1232
648
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1233 int modulo = abs(integer_tokens[integer_token_idx]) % 10;
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1234 if (modulo == 1)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1235 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1236 actual_ending = ending1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1237 actual_ending_len = ending2 - ending1 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1238 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1239 else if (modulo >= 2 && modulo <= 4)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1240 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1241 actual_ending = ending2;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1242 actual_ending_len = ending3 - ending2 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1243 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1244 else
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1245 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1246 actual_ending = ending3;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1247 actual_ending_len = src - ending3 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1248 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1249
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1250 strncpy(dst, actual_ending, actual_ending_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1251 dst += actual_ending_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1252 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1253 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1254
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1255 case 'R':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1256 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1257 if (src[2] != '[')
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1258 goto _invalid_token;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1259 assert(gender_token_defined);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1260
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1261 src += 3; // ^R[
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1262
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1263 auto ending1 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1264 while (*src++ != ';');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1265 auto ending2 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1266 while (*src++ != ';');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1267 auto ending3 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1268 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1269
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1270 char *actual_ending = nullptr;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1271 int actual_ending_len = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1272
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1273 if (gender_token == 0)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1274 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1275 actual_ending = ending1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1276 actual_ending_len = ending2 - ending1 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1277 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1278 else if (gender_token == 1)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1279 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1280 actual_ending = ending2;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1281 actual_ending_len = ending3 - ending2 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1282 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1283 else if (gender_token == 2)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1284 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1285 actual_ending = ending3;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1286 actual_ending_len = src - ending3 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1287 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1288 else assert(false);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1289
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1290 strncpy(dst, actual_ending, actual_ending_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1291 dst += actual_ending_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1292 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1293 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1294
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1295 case 'P':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1296 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1297 if (src[3] != '[')
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1298 goto _invalid_token;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1299 switch (src[2])
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1300 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1301 case 'I': case 'i':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1302 case 'R': case 'r':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1303 case 'D': case 'd':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1304 case 'V': case 'v':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1305 case 'T': case 't':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1306 case 'P': case 'p': break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1307 default:
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1308 goto _invalid_token;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1309 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1310
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1311 if (IsSpecialName(src + 4))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1312 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1313 auto name = GetSpecialCase(src + 4, src[2]);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1314 int name_len = strlen(name);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1315
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1316 gender_token = GetSpecialGender(src + 4);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1317 gender_token_defined = true;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1318
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1319 strncpy(dst, name, name_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1320 dst += name_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1321 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1322 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1323 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1324
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1325 auto name_begin = src + 4;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1326 int name_len = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1327 for (int i = 0; name_begin[i] != ']'; ++i)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1328 name_len++;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1329 gender_token = GetGender(name_begin, name_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1330 gender_token_defined = true;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1331
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1332 switch (src[2])
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1333 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1334 case 'I': case 'i':
809
7bb33867d2cb Pv[] in sprintfex
Ritor1
parents: 651
diff changeset
1335 case 'V': case 'v':
7bb33867d2cb Pv[] in sprintfex
Ritor1
parents: 651
diff changeset
1336 case 'R': case 'r':
7bb33867d2cb Pv[] in sprintfex
Ritor1
parents: 651
diff changeset
1337 case 'D': case 'd':
7bb33867d2cb Pv[] in sprintfex
Ritor1
parents: 651
diff changeset
1338 case 'T': case 't':
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1339 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1340 strncpy(dst, name_begin, name_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1341 dst += name_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1342 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1343 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1344
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1345 case 'P': case 'p':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1346 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1347 auto token_begin = src;
651
2bf48d11d742 Training hall UI fixed
Nomad
parents: 649
diff changeset
1348 int token_len = 1;
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1349 for (int i = 0; token_begin[i] != ']'; ++i)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1350 token_len++;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1351 strncpy(dst, token_begin, token_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1352 dst += token_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1353 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1354 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1355 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1356 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1357 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1358
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1359 default:
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1360 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1361 _invalid_token:
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1362 auto token_begin = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1363 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1364
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1365 int token_len = src - token_begin;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1366 char token[1024];
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1367 strncpy(token, token_begin, token_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1368 token[token_len] = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1369
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1370 Log::Warning(L"Invalid format token: %S", token);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1371 assert(false);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1372 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1373 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1374 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1375
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1376 *dst = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1377
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1378 auto copy_begin = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1379 src = strstr(src, "^");
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1380 if (!src)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1381 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1382 strcpy(dst, copy_begin); // just copy the rest
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1383 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1384 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1385
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1386 int copy_len = src - copy_begin;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1387 strncpy(dst, copy_begin, copy_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1388 dst += copy_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1389 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1390
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1391 return dst - str;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1392 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1393
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1394
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1395
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1396
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1397
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1398
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1399 //mm6text.non -> c structure array
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1400 /*FILE *f = fopen("_1.txt", "w+t");
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1401 FILE *in = fopen("mm6text.non", "rt");
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1402 fscanf(in, "%*[^\n]\n");
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1403
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1404 int idx = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1405 auto pairs = new NameGender[8000];
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1406
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1407 char line[1024];
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1408 while (fscanf(in, "%[^\n]\n", line) && !feof(in))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1409 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1410 char name1[100], name2[100], name3[100];
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1411 int e = sscanf(line, "%s\t%s\t%s", pairs[idx].name, pairs[idx + 1].name, pairs[idx + 2].name);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1412 pairs[idx].gender = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1413 pairs[idx+1].gender = 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1414 pairs[idx+2].gender = 2;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1415 idx += e;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1416 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1417
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1418 for (int i = 0; i < idx; ++i)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1419 for (int j = 0; j < i; ++j)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1420 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1421 if (_mbsicmp(pairs[i].name, pairs[j].name) < 0)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1422 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1423 char n[1024];
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1424 strcpy(n, (char *)pairs[j].name);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1425 auto g = pairs[j].gender;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1426
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1427 strcpy((char *)pairs[j].name, (char *)pairs[i].name);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1428 pairs[j].gender = pairs[i].gender;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1429
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1430 strcpy((char *)pairs[i].name, n);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1431 pairs[i].gender = g;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1432 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1433 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1434
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1435 for (int i = 0; i < idx; ++i)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1436 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1437 fprintf(f, " {\"%s\", %u},\n", pairs[i].name, pairs[i].gender);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1438 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1439 fclose(f);*/