Commit Graph

784 Commits

Author SHA1 Message Date
twinaphex 1a1d6a0889 Change returntype of file_cb for zlib_parse_file 2015-02-23 01:23:21 +01:00
twinaphex 41403fb3d6 Rename libretrodb to libretro-db 2015-02-19 00:47:19 +01:00
twinaphex 9e6d0004fd (XMB) Set XMB_TEXTURE_RESUME instead of XMB_TEXTURE_RUN for 'Resume' action 2015-02-18 10:35:08 +01:00
twinaphex 3ee11c0374 (XMB) Set labels for general menu 2015-02-18 10:31:01 +01:00
Jean-André Santoni e0dab75300 (XMB) Add 5 new icons for the contextual menu 2015-02-17 23:43:34 +01:00
twinaphex 37a541e8a0 Restructure some settings in g_extern 2015-02-16 17:52:58 +01:00
twinaphex 41d3657b5d Start creating directory content scanning - nonblocking I/O not
yet implemented
2015-02-16 07:53:27 +01:00
twinaphex 939b78753a Get rid of messy 'pending cb' code - instead use
string lists
2015-02-16 05:44:43 +01:00
twinaphex 01359b14c6 Add label representation for video filter 2015-02-15 20:37:15 +01:00
twinaphex a68886cf5d Add 'action_start' for video filter 2015-02-15 18:41:58 +01:00
twinaphex be5f3254ba Start implementing video softfilters - move it to Video Options 2015-02-15 18:26:59 +01:00
twinaphex 3ce7ada790 Update get_title 2015-02-15 17:50:38 +01:00
twinaphex 5fca7c5e9d Create 'Video Options' 2015-02-15 17:40:25 +01:00
twinaphex 3a2336275d Take out 'Default Filter' option 2015-02-15 17:32:23 +01:00
twinaphex 20b87ad3d5 Reimplement get_string_representation for ST_ACTION 2015-02-15 04:49:57 +01:00
twinaphex f271b05712 MENU_SETTING_ACTION gets '...' label 2015-02-15 04:43:26 +01:00
twinaphex 7232a6a56b Add edge_magazine_review entry 2015-02-15 00:10:32 +01:00
twinaphex 5c6571e714 (Menu/Database) Ability to sort on Famitsu rating 2015-02-14 06:47:21 +01:00
twinaphex 64446ef497 Rename and move rarch_viewport 2015-02-14 05:52:05 +01:00
twinaphex b777f019bf Create video_shader_driver_get_current_shader 2015-02-14 05:24:20 +01:00
twinaphex 94e1a339df Rename menu_action.c to menu_setting.c 2015-02-14 01:51:28 +01:00
twinaphex 7d32b27024 (RMenu) Build fixes 2015-02-14 00:51:17 +01:00
twinaphex df35e9fb75 Refactor menu_navigation.c 2015-02-14 00:47:42 +01:00
twinaphex fbff296638 (RMenu) Fixes 2015-02-13 20:30:06 +01:00
twinaphex 778f67dcad (PS3) Silence warnings 2015-02-13 20:28:49 +01:00
twinaphex 31b272f25a Don't pass menu_handle_t * state around 2015-02-13 20:19:20 +01:00
twinaphex 55844f06d7 Cleanups - start using menu_driver_resolve everywhere in menu
code for safety reasons
2015-02-13 20:04:50 +01:00
twinaphex 8568732234 (menu_entries_cbs.c) Avoid passing 'menu' handle around 2015-02-13 19:49:32 +01:00
twinaphex 6a68b56e71 Don't pass driver.menu to menu_database_realloc 2015-02-13 19:46:07 +01:00
twinaphex 4bc117222b Cleanup menu_entries_cbs.c - don't use driver.menu directly -
always go through menu_driver_resolve
2015-02-13 19:44:08 +01:00
twinaphex d1483d1530 (GX) Buildfix 2015-02-13 19:11:53 +01:00
twinaphex 4d31687899 Create menu_driver_resolve to avoid having to pass state pointer
around between functions
2015-02-13 19:00:59 +01:00
Twinaphex ea6b36fe2a Merge pull request #1415 from lioncash/prototype
Apply static to some local-only functions
2015-02-13 16:02:21 +01:00
Lioncash 55e9c2b593 Apply static to some local-only functions 2015-02-13 09:54:45 -05:00
Lioncash 9ef984d525 menu_entries_cbs: Remove unused variables 2015-02-13 09:48:07 -05:00
twinaphex 56cce66121 Add button description to 'Help' 2015-02-13 04:54:42 +01:00
twinaphex 3feb89a8b2 (XMB) Rename 'Core Informations' 2015-02-13 04:03:52 +01:00
twinaphex 481570d822 (Menu) Fix labels 2015-02-13 03:38:28 +01:00
twinaphex 650ce81d74 Move Database Manager/Cursor Manager to 'Management' 2015-02-13 03:20:25 +01:00
twinaphex d8294c8dc0 Move Options to new category 2015-02-13 02:59:13 +01:00
twinaphex f3315c256e (GLUI) Hookup load_wallpaper - and also free background image
at exit
2015-02-13 00:20:39 +01:00
twinaphex e58c1491a2 Selecting wallpaper now directly changes background image -
implemented only for XMB so far, GLUI coming up next
2015-02-13 00:12:15 +01:00
twinaphex 025cb112d3 Move spacing to 'icon' 2015-02-12 23:38:44 +01:00
twinaphex c7d5b82cce (XMB) Refactor vspacing/hspacing 2015-02-12 20:26:04 +01:00
twinaphex 073e683846 Organize variables in struct some more 2015-02-12 20:23:14 +01:00
twinaphex 41f1ffe0bb Have a clear distinction between 'settings' and 'options' 2015-02-12 19:52:57 +01:00
Twinaphex 8b439f3e6b Merge pull request #1412 from lakkatv/xmb
(XMB) Move the savestate and loadstate entries on top of the contextual ...
2015-02-12 19:40:10 +01:00
twinaphex 50c89847f0 Backport new element display settings to GLUI/RGUI 2015-02-12 19:35:24 +01:00
Jean-André Santoni 2107273898 (XMB) Move the savestate and loadstate entries on top of the contextual menu 2015-02-12 19:34:28 +01:00
Twinaphex fc4c5ffa7c Merge pull request #1411 from lakkatv/look
(XMB) Add a setting to display or hide the core name and core version
2015-02-12 19:27:21 +01:00
twinaphex 9c29348305 (XMB) Reorganize some more settings in struct 2015-02-12 19:27:13 +01:00
twinaphex 2252e47028 (XMB) Move some more variables around 2015-02-12 19:23:11 +01:00
Jean-André Santoni 2ae66e05e5 (XMB) Add a setting to display or hide the core name and core version 2015-02-12 19:18:27 +01:00
Alcaro 2ec829ebc1 Fix releaseyear queries giving empty result sets. 2015-02-12 19:17:31 +01:00
twinaphex 3f46f97abd Prevent some memory leaks in menu_init 2015-02-12 19:14:10 +01:00
Twinaphex 2e651c6ffc Merge pull request #1409 from lakkatv/xmb
(XMB) Fix a crash in xmb_get_userdata_from_core. Fixes #1408
2015-02-12 18:54:21 +01:00
Jean-André Santoni 0cb72b3497 (XMB) Fix a crash in xmb_get_userdata_from_core. Fixes #1408 2015-02-12 18:50:13 +01:00
twinaphex 4acb177e37 Can now scroll on shader presets in browser 2015-02-12 18:47:37 +01:00
twinaphex 12825086b9 (XMB) Move active_category variables to 'category' struct 2015-02-12 18:38:27 +01:00
twinaphex ecbd841289 Move 'offset' variables to structs 2015-02-12 18:34:36 +01:00
twinaphex 7fb3b7e4a0 (XMB) Move icon variables to struct 2015-02-12 18:32:03 +01:00
Alcaro 7938e05b9c Shut up some more Valgrind errors. (Why is r600_dri.so branching on the frame buffer?) 2015-02-12 18:31:01 +01:00
twinaphex 852842beaf (XMB) Move font variables to struct 2015-02-12 18:25:48 +01:00
twinaphex b2c9a34fc1 (XMB) Cleanup this stuff some more 2015-02-12 18:24:01 +01:00
Alcaro 5c2d5edff0 Shut up some Valgrind errors. 2015-02-12 18:21:52 +01:00
twinaphex 2c8998aa88 (XMB) Make this code somewhat easier to read 2015-02-12 18:18:38 +01:00
twinaphex 7b4e3353a8 (XMB) Cleanups - create xmb_push_animations 2015-02-12 17:22:24 +01:00
twinaphex b709baf8e5 xmb_draw_items - cleanups 2015-02-12 17:08:57 +01:00
twinaphex 179661098f (XMB) xmb_draw_items - cleanups 2015-02-12 17:05:56 +01:00
twinaphex f20ede45a1 Rename xmb_node_for_core to xmb_get_userdata_from_core 2015-02-12 15:14:05 +01:00
twinaphex e9c42cf038 (menu_entries_cbs.c) Shader cleanups 2015-02-11 23:40:34 +01:00
twinaphex 0c64543eb8 (menu_entries_cbs.c) Cleanups 2015-02-11 23:30:29 +01:00
twinaphex 1d3ce967b4 (PS3/RMenu) Buildfixes 2015-02-11 22:38:05 +01:00
twinaphex 23c56cc998 (RMenu XUI) Buildfix 2015-02-11 22:34:07 +01:00
twinaphex 8d050f23aa Remove more header dependencies (menu.h) 2015-02-11 22:15:13 +01:00
twinaphex 728210bdf7 Remove bunch of header dependencies in menu.h 2015-02-11 22:10:21 +01:00
twinaphex 6654d2eb6c (menu_input.c) Cleanups 2015-02-11 22:05:56 +01:00
twinaphex 6c6850a671 (menu_entries_cbs.c) Start refactoring away driver.menu 2015-02-11 21:56:32 +01:00
twinaphex 5bb11314d5 (Menu) Move width and height to frame_buf struct - mouse code needs
to be entirely rewritten
2015-02-11 21:52:21 +01:00
twinaphex 6ded569b87 (Menu) Create struct for delay timer 2015-02-11 21:48:20 +01:00
twinaphex fe1ac4b8b9 (Menu) Create struct for categories 2015-02-11 21:43:16 +01:00
twinaphex eb7a68a182 (Menu) Put scroll indices into struct 2015-02-11 21:36:07 +01:00
twinaphex b1c775849a (RGUI) Cleanups 2015-02-11 21:30:57 +01:00
twinaphex 8f77b7d52a (Menu) Cleanups pt. 2 2015-02-11 21:29:14 +01:00
twinaphex 10fdaff1b6 (Menu) Cleanups 2015-02-11 21:27:01 +01:00
twinaphex 7ce598c891 (Wii) Fix warnings - unused values 2015-02-11 21:21:03 +01:00
twinaphex c3fdd42fb0 Refactor menu 2015-02-11 21:15:39 +01:00
twinaphex 7ade44cbc3 (360) Build fixes 2015-02-11 21:06:50 +01:00
twinaphex fb31227585 (Menu) Refactors 2015-02-11 21:00:34 +01:00
twinaphex 0c170ab56e (Menu) Get rid of void * pt. 2 2015-02-11 20:40:48 +01:00
twinaphex 4d478434c7 (Menu) Start getting rid of void * pointer 2015-02-11 20:28:54 +01:00
twinaphex 6b8aece1f7 (Menu) Cleanups 2015-02-11 19:28:06 +01:00
twinaphex b0bd9fdd9d (menu.c) menu_iterate - cleanups 2015-02-11 19:17:30 +01:00
twinaphex 8e42857488 (Menu) Move set_texture call to higher-level iterate function 2015-02-11 19:16:06 +01:00
twinaphex 00cd281a1f Move menu_ticker_line to menu_animation.c 2015-02-11 18:52:59 +01:00
twinaphex 915c97b76f Refactor menu_driver.h 2015-02-11 18:36:37 +01:00
twinaphex 97564dd1be (menu_entries_cbs.c) Cut down on code duplication pt. 2 2015-02-11 18:17:02 +01:00
twinaphex 3ca18c14d4 (menu_entries_cbs.c) Cut down code duplication 2015-02-11 18:14:53 +01:00
twinaphex 5ee4e6da73 Guard against entering video filter or audio filter directory
if path is not correct
2015-02-11 17:53:38 +01:00
twinaphex 821a3283dc Refactor gl_set_texture_frame 2015-02-11 16:05:11 +01:00
twinaphex 118ce66dec Refactor gl_load_texture_data 2015-02-11 15:53:37 +01:00
twinaphex 77f6b98aa9 Reuse gl_load_texture_data some more 2015-02-11 15:46:55 +01:00
twinaphex f19339eb38 Have menu_texture.c reuse gl_common.c's gl_load_texture_data 2015-02-11 15:19:21 +01:00
twinaphex b64584672f (GLUI) Cleanups 2015-02-11 14:32:09 +01:00
twinaphex bcfd2f7667 (Windows) Build fixes 2015-02-11 14:25:06 +01:00
twinaphex 3d83c1fa75 Free menu->frame_buf in menu_free 2015-02-11 07:02:12 +01:00
twinaphex cf57120fdd (RMenu) Cleanups 2015-02-11 06:59:19 +01:00
twinaphex 37d9661846 (XMB/GLUI) Cleanups 2015-02-11 06:34:30 +01:00
twinaphex a687907bde Cleanup xmb_render_messagebox 2015-02-11 06:27:28 +01:00
twinaphex b20ab24fa2 (XMB) Cleanups pt. 5 2015-02-11 06:22:00 +01:00
twinaphex 1c4d628498 (XMB) Cleanups pt. 4 2015-02-11 06:21:03 +01:00
twinaphex cc9d5dae28 (XMB) Cleanups pt. 3 2015-02-11 06:15:15 +01:00
twinaphex d85a8d5452 (XMB) Cleanups pt. 2 2015-02-11 06:11:25 +01:00
twinaphex d8a0126203 (XMB) Cleanups to xmb_draw_items 2015-02-11 06:05:27 +01:00
twinaphex 56aa3ddb5c (GLUI) Cleanups 2015-02-11 05:55:36 +01:00
twinaphex 44d540eb3e (GLUI) Cleanups 2015-02-11 05:50:37 +01:00
twinaphex ed4d8d5acf (XMB) Cleanups pt. 3 2015-02-11 05:43:42 +01:00
twinaphex 5eccada700 (XMB) Cleanups pt. 2 2015-02-11 05:39:56 +01:00
twinaphex e8d21942b4 (XMB) cleanups 2015-02-11 05:33:53 +01:00
twinaphex b658d47c70 (RGUI) Cleanups 2015-02-11 05:23:02 +01:00
twinaphex 4d1cc8c2a9 (RGUI) Cleanups 2015-02-11 05:16:19 +01:00
twinaphex e8ad0d183b Cleanup color_rect 2015-02-11 05:09:31 +01:00
twinaphex da004daa8a Move frame_buf/frame_buf_pitch to menu_driver struct 2015-02-11 05:08:07 +01:00
twinaphex 1b4519ec97 (Menu) rmenu_set_texture - make it static 2015-02-11 03:55:25 +01:00
twinaphex 04022926bc Have XMB and GLUI reuse same menu_texture code 2015-02-11 03:52:35 +01:00
twinaphex 4186d97281 Start creating menu_texture.c - have GLUI use it 2015-02-11 03:40:29 +01:00
twinaphex f71c00112a Add early return in case database/cursor directory has not been set or is
inaccessible
2015-02-11 01:43:16 +01:00
twinaphex 6d5939063c Add early return in case cheat directory or remap file doesn't exist 2015-02-11 01:41:30 +01:00
Twinaphex 6cbb3ba3c8 action_ok_core_list - add early return if directory cannot be
accessed
2015-02-11 01:36:42 +01:00
twinaphex 436fe5150d (menu_animation.c) subject does not need to be freed 2015-02-11 01:26:33 +01:00
twinaphex 37a8e0ef85 Improve menu_animation_free 2015-02-11 01:22:15 +01:00
twinaphex a85908c8f9 (Menu) Refactor easing functions 2015-02-11 01:15:16 +01:00
twinaphex 46003314a8 Refactor menu_animation.c 2015-02-11 00:40:18 +01:00
twinaphex 13a87d48fe Refactor tweens_push 2015-02-10 23:59:16 +01:00
twinaphex 9a839fce2f Pass numtweens as pointer 2015-02-10 23:49:26 +01:00
twinaphex 453e5b7681 Rename tween functions 2015-02-10 23:45:14 +01:00
twinaphex 9a6e99e12c Cleanup add_tween 2015-02-10 23:40:58 +01:00
twinaphex e6ab59bce2 Refactor update_tweens 2015-02-10 23:35:22 +01:00
twinaphex 8b5699d2d5 Cleanups 2015-02-10 23:26:21 +01:00
twinaphex ca36923c99 (XMB) Some cleanups 2015-02-10 23:17:19 +01:00
twinaphex affce9a7cf Make xmb_font_init_first a bit more safe for threaded video mode 2015-02-10 23:14:01 +01:00
Twinaphex 8869ffdd57 (XMB) Remove unused variables 2015-02-10 23:11:20 +01:00
Alcaro 28405f547b Cleanup conditional mess 2015-02-10 22:36:39 +01:00
twinaphex bdaace4da7 Cleanup action_ok_core_download 2015-02-10 22:36:20 +01:00
twinaphex 3f7adb2903 Cleanup conditional mess 2015-02-10 22:34:49 +01:00
twinaphex 1f36d47556 Fix another crash - don't reuse str_list 2015-02-10 22:31:59 +01:00
Alcaro 28e2ca74e7 Double semicolons aren't useful. 2015-02-10 22:29:26 +01:00
Alcaro 111d4d4bd5 Remove some pointless casts. 2015-02-10 22:19:33 +01:00
twinaphex 3b165ba254 Create menu_list_insert 2015-02-10 21:52:31 +01:00
twinaphex 64372ed4b1 (XMB) Fixes 2015-02-10 17:46:35 +01:00
Jean-André Santoni f331eba299 (Menu) iterate was not used either 2015-02-10 15:06:41 +01:00
Jean-André Santoni e330f03124 (Menu) init_lists was not used either 2015-02-10 15:02:38 +01:00
Jean-André Santoni 274cfe0f9f (Menu) input_postprocess was not used anymore by any menu driver 2015-02-10 14:52:25 +01:00
Jean-André Santoni 3b2aa6ba40 (XMB) Fix more duplicate icon bugs 2015-02-10 02:50:22 +01:00
Jean-André Santoni a2380c4182 (XMB) Display bug fix and code refactoring 2015-02-09 22:54:14 +01:00
Twinaphex db64c41ae7 Silence some warnings 2015-02-09 01:46:58 +01:00
Twinaphex fe279c5c4b Merge pull request #1393 from SuperrSonic/master
(GX) Enable custom viewports in 240p
2015-02-07 05:31:32 +01:00
Jean-André Santoni ef7e210719 (XMB)(GLUI) Better fix for the GL texture format bug 2015-02-07 00:05:40 +01:00
SuperrSonic 2a79810b05 (GX) Added 608x240 for handheld cores with square pixels 2015-02-05 16:25:32 -04:00
twinaphex 72ac1bd407 menu_animation.c - some cleanups 2015-02-05 18:27:25 +01:00
Jean-André Santoni 8b1d4ea84e (Menu) Forgot to apply those changes to rmenu and rmenu_xui 2015-02-05 01:19:24 +01:00
Jean-André Santoni 2473778bac (XMB) Fix a regression 2015-02-05 00:52:30 +01:00
Jean-André Santoni f24bdb1cbf (Menu) No more core_info manipulation on the menu driver side. Instead, we ensure that core_info is inited before menu init, and call context reset after core info update. 2015-02-05 00:39:59 +01:00
Jean-André Santoni f005d5f7e5 (XMB) Display a clock icon 2015-02-04 22:44:33 +01:00
twinaphex e8183bb0e1 Add stub MENU_ACTION_TEST 2015-02-03 07:43:44 +01:00
twinaphex 8c38ccc4a9 Add MENU_ACTION_TEST 2015-02-03 07:43:20 +01:00
Jean-André Santoni 490cffc645 (XMB) Fix a small display regression 2015-02-03 05:41:35 +01:00
Jean-André Santoni 1852a36cc2 Merge branch 'master' of https://github.com/libretro/RetroArch 2015-02-03 05:14:06 +01:00
Toad King 75b02236d5 throttle menu better when libretro_pause is off 2015-02-02 21:55:30 -06:00
Jean-André Santoni 47c0dabc40 (XMB) Fix display issue in settings 2015-02-03 04:24:34 +01:00
Toad King 002fba476d add menu throttle for 120+Hz displays 2015-02-02 20:25:29 -06:00
twinaphex 2197a7b5c0 Add 'force' parameter to menu_database_realloc 2015-02-03 02:54:48 +01:00
twinaphex adbcab3912 Don't continually free and reload db playlist if it is already
cached
2015-02-03 02:01:00 +01:00
twinaphex 295c8a29a8 Move 'Start Content' to the bottom for now 2015-02-03 01:10:34 +01:00
twinaphex d9094506c7 Rough implementation of game loading from database 2015-02-03 00:59:16 +01:00
Jean-André Santoni a5f4693d49 (XMB) Display cursor and rdb icons 2015-02-03 00:27:18 +01:00
twinaphex dbd70237f5 (XMB) Cleanups 2015-02-02 20:48:26 +01:00
twinaphex 6b09ac87f1 (XMB) Cleanups 2015-02-02 20:40:29 +01:00
twinaphex 47ee96b531 (XMB) Cleanups 2015-02-02 20:28:17 +01:00
twinaphex 6f78669cdc (Menu/iOS) Cleanups 2015-02-02 19:03:56 +01:00
twinaphex d7fd935049 (RGUI) Cleanups 2015-02-02 19:02:34 +01:00
twinaphex 26dead5902 (RGUI) Cleanups 2015-02-02 18:56:58 +01:00
twinaphex 135fc60ec2 (GLUI) Cleanups 2015-02-02 18:51:48 +01:00
twinaphex a0177e7bd7 (XMB) Prevent memory leaks in xmb_init 2015-02-02 18:44:56 +01:00
twinaphex bf07771be9 Further cleanups 2015-02-02 18:33:39 +01:00
twinaphex 87cc4f2fc1 Refactor menu_entries_push_horizontal_menu_list 2015-02-02 18:31:25 +01:00
twinaphex 3a6a128fde menu_entries_push_horizontal_list_menu - cleanups 2015-02-02 18:20:45 +01:00
twinaphex f84662a39d menu_entries_content_list_push - cleanups 2015-02-02 18:14:49 +01:00
twinaphex 84d71330c8 Add famitsu entries 2015-02-02 04:41:31 +01:00
twinaphex 298fdbea8a (Database) Add MD5 and SHA1 entries 2015-02-02 04:03:46 +01:00
twinaphex 24d36c8d03 Rename Name description 2015-02-02 03:41:12 +01:00
twinaphex d2a5dd32c2 Add crc32 to database_info 2015-02-02 02:09:26 +01:00
twinaphex 2b0cefee0d (Menu) RetroPad: Bind X to 'Search' 2015-02-02 00:55:10 +01:00
twinaphex ff8fec64ad Cleanups 2015-02-02 00:53:06 +01:00
twinaphex 486a5801c0 Cleanups 2015-02-02 00:46:00 +01:00
Twinaphex b692e6ee9d Merge pull request #1382 from lakkatv/xmb
(XMB) Possible performance improvement in draw_items
2015-02-02 00:05:25 +01:00
Jean-André Santoni 44a3aad8e2 (XMB) Possible performance improvement in draw_items 2015-02-02 00:02:16 +01:00
twinaphex 17edfbd019 (RGUI) Similar speed hack 2015-02-01 23:55:13 +01:00
twinaphex 16c7c7fbb9 (XMB) Only try to render about 100 items or so that are conceivably visible
at the same time - should significantly optimize displaying of the MAME
database
2015-02-01 23:29:12 +01:00
twinaphex a1cf3c1eae (menu_animation.c) Cleanups 2015-02-01 23:05:16 +01:00