projects
/
apps
/
native
/
sample
/
adventure.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge with chun and jin
[apps/native/sample/adventure.git]
/
inc
/
city.h
1
#ifndef __MOMENT_CITY_H__
2
#define __MOMENT_CITY_H__
3
4
enum {
5
CITY_HONOLULU = 1,
6
CITY_LOS_ANGELES,
7
CITY_SAN_FRANCISCO,
8
CITY_VANCOUVER,
9
CITY_CHICAGO,
10
CITY_MEICO_CITY,
11
CITY_SAN_JOSE,
12
CITY_NEW_YORK_CITY,
13
CITY_TORONTO,
14
CITY_WASHINGTON_DC,
15
CITY_BRASILIA,
16
CITY_BUENOS_AIRES,
17
CITY_SAO_PAULO,
18
CITY_DUBLIN,
19
CITY_LISBON,
20
CITY_LONDON,
21
CITY_AMSTERDAM,
22
CITY_BARCELONA,
23
CITY_BERLIN,
24
CITY_BRUSSELS,
25
CITY_CAPE_TOWN,
26
CITY_GENEVA,
27
CITY_MADRID,
28
CITY_PARIS,
29
CITY_ROME,
30
CITY_STOCKHOLM,
31
CITY_WARSAW,
32
CITY_ANKARA,
33
CITY_ATHENS,
34
CITY_HELSINKI,
35
CITY_ISTANBUL,
36
CITY_JERUSALEM,
37
CITY_KAHIRA,
38
CITY_BAGHDAD,
39
CITY_DUBAI,
40
CITY_MOSCOW,
41
CITY_ISLAMABAD,
42
CITY_DELHI,
43
CITY_MUMBAI,
44
CITY_DAKA,
45
CITY_CALCUTTA,
46
CITY_BANGKOK,
47
CITY_JAKARTA,
48
CITY_BEIJING,
49
CITY_HONG_KONG,
50
CITY_SINGAPORE,
51
CITY_TAIPEI,
52
CITY_SEOUL,
53
CITY_TOKYO,
54
CITY_SYDNEY,
55
CITY_MAX,
56
};
57
58
struct _city_info_s {
59
int id;
60
float timezone;
61
char *name;
62
char *nation;
63
int x;
64
int y;
65
};
66
typedef struct _city_info_s city_s;
67
68
extern city_s *city_get(void);
69
70
#endif /* __MOMENT_CITY_H__ */