Commit Graph

1243 Commits

Author SHA1 Message Date
twinaphex 46099c5ca7 (RGUI) Style nits 2013-11-04 14:01:36 +01:00
twinaphex 767cf1e47b (RGUI) Move toggle_settings code to menu_settings.c 2013-11-04 13:46:24 +01:00
twinaphex 2fd6fcdd76 (RGUI) Integrate rguidisp.c into rgui.c 2013-11-04 13:27:03 +01:00
twinaphex 9688288837 Move initing/deiniting of menu_list over to menu_common.c - turn
rgui.c into a rasterizer
2013-11-04 13:18:07 +01:00
twinaphex 62737026f6 (frontend) Add more code that should allow for Emscripten support
in frontend.c
2013-11-04 13:08:19 +01:00
twinaphex 41751ff0cf (frontend) Add some workarounds for Emscripten 2013-11-04 12:46:47 +01:00
twinaphex 0612ec702c (RGUI) menu_set_settings_populate_entries moved to menu_common.c and
renamed menu_populate_entries
2013-11-04 12:32:43 +01:00
twinaphex fb8bc6ced6 Move more logic to menu_parse_and_resolve - rgui.c and rmenu.c
should become purely rasterizers only
2013-11-04 11:57:24 +01:00
twinaphex e9cfb210bd (RGUI) Combine menu_parse and menu_resolve_names 2013-11-04 11:53:25 +01:00
twinaphex c5ee3c8f49 (RGUI) history_parse and directory_parse become one function 2013-11-04 11:48:33 +01:00
twinaphex cdb179f38a (RGUI) Combine resolve_names functions into one 2013-11-04 11:33:11 +01:00
twinaphex df5c9b6878 (RGUI) Host menu_type_is out of rgui.c and into menu_settings.c 2013-11-04 03:09:36 +01:00
twinaphex 4136fce571 (RGUI) Only one menu_type_is function now 2013-11-04 03:08:14 +01:00
twinaphex f7bde4c537 (RGUI) Cutdown on ifdefs to do with setting enums 2013-11-04 02:53:00 +01:00
twinaphex eea2a07fe1 (RGUI) Have all settings enums be available 2013-11-04 02:42:17 +01:00
twinaphex 5da1ffd24a (RGUI) Combine rgui populate_entries functions into one function and
move it outside rgui.c to menu_settings.c
2013-11-04 01:49:25 +01:00
twinaphex abf2079920 (XDK) platform_xdk - use fill_pathname_join where appropriate 2013-11-03 17:55:59 +01:00
twinaphex 27fd78e8fa (GX/PS3) Fixes:
- Use fill_pathname_join and strlcpy where possible in platform_gx/platform_ps3
- Split up system_exec Wii code into its own separate file - platform_wii
- Salamander file path string handling should be more reliable now
2013-11-03 17:39:12 +01:00
twinaphex d1b69f4c43 (frontend) HAVE_BB10 should also have HAVE_MEHU defined 2013-11-03 17:04:44 +01:00
twinaphex e3ebfbffa9 Rename frontend_android.h to platform_android.h 2013-11-03 17:02:40 +01:00
twinaphex fe66f57406 (frontend) Fixup space in license header 2013-11-03 16:52:11 +01:00
twinaphex 002c519707 Add credit where credit is due 2013-11-03 16:51:37 +01:00
twinaphex 74d1d11a65 (Android) Remove frontend_android.c - now uses frontend.c 2013-11-03 16:49:54 +01:00
twinaphex 5d52aaf3a3 (Android) Rewrite frontend_android 2013-11-03 16:38:56 +01:00
twinaphex 1bc17ca81c (menu_common) load_menu_game_prepare - add RARCH_CONSOLE ifdef 2013-11-03 15:17:45 +01:00
Themaister e159007aca Remove a redundant branch. 2013-11-03 10:46:10 +01:00
Themaister 970c973540 global_uninit_drivers() should come after main deinit.
Actually free video driver in global_uninit.
2013-11-03 10:42:05 +01:00
twinaphex 250a2b305d (Rmenu XUI) Cleanup unused variable in rgui_iterate 2013-11-03 06:36:02 +01:00
twinaphex d4593a088a (RMenu XUI) Cleanup unused rgui pointer in rgui_free 2013-11-03 06:34:49 +01:00
twinaphex a35eb793f7 (menu_settings) Fixup last w assignment - thanks to Lioncash for pointing out 2013-11-03 06:26:41 +01:00
twinaphex 4f7ebbd964 (Frontend) Remove ifdef 2013-11-03 06:14:02 +01:00
twinaphex c55a0885c7 (RARCH_CONSOLE) Fixes pushes to ROM history list - it should only push an entry
if either g_extern.system.no_game is true, or when either *tmp
or g_extern.fullpath is not null. Otherwise it will push an entry
with a bogus 'ROM path' to the list, and this broke RMenu badly
2013-11-03 05:49:46 +01:00
twinaphex 2e5d151fac (RARCH_CONSOLE) Should fix erroneous attempt_load_game for RARCH_CONSOLE 2013-11-03 04:55:30 +01:00
twinaphex 2b7635e740 (Frontend) Clean up ifdefs 2013-11-03 04:46:41 +01:00
twinaphex c0e02d3957 (Android/General) Add preliminary sensor support to libretro API /
add accelerometer support to Android input driver
2013-11-03 00:27:58 +01:00
twinaphex d6ad586114 (PS3) We don't use texrefs for font texture 2013-11-02 23:20:20 +01:00
twinaphex cc315379c5 (Android) Fixes core library being passed from Java frontend to
native library
2013-11-02 18:32:42 +01:00
twinaphex e9243a5ab4 (GX) Move remainder of video initing code to gx_init 2013-11-01 18:12:06 +01:00
twinaphex ed1b012250 (360) Build fixes 2013-11-01 17:16:02 +01:00
twinaphex 727dc76db8 (Console/Android) Init input driver from context driver/graphics
driver from now on - just like PC - input driver initing can be
hoisted out of global_drivers_init that way
2013-11-01 16:33:32 +01:00
twinaphex 08305ec877 (Android JNI) Use strlcpy 2013-11-01 07:02:38 +01:00
twinaphex d3edf50c4e (Android) Get rid of unused AConfiguration code 2013-11-01 05:59:37 +01:00
twinaphex dd68d46b4c (Android) Wrap pthread calls 2013-10-31 23:12:40 +01:00
ToadKing fea062ce67 fix static library builds with empty core directories 2013-10-30 21:53:01 -04:00
twinaphex 1bdaf62be1 Move some more default settings to config.def.h 2013-10-31 02:34:49 +01:00
twinaphex aab3f93f56 Fix driver next/previous switching 2013-10-30 17:50:43 +01:00
twinaphex b2d1fe66b3 (RGUI) Can now change drivers from RGUI - you need to restart
for changes to take effect
2013-10-30 17:06:50 +01:00
twinaphex 7c39118f91 (RGUI) Rename 'Info Options' to 'Driver Options' 2013-10-30 16:05:59 +01:00
twinaphex 7e833618a6 (RGUI) Add Info page - will eventually be possible to switch
drivers with this
2013-10-30 15:36:37 +01:00
Themaister fc5ba8f79a Use configured aspect ratio to set windowed size.
Fixes some cases where core aspect is used and aspect_ratio_auto isn't set.
2013-10-26 18:31:48 +02:00
Themaister fbd2747122 Fixup debug FPS bug. 2013-10-22 21:49:39 +02:00
Themaister 7aa8b40759 Fixup C89 for loops. 2013-10-22 21:37:56 +02:00
twinaphex d2c87e3039 Convert most C99-style for loop initial declarations to C89-compliant
ones
2013-10-22 15:08:17 +02:00
Themaister c16217d42f Add fallbacks to where cgp/glslp's are saved.
If shaders are stored in /usr/shader or similar we need fallback
locations.
2013-10-18 09:21:04 +02:00
Lioncash a0eeea65d5 Fix a typo in the previous commit. 2013-10-17 14:18:30 -04:00
Lioncash fb4dd42edf Fix a potential memory leak in menu/rmenu_xui.cpp in function rgui_init(). 2013-10-17 14:16:07 -04:00
Themaister 3c3e90b0df Only display autodetect if there are info files. 2013-10-15 10:29:45 +02:00
Themaister 48602cbdbb Refactor out to menu_init_core_info. 2013-10-11 09:17:32 +02:00
Themaister b8fbc58e44 Update core info when INFO_DIR changes. 2013-10-11 09:14:31 +02:00
twinaphex 310f404747 Get rid of MODE_INFO_DRAW 2013-10-11 01:28:26 +02:00
twinaphex 849cfb680e Saves 'Show Framerate' setting to config file now too 2013-10-11 01:19:54 +02:00
twinaphex a35e708335 (core_info) Can now set core info directory from RGUI 2013-10-11 00:36:08 +02:00
twinaphex 3d1b0fcdfc (RMenu) Use menu_settings.c function for setting (Show Framerate) 2013-10-08 10:16:36 +02:00
twinaphex 3a83c7711b (RMenu/RGUI) Rename 'Debug Info Messages' to 'Show Framerate' 2013-10-08 10:10:53 +02:00
ToadKing a999b56f33 implement deferred loading for consoles 2013-10-07 22:33:02 -04:00
twinaphex acde3339cf (Filebrowser/RMenu) More fixes 2013-10-07 22:00:54 +02:00
twinaphex d8ee1bb133 (Filebrowser PS3) Fix crash at startup 2013-10-07 21:37:53 +02:00
twinaphex be514e803a menu_settings.c - DEBUG_INFO_TEXT - left/right should toggle it,
start should disable it
2013-10-07 16:49:55 +02:00
twinaphex 37054f6a5c (GX) Get rid of HAVE_MINIOGC 2013-10-07 16:10:20 +02:00
twinaphex ebe5ddc257 (RMenu) osk_callback_enter_filename - add missing strlcat 2013-10-07 15:37:34 +02:00
twinaphex 96289960d5 (RMenu) Use fill_pathname_join instead of messy snprintf with hardcoded
path separator string
2013-10-07 15:33:52 +02:00
twinaphex e4beacd663 (RARCH_CONSOLE) Some better comments for rarch_get_environment_console 2013-10-07 15:25:09 +02:00
twinaphex 2b5220d2c7 (RARCH_CONSOLE) Refactor libretro_install_core 2013-10-07 15:22:33 +02:00
twinaphex 5cdfd2a06b (RGUI) Build fixes 2013-10-07 14:50:32 +02:00
twinaphex 14cb192f23 Add return_negative macro for entry function 2013-10-07 13:47:39 +02:00
twinaphex 0e553fd871 (Frontend) Customize returntype, function signature of main
entry function depending on platform port
2013-10-07 13:29:51 +02:00
twinaphex 83c89e4c92 (GX) platform_gx - Take out unused MAKE_FILE macro 2013-10-07 12:53:11 +02:00
twinaphex df3874deaf (360) Take out xfilecache 2013-10-07 12:51:24 +02:00
twinaphex 018af9989f (Filebrowser) Refactor 2013-10-07 12:02:02 +02:00
twinaphex b163096028 (RMenu/Filebrowser) Refactor filebrowser 2013-10-07 09:45:49 +00:00
twinaphex c5f5249e2a (RMenu/Filebrowser) Refactor filebrowser 2013-10-07 09:29:31 +00:00
twinaphex af10f3f5bc Split up file_list into separate compilable file 2013-10-07 08:56:16 +00:00
twinaphex b5b480ec15 (RMenu/RGUI) Move file_browser.h/file_list.h up one level 2013-10-07 08:45:32 +00:00
twinaphex 3b7e2a1882 (RGUI) Rename rguidisp_bitmap.c to rguidisp.c 2013-10-07 08:39:31 +00:00
twinaphex adda68219d (RGUI) rguidisp.c - change function signature for render_text 2013-10-07 08:27:01 +00:00
twinaphex 22ea71a4ad (RMenu) Split up RMenu display code into rmenudisp.c 2013-10-07 08:25:09 +00:00
twinaphex 7bdaae0dea (RMenu) Cleanups 2013-10-07 08:02:07 +00:00
twinaphex ef593a5d1a (RMenU) Add RetroArch Config option 2013-10-07 00:56:34 +00:00
twinaphex d67b954ed7 (RMenu) Add Crop Overscan option 2013-10-07 00:23:57 +00:00
twinaphex b7598b8494 (RMenu) Add Vsync/Rate Control option 2013-10-07 00:14:47 +00:00
twinaphex 079d93f3c9 (RMenu) Add setting - Device Type 2013-10-06 23:55:29 +00:00
twinaphex e574881d75 Get rid of SETTING_DPAD_EMULATION - will be reintroduced later in some
way
2013-10-06 23:48:12 +00:00
twinaphex 5aecea208e (Xbox 1 RMenu) Build fixes 2013-10-07 01:37:00 +02:00
twinaphex 371dd802e8 (RMenu PS3) Move reslution code over to menu_settings.c 2013-10-06 23:29:50 +00:00
twinaphex 62271ec540 (RMenu) Expand settings_lut 2013-10-06 23:24:14 +00:00
twinaphex 2528ac46a3 (RMenu) Take out LEFT/RIGHT actions for path setting options 2013-10-06 22:53:35 +00:00
twinaphex b75cd94fd4 (RMenu) Use menu_set_settings_label 2013-10-06 22:51:06 +00:00
twinaphex 3c002d6e2d (RMenu/RGUI) Move label printing of settings out of rguidisp_bitmap.c 2013-10-06 22:36:30 +00:00
twinaphex d31c6a864e (RMenu) Set up settings_lut 2013-10-06 22:26:35 +00:00
twinaphex cd12474eed (RMenu) Cleanups 2013-10-06 23:40:09 +02:00
twinaphex c052b2fb9c (RARCH_CONSOLE) Some cleanups 2013-10-06 23:14:41 +02:00
twinaphex fd053086ef (RARCH_CONSOLE) Remove DECREMENT_BIND/INCREMENT_BIND 2013-10-06 20:01:44 +00:00
twinaphex eba3eabe0a (PS3) Move PS3 resolution settings code over to menu_settings.c 2013-10-06 19:49:20 +00:00
Themaister 5a2531dbe1 Only compile in threaded video option if HAVE_THREADS. 2013-10-06 17:26:58 +02:00
Themaister 3b97cdfdac Add threaded video option. 2013-10-06 17:23:49 +02:00
twinaphex 79631ece8d Start using libretro_dir for RARCH_CONSOLE too 2013-10-06 15:09:36 +00:00
twinaphex 85d18b77d8 (RARCH_CONSOLE) Include rgui->libretro_dir for RARCH_CONSOLE
- Get rid of 'bypasses initialization of' warnings/errors
2013-10-06 15:00:59 +00:00
Themaister a3ddf8ed26 Sort results for libretro cores correctly. 2013-10-06 15:10:00 +02:00
Squarepusher 8a674d07e9 Merge pull request #326 from libretro/coreinfo
Integration of core info files in RGUI.
2013-10-06 04:54:46 -07:00
Themaister 8c768b0207 Move core_info stuff to menu_common. 2013-10-06 12:31:04 +02:00
Themaister c813e787cb Add core_info_list_get_display_name.
Avoids duped code in RGUI.
2013-10-06 12:27:08 +02:00
twinaphex abb829283b Take out messy Dpad emulation code - this will require an entire
rewrite where we come up with a solution that works the same across
console/PC/mobile
2013-10-05 20:55:37 +00:00
Themaister fa42aaf9cb Only create autodetect if we have info files. 2013-10-05 18:40:12 +02:00
Themaister bf0bce64b0 Poke into zip files as well to find matches. 2013-10-05 18:33:22 +02:00
Themaister aab2d20151 Some display tweaks. 2013-10-05 17:12:27 +02:00
Themaister 050e2375e3 Begin implementing core autoselect. 2013-10-05 17:07:56 +02:00
Squarepusher 3d386286e7 Merge pull request #324 from libretro/initcommands
Implement an idea for a start screen.
2013-10-05 05:38:32 -07:00
Themaister cf7232160b Only show start screen if rgui_show_start_screen is set.
Default to true, and set to false on first time.
2013-10-05 11:11:43 +02:00
Themaister 2d0131ddab Update start screen, and add Help ... entry. 2013-10-05 11:05:28 +02:00
Squarepusher 425c4a19ab Merge pull request #325 from libretro/libretrodesc
Resolve libretro core names in RGUI.
2013-10-04 20:40:34 -07:00
Squarepusher cd97b5e3d2 Merge pull request #323 from libretro/nextletterscroll
Repurpose L/R in RGUI to scroll to next letter.
2013-10-04 20:40:17 -07:00
ToadKing 746e5b4a4d fix missing include 2013-10-04 17:05:15 -04:00
Themaister 091a6379eb Use info files to resolve libretro names. 2013-10-04 18:10:03 +02:00
Themaister a53680a57e Resolve libretro core names in RGUI. 2013-10-04 17:33:21 +02:00
Themaister 1ff48fcd38 Implement an idea for a start screen. 2013-10-04 14:53:47 +02:00
Themaister 80b62bf9e6 Slight tweaks. 2013-10-03 20:53:07 +02:00
Themaister b72996da86 Add RGUI scroll acceleration. 2013-10-03 20:44:33 +02:00
Themaister 1c9bbb9333 Repurpose L/R in RGUI to scroll to next letter.
A common feature in controller-based file selection pickers
is to be able to scroll to next letter in the alphabet.
2013-10-03 17:32:59 +02:00
twinaphex 8c7550bb90 (GX) Move some GX-specific variables over to menu_settings.c (only place
they are needed
2013-10-02 19:15:51 +02:00
twinaphex 2f35b523cb (RARCH_CONSOLE) Dpad emulation assignment at init startup was causing the issues - we need to eliminate all this junk code and properly refactor it
for all platforms anyway, so take it out for now
2013-10-01 18:52:53 +02:00
twinaphex cf3fa07c4a (RARCH_CONSOLE) Reduce code duplication for default input binds 2013-10-01 18:38:12 +02:00
twinaphex 618bbf5aae (RARCH_CONSOLE) Reduce code duplication - after environment_get, default dirs are
created and config file is loaded
2013-10-01 17:06:14 +02:00
twinaphex 452dd2cad8 (RARCH_CONSOLE) Replace rarch_make_dir with path_mkdir 2013-10-01 17:00:49 +02:00
Themaister 57cbbde420 Create a default config file if it doesn't exist. 2013-10-01 11:57:07 +02:00
Themaister 21b9fb1f4b Refresh menu properly on player change.
Players > #2 shouldn't see hotkeys.
2013-09-30 19:49:09 +02:00
Themaister 21e5a08135 Drop strange comment. 2013-09-30 19:10:07 +02:00
Themaister 39bf64412c Add a FIXME. 2013-09-30 18:57:34 +02:00
Themaister 36de382581 Remove obsolete rgui_controller_lut. 2013-09-30 18:56:19 +02:00
Themaister b3c1afe2ec Redirect keyboard events to RGUI.
Fixes issue where libretro cores receive keyboard events even though
they are not running (inside RGUI).
2013-09-30 18:53:56 +02:00
Themaister a3a8b762c3 Allow multi-line messages in RGUI. 2013-09-30 18:42:44 +02:00
Themaister 02cd05550e Reuse input_config_bind_map. 2013-09-30 18:08:47 +02:00
Themaister b4a648ca8a Merge branch 'master' of github.com:libretro/RetroArch into inputconfig
Conflicts:
	frontend/menu/menu_common.h
	frontend/menu/rgui.c
2013-09-30 17:50:05 +02:00
Themaister d25313d0c1 Avoid new keybinds triggering stuff right away.
Most relevant things here are RGUI toggle, back, start, etc.
2013-09-30 17:39:44 +02:00
ToadKing acb201648a [GX] fix compile 2013-09-29 21:54:18 -04:00
twinaphex dbfff9dff1 (RMenu) Add 'Save Config' to RMenu - for static linked console RA,
library name doesn't seem to get updated when you switch core
and create a new config file
2013-09-30 03:16:43 +02:00
twinaphex 4dc52370c6 (menu_settings) Ifdef shader settings 2013-09-30 02:56:28 +02:00
twinaphex 11e2ceb34f (RMenu) Start using ticker bar for menu descriptions - make it look as much
like RGUI as possible
2013-09-30 02:52:35 +02:00
twinaphex 103cf3a94e (RMenu/RGUI) Reuse two shader settings across RGUI/RMenu 2013-09-30 02:17:15 +02:00
twinaphex 66431d1524 (RMenu XUI) Refactor - implement rgui_iterate - go through same
code in menu_common.c as RGUI/RMenu
2013-09-30 00:54:35 +02:00
twinaphex 64dc9513ae (RMenu/RGUI) Get rid of MODE_MENU_INGAME_EXIT 2013-09-30 00:09:40 +02:00