annotate mm7text_ru.cpp @ 2255:4c9fef516e0a

immolation cleaned up a bit
author Grumpy7
date Thu, 27 Feb 2014 00:27:58 +0100
parents aff7a7b072b7
children f4af3b203f65
rev   line source
2253
aff7a7b072b7 adding _CRT_SECURE_NO_WARNINGS to get rid of a few hundrer annoying warnings + adding count parameter to swprintf
Grumpy7
parents: 2153
diff changeset
1 #define _CRT_SECURE_NO_WARNINGS
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
2 #include <string.h>
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
3 #include <stdlib.h>
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
4 #include <stdio.h>
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
5
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
6 #include "Log.h"
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1458
diff changeset
7 #include "ErrorHandling.h"
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
8
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
9
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
10 struct GenderTableEntry
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
11 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
12 const char *name;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
13 int gender;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
14 } gender_table_caps[] =
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
15 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
16 {"Авель", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
17 {"Адам", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
18 {"Адриан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
19 {"Адрианис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
20 {"Адская", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
21 {"Айр", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
22 {"Акио", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
23 {"Акира", 0},
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},
255
0a37a56e9f02 sprintfex & classes enum
Nomad
parents: 254
diff changeset
28 {"Алексис", 1},
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
29 {"Ален", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
30 {"Алехандро", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
31 {"Алиса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
32 {"Альберт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
33 {"Альтон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
34 {"Альтред", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
35 {"Альфред", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
36 {"Аманда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
37 {"Амбер", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
38 {"Амброзий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
39 {"Амелия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
40 {"Амос", 0},
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 {"Анжела", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
45 {"Анита", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
46 {"Анна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
47 {"Антон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
48 {"Антоний", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
49 {"Арби", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
50 {"Арда", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
51 {"Арден", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
52 {"Арена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
53 {"Аристей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
54 {"Аристидис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
55 {"Арих", 0},
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 {"Барбара", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
72 {"Баретт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
73 {"Барт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
74 {"Батч", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
75 {"Беатрис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
76 {"Беверли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
77 {"Беки", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
78 {"Белинда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
79 {"Бен", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
80 {"Бенджамин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
81 {"Бенедикт", 0},
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 {"Бернадетта", 1},
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 {"Бертран", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
93 {"Бет", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
94 {"Бетси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
95 {"Бетти", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
96 {"Билли", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
97 {"Биллис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
98 {"Бишоп", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
99 {"Блейк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
100 {"Блейн", 0},
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 {"Бонни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
109 {"Борегард", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
110 {"Борис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
111 {"Браден", 0},
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 {"Бренда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
116 {"Брендон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
117 {"Брент", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
118 {"Брет", 0},
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 {"Валерия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
132 {"Вальтер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
133 {"Ванда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
134 {"Ванесса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
135 {"Ванетта", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
136 {"Ванс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
137 {"Вейн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
138 {"Великий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
139 {"Венделл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
140 {"Венди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
141 {"Вера", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
142 {"Верн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
143 {"Вернон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
144 {"Вероника", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
145 {"Верховная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
146 {"Весли", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
147 {"Виверн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
148 {"Вивьен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
149 {"Вики", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
150 {"Виктор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
151 {"Викторис", 0},
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 {"Виллард", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
156 {"Вильма", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
157 {"Вильфред", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
158 {"Вильям", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
159 {"Винный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
160 {"Винстон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
161 {"Винченцо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
162 {"Виолет", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
163 {"Виргилий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
164 {"Виргиния", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
165 {"Вихрь", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
166 {"Владимир", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
167 {"Властелин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
168 {"Водный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
169 {"Военное", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
170 {"Воздушная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
171 {"Воздушный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
172 {"Волхв", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
173 {"Вольг", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
174 {"Восставший", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
175 {"Врата", 1},
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 {"Гай", 0},
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 {"Гарпия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
186 {"Гарри", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
187 {"Гвендолин", 1},
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 {"Гектор", 0},
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 {"Георгина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
196 {"Герб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
197 {"Герберт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
198 {"Герман", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
199 {"Гертруда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
200 {"Герц", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
201 {"Гигантская", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
202 {"Гильдия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
203 {"Гильермо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
204 {"Гильмор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
205 {"Гимнастический", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
206 {"Глазище", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
207 {"Глен", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
208 {"Гленда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
209 {"Глиняный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
210 {"Глория", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
211 {"Гниющий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
212 {"Гном", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
213 {"Гоблин", 0},
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 {"Гретхен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
228 {"Грифон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
229 {"Грозовой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
230 {"Гус", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
231 {"Давид", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
232 {"Дайана", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
233 {"Дал", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
234 {"Даллас", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
235 {"Дамиан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
236 {"Дана", 1},
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 {"Дарлин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
241 {"Дарон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
242 {"Дарси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
243 {"Дастин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
244 {"Дафна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
245 {"Двайт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
246 {"Двейн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
247 {"Деанна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
248 {"Дебби", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
249 {"Дебора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
250 {"Девон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
251 {"Дейв", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
252 {"Дейл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
253 {"Дел", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
254 {"Делорис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
255 {"Денис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
256 {"Денни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
257 {"Депозитарий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
258 {"Дерево", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
259 {"Дерек", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
260 {"Десмонд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
261 {"Джанис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
262 {"Джастин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
263 {"Джед", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
264 {"Джедай", 0},
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 {"Джейн", 1},
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 {"Дженифер", 1},
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 {"Джером", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
278 {"Джероми", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
279 {"Джерри", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
280 {"Джесс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
281 {"Джесса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
282 {"Джессика", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
283 {"Джетано", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
284 {"Джим", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
285 {"Джин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
286 {"Джина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
287 {"Джинжер", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
288 {"Джинни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
289 {"Джино", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
290 {"Джо", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
291 {"Джоан", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
292 {"Джоанн", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
293 {"Джоанна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
294 {"Джозеф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
295 {"Джой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
296 {"Джойс", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
297 {"Джойсин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
298 {"Джон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
299 {"Джонатан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
300 {"Джордж", 0},
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 {"Джуди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
306 {"Джудис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
307 {"Джули", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
308 {"Джун", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
309 {"Диана", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
310 {"Дилан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
311 {"Дин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
312 {"Дитер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
313 {"Додридж", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
314 {"Док", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
315 {"Долорес", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
316 {"Дольф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
317 {"Дом", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
318 {"Доминик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
319 {"Доминика", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
320 {"Дон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
321 {"Донайс", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
322 {"Дональд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
323 {"Донна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
324 {"Дорин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
325 {"Дорис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
326 {"Дороти", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
327 {"Драконовая", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
328 {"Древнее", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
329 {"Древний", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
330 {"Друид", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
331 {"Дрю", 0},
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 {"Ева", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
341 {"Евгений", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
342 {"Елизавета", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
343 {"Жан-Поль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
344 {"Жан-Пьер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
345 {"Жанета", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
346 {"Жанетт", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
347 {"Жанетта", 1},
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 {"Жильбер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
355 {"Жофрей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
356 {"Жуль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
357 {"Зак", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
358 {"Замок", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
359 {"Замороженные", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
360 {"Захарий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
361 {"Зебулон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
362 {"Зеленый", 0},
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 {"Златые", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
367 {"Зод", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
368 {"Золотой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
369 {"Золтан", 0},
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 {"Ивонна", 1},
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 {"Изумрудный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
382 {"Ике", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
383 {"Илена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
384 {"Илья", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
385 {"Имение", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
386 {"Инкубатор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
387 {"Иоланда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
388 {"Ион", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
389 {"Иона", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
390 {"Иоханн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
391 {"Ирвин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
392 {"Ирвинг", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
393 {"Ирена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
394 {"Ирина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
395 {"Ирис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
396 {"Ирма", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
397 {"Исаак", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
398 {"Исао", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
399 {"Йордан", 0},
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 {"Каменная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
405 {"Каменный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
406 {"Кандейс", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
407 {"Капитан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
408 {"Карен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
409 {"Кари", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
410 {"Карин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
411 {"Карл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
412 {"Карли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
413 {"Карло", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
414 {"Карлон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
415 {"Карлос", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
416 {"Кармен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
417 {"Картер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
418 {"Касандра", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
419 {"Катерина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
420 {"Кати", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
421 {"Катлин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
422 {"Кван", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
423 {"Квентин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
424 {"Квинн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
425 {"Кевин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
426 {"Кевинус", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
427 {"Кейлин", 1},
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 {"Кимберли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
438 {"Кирк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
439 {"Кирус", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
440 {"Клайд", 0},
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 {"Клэр", 1},
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 {"Конни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
451 {"Коннор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
452 {"Конрад", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
453 {"Константин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
454 {"Констанция", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
455 {"Копи", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
456 {"Кора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
457 {"Корбет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
458 {"Корд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
459 {"Кори", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
460 {"Корисо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
461 {"Корнелия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
462 {"Корнилий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
463 {"Королева", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
464 {"Королевский", 0},
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 {"Крис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
470 {"Криста", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
471 {"Кристен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
472 {"Кристина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
473 {"Кристис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
474 {"Кристофер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
475 {"Кровавый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
476 {"Ксуан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
477 {"Кулак", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
478 {"Курган", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
479 {"Курица", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
480 {"Кэй", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
481 {"Кэйс", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
482 {"Кэл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
483 {"Кэлло", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
484 {"Кэмерон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
485 {"Кэнди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
486 {"Кэри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
487 {"Кэрол", 1},
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 {"Кэси", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
492 {"Лабиринт", 0},
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 {"Лаки", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
497 {"Лана", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
498 {"Ланс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
499 {"Лара", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
500 {"Ларри", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
501 {"Ларс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
502 {"Лаура", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
503 {"Лаури", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
504 {"Леа", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
505 {"Леаса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
506 {"Лейф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
507 {"Лео", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
508 {"Леонард", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
509 {"Леора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
510 {"Лерой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
511 {"Лесли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
512 {"Лестер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
513 {"Летучая", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
514 {"Ли", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
515 {"Ли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
516 {"Лиам", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
517 {"Ливия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
518 {"Лиза", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
519 {"Лила", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
520 {"Лиланд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
521 {"Лилли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
522 {"Лиман", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
523 {"Линда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
524 {"Линден", 0},
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 {"Ллойд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
530 {"Ловчий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
531 {"Логан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
532 {"Логово", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
533 {"Лон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
534 {"Лонни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
535 {"Лора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
536 {"Лорд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
537 {"Лорен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
538 {"Лорена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
539 {"Лоу", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
540 {"Лоувелл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
541 {"Лояльный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
542 {"Луи", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
543 {"Луиджи", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
544 {"Луиза", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
545 {"Луис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
546 {"Луиса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
547 {"Лучник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
548 {"Льюис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
549 {"Людвиг", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
550 {"Люк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
551 {"Люсиль", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
552 {"Лютер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
553 {"Маделена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
554 {"Майк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
555 {"Майлз", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
556 {"Майлс", 0},
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 {"Мами", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
564 {"Манни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
565 {"Мантикора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
566 {"Манфред", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
567 {"Марвин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
568 {"Маргарита", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
569 {"Марджори", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
570 {"Марж", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
571 {"Мариана", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
572 {"Марианна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
573 {"Марио", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
574 {"Марион", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
575 {"Марис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
576 {"Мариса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
577 {"Маришаль", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
578 {"Мария", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
579 {"Марк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
580 {"Марко", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
581 {"Маркони", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
582 {"Маркус", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
583 {"Марлен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
584 {"Марлон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
585 {"Марни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
586 {"Марси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
587 {"Марсия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
588 {"Марта", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
589 {"Мартил", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
590 {"Мартин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
591 {"Мархэм", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
592 {"Марчелло", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
593 {"Марша", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
594 {"Маршал", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
595 {"Мастер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
596 {"Матвей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
597 {"Материальные", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
598 {"Матт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
599 {"Мегадракон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
600 {"Медный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
601 {"Медуза", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
602 {"Мейм", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
603 {"Мелани", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
604 {"Мелвин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
605 {"Мелинда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
606 {"Мелисса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
607 {"Мелководье", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
608 {"Мелоди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
609 {"Мертвец", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
610 {"Мертвый", 0},
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 {"Минеральные", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
616 {"Миникора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
617 {"Минни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
618 {"Мириам", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
619 {"Митч", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
620 {"Мишель", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
621 {"Могучий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
622 {"Мойра", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
623 {"Монах", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
624 {"Моника", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
625 {"Монте", 0},
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 {"Мохаммед", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
631 {"Мраморная", 1},
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 {"Мэри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
636 {"Мэри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
637 {"Мэрилин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
638 {"Мюрель", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
639 {"Мюррей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
640 {"Надина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
641 {"Налётчик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
642 {"Наоми", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
643 {"Натали", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
644 {"Натан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
645 {"Натаниэль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
646 {"Начальная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
647 {"Небеса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
648 {"Нед", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
649 {"Некромант", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
650 {"Нельсон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
651 {"Неустрашимый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
652 {"Ник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
653 {"Ники", 1},
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 {"Ной", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
660 {"Норина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
661 {"Норм", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
662 {"Норма", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
663 {"Норман", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
664 {"Норрис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
665 {"Ньют", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
666 {"Нэйт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
667 {"Нэнси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
668 {"Нэнсис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
669 {"Обсидиановая", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
670 {"Огненный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
671 {"Олаф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
672 {"Оливер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
673 {"Оливия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
674 {"Орден", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
675 {"Особняк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
676 {"Остин", 0},
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 {"Пам", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
682 {"Памела", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
683 {"Паркер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
684 {"Парти", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
685 {"Патрик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
686 {"Патрисия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
687 {"Пег", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
688 {"Пегги", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
689 {"Пейдж", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
690 {"Пенни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
691 {"Перри", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
692 {"Перси", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
693 {"Персиваль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
694 {"Петер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
695 {"Пикси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
696 {"Пирс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
697 {"Пит", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
698 {"Плавучий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
699 {"Покои", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
700 {"Пол", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
701 {"Посвящённый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
702 {"Посвященный", 0},
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 {"Привидение", 2},
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 {"Пэтти", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
715 {"Раду", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
716 {"Разбойник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
717 {"Райан", 0},
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 {"Ратуша", 1},
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 {"Ребекка", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
730 {"Реви", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
731 {"Рег", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
732 {"Регина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
733 {"Реджинальд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
734 {"Рекс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
735 {"Рене", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
736 {"Рени", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
737 {"Ренцо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
738 {"Ресанда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
739 {"Речной", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
740 {"Рики", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
741 {"Ринальдо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
742 {"Рита", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
743 {"Ричард", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
744 {"Роб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
745 {"Робби", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
746 {"Роберт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
747 {"Роберта", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
748 {"Робин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
749 {"Рогатый", 0},
255
0a37a56e9f02 sprintfex & classes enum
Nomad
parents: 254
diff changeset
750 {"Родерик", 0},
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
751 {"Родни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
752 {"Роза", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
753 {"Розали", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
754 {"Розанна", 1},
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 {"Рой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
759 {"Роки", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
760 {"Роланд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
761 {"Ромона", 1},
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 {"Рошель", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
769 {"Рубина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
770 {"Руди", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
771 {"Руперт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
772 {"Рут", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
773 {"Рути", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
774 {"Рэндал", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
775 {"Рэнди", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
776 {"Саад", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
777 {"Сабрина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
778 {"Сади", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
779 {"Сал", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
780 {"Салли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
781 {"Сальваторе", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
782 {"Самюэль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
783 {"Сандип", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
784 {"Сандра", 1},
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 {"Святилище", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
793 {"Священная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
794 {"Священник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
795 {"Себастьян", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
796 {"Седрик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
797 {"Сеймур", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
798 {"Секлия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
799 {"Селена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
800 {"Сергио", 0},
255
0a37a56e9f02 sprintfex & classes enum
Nomad
parents: 254
diff changeset
801 {"Серена", 1},
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
802 {"Серый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
803 {"Сесиль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
804 {"Сет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
805 {"Сидней", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
806 {"Сильвестр", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
807 {"Сильфида", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
808 {"Симон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
809 {"Симона", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
810 {"Синди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
811 {"Синдис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
812 {"Синий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
813 {"Синтия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
814 {"Скалис", 0},
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 {"Слейд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
820 {"Собака", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
821 {"Собор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
822 {"Сол", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
823 {"Солнце", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
824 {"Сонни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
825 {"Спенсер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
826 {"Старший", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
827 {"Стейси", 1},
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 {"Стрекозавр", 0},
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 {"Суанна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
842 {"Судья", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
843 {"Сулейман", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
844 {"Сумеречный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
845 {"Сьюзан", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
846 {"Сьюзи", 1},
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 {"Сэра", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
851 {"Сюзанна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
852 {"Тадеус", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
853 {"Тайлер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
854 {"Тайсон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
855 {"Така", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
856 {"Тамара", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
857 {"Тамми", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
858 {"Таня", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
859 {"Тара", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
860 {"Тейн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
861 {"Теодор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
862 {"Тереза", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
863 {"Тереса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
864 {"Терранс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
865 {"Терри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
866 {"Тим", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
867 {"Тимоти", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
868 {"Тина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
869 {"Тиффани", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
870 {"Тобиас", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
871 {"Тодд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
872 {"Том", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
873 {"Томас", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
874 {"Тон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
875 {"Тони", 0},
366
85edec9da96b _4B910F_shop_interaction
Nomad
parents: 303
diff changeset
876 {"Тор", 0},
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
877 {"Тран", 0},
651
2bf48d11d742 Training hall UI fixed
Nomad
parents: 649
diff changeset
878 {"Траян", 0},
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
879 {"Трейси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
880 {"Трент", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
881 {"Трентон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
882 {"Трина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
883 {"Трип", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
884 {"Трисия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
885 {"Троглодит", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
886 {"Тронный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
887 {"Трувор", 0},
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 {"Тэрри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
892 {"Тюрьма", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
893 {"Уальдо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
894 {"Уилберт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
895 {"Уильсон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
896 {"Ундина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
897 {"Уоллес", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
898 {"Уоррен", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
899 {"Упырь", 0},
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 {"Фейт", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
907 {"Феликс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
908 {"Фелиция", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
909 {"Фердинанд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
910 {"Фил", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
911 {"Филип", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
912 {"Филлис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
913 {"Филомена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
914 {"Флетчер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
915 {"Флойд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
916 {"Флоренция", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
917 {"Флосси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
918 {"Форрест", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
919 {"Франк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
920 {"Франклин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
921 {"Франц", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
922 {"Франциск", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
923 {"Франческа", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
924 {"Фред", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
925 {"Фредерик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
926 {"Хавьер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
927 {"Хайден", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
928 {"Хайди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
929 {"Хан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
930 {"Ханк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
931 {"Ханн", 0},
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 {"Хариетта", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
936 {"Харлан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
937 {"Харлей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
938 {"Харольд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
939 {"Харрисон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
940 {"Хелен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
941 {"Хильда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
942 {"Хит", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
943 {"Хитер", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
944 {"Хитет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
945 {"Хитоми", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
946 {"Ходячий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
947 {"Хок", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
948 {"Холден", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
949 {"Холли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
950 {"Храм", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
951 {"Хранилище", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
952 {"Хью", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
953 {"Хьюго", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
954 {"Хэл", 0},
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 {"Цитадель", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
960 {"Чад", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
961 {"Чак", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
962 {"Чан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
963 {"Чандра", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
964 {"Чарли", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
965 {"Чарльз", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
966 {"Чародей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
967 {"Часовой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
968 {"Чемпион", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
969 {"Черная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
970 {"Чернокнижник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
971 {"Чертог", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
972 {"Честер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
973 {"Чет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
974 {"Чип", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
975 {"Чудище", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
976 {"Шатер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
977 {"Шахтерская", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
978 {"Шейла", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
979 {"Шейлани", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
980 {"Шелдон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
981 {"Шелл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
982 {"Шелли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
983 {"Шеллис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
984 {"Шердон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
985 {"Шерил", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
986 {"Шерман", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
987 {"Шерри", 1},
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 {"Шон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
992 {"Шоуна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
993 {"Штаб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
994 {"Шэнон", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
995 {"Шэри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
996 {"Шэрон", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
997 {"Эван", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
998 {"Эвелин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
999 {"Эд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1000 {"Эдгар", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1001 {"Эдди", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1002 {"Эдисон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1003 {"Эдит", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1004 {"Эдмонд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1005 {"Эдна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1006 {"Эйб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1007 {"Эйлин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1008 {"Эйприл", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1009 {"Экспертная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1010 {"Эл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1011 {"Элвин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1012 {"Элегантный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1013 {"Элен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1014 {"Элеонора", 1},
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 {"Элси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1022 {"Элтон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1023 {"Эльф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1024 {"Эми", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1025 {"Эмиль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1026 {"Эмма", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1027 {"Эммануил", 0},
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 {"Энн", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1032 {"Энн", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1033 {"Энок", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1034 {"Эрвин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1035 {"Эрик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1036 {"Эрин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1037 {"Эрл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1038 {"Эрнест", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1039 {"Эрни", 0},
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 {"Этель", 1},
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 {"Якоб", 0},
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 },
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1055 gender_table[] =
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1056 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1057 {"ад", 0}, {"акула", 1}, {"банк", 0}, {"башня", 1}, {"бластер", 0}, {"вампир", 0}, {"вдова", 1}, {"ведьма", 1}, {"витерсмит", 0}, {"владыка", 0}, {"владычица", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1058 {"воин", 0}, {"вор", 0}, {"гидра", 1}, {"глаз", 0}, {"голем", 0}, {"гора", 1}, {"горгулья", 1}, {"город", 0}, {"громовая", 1}, {"двор", 0}, {"джинн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1059 {"дракон", 0}, {"дух", 0}, {"житель", 0}, {"жительница", 1}, {"зал", 0}, {"защитник", 0}, {"земля", 1}, {"искатель", 0}, {"ифрит", 0}, {"квартира", 1}, {"кольчуга", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1060 {"командир", 0}, {"крыса", 1}, {"лейтенант", 0}, {"луна", 1}, {"людоед", 0}, {"магог", 0}, {"меч", 0}, {"мечник", 0}, {"минотавр", 0}, {"мышь", 1}, {"наемник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1061 {"огненная", 1}, {"огонь", 0}, {"орк", 0}, {"паук", 0}, {"пещера", 1}, {"пещеры", 1}, {"повелитель", 0}, {"погреб", 0}, {"полигон", 0}, {"приют", 0}, {"птица", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1062 {"птичий", 0}, {"работник", 0}, {"рай", 0}, {"рейнджер", 0}, {"рух", 0}, {"слизень", 0}, {"солдат", 0}, {"титан", 0}, {"трактир", 0}, {"тролль", 0}, {"убийца", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1063 {"улан", 0}, {"училище", 2}, {"шляпа", 1}, {"элементал", 0}
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1064 };
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1065
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1066
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1067
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1068 #include <mbstring.h>
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1069
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1070 int GetGender(char *ansi_name, int name_len)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1071 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1072 auto name = (unsigned char *)ansi_name;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1073
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1074 GenderTableEntry *table = nullptr;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1075 unsigned int table_size = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1076 if (name[0] >= (unsigned char)'а' && name[0] <= (unsigned char)'я')
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1077 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1078 table = gender_table;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1079 table_size = sizeof(gender_table) / sizeof(*gender_table);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1080 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1081 else if (name[0] >= (unsigned char)'А' && name[0] <= (unsigned char)'Я')
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1082 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1083 table = gender_table_caps;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1084 table_size = sizeof(gender_table_caps) / sizeof(*gender_table_caps);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1085 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1086 else return 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1087
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1088 int left = 0,
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1089 right = table_size - 1,
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1090 match = 0;
255
0a37a56e9f02 sprintfex & classes enum
Nomad
parents: 254
diff changeset
1091 while (left < right - 1)
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1092 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1093 match = left + (right - left) / 2;
250
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1094 int rval = _mbsncmp(name, (unsigned char *)table[match].name, name_len);
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1095 if (rval < 0)
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1096 right = match;
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1097 else if (!rval)
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1098 return table[match].gender;
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1099 else
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1100 left = match;
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1101 }
303
3dcc9d945eeb DamageMonsterFromParty
Nomad
parents: 255
diff changeset
1102
3dcc9d945eeb DamageMonsterFromParty
Nomad
parents: 255
diff changeset
1103 Log::Warning(L"sprintfex: unknown gender: %S", name);
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1104 return 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1105 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1106
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1107
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1108 bool IsSpecialName(const char *ansi_name)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1109 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1110 auto name = (unsigned char *)ansi_name;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1111 return !_mbsncmp(name, (unsigned char *)"Мэри Джо", 8) || !_mbsncmp(name, (unsigned char *)"Ли Энн", 6) ||
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1112 !_mbsncmp(name, (unsigned char *)"Врата в Бездну", 14) || !_mbsncmp(name, (unsigned char *)"Стены тумана", 12);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1113 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1114 int GetSpecialGender(const char *ansi_name)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1115 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1116 auto name = (unsigned char *)ansi_name;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1117 if (!_mbsncmp(name, (unsigned char *)"Мэри Джо", 8))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1118 return 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1119 if (!_mbsncmp(name, (unsigned char *)"Ли Энн", 6))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1120 return 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1121 if (!_mbsncmp(name, (unsigned char *)"Врата в Бездну", 14))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1122 return 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1123 if (!!_mbsncmp(name, (unsigned char *)"Стены тумана", 12))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1124 return 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1125 return 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1126 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1127 const char *GetSpecialCase(const char *ansi_name, char c)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1128 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1129 auto name = (unsigned char *)ansi_name;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1130
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1131 if (!_mbsncmp(name, (unsigned char *)"Мэри Джо", 8))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1132 return "Мэри Джо";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1133 if (!_mbsncmp(name, (unsigned char *)"Ли Энн", 6))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1134 return "Ли Энн";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1135
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1136 if (!_mbsncmp(name, (unsigned char *)"Врата в Бездну", 14))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1137 switch (c)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1138 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1139 case 'I': case 'i': return "Врата в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1140 case 'R': case 'r': return "Врат в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1141 case 'D': case 'd': return "Вратам в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1142 case 'V': case 'v': return "Врат в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1143 case 'T': case 't': return "Вратами в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1144 case 'P': case 'p': return "Вратах в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1145 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1146
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1147 if (!_mbsncmp(name, (unsigned char *)"Стены тумана", 12))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1148 switch (c)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1149 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1150 case 'I': case 'i': return "Стены тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1151 case 'R': case 'r': return "Стен тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1152 case 'D': case 'd': return "Стенам тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1153 case 'V': case 'v': return "Стены тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1154 case 'T': case 't': return "Стенами тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1155 case 'P': case 'p': return "Стенах тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1156 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1157
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1158 return nullptr;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1159 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1160
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1458
diff changeset
1161 int sprintfex_internal(char *str)
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1162 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1163 auto p = strstr(str, "^");
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1164 if (!p)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1165 return strlen(str);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1166
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1167 char buf[8192];
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1458
diff changeset
1168 Assert(strlen(str) < sizeof(buf));
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1169
648
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1170 int next_integer_token = 0;
649
0e368c04acfb Sleeping in a tavern
Nomad
parents: 648
diff changeset
1171 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
1172 int integer_tokens[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1173
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1174 bool gender_token_defined = false;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1175 int gender_token = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1176
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1177 auto src = buf,
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1178 dst = p;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1179 strcpy(buf, str + (p - str));
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1180 while (true)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1181 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1182 switch (src[1])
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1183 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1184 case 'I':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1185 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1186 if (src[2] != '[')
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1187 goto _invalid_token;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1188 src += 3; // ^I[
649
0e368c04acfb Sleeping in a tavern
Nomad
parents: 648
diff changeset
1189
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1458
diff changeset
1190 Assert(next_integer_token < 10);
648
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1191 if (sscanf(src, "%d", &integer_tokens[next_integer_token]))
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1192 integer_tokens_defined[next_integer_token++] = true;
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1193
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1194 auto int_begin = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1195 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1196
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1197 int int_len = src - int_begin - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1198 strncpy(dst, int_begin, int_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1199 dst += int_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1200 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1201 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1202
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1203 case 'L':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1204 {
648
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1205 int integer_token_idx = 0;
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1206 if (src[2] >= '1' && src[2] <= '9')
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1207 {
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1208 if (src[3] != '[')
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1209 goto _invalid_token;
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1210 integer_token_idx = src[2] - '1';
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1211
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1212 src += 1;
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1213 }
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1214 else if (src[2] != '[')
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1215 goto _invalid_token;
648
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1216
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1458
diff changeset
1217 Assert(integer_tokens_defined[integer_token_idx]);
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1218 src += 3; // ^L[
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1219
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1220 auto ending1 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1221 while (*src++ != ';');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1222 auto ending2 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1223 while (*src++ != ';');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1224 auto ending3 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1225 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1226
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1227 char *actual_ending = nullptr;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1228 int actual_ending_len = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1229
648
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1230 int modulo = abs(integer_tokens[integer_token_idx]) % 10;
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1231 if (modulo == 1)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1232 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1233 actual_ending = ending1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1234 actual_ending_len = ending2 - ending1 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1235 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1236 else if (modulo >= 2 && modulo <= 4)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1237 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1238 actual_ending = ending2;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1239 actual_ending_len = ending3 - ending2 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1240 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1241 else
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1242 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1243 actual_ending = ending3;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1244 actual_ending_len = src - ending3 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1245 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1247 strncpy(dst, actual_ending, actual_ending_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1248 dst += actual_ending_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1249 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1250 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1251
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1252 case 'R':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1253 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1254 if (src[2] != '[')
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1255 goto _invalid_token;
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1458
diff changeset
1256 Assert(gender_token_defined);
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1257
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1258 src += 3; // ^R[
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1259
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1260 auto ending1 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1261 while (*src++ != ';');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1262 auto ending2 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1263 while (*src++ != ';');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1264 auto ending3 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1265 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1266
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1267 char *actual_ending = nullptr;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1268 int actual_ending_len = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1269
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1270 if (gender_token == 0)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1271 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1272 actual_ending = ending1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1273 actual_ending_len = ending2 - ending1 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1274 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1275 else if (gender_token == 1)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1276 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1277 actual_ending = ending2;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1278 actual_ending_len = ending3 - ending2 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1279 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1280 else if (gender_token == 2)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1281 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1282 actual_ending = ending3;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1283 actual_ending_len = src - ending3 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1284 }
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1458
diff changeset
1285 else Error("Invalid gender token");
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1286
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1287 strncpy(dst, actual_ending, actual_ending_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1288 dst += actual_ending_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1289 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1290 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1291
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1292 case 'P':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1293 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1294 if (src[3] != '[')
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1295 goto _invalid_token;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1296 switch (src[2])
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1297 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1298 case 'I': case 'i':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1299 case 'R': case 'r':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1300 case 'D': case 'd':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1301 case 'V': case 'v':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1302 case 'T': case 't':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1303 case 'P': case 'p': break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1304 default:
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1305 goto _invalid_token;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1306 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1307
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1308 if (IsSpecialName(src + 4))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1309 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1310 auto name = GetSpecialCase(src + 4, src[2]);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1311 int name_len = strlen(name);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1312
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1313 gender_token = GetSpecialGender(src + 4);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1314 gender_token_defined = true;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1315
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1316 strncpy(dst, name, name_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1317 dst += name_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1318 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1319 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1320 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1321
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1322 auto name_begin = src + 4;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1323 int name_len = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1324 for (int i = 0; name_begin[i] != ']'; ++i)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1325 name_len++;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1326 gender_token = GetGender(name_begin, name_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1327 gender_token_defined = true;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1328
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1329 switch (src[2])
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1330 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1331 case 'I': case 'i':
809
7bb33867d2cb Pv[] in sprintfex
Ritor1
parents: 651
diff changeset
1332 case 'V': case 'v':
7bb33867d2cb Pv[] in sprintfex
Ritor1
parents: 651
diff changeset
1333 case 'R': case 'r':
7bb33867d2cb Pv[] in sprintfex
Ritor1
parents: 651
diff changeset
1334 case 'D': case 'd':
7bb33867d2cb Pv[] in sprintfex
Ritor1
parents: 651
diff changeset
1335 case 'T': case 't':
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1336 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1337 strncpy(dst, name_begin, name_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1338 dst += name_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1339 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1340 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1341
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1342 case 'P': case 'p':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1343 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1344 auto token_begin = src;
651
2bf48d11d742 Training hall UI fixed
Nomad
parents: 649
diff changeset
1345 int token_len = 1;
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1346 for (int i = 0; token_begin[i] != ']'; ++i)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1347 token_len++;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1348 strncpy(dst, token_begin, token_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1349 dst += token_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1350 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1351 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1352 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1353 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1354 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1355
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1356 default:
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1357 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1358 _invalid_token:
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1359 auto token_begin = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1360 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1361
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1362 int token_len = src - token_begin;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1363 char token[1024];
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1364 strncpy(token, token_begin, token_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1365 token[token_len] = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1366
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1458
diff changeset
1367 Error("Invalid format token: %s", token);
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1368 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1369 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1370 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1371
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1372 *dst = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1373
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1374 auto copy_begin = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1375 src = strstr(src, "^");
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1376 if (!src)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1377 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1378 strcpy(dst, copy_begin); // just copy the rest
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1379 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1380 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1381
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1382 int copy_len = src - copy_begin;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1383 strncpy(dst, copy_begin, copy_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1384 dst += copy_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1385 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1386
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1387 return dst - str;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1388 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1389
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1390
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1391
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 //mm6text.non -> c structure array
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1396 /*FILE *f = fopen("_1.txt", "w+t");
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1397 FILE *in = fopen("mm6text.non", "rt");
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1398 fscanf(in, "%*[^\n]\n");
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1399
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1400 int idx = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1401 auto pairs = new NameGender[8000];
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1402
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1403 char line[1024];
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1404 while (fscanf(in, "%[^\n]\n", line) && !feof(in))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1405 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1406 char name1[100], name2[100], name3[100];
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1407 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
1408 pairs[idx].gender = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1409 pairs[idx+1].gender = 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1410 pairs[idx+2].gender = 2;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1411 idx += e;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1412 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1413
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1414 for (int i = 0; i < idx; ++i)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1415 for (int j = 0; j < i; ++j)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1416 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1417 if (_mbsicmp(pairs[i].name, pairs[j].name) < 0)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1418 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1419 char n[1024];
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1420 strcpy(n, (char *)pairs[j].name);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1421 auto g = pairs[j].gender;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1422
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1423 strcpy((char *)pairs[j].name, (char *)pairs[i].name);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1424 pairs[j].gender = pairs[i].gender;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1425
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1426 strcpy((char *)pairs[i].name, n);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1427 pairs[i].gender = g;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1428 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1429 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1430
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1431 for (int i = 0; i < idx; ++i)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1432 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1433 fprintf(f, " {\"%s\", %u},\n", pairs[i].name, pairs[i].gender);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1434 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1435 fclose(f);*/