annotate mm7text_ru.cpp @ 2214:20995bb8895a

GameResultsApply() full refactored
author Ritor1
date Thu, 13 Feb 2014 23:02:32 +0600
parents d28d3c006077
children aff7a7b072b7
rev   line source
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1 #include <string.h>
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
2 #include <stdlib.h>
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
3 #include <stdio.h>
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
4
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
5 #include "Log.h"
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1458
diff changeset
6 #include "ErrorHandling.h"
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
7
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
8
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
9 struct GenderTableEntry
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
10 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
11 const char *name;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
12 int gender;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
13 } gender_table_caps[] =
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
14 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
15 {"Авель", 0},
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 {"Адская", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
20 {"Айр", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
21 {"Акио", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
22 {"Акира", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
23 {"Алан", 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},
255
0a37a56e9f02 sprintfex & classes enum
Nomad
parents: 254
diff changeset
27 {"Алексис", 1},
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
28 {"Ален", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
29 {"Алехандро", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
30 {"Алиса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
31 {"Альберт", 0},
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 {"Аманда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
36 {"Амбер", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
37 {"Амброзий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
38 {"Амелия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
39 {"Амос", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
40 {"Ангел", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
41 {"Андреа", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
42 {"Андрей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
43 {"Анжела", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
44 {"Анита", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
45 {"Анна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
46 {"Антон", 0},
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 {"Арена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
52 {"Аристей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
53 {"Аристидис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
54 {"Арих", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
55 {"Ариэль", 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 {"Барбара", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
71 {"Баретт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
72 {"Барт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
73 {"Батч", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
74 {"Беатрис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
75 {"Беверли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
76 {"Беки", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
77 {"Белинда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
78 {"Бен", 0},
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 {"Бернадетта", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
86 {"Бернард", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
87 {"Берни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
88 {"Бернис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
89 {"Бернучо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
90 {"Берт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
91 {"Бертран", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
92 {"Бет", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
93 {"Бетси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
94 {"Бетти", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
95 {"Билли", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
96 {"Биллис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
97 {"Бишоп", 0},
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 {"Бонни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
108 {"Борегард", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
109 {"Борис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
110 {"Браден", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
111 {"Брайс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
112 {"Брат", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
113 {"Брейн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
114 {"Бренда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
115 {"Брендон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
116 {"Брент", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
117 {"Брет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
118 {"Бронвин", 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 {"Валерия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
131 {"Вальтер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
132 {"Ванда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
133 {"Ванесса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
134 {"Ванетта", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
135 {"Ванс", 0},
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 {"Венди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
140 {"Вера", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
141 {"Верн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
142 {"Вернон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
143 {"Вероника", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
144 {"Верховная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
145 {"Весли", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
146 {"Виверн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
147 {"Вивьен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
148 {"Вики", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
149 {"Виктор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
150 {"Викторис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
151 {"Виктория", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
152 {"Вилам", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
153 {"Вилл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
154 {"Виллард", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
155 {"Вильма", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
156 {"Вильфред", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
157 {"Вильям", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
158 {"Винный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
159 {"Винстон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
160 {"Винченцо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
161 {"Виолет", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
162 {"Виргилий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
163 {"Виргиния", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
164 {"Вихрь", 0},
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 {"Военное", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
169 {"Воздушная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
170 {"Воздушный", 0},
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 {"Врата", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
175 {"Вудро", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
176 {"Вурдалак", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
177 {"Высшая", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
178 {"Вэйд", 0},
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 {"Гарпия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
185 {"Гарри", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
186 {"Гвендолин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
187 {"Гвенн", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
188 {"Гейб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
189 {"Гейл", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
190 {"Гектор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
191 {"Гельмут", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
192 {"Геникки", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
193 {"Генри", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
194 {"Георгина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
195 {"Герб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
196 {"Герберт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
197 {"Герман", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
198 {"Гертруда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
199 {"Герц", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
200 {"Гигантская", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
201 {"Гильдия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
202 {"Гильермо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
203 {"Гильмор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
204 {"Гимнастический", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
205 {"Глазище", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
206 {"Глен", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
207 {"Гленда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
208 {"Глиняный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
209 {"Глория", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
210 {"Гниющий", 0},
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 {"Гретхен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
227 {"Грифон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
228 {"Грозовой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
229 {"Гус", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
230 {"Давид", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
231 {"Дайана", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
232 {"Дал", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
233 {"Даллас", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
234 {"Дамиан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
235 {"Дана", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
236 {"Даниэль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
237 {"Данте", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
238 {"Дара", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
239 {"Дарлин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
240 {"Дарон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
241 {"Дарси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
242 {"Дастин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
243 {"Дафна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
244 {"Двайт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
245 {"Двейн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
246 {"Деанна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
247 {"Дебби", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
248 {"Дебора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
249 {"Девон", 0},
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 {"Делорис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
254 {"Денис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
255 {"Денни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
256 {"Депозитарий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
257 {"Дерево", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
258 {"Дерек", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
259 {"Десмонд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
260 {"Джанис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
261 {"Джастин", 0},
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 {"Джейн", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
268 {"Джейсон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
269 {"Джек", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
270 {"Джеки", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
271 {"Джеми", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
272 {"Дженифер", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
273 {"Дженни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
274 {"Джеральд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
275 {"Джеральдина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
276 {"Джером", 0},
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 {"Джесса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
281 {"Джессика", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
282 {"Джетано", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
283 {"Джим", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
284 {"Джин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
285 {"Джина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
286 {"Джинжер", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
287 {"Джинни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
288 {"Джино", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
289 {"Джо", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
290 {"Джоан", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
291 {"Джоанн", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
292 {"Джоанна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
293 {"Джозеф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
294 {"Джой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
295 {"Джойс", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
296 {"Джойсин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
297 {"Джон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
298 {"Джонатан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
299 {"Джордж", 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 {"Джуди", 1},
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 {"Дилан", 0},
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 {"Долорес", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
315 {"Дольф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
316 {"Дом", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
317 {"Доминик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
318 {"Доминика", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
319 {"Дон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
320 {"Донайс", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
321 {"Дональд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
322 {"Донна", 1},
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 {"Древнее", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
328 {"Древний", 0},
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 {"Ева", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
340 {"Евгений", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
341 {"Елизавета", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
342 {"Жан-Поль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
343 {"Жан-Пьер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
344 {"Жанета", 1},
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 {"Жильбер", 0},
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 {"Замороженные", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
359 {"Захарий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
360 {"Зебулон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
361 {"Зеленый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
362 {"Земной", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
363 {"Зигги", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
364 {"Зик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
365 {"Златые", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
366 {"Зод", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
367 {"Золотой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
368 {"Золтан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
369 {"Зорекс", 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 {"Ивонна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
375 {"Игнасио", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
376 {"Игорь", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
377 {"Ида", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
378 {"Иеремия", 0},
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 {"Илена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
383 {"Илья", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
384 {"Имение", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
385 {"Инкубатор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
386 {"Иоланда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
387 {"Ион", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
388 {"Иона", 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 {"Ирена", 1},
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 {"Исаак", 0},
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 {"Каменная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
404 {"Каменный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
405 {"Кандейс", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
406 {"Капитан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
407 {"Карен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
408 {"Кари", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
409 {"Карин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
410 {"Карл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
411 {"Карли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
412 {"Карло", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
413 {"Карлон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
414 {"Карлос", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
415 {"Кармен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
416 {"Картер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
417 {"Касандра", 1},
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 {"Кван", 0},
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 {"Кейлин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
427 {"Кейт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
428 {"Кел", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
429 {"Келли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
430 {"Кен", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
431 {"Кеннет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
432 {"Кери", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
433 {"Керн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
434 {"Киган", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
435 {"Ким", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
436 {"Кимберли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
437 {"Кирк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
438 {"Кирус", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
439 {"Клайд", 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 {"Клэр", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
446 {"Коди", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
447 {"Колин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
448 {"Колония", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
449 {"Конни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
450 {"Коннор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
451 {"Конрад", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
452 {"Константин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
453 {"Констанция", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
454 {"Копи", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
455 {"Кора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
456 {"Корбет", 0},
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 {"Корнелия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
461 {"Корнилий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
462 {"Королева", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
463 {"Королевский", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
464 {"Король", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
465 {"Кошка", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
466 {"Красный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
467 {"Крейг", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
468 {"Крис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
469 {"Криста", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
470 {"Кристен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
471 {"Кристина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
472 {"Кристис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
473 {"Кристофер", 0},
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 {"Курица", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
479 {"Кэй", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
480 {"Кэйс", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
481 {"Кэл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
482 {"Кэлло", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
483 {"Кэмерон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
484 {"Кэнди", 1},
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 {"Кэси", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
491 {"Лабиринт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
492 {"Лаборатория", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
493 {"Лазарь", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
494 {"Лайонел", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
495 {"Лаки", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
496 {"Лана", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
497 {"Ланс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
498 {"Лара", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
499 {"Ларри", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
500 {"Ларс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
501 {"Лаура", 1},
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 {"Лейф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
506 {"Лео", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
507 {"Леонард", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
508 {"Леора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
509 {"Лерой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
510 {"Лесли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
511 {"Лестер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
512 {"Летучая", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
513 {"Ли", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
514 {"Ли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
515 {"Лиам", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
516 {"Ливия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
517 {"Лиза", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
518 {"Лила", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
519 {"Лиланд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
520 {"Лилли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
521 {"Лиман", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
522 {"Линда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
523 {"Линден", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
524 {"Линдсей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
525 {"Линн", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
526 {"Лион", 0},
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 {"Логово", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
532 {"Лон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
533 {"Лонни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
534 {"Лора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
535 {"Лорд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
536 {"Лорен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
537 {"Лорена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
538 {"Лоу", 0},
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 {"Луиза", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
544 {"Луис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
545 {"Луиса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
546 {"Лучник", 0},
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 {"Люсиль", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
551 {"Лютер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
552 {"Маделена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
553 {"Майк", 0},
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 {"Мами", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
563 {"Манни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
564 {"Мантикора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
565 {"Манфред", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
566 {"Марвин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
567 {"Маргарита", 1},
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 {"Марио", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
573 {"Марион", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
574 {"Марис", 1},
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 {"Марк", 0},
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 {"Марлен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
583 {"Марлон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
584 {"Марни", 1},
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 {"Мартин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
590 {"Мархэм", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
591 {"Марчелло", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
592 {"Марша", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
593 {"Маршал", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
594 {"Мастер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
595 {"Матвей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
596 {"Материальные", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
597 {"Матт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
598 {"Мегадракон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
599 {"Медный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
600 {"Медуза", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
601 {"Мейм", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
602 {"Мелани", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
603 {"Мелвин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
604 {"Мелинда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
605 {"Мелисса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
606 {"Мелководье", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
607 {"Мелоди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
608 {"Мертвец", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
609 {"Мертвый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
610 {"Местная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
611 {"Местный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
612 {"Мик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
613 {"Минди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
614 {"Минеральные", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
615 {"Миникора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
616 {"Минни", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
617 {"Мириам", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
618 {"Митч", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
619 {"Мишель", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
620 {"Могучий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
621 {"Мойра", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
622 {"Монах", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
623 {"Моника", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
624 {"Монте", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
625 {"Морел", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
626 {"Морина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
627 {"Моррис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
628 {"Мортон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
629 {"Мохаммед", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
630 {"Мраморная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
631 {"Мудрый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
632 {"Мэл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
633 {"Мэнди", 1},
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 {"Мюррей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
639 {"Надина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
640 {"Налётчик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
641 {"Наоми", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
642 {"Натали", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
643 {"Натан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
644 {"Натаниэль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
645 {"Начальная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
646 {"Небеса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
647 {"Нед", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
648 {"Некромант", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
649 {"Нельсон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
650 {"Неустрашимый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
651 {"Ник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
652 {"Ники", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
653 {"Николай", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
654 {"Николас", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
655 {"Николь", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
656 {"Нил", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
657 {"Новобранец", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
658 {"Ной", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
659 {"Норина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
660 {"Норм", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
661 {"Норма", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
662 {"Норман", 0},
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 {"Нэнси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
667 {"Нэнсис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
668 {"Обсидиановая", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
669 {"Огненный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
670 {"Олаф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
671 {"Оливер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
672 {"Оливия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
673 {"Орден", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
674 {"Особняк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
675 {"Остин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
676 {"Отис", 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 {"Пам", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
681 {"Памела", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
682 {"Паркер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
683 {"Парти", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
684 {"Патрик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
685 {"Патрисия", 1},
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 {"Перри", 0},
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 {"Пикси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
695 {"Пирс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
696 {"Пит", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
697 {"Плавучий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
698 {"Покои", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
699 {"Пол", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
700 {"Посвящённый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
701 {"Посвященный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
702 {"Последний", 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 {"Привидение", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
708 {"Придорожный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
709 {"Призрак", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
710 {"Природные", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
711 {"Пьер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
712 {"Пэт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
713 {"Пэтти", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
714 {"Раду", 0},
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 {"Ратуша", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
725 {"Рауль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
726 {"Рафаэль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
727 {"Рашель", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
728 {"Ребекка", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
729 {"Реви", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
730 {"Рег", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
731 {"Регина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
732 {"Реджинальд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
733 {"Рекс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
734 {"Рене", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
735 {"Рени", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
736 {"Ренцо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
737 {"Ресанда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
738 {"Речной", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
739 {"Рики", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
740 {"Ринальдо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
741 {"Рита", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
742 {"Ричард", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
743 {"Роб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
744 {"Робби", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
745 {"Роберт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
746 {"Роберта", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
747 {"Робин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
748 {"Рогатый", 0},
255
0a37a56e9f02 sprintfex & classes enum
Nomad
parents: 254
diff changeset
749 {"Родерик", 0},
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
750 {"Родни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
751 {"Роза", 1},
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 {"Рой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
758 {"Роки", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
759 {"Роланд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
760 {"Ромона", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
761 {"Рон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
762 {"Рональд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
763 {"Ронда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
764 {"Рори", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
765 {"Росс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
766 {"Роуз", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
767 {"Рошель", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
768 {"Рубина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
769 {"Руди", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
770 {"Руперт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
771 {"Рут", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
772 {"Рути", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
773 {"Рэндал", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
774 {"Рэнди", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
775 {"Саад", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
776 {"Сабрина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
777 {"Сади", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
778 {"Сал", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
779 {"Салли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
780 {"Сальваторе", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
781 {"Самюэль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
782 {"Сандип", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
783 {"Сандра", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
784 {"Сантос", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
785 {"Сапфировый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
786 {"Сара", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
787 {"Свен", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
788 {"Свет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
789 {"Светлана", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
790 {"Светящийся", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
791 {"Святилище", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
792 {"Священная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
793 {"Священник", 0},
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 {"Секлия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
798 {"Селена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
799 {"Сергио", 0},
255
0a37a56e9f02 sprintfex & classes enum
Nomad
parents: 254
diff changeset
800 {"Серена", 1},
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
801 {"Серый", 0},
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 {"Сильфида", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
807 {"Симон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
808 {"Симона", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
809 {"Синди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
810 {"Синдис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
811 {"Синий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
812 {"Синтия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
813 {"Скалис", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
814 {"Скелет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
815 {"Скорпикора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
816 {"Скотт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
817 {"Слабый", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
818 {"Слейд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
819 {"Собака", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
820 {"Собор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
821 {"Сол", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
822 {"Солнце", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
823 {"Сонни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
824 {"Спенсер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
825 {"Старший", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
826 {"Стейси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
827 {"Стелс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
828 {"Стефан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
829 {"Стефани", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
830 {"Стив", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
831 {"Стивен", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
832 {"Сторожевая", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
833 {"Страж", 0},
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 {"Суанна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
841 {"Судья", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
842 {"Сулейман", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
843 {"Сумеречный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
844 {"Сьюзан", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
845 {"Сьюзи", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
846 {"Сэм", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
847 {"Сэнди", 1},
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 {"Тадеус", 0},
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 {"Тамара", 1},
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 {"Тейн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
860 {"Теодор", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
861 {"Тереза", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
862 {"Тереса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
863 {"Терранс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
864 {"Терри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
865 {"Тим", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
866 {"Тимоти", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
867 {"Тина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
868 {"Тиффани", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
869 {"Тобиас", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
870 {"Тодд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
871 {"Том", 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},
366
85edec9da96b _4B910F_shop_interaction
Nomad
parents: 303
diff changeset
875 {"Тор", 0},
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
876 {"Тран", 0},
651
2bf48d11d742 Training hall UI fixed
Nomad
parents: 649
diff changeset
877 {"Траян", 0},
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
878 {"Трейси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
879 {"Трент", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
880 {"Трентон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
881 {"Трина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
882 {"Трип", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
883 {"Трисия", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
884 {"Троглодит", 0},
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 {"Тэрри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
891 {"Тюрьма", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
892 {"Уальдо", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
893 {"Уилберт", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
894 {"Уильсон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
895 {"Ундина", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
896 {"Уоллес", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
897 {"Уоррен", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
898 {"Упырь", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
899 {"Учебный", 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 {"Фейт", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
906 {"Феликс", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
907 {"Фелиция", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
908 {"Фердинанд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
909 {"Фил", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
910 {"Филип", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
911 {"Филлис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
912 {"Филомена", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
913 {"Флетчер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
914 {"Флойд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
915 {"Флоренция", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
916 {"Флосси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
917 {"Форрест", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
918 {"Франк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
919 {"Франклин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
920 {"Франц", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
921 {"Франциск", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
922 {"Франческа", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
923 {"Фред", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
924 {"Фредерик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
925 {"Хавьер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
926 {"Хайден", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
927 {"Хайди", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
928 {"Хан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
929 {"Ханк", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
930 {"Ханн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
931 {"Хаос", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
932 {"Харви", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
933 {"Харди", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
934 {"Хариетта", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
935 {"Харлан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
936 {"Харлей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
937 {"Харольд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
938 {"Харрисон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
939 {"Хелен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
940 {"Хильда", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
941 {"Хит", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
942 {"Хитер", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
943 {"Хитет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
944 {"Хитоми", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
945 {"Ходячий", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
946 {"Хок", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
947 {"Холден", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
948 {"Холли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
949 {"Храм", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
950 {"Хранилище", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
951 {"Хью", 0},
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 {"Цитадель", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
959 {"Чад", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
960 {"Чак", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
961 {"Чан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
962 {"Чандра", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
963 {"Чарли", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
964 {"Чарльз", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
965 {"Чародей", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
966 {"Часовой", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
967 {"Чемпион", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
968 {"Черная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
969 {"Чернокнижник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
970 {"Чертог", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
971 {"Честер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
972 {"Чет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
973 {"Чип", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
974 {"Чудище", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
975 {"Шатер", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
976 {"Шахтерская", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
977 {"Шейла", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
978 {"Шейлани", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
979 {"Шелдон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
980 {"Шелл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
981 {"Шелли", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
982 {"Шеллис", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
983 {"Шердон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
984 {"Шерил", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
985 {"Шерман", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
986 {"Шерри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
987 {"Шеррин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
988 {"Шимон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
989 {"Школа", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
990 {"Шон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
991 {"Шоуна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
992 {"Штаб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
993 {"Шэнон", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
994 {"Шэри", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
995 {"Шэрон", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
996 {"Эван", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
997 {"Эвелин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
998 {"Эд", 0},
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 {"Эдит", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1003 {"Эдмонд", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1004 {"Эдна", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1005 {"Эйб", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1006 {"Эйлин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1007 {"Эйприл", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1008 {"Экспертная", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1009 {"Эл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1010 {"Элвин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1011 {"Элегантный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1012 {"Элен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1013 {"Элеонора", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1014 {"Элиот", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1015 {"Элисон", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1016 {"Элисса", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1017 {"Элитный", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1018 {"Элла", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1019 {"Эллен", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1020 {"Элси", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1021 {"Элтон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1022 {"Эльф", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1023 {"Эми", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1024 {"Эмиль", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1025 {"Эмма", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1026 {"Эммануил", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1027 {"Эммет", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1028 {"Энджи", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1029 {"Энди", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1030 {"Энн", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1031 {"Энн", 2},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1032 {"Энок", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1033 {"Эрвин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1034 {"Эрик", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1035 {"Эрин", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1036 {"Эрл", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1037 {"Эрнест", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1038 {"Эрни", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1039 {"Эрнин", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1040 {"Эрол", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1041 {"Этан", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1042 {"Этель", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1043 {"Эш", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1044 {"Эштон", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1045 {"Юдифь", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1046 {"Юрий", 0},
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 },
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1054 gender_table[] =
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1055 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1056 {"ад", 0}, {"акула", 1}, {"банк", 0}, {"башня", 1}, {"бластер", 0}, {"вампир", 0}, {"вдова", 1}, {"ведьма", 1}, {"витерсмит", 0}, {"владыка", 0}, {"владычица", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1057 {"воин", 0}, {"вор", 0}, {"гидра", 1}, {"глаз", 0}, {"голем", 0}, {"гора", 1}, {"горгулья", 1}, {"город", 0}, {"громовая", 1}, {"двор", 0}, {"джинн", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1058 {"дракон", 0}, {"дух", 0}, {"житель", 0}, {"жительница", 1}, {"зал", 0}, {"защитник", 0}, {"земля", 1}, {"искатель", 0}, {"ифрит", 0}, {"квартира", 1}, {"кольчуга", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1059 {"командир", 0}, {"крыса", 1}, {"лейтенант", 0}, {"луна", 1}, {"людоед", 0}, {"магог", 0}, {"меч", 0}, {"мечник", 0}, {"минотавр", 0}, {"мышь", 1}, {"наемник", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1060 {"огненная", 1}, {"огонь", 0}, {"орк", 0}, {"паук", 0}, {"пещера", 1}, {"пещеры", 1}, {"повелитель", 0}, {"погреб", 0}, {"полигон", 0}, {"приют", 0}, {"птица", 1},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1061 {"птичий", 0}, {"работник", 0}, {"рай", 0}, {"рейнджер", 0}, {"рух", 0}, {"слизень", 0}, {"солдат", 0}, {"титан", 0}, {"трактир", 0}, {"тролль", 0}, {"убийца", 0},
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1062 {"улан", 0}, {"училище", 2}, {"шляпа", 1}, {"элементал", 0}
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1063 };
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 #include <mbstring.h>
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1068
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1069 int GetGender(char *ansi_name, int name_len)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1070 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1071 auto name = (unsigned char *)ansi_name;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1072
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1073 GenderTableEntry *table = nullptr;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1074 unsigned int table_size = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1075 if (name[0] >= (unsigned char)'а' && name[0] <= (unsigned char)'я')
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1076 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1077 table = gender_table;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1078 table_size = sizeof(gender_table) / sizeof(*gender_table);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1079 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1080 else if (name[0] >= (unsigned char)'А' && name[0] <= (unsigned char)'Я')
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1081 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1082 table = gender_table_caps;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1083 table_size = sizeof(gender_table_caps) / sizeof(*gender_table_caps);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1084 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1085 else return 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1086
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1087 int left = 0,
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1088 right = table_size - 1,
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1089 match = 0;
255
0a37a56e9f02 sprintfex & classes enum
Nomad
parents: 254
diff changeset
1090 while (left < right - 1)
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1091 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1092 match = left + (right - left) / 2;
250
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1093 int rval = _mbsncmp(name, (unsigned char *)table[match].name, name_len);
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1094 if (rval < 0)
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1095 right = match;
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1096 else if (!rval)
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1097 return table[match].gender;
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1098 else
83f85ab6079a sprintfex fix
Nomad
parents: 248
diff changeset
1099 left = match;
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1100 }
303
3dcc9d945eeb DamageMonsterFromParty
Nomad
parents: 255
diff changeset
1101
3dcc9d945eeb DamageMonsterFromParty
Nomad
parents: 255
diff changeset
1102 Log::Warning(L"sprintfex: unknown gender: %S", name);
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1103 return 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1104 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1105
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1106
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1107 bool IsSpecialName(const char *ansi_name)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1108 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1109 auto name = (unsigned char *)ansi_name;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1110 return !_mbsncmp(name, (unsigned char *)"Мэри Джо", 8) || !_mbsncmp(name, (unsigned char *)"Ли Энн", 6) ||
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1111 !_mbsncmp(name, (unsigned char *)"Врата в Бездну", 14) || !_mbsncmp(name, (unsigned char *)"Стены тумана", 12);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1112 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1113 int GetSpecialGender(const char *ansi_name)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1114 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1115 auto name = (unsigned char *)ansi_name;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1116 if (!_mbsncmp(name, (unsigned char *)"Мэри Джо", 8))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1117 return 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1118 if (!_mbsncmp(name, (unsigned char *)"Ли Энн", 6))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1119 return 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1120 if (!_mbsncmp(name, (unsigned char *)"Врата в Бездну", 14))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1121 return 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1122 if (!!_mbsncmp(name, (unsigned char *)"Стены тумана", 12))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1123 return 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1124 return 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1125 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1126 const char *GetSpecialCase(const char *ansi_name, char c)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1127 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1128 auto name = (unsigned char *)ansi_name;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1129
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1130 if (!_mbsncmp(name, (unsigned char *)"Мэри Джо", 8))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1131 return "Мэри Джо";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1132 if (!_mbsncmp(name, (unsigned char *)"Ли Энн", 6))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1133 return "Ли Энн";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1134
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1135 if (!_mbsncmp(name, (unsigned char *)"Врата в Бездну", 14))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1136 switch (c)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1137 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1138 case 'I': case 'i': return "Врата в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1139 case 'R': case 'r': return "Врат в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1140 case 'D': case 'd': return "Вратам в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1141 case 'V': case 'v': return "Врат в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1142 case 'T': case 't': return "Вратами в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1143 case 'P': case 'p': return "Вратах в Бездну";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1144 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1145
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1146 if (!_mbsncmp(name, (unsigned char *)"Стены тумана", 12))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1147 switch (c)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1148 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1149 case 'I': case 'i': return "Стены тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1150 case 'R': case 'r': return "Стен тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1151 case 'D': case 'd': return "Стенам тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1152 case 'V': case 'v': return "Стены тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1153 case 'T': case 't': return "Стенами тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1154 case 'P': case 'p': return "Стенах тумана";
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1155 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1156
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1157 return nullptr;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1158 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1159
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1458
diff changeset
1160 int sprintfex_internal(char *str)
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1161 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1162 auto p = strstr(str, "^");
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1163 if (!p)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1164 return strlen(str);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1165
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1166 char buf[8192];
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1458
diff changeset
1167 Assert(strlen(str) < sizeof(buf));
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1168
648
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1169 int next_integer_token = 0;
649
0e368c04acfb Sleeping in a tavern
Nomad
parents: 648
diff changeset
1170 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
1171 int integer_tokens[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1172
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1173 bool gender_token_defined = false;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1174 int gender_token = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1175
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1176 auto src = buf,
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1177 dst = p;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1178 strcpy(buf, str + (p - str));
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1179 while (true)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1180 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1181 switch (src[1])
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1182 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1183 case 'I':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1184 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1185 if (src[2] != '[')
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1186 goto _invalid_token;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1187 src += 3; // ^I[
649
0e368c04acfb Sleeping in a tavern
Nomad
parents: 648
diff changeset
1188
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1458
diff changeset
1189 Assert(next_integer_token < 10);
648
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1190 if (sscanf(src, "%d", &integer_tokens[next_integer_token]))
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1191 integer_tokens_defined[next_integer_token++] = true;
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1192
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1193 auto int_begin = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1194 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1195
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1196 int int_len = src - int_begin - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1197 strncpy(dst, int_begin, int_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1198 dst += int_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1199 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1200 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1201
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1202 case 'L':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1203 {
648
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1204 int integer_token_idx = 0;
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1205 if (src[2] >= '1' && src[2] <= '9')
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1206 {
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1207 if (src[3] != '[')
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1208 goto _invalid_token;
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1209 integer_token_idx = src[2] - '1';
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1210
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1211 src += 1;
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1212 }
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1213 else if (src[2] != '[')
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1214 goto _invalid_token;
648
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1215
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1458
diff changeset
1216 Assert(integer_tokens_defined[integer_token_idx]);
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1217 src += 3; // ^L[
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1218
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1219 auto ending1 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1220 while (*src++ != ';');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1221 auto ending2 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1222 while (*src++ != ';');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1223 auto ending3 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1224 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1225
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1226 char *actual_ending = nullptr;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1227 int actual_ending_len = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1228
648
35ce4761382c Fixed numbers in tavern dialogue ui
Nomad
parents: 366
diff changeset
1229 int modulo = abs(integer_tokens[integer_token_idx]) % 10;
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1230 if (modulo == 1)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1231 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1232 actual_ending = ending1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1233 actual_ending_len = ending2 - ending1 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1234 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1235 else if (modulo >= 2 && modulo <= 4)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1236 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1237 actual_ending = ending2;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1238 actual_ending_len = ending3 - ending2 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1239 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1240 else
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1241 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1242 actual_ending = ending3;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1243 actual_ending_len = src - ending3 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1244 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1245
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1246 strncpy(dst, actual_ending, actual_ending_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1247 dst += actual_ending_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1248 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1249 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1250
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1251 case 'R':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1252 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1253 if (src[2] != '[')
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1254 goto _invalid_token;
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1458
diff changeset
1255 Assert(gender_token_defined);
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1256
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1257 src += 3; // ^R[
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1258
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1259 auto ending1 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1260 while (*src++ != ';');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1261 auto ending2 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1262 while (*src++ != ';');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1263 auto ending3 = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1264 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1265
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1266 char *actual_ending = nullptr;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1267 int actual_ending_len = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1268
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1269 if (gender_token == 0)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1270 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1271 actual_ending = ending1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1272 actual_ending_len = ending2 - ending1 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1273 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1274 else if (gender_token == 1)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1275 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1276 actual_ending = ending2;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1277 actual_ending_len = ending3 - ending2 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1278 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1279 else if (gender_token == 2)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1280 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1281 actual_ending = ending3;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1282 actual_ending_len = src - ending3 - 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1283 }
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1458
diff changeset
1284 else Error("Invalid gender token");
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1285
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1286 strncpy(dst, actual_ending, actual_ending_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1287 dst += actual_ending_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1288 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1289 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1290
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1291 case 'P':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1292 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1293 if (src[3] != '[')
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1294 goto _invalid_token;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1295 switch (src[2])
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1296 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1297 case 'I': case 'i':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1298 case 'R': case 'r':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1299 case 'D': case 'd':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1300 case 'V': case 'v':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1301 case 'T': case 't':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1302 case 'P': case 'p': break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1303 default:
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1304 goto _invalid_token;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1305 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1306
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1307 if (IsSpecialName(src + 4))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1308 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1309 auto name = GetSpecialCase(src + 4, src[2]);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1310 int name_len = strlen(name);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1311
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1312 gender_token = GetSpecialGender(src + 4);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1313 gender_token_defined = true;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1314
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1315 strncpy(dst, name, name_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1316 dst += name_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1317 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1318 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1319 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1320
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1321 auto name_begin = src + 4;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1322 int name_len = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1323 for (int i = 0; name_begin[i] != ']'; ++i)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1324 name_len++;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1325 gender_token = GetGender(name_begin, name_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1326 gender_token_defined = true;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1327
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1328 switch (src[2])
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1329 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1330 case 'I': case 'i':
809
7bb33867d2cb Pv[] in sprintfex
Ritor1
parents: 651
diff changeset
1331 case 'V': case 'v':
7bb33867d2cb Pv[] in sprintfex
Ritor1
parents: 651
diff changeset
1332 case 'R': case 'r':
7bb33867d2cb Pv[] in sprintfex
Ritor1
parents: 651
diff changeset
1333 case 'D': case 'd':
7bb33867d2cb Pv[] in sprintfex
Ritor1
parents: 651
diff changeset
1334 case 'T': case 't':
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1335 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1336 strncpy(dst, name_begin, name_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1337 dst += name_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1338 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1339 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1340
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1341 case 'P': case 'p':
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1342 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1343 auto token_begin = src;
651
2bf48d11d742 Training hall UI fixed
Nomad
parents: 649
diff changeset
1344 int token_len = 1;
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1345 for (int i = 0; token_begin[i] != ']'; ++i)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1346 token_len++;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1347 strncpy(dst, token_begin, token_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1348 dst += token_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1349 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1350 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1351 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1352 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1353 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1354
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1355 default:
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1356 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1357 _invalid_token:
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1358 auto token_begin = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1359 while (*src++ != ']');
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1360
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1361 int token_len = src - token_begin;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1362 char token[1024];
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1363 strncpy(token, token_begin, token_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1364 token[token_len] = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1365
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1458
diff changeset
1366 Error("Invalid format token: %s", token);
246
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1367 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1368 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1369 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1370
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1371 *dst = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1372
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1373 auto copy_begin = src;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1374 src = strstr(src, "^");
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1375 if (!src)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1376 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1377 strcpy(dst, copy_begin); // just copy the rest
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1378 break;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1379 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1380
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1381 int copy_len = src - copy_begin;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1382 strncpy(dst, copy_begin, copy_len);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1383 dst += copy_len;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1384 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1385
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1386 return dst - str;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1387 }
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 //mm6text.non -> c structure array
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1395 /*FILE *f = fopen("_1.txt", "w+t");
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1396 FILE *in = fopen("mm6text.non", "rt");
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1397 fscanf(in, "%*[^\n]\n");
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1398
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1399 int idx = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1400 auto pairs = new NameGender[8000];
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1401
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1402 char line[1024];
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1403 while (fscanf(in, "%[^\n]\n", line) && !feof(in))
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1404 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1405 char name1[100], name2[100], name3[100];
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1406 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
1407 pairs[idx].gender = 0;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1408 pairs[idx+1].gender = 1;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1409 pairs[idx+2].gender = 2;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1410 idx += e;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1411 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1412
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1413 for (int i = 0; i < idx; ++i)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1414 for (int j = 0; j < i; ++j)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1415 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1416 if (_mbsicmp(pairs[i].name, pairs[j].name) < 0)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1417 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1418 char n[1024];
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1419 strcpy(n, (char *)pairs[j].name);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1420 auto g = pairs[j].gender;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1421
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1422 strcpy((char *)pairs[j].name, (char *)pairs[i].name);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1423 pairs[j].gender = pairs[i].gender;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1424
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1425 strcpy((char *)pairs[i].name, n);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1426 pairs[i].gender = g;
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1427 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1428 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1429
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1430 for (int i = 0; i < idx; ++i)
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1431 {
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1432 fprintf(f, " {\"%s\", %u},\n", pairs[i].name, pairs[i].gender);
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1433 }
1bfe546561c4 sprintfex
Nomad
parents:
diff changeset
1434 fclose(f);*/