0810 version
[apps/native/sample/adventure.git] / src / city.c
1 #include "city.h"
2
3 static city_s cities[] = {
4         {
5                 .id = CITY_HONOLULU,
6                 .timezone = -10.0,
7                 .name = "Honolulu",
8                 .nation = "USA",
9                 .x = 17,
10                 .y = 161,
11         },
12         {
13                 .id = CITY_LOS_ANGELES,
14                 .timezone = -8.0,
15                 .name = "Los Angeles",
16                 .nation = "USA",
17                 .x = 59,
18                 .y = 143,
19         },
20         {
21                 .id = CITY_SAN_FRANCISCO,
22                 .timezone = -8.0,
23                 .name = "San Francisco",
24                 .nation = "USA",
25                 .x = 54,
26                 .y = 139,
27         },
28         {
29                 .id = CITY_VANCOUVER,
30                 .timezone = -8.0,
31                 .name = "Vancouver",
32                 .nation = "Canada",
33                 .x = 52,
34                 .y = 119,
35         },
36         {
37                 .id = CITY_CHICAGO,
38                 .timezone = -6.0,
39                 .name = "Chicago",
40                 .nation = "USA",
41                 .x = 93,
42                 .y = 131,
43         },
44         {
45                 .id = CITY_MEICO_CITY,
46                 .timezone = -6.0,
47                 .name = "Mexico City",
48                 .nation = "Mexico",
49                 .x = 80,
50                 .y = 163,
51         },
52         {
53                 .id = CITY_SAN_JOSE,
54                 .timezone = -6.0,
55                 .name = "San Jose",
56                 .nation = "Costa Rica",
57                 .x = 96,
58                 .y = 172,
59         },
60         {
61                 .id = CITY_NEW_YORK_CITY,
62                 .timezone = -5.0,
63                 .name = "New York City",
64                 .nation = "USA",
65                 .x = 111,
66                 .y = 113,
67         },
68         {
69                 .id = CITY_TORONTO,
70                 .timezone = -5.0,
71                 .name = "Toronto",
72                 .nation = "Canada",
73                 .x = 103,
74                 .y = 129,
75         },
76         {
77                 .id = CITY_WASHINGTON_DC,
78                 .timezone = -5.0,
79                 .name = "Washington DC",
80                 .nation = "USA",
81                 .x = 107,
82                 .y = 137,
83         },
84         {
85                 .id = CITY_BRASILIA,
86                 .timezone = -3.0,
87                 .name = "Brasilia",
88                 .nation = "Brazil",
89                 .x = 139,
90                 .y = 202,
91         },
92         {
93                 .id = CITY_BUENOS_AIRES,
94                 .timezone = -3.0,
95                 .name = "Buenos Aires",
96                 .nation = "Argentina",
97                 .x = 128,
98                 .y = 224,
99         },
100         {
101                 .id = CITY_SAO_PAULO,
102                 .timezone = -3.0,
103                 .name = "Sao Paulo",
104                 .nation = "Brazil",
105                 .x = 142,
106                 .y = 210,
107         },
108         {
109                 .id = CITY_DUBLIN,
110                 .timezone = 0.0,
111                 .name = "Dublin",
112                 .nation = "Ireland",
113                 .x = 216,
114                 .y = 113,
115         },
116         {
117                 .id = CITY_LISBON,
118                 .timezone = 0.0,
119                 .name = "Lisbon",
120                 .nation = "Portugal",
121                 .x = 214,
122                 .y = 138,
123         },
124         {
125                 .id = CITY_LONDON,
126                 .timezone = 0.0,
127                 .name = "London",
128                 .nation = "England",
129                 .x = 223,
130                 .y = 116,
131         },
132         {
133                 .id = CITY_AMSTERDAM,
134                 .timezone = 1.0,
135                 .name = "Amsterdam",
136                 .nation = "Netherlands",
137                 .x = 230,
138                 .y = 114,
139         },
140         {
141                 .id = CITY_BARCELONA,
142                 .timezone = 1.0,
143                 .name = "Barcelona",
144                 .nation = "Spain",
145                 .x = 226,
146                 .y = 133,
147         },
148         {
149                 .id = CITY_BERLIN,
150                 .timezone = 1.0,
151                 .name = "Berlin",
152                 .nation = "Germany",
153                 .x = 240,
154                 .y = 116,
155         },
156         {
157                 .id = CITY_BRUSSELS,
158                 .timezone = 1.0,
159                 .name = "Brussels",
160                 .nation = "Belgium",
161                 .x = 227,
162                 .y = 117,
163         },
164         {
165                 .id = CITY_CAPE_TOWN,
166                 .timezone = 1.0,
167                 .name = "Cape Town",
168                 .nation = "South Africa",
169                 .x = 245,
170                 .y = 224,
171         },
172         {
173                 .id = CITY_GENEVA,
174                 .timezone = 1.0,
175                 .name = "Geneva",
176                 .nation = "Switzerland",
177                 .x = 230,
178                 .y = 125,
179         },
180         {
181                 .id = CITY_MADRID,
182                 .timezone = 1.0,
183                 .name = "Madrid",
184                 .nation = "Spain",
185                 .x = 219,
186                 .y = 135,
187         },
188         {
189                 .id = CITY_PARIS,
190                 .timezone = 1.0,
191                 .name = "Paris",
192                 .nation = "France",
193                 .x = 227,
194                 .y = 120,
195         },
196         {
197                 .id = CITY_ROME,
198                 .timezone = 1.0,
199                 .name = "Rome",
200                 .nation = "Italy",
201                 .x = 239,
202                 .y = 132,
203         },
204         {
205                 .id = CITY_STOCKHOLM,
206                 .timezone = 1.0,
207                 .name = "Stockholm",
208                 .nation = "Sweden",
209                 .x = 244,
210                 .y = 101,
211         },
212         {
213                 .id = CITY_WARSAW,
214                 .timezone = 1.0,
215                 .name = "Warsaw",
216                 .nation = "Poland",
217                 .x = 248,
218                 .y = 117,
219         },
220         {
221                 .id = CITY_ANKARA,
222                 .timezone = 2.0,
223                 .name = "Ankara",
224                 .nation = "Turkey",
225                 .x = 261,
226                 .y = 135,
227         },
228         {
229                 .id = CITY_ATHENS,
230                 .timezone = 2.0,
231                 .name = "Athens",
232                 .nation = "Greece",
233                 .x = 251,
234                 .y = 138,
235         },
236         {
237                 .id = CITY_HELSINKI,
238                 .timezone = 2.0,
239                 .name = "Helsinki",
240                 .nation = "Finland",
241                 .x = 252,
242                 .y = 98,
243         },
244         {
245                 .id = CITY_ISTANBUL,
246                 .timezone = 2.0,
247                 .name = "Istanbul",
248                 .nation = "Turkey",
249                 .x = 256,
250                 .y = 113,
251         },
252         {
253                 .id = CITY_JERUSALEM,
254                 .timezone = 2.0,
255                 .name = "Jerusalem",
256                 .nation = "Israel",
257                 .x = 265,
258                 .y = 147,
259         },
260         {
261                 .id = CITY_KAHIRA,
262                 .timezone = 2.0,
263                 .name = "Jerusalem",
264                 .nation = "Egypt",
265                 .x = 260,
266                 .y = 150,
267         },
268         {
269                 .id = CITY_BAGHDAD,
270                 .timezone = 3.0,
271                 .name = "Baghdad",
272                 .nation = "Iraq",
273                 .x = 275,
274                 .y = 144,
275         },
276         {
277                 .id = CITY_DUBAI,
278                 .timezone = 3.0,
279                 .name = "Dubai",
280                 .nation = "United Arab Emirates",
281                 .x = 287,
282                 .y = 156,
283         },
284         {
285                 .id = CITY_MOSCOW,
286                 .timezone = 3.0,
287                 .name = "Moscow",
288                 .nation = "Russia",
289                 .x = 265,
290                 .y = 109,
291         },
292         {
293                 .id = CITY_ISLAMABAD,
294                 .timezone = 5.0,
295                 .name = "Islamabad",
296                 .nation = "Pakistan",
297                 .x = 308,
298                 .y = 146,
299         },
300         {
301                 .id = CITY_DELHI,
302                 .timezone = 5.5,
303                 .name = "New Delhi",
304                 .nation = "India",
305                 .x = 312,
306                 .y = 153,
307         },
308         {
309                 .id = CITY_MUMBAI,
310                 .timezone = 5.5,
311                 .name = "Mumbai",
312                 .nation = "India",
313                 .x = 308,
314                 .y = 162,
315         },
316         {
317                 .id = CITY_CALCUTTA,
318                 .timezone = 5.5,
319                 .name = "Calcutta",
320                 .nation = "India",
321                 .x = 326,
322                 .y = 157,
323         },
324         {
325                 .id = CITY_DAKA,
326                 .timezone = 6.0,
327                 .name = "Daka",
328                 .nation = "Bangladesh",
329                 .x = 328,
330                 .y = 156,
331         },
332         {
333                 .id = CITY_BANGKOK,
334                 .timezone = 7.0,
335                 .name = "Bangkok",
336                 .nation = "Thailand",
337                 .x = 341,
338                 .y = 169,
339         },
340         {
341                 .id = CITY_JAKARTA,
342                 .timezone = 7.0,
343                 .name = "Jakarta",
344                 .nation = "Indonesia",
345                 .x = 349,
346                 .y = 191,
347         },
348         {
349                 .id = CITY_BEIJING,
350                 .timezone = 8.0,
351                 .name = "Beijing",
352                 .nation = "China",
353                 .x = 356,
354                 .y = 135,
355         },
356         {
357                 .id = CITY_HONG_KONG,
358                 .timezone = 8.0,
359                 .name = "Hong Kong",
360                 .nation = "China",
361                 .x = 354,
362                 .y = 159,
363         },
364         {
365                 .id = CITY_SINGAPORE,
366                 .timezone = 8.0,
367                 .name = "Singapore",
368                 .nation = "Singapore",
369                 .x = 343,
370                 .y = 182,
371         },
372         {
373                 .id = CITY_TAIPEI,
374                 .timezone = 8.0,
375                 .name = "Taipei",
376                 .nation = "Thaiwan",
377                 .x = 364,
378                 .y = 156,
379         },
380         {
381                 .id = CITY_SEOUL,
382                 .timezone = 9.0,
383                 .name = "Seoul",
384                 .nation = "Korea",
385                 .x = 371,
386                 .y = 139,
387         },
388         {
389                 .id = CITY_TOKYO,
390                 .timezone = 9.0,
391                 .name = "Tokyo",
392                 .nation = "Japan",
393                 .x = 384,
394                 .y = 141,
395         },
396         {
397                 .id = CITY_SYDNEY,
398                 .timezone = 10.0,
399                 .name = "Sydney",
400                 .nation = "Australia",
401                 .x = 398,
402                 .y = 223,
403         },
404 };
405
406 city_s *city_get(void)
407 {
408         return cities;
409 }