Commit Graph

2135 Commits

Author SHA1 Message Date
twinaphex aee432a528 (materialui.c) Cleanup 2016-12-15 11:24:05 +01:00
twinaphex 2eca6aa04d (XMB) Don't use hardcoded 'OFF' 2016-12-15 11:23:08 +01:00
twinaphex 492e363fde Create xmb->thumbnail_orig_width/height 2016-12-14 20:49:50 +01:00
twinaphex 4d4710d881 Update MaterialUI 'Load Content' selection 2016-12-14 17:53:22 +01:00
twinaphex 43f9f8e8ef (XMB) Cleanups 2016-12-14 16:47:10 +01:00
twinaphex c8273cd14a (XMB) Use database icon for drives inside Load Content 2016-12-13 03:55:28 +01:00
twinaphex d7a082e005 Rename 'Select File' to 'Favorites' 2016-12-13 01:34:54 +01:00
twinaphex 5723c79dac (XMB) Use folder icons for 'Downloads dir' / 'Select File' 2016-12-13 01:34:52 +01:00
twinaphex 9909669d01 Combine Load Content and Load Content (Detect Core) 2016-12-13 01:34:49 +01:00
twinaphex 5a2dfe9ded Revert "Combine Load Content and Load Content (Detect Core)"
This reverts commit 92ae2ab860.
2016-12-12 17:19:19 +01:00
twinaphex 92ae2ab860 Combine Load Content and Load Content (Detect Core) 2016-12-12 16:20:43 +01:00
twinaphex e08c1dce6e (XMB) Put thumbnail behind OSK overlay 2016-12-12 14:18:25 +01:00
lasers 8366b26d36 Switch XMB Tabs (Music,Video) 2016-12-12 03:54:53 -06:00
twinaphex 5fa01c94d3 (XMB) Put thumbnail on foreground 2016-12-12 03:57:56 +01:00
twinaphex 3e25dfb220 (XMB) Add log 2016-12-12 03:34:21 +01:00
twinaphex b9984387f5 (XMB) Add another log 2016-12-12 03:28:55 +01:00
twinaphex dd33715074 (XMB) Cleanups 2016-12-12 03:24:31 +01:00
twinaphex a4dde93a2f Add XMB_DEBUG 2016-12-12 03:20:00 +01:00
twinaphex 90c463b779 (XMB) Add logging 2016-12-12 03:18:48 +01:00
lasers 16eebb3f58 Add Systematic Theme 2016-12-08 23:39:39 -06:00
twinaphex b0fcdf9db4 Wrong usage of enum 2016-12-08 03:02:30 +01:00
markwkidd 39a92f889a replace hardcoded "lpl" w/FILE_PATH_LPL_EXTENSION_NO_DOT 2016-12-07 14:47:43 -05:00
twinaphex b92711ddce (XMB) Try to silence Coverity warning 2016-12-06 07:12:28 +01:00
twinaphex 9f470c53ae Add 'Simple Snow' shader to GLSL backend 2016-12-06 00:48:36 +01:00
twinaphex abaa6eda62 Rename VIDEO_SHADER_MENU_SEC to VIDEO_SHADER_MENU_2 2016-12-06 00:34:38 +01:00
twinaphex b5177d807e Style nits 2016-12-04 04:43:53 +01:00
twinaphex 8e7d440ed5 (Zarch) Silence Zarch warning 2016-12-02 17:44:35 +01:00
twinaphex 642310e08a Remove runloop.h header include from many files 2016-12-02 06:19:27 +01:00
Twinaphex 5e75820880 Remove unused variables 2016-12-01 22:54:34 +01:00
Jean-André Santoni 2fc592bbe6 Savestate thumbnails reimplementation 2016-12-01 20:31:07 +01:00
Jean-André Santoni d00566b018 Add setting for the savestate thumbnails 2016-12-01 20:31:07 +01:00
Jean-André Santoni a0c5a28602 Fix wrong thumbnail index 2016-12-01 20:31:07 +01:00
Jean-André Santoni 367dcef0b1 Savestate thumbnails 2016-12-01 20:31:07 +01:00
Brad Parker 78e75cdc69 whitespace 2016-11-27 22:02:22 -05:00
Brad Parker ee49eeec09 fix endless word_wrap() loop when a label has a newline and no spaces 2016-11-27 22:02:10 -05:00
Jean-André Santoni 57d3236b99 Delete a debug message 2016-11-27 23:21:07 +01:00
Jean-André Santoni ec24fb6bbd (XMB) Display thumbnails for image history 2016-11-27 23:16:45 +01:00
twinaphex e1d4ccd7fd Update intl headers 2016-11-25 23:04:00 +01:00
twinaphex bc5b1b9d60 Cleanups 2016-11-25 22:43:42 +01:00
twinaphex df6a7993b3 OFF/ON labels can be translated now too 2016-11-25 22:28:12 +01:00
twinaphex 21e9bde569 Silence warning 2016-11-21 15:00:57 +01:00
Twinaphex eb7bf1387a Revert "Improvs one at a time - Configurations" 2016-11-21 07:26:58 +01:00
Twinaphex bc3d4ff015 Merge pull request #4012 from lasers/improvs-one-at-a-time
Improvs one at a time - Configurations
2016-11-21 07:08:16 +01:00
twinaphex 2deb306967 Turn video_shader_driver_use into macro 2016-11-20 16:31:45 +01:00
twinaphex 205e7cf272 Fix C89_BUILD 2016-11-20 14:48:00 +01:00
twinaphex f33d7f2712 Unused variable 2016-11-19 04:04:55 +01:00
Jean-André Santoni 5be99842b5 Merge pull request #3996 from markwkidd/crossplatform-thumbnail-filenames
improve cross-platform support for thumbnail filenames
2016-11-18 21:30:23 +01:00
lasers 6265d1e90a Clean the Configuration mess 2016-11-18 13:45:10 -06:00
Alcaro 53c7bfc501 This one uses one float per vertex, whether snow is enabled or not 2016-11-18 17:10:52 +01:00
Brad Parker 750165a251 prevent use-after-free error 2016-11-17 21:17:24 -05:00
twinaphex 20c1ef83d6 First stab at getting snow shader to work 2016-11-17 21:08:50 +01:00
twinaphex a2c69ec254 Added snow shader hooks - doesn't work yet though - shader driver
system is very limited in terms of how we can set custom menu
shaders - will require a rethink
2016-11-17 20:54:29 +01:00
markwkidd e0deb20e30 Update xmb.c 2016-11-15 16:54:35 -05:00
markwkidd 0d8c2aa119 improve description of thumb filename scrub, add parenthesis 2016-11-15 16:48:29 -05:00
markwkidd 1ad1598be2 Update xmb.c 2016-11-15 15:58:18 -05:00
markwkidd 9d0e5c012e change thumbnail filename scrub to use strpbrk() 2016-11-15 15:57:51 -05:00
markwkidd 08514679d5 Update xmb.c 2016-11-15 15:47:18 -05:00
markwkidd 167a71635d Update xmb.c 2016-11-15 14:04:59 -05:00
markwkidd 096b316183 additional fixes per the PR discussion 2016-11-15 14:01:28 -05:00
markwkidd d0f23fdddb Update xmb.c 2016-11-15 09:05:33 -05:00
markwkidd 06221da8a1 fix escape characters, remove dupe line, add comment 2016-11-15 09:03:55 -05:00
markwkidd a9ead799e6 improve cross-platform support for thumbnail filenames
The intention of this PR is to allow RetroArch playlists to display the 'prohibited' characters & \ / ? : < > : * | on the screen, while searching for matching thumbnail files that replace these problematic characters with an underscore. This step of the process is bolded in the flowchart below as #2 under 'Playlist display.'

I don't normally work in C -- this change is a hack job. It did look like string_replace_substring could handle being daisy-chained so I thought I'd see if this could spark a productive conversation.

Playlist generation:
    1) Use hash values to match ROM files to known-good databases such as No-Intro. (exists)
    2) Create playlist using 'display names' from the known-good databases (exists)

Playlist display:
    1) Read display name from the playlist file (exists)
    **2) Transform characters that are not cross-platform friendly into underscores to determine thumb filename (this PR)**
    3) Look for a thumbnail file that matches this filename (exists)
    4) Display the thumbnail image (exists)
2016-11-14 13:24:05 -05:00
twinaphex 14f56e15c9 Fix Nuklear 2016-11-06 17:36:04 +01:00
twinaphex 9ce285a077 (Nuklear) Another buildfix 2016-11-06 17:29:12 +01:00
twinaphex f1129d982f (Nuklear) Silence some build errors 2016-11-06 17:27:19 +01:00
twinaphex 0c41a8873d Move 'Start Videoprocessor Core' / 'Start Remote RetroPad Core' to
'Load Core'
2016-11-06 00:04:37 +01:00
radius 486254f06d separate hardcore achievements 2016-11-05 16:55:57 -05:00
twinaphex 0f2bd3e653 remove MENU_ENUM_LABEL_VALUE_BACK 2016-11-05 01:41:44 +01:00
twinaphex 1a1b221ddd Create Configurations list 2016-11-04 15:03:09 +01:00
twinaphex c35d723b40 Fix C89_BUILD 2016-11-04 14:29:02 +01:00
Jean-André Santoni 80d23769a9 Sublabels for GLUI 2016-11-03 20:25:00 +01:00
twinaphex 57981b2714 Hide 'Add Content' list in MaterialUI, and move it to 'Playlists' tab 2016-11-03 19:05:04 +01:00
Twinaphex 2e7eb72884 Get rid of unused variable 2016-11-03 16:36:42 +01:00
Jean-André Santoni 4722bb45c8 Move the font_param stuff to menu_display.c 2016-11-03 15:56:40 +01:00
Jean-André Santoni 745da4d66b Adapt OSK rendering to vertical screens like phones 2016-11-03 09:21:27 +01:00
Jean-André Santoni 5bdd9533e7 Improve OSK look in GLUI 2016-11-03 09:12:37 +01:00
Jean-André Santoni f72bf26eac Improve OSK look on XMB 2016-11-03 08:55:24 +01:00
Jean-André Santoni a7ecf7615d Add special OSK keys to GLUI too 2016-11-02 16:16:05 +01:00
Jean-André Santoni 31073214b6 Add special keys on the OSK 2016-11-02 16:15:23 +01:00
Jean-André Santoni 4bf172835d Expose the NeoActive icon theme 2016-10-31 21:42:46 +01:00
Jean-André Santoni 659235c572 Merge pull request #3906 from lasers/add-monochrome-jagged
Add Monochrome Jagged
2016-10-31 08:20:33 +01:00
Brad Parker 5d28029be8 remove confirm_on_exit menu option 2016-10-30 23:29:03 -04:00
lasers 8797dfbee1 Add Monochrome Jagged 2016-10-30 17:14:13 -05:00
twinaphex 7d0ebd1b51 Some C89_BUILD fixes 2016-10-30 14:27:24 +01:00
Jean-André Santoni 41611e3d74 Touch and mouse support for the OSK 2016-10-30 11:48:48 +01:00
Brad Parker 28c0e78292 ignore trigger input while binding a new key 2016-10-29 21:58:43 -04:00
twinaphex 0fee70457b (MSVC) Fix issues 2016-10-30 02:40:05 +01:00
Brad Parker 1a73b1d144 OSK cleanup, add katakana support 2016-10-29 19:51:02 -04:00
Jean-André Santoni 281335f86f Improve OSK look 2016-10-30 00:20:37 +02:00
Jean-André Santoni b176aa2396 OSK Fix and cleaning 2016-10-29 23:28:53 +02:00
Jean-André Santoni 156081635c Merge pull request #3898 from heuripedes/master
(xmb) Fix memory leak
2016-10-29 23:22:33 +02:00
Jean-André Santoni 97e13c4409 Preliminary changes for the utf8 OSK 2016-10-29 22:43:34 +02:00
Higor Eurípedes 5de85bb3e5 (xmb) Fix memory leak
Fixes #3857
2016-10-29 14:36:16 -03:00
twinaphex d4ecce48c7 Fix truncated messagebox messages 2016-10-29 08:38:14 +02:00
Jean-André Santoni 6cc14a4fb9 Add missing copyright mention on some files 2016-10-27 18:17:43 +02:00
Brad Parker d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
twinaphex 611784cbd8 (rgui) Reduce char variables 2016-10-27 09:50:46 +02:00
twinaphex 50ba48924d Reduce more PATH_MAX_LENGTH usage 2016-10-27 09:49:21 +02:00
twinaphex 8d6be4b700 Reduce size of some messages (was PATH_MAX_LENGTH by default,
which can default to 4096)
2016-10-27 09:13:36 +02:00
twinaphex 97d80d5e3e Get rid of more implicit memsets 2016-10-26 06:23:05 +02:00
Jean-André Santoni ac18d31ac4 (XMB) Icons for Save Overrides 2016-10-25 13:34:01 +02:00
Jean-André Santoni 55c480358d Move draw_quad to menu_display 2016-10-25 08:11:37 +02:00
Jean-André Santoni cbbb88ab16 Code cleaning 2016-10-25 07:52:47 +02:00
Jean-André Santoni 23ef14347f (MUI) On-screen keyboard 2016-10-25 07:48:27 +02:00
twinaphex f49e1fbc84 C89_BUILD fixes 2016-10-24 22:18:12 +02:00
Jean-André Santoni df1f4dbc89 (Menu) Integrate an joypad driven OSK to the menu driver. 2016-10-24 20:26:22 +02:00
twinaphex 2b4d87a983 Remove setting_get_type 2016-10-23 02:28:22 +02:00
twinaphex aca8970e79 CXX_BUILD fixes 2016-10-21 19:14:48 +02:00
twinaphex 56d427df65 C89_BUILD fixes 2016-10-21 19:12:06 +02:00
Jean-André Santoni 6420f9414f (XMB) Basic word wrapping 2016-10-20 19:15:21 +02:00
Jean-André Santoni d027a558c0 (XMB) Fix label centering 2016-10-20 16:29:14 +02:00
twinaphex 0a295998a2 Hook up sublabels 2016-10-20 16:10:20 +02:00
twinaphex 5f552253c4 Add sublabel to menu_entry_t 2016-10-20 15:47:02 +02:00
Twinaphex 1471c9c299 Merge pull request #3835 from lakkatv/master
(XMB) Add a second font
2016-10-20 15:11:43 +02:00
Jean-André Santoni dff751420a (XMB) Add a second font 2016-10-20 09:52:17 +02:00
Twinaphex 762a0faef3 Merge pull request #3834 from JuanVCS/master
Move 'Save Core/Game Overrides' to Quick Menu
2016-10-20 03:24:50 +02:00
Higor Eurípedes ec776a8d75 (zarch) Fix build 2016-10-19 20:13:01 -03:00
twinaphex 290c5ea2f5 Get rid of some implicit memsets 2016-10-19 04:02:00 +02:00
twinaphex 9b68544992 Remove unused variables 2016-10-19 02:29:19 +02:00
Higor Eurípedes 46fe9fa29e Add multiple font support to material and xmb 2016-10-18 20:36:54 -03:00
twinaphex 584d9a5997 Prevent some more implicit memsets 2016-10-18 04:15:24 +02:00
Juan 248205d425 Move 'Save Core/Game Overrides' to Quick Menu 2016-10-17 01:24:57 -03:00
twinaphex d38d9f46a6 Prevent implicit memsets 2016-10-16 01:49:54 +02:00
twinaphex 546f01eea3 Prevent some more implicit memsets 2016-10-16 01:45:50 +02:00
twinaphex 3dc0e92cca Prevent more implicit memsets 2016-10-16 00:58:18 +02:00
Romain Graillot 234469a7b1 Fix white on white font in glui 2016-10-15 21:27:47 +02:00
aliaspider a8aa78456c xmb: fix a crash.
xmb_node_allocate_userdata needs to be called for the list since is
generated with menu_entries_append_enum, which allocates action data for
each items. those would be otherwise misinterpreted as nodes.
2016-10-11 03:49:47 +01:00
aliaspider 1aafa29562 (3DS) xmb menu tweak. 2016-10-10 22:18:42 +01:00
twinaphex 1cf2799a8a (MaterialUI) Remove some implicit memsets 2016-10-08 19:25:05 +02:00
twinaphex f923c7ecd7 (RGUI) Avoid implicit memsets for path variables 2016-10-08 18:19:48 +02:00
twinaphex f7544d0fc1 Avoid implicit memsetting of path values in XMB 2016-10-08 18:17:33 +02:00
Higor Eurípedes 392bcfd98b (material) Reduce CPU usage in big lists by 3
The program spent more time clearing rich_label and entry_value than
fetching it's value from the menu system and rendering it on the screen.
2016-10-08 11:33:44 -03:00
twinaphex 9384875ab0 Don't use HAVE_NETPLAY any more 2016-09-29 21:07:10 +02:00
Gregor Richards 03c9dab93a Adding a netplay menu
In this first cut, Netplay can be enabled "mid-stream", but not much
else is supported. Client reconnection and either-side disconnection are
listed in the menu but don't yet do anything.
2016-09-29 13:04:38 -04:00
twinaphex ee087498a3 Try to prevent warning 2016-09-29 04:25:55 +02:00
Jean-André Santoni fcdc6187cb WiFi icons 2016-09-22 22:27:50 +02:00
twinaphex b3f50a3758 Prevent uninitialized scalar variable 2016-09-20 15:56:47 +02:00
twinaphex 9726de615b Fix stray icon 2016-09-16 13:03:26 +02:00
twinaphex a9b8114109 Reafctor input_bind_dialog code 2016-09-15 20:45:00 +02:00
twinaphex a21674881c Add menu_input_bind_dialog 2016-09-15 20:35:39 +02:00
twinaphex 82673b4db4 Warning cleanups 2016-09-15 19:26:04 +02:00
twinaphex 5cf5371314 Refactor menu_input_dialog 2016-09-15 19:07:30 +02:00
twinaphex e8e16aca9e Create menu_input_dialog_get_label_buffer functions 2016-09-15 19:01:33 +02:00
twinaphex 982a818b48 Create menu_input_dialog_get_buffer 2016-09-15 18:56:51 +02:00
twinaphex bb5543c2a1 Cleanups 2016-09-15 18:50:33 +02:00
twinaphex 3a663ba013 (XMB) Use menu_entry_get_value 2016-09-15 16:30:22 +02:00
twinaphex 78c4bc4a5b (xmb.c) Try to make sure 1st and 2nd arguments for fill_pathname_join
are not one and the same
2016-09-15 16:25:10 +02:00
twinaphex 6c4c0cf5e7 Use menu_entry_get_value 2016-09-15 16:13:17 +02:00
twinaphex f648ea8602 Cleanups 2016-09-15 16:07:20 +02:00
twinaphex 233925bea6 Rename widgets/menu_popup to widgets/menu_dialog 2016-09-15 15:57:25 +02:00
twinaphex 02e01e0b0a Create menu/widgets/menu_entry 2016-09-15 00:20:43 +02:00
twinaphex 892c0a6f52 Create menu/widgets/menu_list 2016-09-15 00:10:37 +02:00
twinaphex 1a40ace1ac Cleanup 2016-09-14 23:47:18 +02:00
twinaphex 4c2d754b06 (Zarch) Nits 2016-09-14 23:44:49 +02:00
Jean-André Santoni 7731b14b5c (XMB) Undo icon 2016-09-13 22:58:52 +02:00
twinaphex 056cc8ece8 Move menu_popu.c to menu/widgets 2016-09-11 21:03:31 +02:00
twinaphex 7ac1ed7e10 Cleanups 2016-09-11 14:54:34 +02:00
twinaphex 012e069f86 Get rid of general.h includes 2016-09-11 13:21:56 +02:00
twinaphex c35d763990 Cleanups 2016-09-08 06:00:54 +02:00
twinaphex 83194ff235 (menu) Cleanups 2016-09-08 05:43:10 +02:00
twinaphex c3ba0ba4e9 Revert "Refactor core_system_info_* functions"
This reverts commit f637805c9e.
2016-09-06 08:38:26 +02:00
twinaphex f637805c9e Refactor core_system_info_* functions 2016-09-06 07:08:38 +02:00
twinaphex 82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
twinaphex 075aea2289 Header include cleanups 2016-09-06 00:56:00 +02:00
Brad Parker ef29bc96b0 do not return to game after canceling quit confirm if user toggled the menu manually 2016-09-05 11:35:27 -04:00
Brad Parker 276542ea98 more menu popup refactor, add back working confirm_on_exit 2016-09-05 01:04:15 -04:00
twinaphex 9e61f6ffd0 Cleanups 2016-09-04 23:34:24 +02:00
twinaphex 95041d948b Revert "Make menu_popup.c self-contained"
This reverts commit 9e2a148b7e.
2016-09-04 23:15:01 +02:00
twinaphex 9e2a148b7e Make menu_popup.c self-contained 2016-09-04 23:14:04 +02:00
twinaphex 9c897e262b Create menu_popup.c 2016-09-04 22:58:54 +02:00
twinaphex 36092d8033 Create struct for help_screen 2016-09-04 22:26:33 +02:00
Brad Parker 43bfd5d39f back button should still be able to dismiss help text 2016-09-04 15:45:41 -04:00
Brad Parker 27925da4ae revert confirm_on_exit option for now 2016-09-04 15:31:50 -04:00
Alcaro d610a6baf7 stupid constants not casting themselves properly 2016-09-04 18:14:27 +02:00
Alcaro 5aa0628ebf Kill an overflow or two. Or twelve. 2016-09-04 18:12:03 +02:00
Brad Parker 2b1facdc33 fix nuklear compilation 2016-09-04 00:15:05 -04:00
Twinaphex 58aa3a7345 Remove unused variable 2016-09-03 07:12:23 +02:00
Brad Parker 5c0002934a allow back/cancel button to dismiss help text 2016-09-01 23:14:09 -04:00
Brad Parker ee7545857c add config option to enable quit confirmation 2016-09-01 21:47:25 -04:00
twinaphex b6daaed566 Rename git_version.c to version_git.h, create separate
version.h file
2016-09-01 17:49:28 +02:00
sergiobenrocha2 3ff191a3c1 Moved down this Start Video Processor. 2016-08-28 22:28:55 -03:00
Jean-André Santoni 9fe67ac09f (Menu) Display a Remove from Entry 2016-08-29 00:54:51 +02:00
Twinaphex f342248115 (Zarch) Buildfix 2016-08-28 19:11:03 +02:00
Monroe88 3a7b1e241a Add Save Overrides to XMB and GLUI Main Menu 2016-08-28 11:00:51 -05:00
orbea 5344103685 Move 'Start Remote RetroPad' for both glui and xmb to match rgui 2016-08-27 15:01:35 -07:00
Twinaphex 89d0798e68 Merge pull request #3423 from bparker06/utf8
Initial UTF-8 support for rgui/xmb/glui. Enables first 256 codepoints.
2016-08-26 17:27:20 +02:00
twinaphex 9ef45957d5 Stub out debug logging 2016-08-26 00:47:58 +02:00
Jean-André Santoni d13c3b53d9 (XMB) Prevent label overlap 2016-08-26 00:28:57 +02:00
Brad Parker 30e99927d2 undo previous new files and use existing encoding_utf header 2016-08-23 19:16:18 -04:00
Brad Parker d063cb9283 do not make UTF-8 the default, simplify/centralize the common string functions, make sure rgui/materialui use utf8 strlen when available 2016-08-23 19:00:53 -04:00
Brad Parker 35e67e69e5 Initial utf8 support for rgui/xmb. Only supports first 256 codepoints due to current freetype atlas limitation 2016-08-23 14:49:44 -04:00
Francisco José García García 4221374072 (VITA) Add XMB support 2016-08-23 02:49:53 +02:00
twinaphex 19787792df Buildfix for Zarch 2016-08-21 13:22:24 +02:00
radius a467e13302 reorder XMB tabs 2016-08-21 00:09:29 -05:00
Jean-André Santoni 04fb4f6dde (XMB) Allow hiding some tabs 2016-08-18 16:42:39 +02:00
Jean-André Santoni 4228e3dcc3 Revert "Reworked xmb driver to allow tab hiding"
This reverts commit 069a9cbfe6.
2016-08-18 14:06:54 +02:00
Ghost Coder 069a9cbfe6 Reworked xmb driver to allow tab hiding 2016-08-17 11:28:42 -05:00
Alcaro 32a56d2738 Revert "[bugged] Reworked xmb driver to allow tab hiding" 2016-08-17 15:07:17 +02:00
Twinaphex f26044678d Merge pull request #3341 from gitghostcoder/master
[bugged] Reworked xmb driver to allow tab hiding
2016-08-17 09:45:47 +02:00
Ghost Coder 46029bef22 Reworked xmb driver to allow tab hiding 2016-08-06 04:08:21 -05:00