Commit Graph

1132 Commits

Author SHA1 Message Date
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 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 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 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 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 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
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 f72bf26eac Improve OSK look on XMB 2016-11-03 08:55:24 +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
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
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 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
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
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 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
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 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
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 f7544d0fc1 Avoid implicit memsetting of path values in XMB 2016-10-08 18:17:33 +02: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
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 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 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 f648ea8602 Cleanups 2016-09-15 16:07:20 +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
Jean-André Santoni 7731b14b5c (XMB) Undo icon 2016-09-13 22:58:52 +02:00
twinaphex c35d763990 Cleanups 2016-09-08 06:00:54 +02:00
twinaphex 82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +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
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
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
twinaphex 444d957978 (PSGL) Fix 32bit color 2016-08-03 17:07:38 +02:00
twinaphex cd14455a51 Don't hide ADD_CONTENT_LIST behind HAVE_LIBRETRODB 2016-08-02 15:26:35 +02:00
twinaphex 7d7a62b92a Show 'Start Video Processor' item again on main menu 2016-07-31 14:34:18 +02:00
twinaphex 10a9effc1d Silence warnings 2016-07-31 14:29:33 +02:00
Twinaphex c899f4c2ef Merge pull request #3293 from lakkatv/master
(XMB) Display corresponding icons for each history list items
2016-07-31 02:11:26 +02:00
Jean-André Santoni c2af3325ae (XMB) Display corresponding icons for each history list items 2016-07-31 01:47:58 +02:00
Andre Leiradella 2a4de40bab fixed unguarded use of XMB_TEXTURE_IMAGES 2016-07-30 22:17:55 +01:00
twinaphex ee742bdb0a Add this back to Main Menu in case HAVE_FFMPEG is not defined 2016-07-30 19:44:42 +02:00
twinaphex 5beb759865 Move 'Start Video Processor Core' option over to 'Videos' tab 2016-07-30 19:43:33 +02:00
Twinaphex 7572924abf Buildfix 2016-07-30 19:30:29 +02:00
twinaphex 1e0a4518de (XMB) Add Music/Movie/Images tabs 2016-07-30 19:29:10 +02:00
twinaphex 4f617071db Add Start Video Processor menu entry 2016-07-28 20:35:05 +02:00
twinaphex cd2d5f75bb Comment out log 2016-07-25 17:23:50 +02:00
twinaphex 5a48d892ca Show RetroPad core again 2016-07-24 23:55:43 +02:00
twinaphex d4a3d90fff (xmb.c) use fill_pathname_join_delim 2016-07-23 04:36:22 +02:00
twinaphex 832ea8c3d9 C89_BUILD fix 2016-07-21 21:57:07 +02:00
twinaphex ccd41e2a94 More hashes removals 2016-07-21 05:43:19 +02:00
twinaphex 6e5738f8b0 Create menu_display_reset_textures_list 2016-07-21 03:00:14 +02:00
twinaphex 5d06f654da Rearrange this 2016-07-17 15:59:38 +02:00
twinaphex c560f1c71b Use return value of image_texture_load 2016-07-17 15:58:14 +02:00
Alex Eckhart ea3b79cb4a Fix vulkan xmb bug. 2016-07-16 20:32:00 -06:00
twinaphex 67c0bc25f4 Hide away Retropad remote core for now 2016-07-14 23:29:15 +02:00
twinaphex fabf68e441 Set XMB icon theme by default to Monochrome, and fix hardcoding 2016-07-14 21:24:33 +02:00