Commit Graph

53 Commits

Author SHA1 Message Date
twinaphex
61bae588fb Header include changes 2016-03-22 02:45:25 +01:00
twinaphex
ac6362cae4 Combine list_special files 2016-03-20 17:28:24 +01:00
twinaphex
c717ebdfda Rename callbacks 2016-03-04 20:00:49 +01:00
twinaphex
2cbb18b4e4 Create RARCH_DRIVER_CTL_FIND_INDEX 2016-02-01 13:15:53 +01:00
twinaphex
7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex
fc6505e408 Get rid of rarch_system_info_get_ptr 2015-12-10 22:30:25 +01:00
twinaphex
2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
Twinaphex
637eb68bed Create RARCH_CAMERA_CTL_DESTROY and RARCH_LOCATION_CTL_DESTROY 2015-12-07 08:05:52 +01:00
twinaphex
c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
twinaphex
fadeb4b3e4 Turn some functions static 2015-12-05 23:03:05 +01:00
twinaphex
19a7ee6486 Move header include for location/location_driver.h out of
driver.h
2015-12-05 15:47:33 +01:00
twinaphex
3790b1d566 Move location driver handle data to location_driver.c 2015-12-05 15:44:54 +01:00
twinaphex
ade194b1cc Create location_driver_ctl 2015-12-05 15:40:29 +01:00
twinaphex
074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex
db5d8d248b Create new char_list_new_special 2015-10-26 19:41:20 +01:00
twinaphex
b9febe2eed Add void pointer to string_list_special_new 2015-10-26 19:16:20 +01:00
twinaphex
f6ed72b21c More code deduplication 2015-10-26 18:33:51 +01:00
twinaphex
02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex
6991b43e81 location_driver.c - cleanup 2015-09-06 04:08:29 +02:00
twinaphex
abb19d7259 (location_driver.c) Use rarch_system_info_get_ptr 2015-06-25 13:14:11 +02:00
Twinaphex
68993c1f71 Ifdef AVFoundation and CoreLocation specifically for HAVE_COCOA and/or
HAVE_COCOATOUCH
2015-04-20 14:14:45 +02:00
Twinaphex
813a47d43c Change HAVE_LOCATION to HAVE_CORELOCATION 2015-04-20 11:41:33 +02:00
twinaphex
e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex
7bc845006b Start replacing more g_settings usages 2015-03-20 20:43:22 +01:00
twinaphex
3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex
00239a30d6 Create wrapper functions for passing a message to the runloop's
message queue
2015-03-15 02:47:23 +01:00
twinaphex
795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +01:00
twinaphex
850716ecac Cleanup location_driver.c 2015-01-30 07:55:17 +01:00
twinaphex
26ab324727 (OSX 10.6) Fix declaration shadows global variable warnings 2015-01-15 21:10:36 +01:00
twinaphex
6cdaa4e282 (MSVC) Build fixes 2015-01-12 22:47:12 +01:00
twinaphex
1b28a4a498 Cleanups 2015-01-12 21:16:17 +01:00
twinaphex
c4bf097d7f Move location_driver.c to location/ 2015-01-12 19:53:10 +01:00
twinaphex
6a9d24b10a Move location drivers to location/drivers/ 2015-01-12 19:05:33 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex
8f095df694 Minor cleanup in location/android.c 2014-10-27 04:05:51 +01:00
twinaphex
75d2e13dcb Make drivers non-const 2014-09-11 07:06:20 +02:00
twinaphex
fe510bca6f Indenting/C-style comments 2014-09-08 17:57:18 +02:00
Lioncash
195a6aadb2 nulllocation: Remove nulllocation_t.
This is technically not even allowed according to the C standard, but is a GNU-specific extension
2014-09-06 00:47:59 -04:00
twinaphex
f9c0f5ac64 (Camera/Location stub drivers) Changes
(General) Fix some potential uninitialized variables
2014-08-17 06:09:23 +02:00
twinaphex
c38f5a813c (Location) null_location_get_position - return false 2014-08-15 21:19:59 +02:00
twinaphex
88af50ab82 Add null drivers 2014-08-14 03:05:44 +02:00
twinaphex
027bd68bb3 Add location/null.c - get rid of HAVE_LOCATION ifdefs 2014-08-14 02:15:48 +02:00
twinaphex
8193eb4b3d (Android) Input - Move files around 2014-06-10 22:15:23 +02:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex
491c0e0757 (Android location) Fixup prototype for onLocationGetHorizontalAccuracy in JNI stub driver 2013-12-21 15:11:11 +01:00
twinaphex
d43c971a1e (Android Location) Fix init function 2013-12-20 17:10:35 +01:00
twinaphex
792b27288a (Android) (Location) Function signatures for functions that return
double were wrong - should be D instead of J
2013-12-20 00:42:42 +01:00
twinaphex
da6e360e49 (Location) Implement horizontal and vertical accuracy - Android's
location API only provides horizontal API but iOS/OSX API supports
both horizontal and vertical. Maybe consider implementing vertical
accuracy for Android by hand later
2013-12-19 17:36:27 +01:00
twinaphex
f0aa0f99fd (Location) Reimplement some parts of the location interface - get_latitude
and get_longitude are gone now in place of get_position. Basically,
from C land we basically do a poll-style queries, but on the
implementation side (ie. Android/iOS/OSX) - they all use callback-based
location updates. So we simply check in the poll function (get_position)
whether position has changed, and if so, update the pointer values and
return true - if not, set them to 0 and return false.
2013-12-19 15:47:47 +01:00
Themaister
855cb54def Some cleanups to location interface.
Avoid three redundant fields in struct.
Use unsigned instead of int for argument for API consistency.
2013-12-19 10:15:55 +01:00