summaryrefslogtreecommitdiffstats
path: root/friendfinder/draw_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'friendfinder/draw_user.c')
-rw-r--r--friendfinder/draw_user.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/friendfinder/draw_user.c b/friendfinder/draw_user.c
index c125ecc..bf08f61 100644
--- a/friendfinder/draw_user.c
+++ b/friendfinder/draw_user.c
@@ -11,6 +11,7 @@
int _h= 600;
int _w = 450;
int _distance = 250;
+
int active_map = 0;
double own_lat, own_lon;
@@ -72,8 +73,18 @@ int test_distance(double lat, double lon, int e, int n, double own_lat, double o
}
}
-void get_own_position(double lat, double lon)
+void set_own_position(double lat, double lon)
{
own_lat = lat;
own_lon = lon;
}
+
+double get_current_lat()
+{
+ return own_lat;
+}
+
+double get_current_lon()
+{
+ return own_lon;
+}