twinaphex
ff036066e2
Rework frontend - separate functions now for iterating per frame
...
and for doing teardown - Emscripten and Apple ports can make use
of this now so we don't need separate frontend implementations
2013-12-28 21:08:30 +01:00
twinaphex
9d0c5a5a03
(frontend.c) Some cleanups
2013-12-28 04:40:40 +01:00
twinaphex
51c994da39
(Xbox 1) Render 'messagebox' text in menu disp now - position
...
text better
2013-12-27 02:00:57 +01:00
meancoot
55950cf009
(Apple) Update content history properly.
2013-12-26 16:18:28 -05:00
twinaphex
75a6db27b4
(GX/PS3) Reimplement menu binds
2013-12-26 20:11:33 +01:00
Themaister
b23ff3b663
Refactor content_directory.
...
It shouldn't be RGUI browser dir. Instead it is a more developer centric
option for when libretro apps are distributed (along with RetroArch for
example). Also facilitates a standardized assets folder later on if
applicable.
2013-12-26 02:03:11 +01:00
Toad King
3fd4f21c9a
fix check for salamander file in core menu
2013-12-24 22:28:24 -05:00
twinaphex
204113e389
Add environ callback to expose 'Content Directory' path to core -
...
and refactor g_settings.rgui_browser_directory
2013-12-25 02:31:35 +01:00
meancoot
839a5529b8
Merge branch 'master' into apple_no_thread
2013-12-23 21:03:14 -05:00
Toad King
2f46fa4fe9
[GX] input changes work now
2013-12-22 21:07:37 -05:00
Toad King
d7cacaa9ed
start of porting wii input driver to better support RGUI. still has issues with axises
2013-12-22 19:47:33 -05:00
meancoot
f3d5a44e76
(Apple - No Thread) Fix performance regression.
2013-12-21 21:58:19 -05:00
twinaphex
129b7093a3
Set default overlay opacity to 0.7f
2013-12-22 03:03:26 +01:00
meancoot
f069c82417
(Apple) First pass at removing UI/RetroArch thread split.
2013-12-21 19:42:10 -05:00
twinaphex
742f85eafc
Add HAVE_LOCATION - still need to write frontend drivers now for
...
location
2013-12-19 01:51:51 +01:00
twinaphex
9852c5dc4c
Rewrite perf interface - exposes callbacks now for RETRO_PERFORMANCE_INIT/RETRO_PERFORMANCE_START/RETRO_PERFORMANCE_STOP calls without messy, hardcoded preprocessor-dependent variables in macros - will update cores accordingly too
2013-12-18 19:03:08 +01:00
twinaphex
166aa29443
(Libretro) Expose perf_log as callback too to libretro
2013-12-17 19:37:33 +01:00
twinaphex
38d785984f
Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h
2013-12-17 19:10:40 +01:00
Toad King
f291e9c353
make config directory require dynamic libraries for now. fixes issue #420
...
the way we implement chaning directories involves loading a dummy core, which we can't do on non-dynamic core platforms right now
2013-12-16 15:05:57 -05:00
meancoot
b35153855c
(iOS) Add option to clear Load History menu, useful when you need to invalidate history after the GUID of the install directory gets changed.
2013-12-15 21:27:17 -05:00
twinaphex
b946a5e302
(Menu) Omit "Threaded Video" for Gamecube/Wii
2013-12-14 02:33:09 +01:00
twinaphex
ee18da7632
Save autodetect_enable
2013-12-12 22:14:10 +01:00
twinaphex
eacc193d74
(GX) Rewrite audio interleaving
...
(GX) Make menu_binds variable Wii-only for now
(Menu) Add toggleable autodetect_enable for input
2013-12-12 22:10:11 +01:00
twinaphex
21ae4c24af
(Wii) Menu now takes input again from Gamecube pad, Wiimote, Wiimote + Classic
...
and Nunchuk
2013-12-12 20:50:42 +01:00
Twinaphex
14a6c01a14
Merge pull request #410 from libretro/rgui-search
...
Add experimental RGUI keyboard search feature.
2013-12-10 14:22:17 -08:00
meancoot
693a826f2f
(OSX) Fix frontend/frontend.c so passed arguments are accepted.
2013-12-10 16:41:23 -05:00
Themaister
fde4532a33
Fix menu_search_callback.
...
str can be empty and non-NULL.
2013-12-10 19:46:50 +01:00
Themaister
977cec1378
Refactor keyboard event callbacks.
...
Go through input/keyboard_line.c to better hide internal logic
regarding keyboard line input.
2013-12-10 19:39:09 +01:00
Themaister
84c93ef94a
Add experimental RGUI keyboard search feature.
...
Type '/' to start search, then type search string (case sensitive for
now due to strcasestr being GNU ext). When done, type return.
2013-12-09 16:18:58 +01:00
meancoot
8882d07f3f
(iOS) Move iOS settings code into iOS specific file and fix the issue where every compile unit would get its own copy of apple_frontend_settings
2013-12-03 19:47:24 -05:00
meancoot
6943127aef
(Apple) Start to refactor setting data structure; clean up iOS code some
2013-12-02 19:34:05 -05:00
twinaphex
3d18d580b6
(iOS) Add frontend/platform/platform_ios.h
2013-11-29 19:32:07 +01:00
twinaphex
3ec9581c68
(iOS) Move some cdoe from platform.m over to C
2013-11-29 19:31:39 +01:00
twinaphex
7bcb695c68
(menu_common) Rename 'Game' to 'Content' - RetroArch is not limited
...
to games/emulators
2013-11-26 21:41:27 +01:00
twinaphex
849e71138a
(rmenu_disp) Initialize j to 0
2013-11-26 21:29:18 +01:00
twinaphex
6c638f91f4
(Android) Big changes -
...
- both MainMenuActivity and RetroActivity are single instances now
- AKEYCODE_BACK gets eaten and onBackPressed in Java is triggered
- onBackPressed right now calls an instance of MainMenuActivity
(reuses the existing activity on the stack)
- User can switch back and forth between RetroActivity and MainMenuActivity
with AKEYCODE_BACK / Back button
- When a subsequent intent is launched after RetroActivity has already been
started up once, the pending intent gets passed to the existing RetroActivity
throug onNewIntent - in C land it will look every frame if an intent is pending - if it is, it will look up certain variables through JNI to launch a new game - or whatever it is that the intent wants to do
- With this we can now switch seamlessly between Android UI and RetroArch
itself.
2013-11-24 22:02:57 +01:00
twinaphex
1d06b07a16
(Android) Add "USED" intent extra to RetroActivity
2013-11-24 17:58:23 +01:00
twinaphex
4c4c828c02
(Android) JNI - Cache getIntent and getStringExtra jmethodIDs
2013-11-24 17:24:41 +01:00
twinaphex
25faefefac
(Android) get_environment_settings - make it more readable
2013-11-24 17:02:38 +01:00
twinaphex
47c8c26511
(Android) Simplify intent grabbing with JNI
2013-11-24 16:43:57 +01:00
twinaphex
37fce3c56e
(Android) Move engine_handle_cmd from input_android.c to platform_android.c
2013-11-22 21:12:13 +01:00
twinaphex
d66d4f7263
(Android) have engine_handle_cmd take as argument void*
2013-11-22 17:41:45 +01:00
twinaphex
afb2419235
(Apple) Move rarch_main_spring from ObjC source file to C (platform_apple.c)
2013-11-22 01:36:35 +01:00
Squarepusher
3f47951d3d
(Apple) Build fix
2013-11-22 01:10:35 +01:00
twinaphex
b1003b7640
(Apple) Move code out of main.m (ObjC) and into platform_apple (C)
2013-11-22 00:57:39 +01:00
twinaphex
fb9eca8c69
(Android) Fix jni_get_intent_variable
2013-11-20 18:26:42 +01:00
twinaphex
8e303a3159
(Android) jni_get_intent_variable - Get rid of warnings - jstring pointer maybe uninitialized
2013-11-20 18:18:37 +01:00
twinaphex
ef2bf910c7
(Android) Rename jni_get to jni_get_intent_variable
2013-11-20 18:10:52 +01:00
twinaphex
868de7d4ef
(Android) jni_params struct -remove class_obj
2013-11-20 18:09:50 +01:00
twinaphex
87421d477c
Clean up JNI: (...)
...
* pthread_key_create is used to set a destructor for every thread
created through jni_thread_getenv
* To grab a JNIEnv pointer - go through jni_thread_getenv
* jni_thread_getenv sets pthread_setspecific for the JNIEnv pointer
to bind destructor
* Reuse activity->vm everywhere instead of creating local pointer
copies
* Don't use DetachCurrentThread outside of platform_android's (new)
jni_thread_destruct function - the destructor will do this for us
now
2013-11-20 17:33:19 +01:00