annotate mm7text_ru.cpp @ 2430:cb66a1082fcf

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