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]
/
chun
/
momentic
/
map.h
1
#ifndef MOMENT_MAP
2
#define MOMENT_MAP
3
4
typedef struct _city_info_s {
5
int id;
6
float timezone;
7
char *name;
8
char *nation;
9
int x;
10
int y;
11
} city_s;
12
13
typedef struct _city_data_s {
14
city_s ci;
15
Evas_Object *obj;
16
int w, h;
17
} city_data_s;
18
19
20
21
Evas_Object * create_map(Evas_Object *parent);
22
Eina_Bool add_city_to_map(int idx, city_s *ci);
23
Eina_Bool remove_city_from_map(int idx);
24
25
#endif