Commit Graph

367 Commits

Author SHA1 Message Date
Themaister 46f1374a27 Refactor selection_ptr push/pop logic.
Should make more sense now.
2013-04-16 01:53:07 +02:00
Themaister 2c8ddeb109 Add gfx_shader_resolve_relative.
Translates relative paths (from CGP) into absolute paths,
suitable for loading files, and saving cgp some place else.
2013-04-15 23:48:25 +02:00
Themaister 4c15814bf7 Ensure that terminal doesn't get overflowed. 2013-04-14 23:27:15 +02:00
Themaister 2853e50aa2 Move Hardware Filtering to GEKKO ifdef. 2013-04-14 23:17:48 +02:00
Themaister 8c58ff191a Fix strange use of pointers in screenshot code. 2013-04-14 23:14:38 +02:00
Themaister 926707ae44 Avoid needless branch. 2013-04-14 23:05:25 +02:00
Themaister f8ac159fc2 Properly set RGUI shader struct on init.
Use g_settings.video.shader_path if configured.
2013-04-14 22:59:36 +02:00
Themaister 6373819a16 Use default shader type correctly.
Don't hardcode Cg as it's not supported everywhere.
2013-04-14 22:48:35 +02:00
Themaister c9a02273bb Check for fullscreen in RGUI. 2013-04-14 16:40:17 +02:00
Themaister 829840b415 Fallback in RGUI if libretro_path isn't set. 2013-04-14 16:34:42 +02:00
Themaister 5e45c31f06 Set selection_ptr when calling OPEN_FILEBROWSER. 2013-04-14 16:29:35 +02:00
Themaister ca5ff43b6f Add default filtering option to RGUI. 2013-04-14 01:45:33 +02:00
Themaister 241d55ccbf Add CGP preset load to RGUI. 2013-04-14 01:27:13 +02:00
Themaister c17714ffbb Add full screen mode to set_texture_enable. 2013-04-13 16:49:25 +02:00
Themaister e389220df8 Refactor frame_counter.
Graphics drivers get the task of updating this.
If threaded driver is used, main thread cannot update the counter
due to race conditions.
2013-04-13 14:28:12 +02:00
ToadKing 4782522dbd (WII) fix RGUI controls
(CONSOLES) fix logging
2013-04-12 09:19:02 -04:00
twinaphex 4e188a0e00 (Wii/RGUI) Take out QUIT_KEY button combo shortcuts - current
RGUI works such that it goes directly into the ingame menu
after pressing menu toggle and you can quit from there.
2013-04-12 09:28:12 +02:00
Themaister 97095852f0 Should fix Wii and shader manager. 2013-04-12 09:08:07 +02:00
ToadKing ded105746c fix RGUI file browser 2013-04-11 21:00:13 -04:00
Themaister 91c8fea8e9 Fix crash in shader browser. 2013-04-11 16:15:09 +02:00
Themaister aebb2cb52e Add initial GLSL loading in RGUI. 2013-04-11 16:15:09 +02:00
twinaphex a49fe27d21 (GX) Make Wii/Gamecube gx_video no longer depend on MODE_MENU_DRAW 2013-04-11 16:10:09 +02:00
Themaister acd3b481be Let RGUI CGP be used across driver reinit. 2013-04-10 21:04:28 +02:00
twinaphex c52530d03e (RMenu) Stub Shader Manager menu in - now to fill it in 2013-04-10 11:20:28 +02:00
Themaister 37a276af9b Load RGUI CGP on startup. 2013-04-09 21:48:03 +02:00
Themaister d2f9eb300b Clarify error message. 2013-04-09 21:41:38 +02:00
Themaister a8f2317400 Can apply shaders in RGUI.
Kinda hoky, but basics seem to be down now.
2013-04-09 21:39:02 +02:00
Themaister fc353f0582 Pop menu stack correctly after picking shader. 2013-04-09 21:23:34 +02:00
Themaister 16b8bff6a7 Can browse for shader files.
Directory stack is not popped correctly however.
Pathnames are not correctly truncated in browser either. Looks kinda
ugly atm.
2013-04-09 21:01:43 +02:00
Themaister fdf7a443ad More work on shader manager.
Mostly missing filebrowser for shaders now.
2013-04-09 19:43:24 +02:00
twinaphex 99945f43a6 (RGUI) Fix RGUI 'Core' setting 2013-04-08 01:51:39 +02:00
twinaphex 035e9d2624 (RGUI) Fix RGUI actions 2013-04-07 23:43:07 +02:00
twinaphex c57b8f26a6 (RGUI) Fix 'Change Game' in RGUI 2013-04-07 23:39:52 +02:00
twinaphex 6f7b38221e (RGUI) Compile in Shader Manager as well for GLSL and HLSL 2013-04-07 23:24:24 +02:00
Themaister b62a2b602a More work on RGUI shader manager.
Still a long way to go, but shows most of the intended interface.
2013-04-07 16:45:05 +02:00
Themaister 651e088deb Start adding skeleton for shader manager. 2013-04-07 15:46:36 +02:00
Themaister a5722aef3a Fix RGUI rewind setting. 2013-04-07 15:15:16 +02:00
Themaister 4cdfcf30d5 Refactor set_rgui_texture.
More generic and avoids poking directly into RGUI state.
2013-04-07 14:07:45 +02:00
twinaphex 4102d1cfb8 Make sinc resampler the default and remove Hermite - audio
quality at high samplerates was too bad to be of any use
2013-04-07 03:41:06 +02:00
twinaphex 909122122d Take out obsolete console-style overscan options - just use
Resize Mode instead
2013-04-07 01:23:10 +02:00
Themaister cf92211254 Update overlay when in RGUI. 2013-04-04 23:10:38 +02:00
Themaister 7c3e4ef12d Fix unsigned bug in RGUI. 2013-04-04 22:27:16 +02:00
Themaister d7797f8497 Core options work in RGUI. 2013-04-04 22:08:23 +02:00
Themaister 435eec44f0 Start adding core options to RGUI.
Broken atm.
2013-04-04 21:48:09 +02:00
Themaister 262b867ae0 Update MSVC2010 build.
Add RGUI, add folder query for Windows, fix GL HW render bug.
2013-04-04 20:25:41 +02:00
twinaphex 896d5d66d6 (RGUI) Add 'Change Game' option to RGUI Settings 2013-04-04 04:56:04 +02:00
twinaphex 684197ee77 (RGUI) Sets and resets MODE_MENU_INGAME flag for whenever we go
in and out of Settings
2013-03-31 06:15:56 +02:00
twinaphex 241ed9286a (RGUI) Menu toggle now goes to 'Settings' screen by default when
already ingame - will make the 'home screen' configurable to either
filebrowser or settings menu later on
2013-03-31 06:04:32 +02:00
twinaphex 58a98e3043 (GX RGUI) Resolution additions for Wii - by request 2013-03-30 05:38:22 +01:00
twinaphex 6905a38476 (PC) Fix RGUI build
(RGUI) Swap Start and Select buttons - Start is more commonly
found on gamepads than Select - Start does 'settings screen switch'
now and Select does 'reset to default' setting
2013-03-24 06:45:35 +01:00
twinaphex 9a1cbdce85 (RGUI) Add 'Resume Game' option 2013-03-24 06:32:42 +01:00
twinaphex 0fa8c04984 Remove menu_settings.c 2013-03-23 19:34:38 +01:00
twinaphex 9058143953 Move create_menu_item_label to rmenu_xui.cpp 2013-03-23 18:11:03 +01:00
Squarepusher c9673dbae6 Merge pull request #162 from CatalystG/bb_rgui
(BlackBerry) Add initial in-game RGUI support.
2013-03-23 09:48:13 -07:00
twinaphex 6d8871c76c Combine menu_settings_set and menu_settings_set_default and
move to settings.c
2013-03-23 17:21:42 +01:00
CatalystG f6c2c2c57d (BlackBerry) Add initial in-game RGUI support. 2013-03-23 12:21:30 -04:00
twinaphex 8fb9ab16d4 (GX) Fix build 2013-03-22 17:49:37 +01:00
twinaphex 8abe9802b5 (RGUI) Replace as much snprintfs with strlcpy as possible
for safety reasons
2013-03-18 02:01:14 +01:00
Themaister aa24755956 Make initial RGUI directory configurable. 2013-03-17 21:39:28 +01:00
Themaister 374975da34 Move core selection to top on PC. 2013-03-17 21:23:28 +01:00
Themaister 94ece08f44 Core selection works on PC/RGUI. 2013-03-17 21:18:56 +01:00
Themaister e3c85b174c Can toggle rewind enable in runtime. 2013-03-16 14:28:34 +01:00
twinaphex 92fba644b7 (RGUI) Ditch GX naming convention for menu bind IDs 2013-03-16 14:20:11 +01:00
Themaister 7b716ac837 Fix unsecure snprintf. 2013-03-16 12:28:25 +01:00
Themaister 1aca911fe3 Fix file browser on PC. 2013-03-16 11:16:55 +01:00
Themaister 8f6f35b2d9 Poll overlay on PC in RGUI. 2013-03-16 11:06:03 +01:00
Themaister 8360dff3ca Fix RGUI input on PC, but ugly. 2013-03-16 11:01:47 +01:00
Themaister aa1275a22d Check explicitly for video_poke interface. 2013-03-16 10:47:01 +01:00
Themaister 12cc1c43d4 Can almost run RGUI on PC.
Input in menu is broken. Binds are set up wrongly for PC.
2013-03-16 10:35:22 +01:00
Themaister 15099f8e4f RGUI builds on PC. 2013-03-16 09:55:08 +01:00
twinaphex 0166ce4585 (RGUI) RGUI input code now no longer GEKKO-specific 2013-03-15 01:22:52 +01:00
twinaphex 375aa08e58 Remove rarch_conole_input - runtime button remapping should have
no more RARCH_CONSOLE dependencies
2013-03-14 21:55:10 +01:00
twinaphex fd05b5a25c rarch_input_set_keybind refactored away - input driver's set_keybinds
function now provides the functionality
2013-03-14 15:01:36 +01:00
twinaphex ede829c354 Refactor set_default_keybinds callback into set_keybinds - remove
set_analog_dpad_mapping and have it go through set_keybinds - expand
functionality of set_keybinds
2013-03-14 02:24:57 +01:00
twinaphex 4fa8d0f3c6 (Android) Rewritten input_autodetect- now implements set_default_keybinds 2013-03-13 23:17:33 +01:00
twinaphex ece717f2cc Rename set_default_keybind_lut to set_default_keybinds 2013-03-13 16:30:01 +01:00
twinaphex 4bd0999940 Remove rarch_input_set_default_keybinds - merge with function
pointer set_default_keybind_lut
2013-03-13 16:06:13 +01:00
twinaphex 713aa0ecbe (Input) Remove dpad_emulation_name_lut 2013-03-13 01:07:27 +01:00
twinaphex d9c3a99d0b Update some credits 2013-03-11 07:13:11 +01:00
twinaphex ce42e7fb65 Remove default_paths.salamander_file and make hardcoded constant
in config.def.h
2013-03-11 06:48:58 +01:00
twinaphex 4d062b869c (RGUI) Use fill_pathname_join for core switching 2013-03-11 06:41:22 +01:00
twinaphex 5730f6487d (RGUI) Use fill_pathname_join to get correct concatenated file paths 2013-03-11 06:23:14 +01:00
twinaphex 76482bcffe (RGUI) No longer check for '..' and '.' - filtered out by
dir_list_new now
2013-03-11 06:05:01 +01:00
twinaphex 660e7297e8 (RGUI) Clean up more ifdefs 2013-03-11 05:34:25 +01:00
twinaphex da48316d7f (RGUI) Use dir_list_sort and get rid of RGUI sorting 2013-03-11 05:22:05 +01:00
twinaphex 91d35e2e41 (RGUI) Cut down on ifdef party 2013-03-11 04:57:17 +01:00
twinaphex 2a1bfde771 (RGUI) Remove folder_cb callback 2013-03-11 04:21:40 +01:00
twinaphex 435b281ff6 (RGUI) Renamed folder_buf to selection_buf, renamed path_stack to menu_stack 2013-03-11 03:56:06 +01:00
twinaphex a7e651fe0c (RGUI) Rename rgui->directory_ptr to rgui->selection_ptr 2013-03-11 03:53:28 +01:00
twinaphex 8601102cdd (RGUI) Don't use path_buf anymore 2013-03-11 03:44:30 +01:00
twinaphex 05e306b599 Cleanups in RGUI file_list 2013-03-11 03:40:44 +01:00
twinaphex b348e3f390 Rename ptr member to more sensible name 'size' and kill rgui_list_size 2013-03-11 03:31:19 +01:00
twinaphex e06b125ab2 rgui_list_back and rgui_list_at renamed 2013-03-11 03:22:45 +01:00
twinaphex 50c2dd8e52 (RGUI) Replace RGUI_MENU_ITEM macros with rgui_list_push for clarity's sake 2013-03-11 02:51:33 +01:00
twinaphex 47b6eb262f Revert "(RGUI) Add some patches for _WIN32 - still broken path handling"
This reverts commit d17a43220f.
2013-03-11 02:08:09 +01:00
twinaphex 946bc52061 Revert "(RGUI) Add more WIN32 path handling fixes"
This reverts commit b942b76b3c.
2013-03-11 02:08:00 +01:00
twinaphex 039fc644d5 Revert "Menu toggle without delay timers (more testing might be needed -"
This reverts commit 54a6175a55.
2013-03-11 02:07:50 +01:00
twinaphex edf600e0c7 Revert "don't immediately exit if we leave the menu by means other than the menu button"
This reverts commit 7bd8de8dbd.
2013-03-11 02:07:38 +01:00
ToadKing 7bd8de8dbd don't immediately exit if we leave the menu by means other than the menu button 2013-03-10 20:28:01 -04:00
twinaphex 54a6175a55 Menu toggle without delay timers (more testing might be needed -
tested on PS3 RMenu and seemed to work well enough)
2013-03-11 01:12:19 +01:00
twinaphex cb2f2b706a (RGUI) Add drive mappings for PS3 2013-03-11 00:26:55 +01:00
twinaphex b942b76b3c (RGUI) Add more WIN32 path handling fixes 2013-03-11 00:15:53 +01:00
twinaphex d17a43220f (RGUI) Add some patches for _WIN32 - still broken path handling
in directory_cb
2013-03-10 23:58:38 +01:00
twinaphex e5ca995fac (RGUI) Add checks in case set_rgui_texture is not bound 2013-03-10 23:18:34 +01:00
ToadKing 6a60d459d0 HAVE_SCREENSHOTS define in RGUI 2013-03-10 17:54:46 -04:00
twinaphex 71e9dd3a6a (RGUI) Portable folder_cb code 2013-03-10 22:40:20 +01:00
twinaphex bffdd1a439 (RGUI) Fix warnings 2013-03-10 21:20:36 +01:00
ToadKing eb82bd2127 implement driver.current_msg
fix RGUI to no longer use driver.video_data casting
2013-03-10 16:02:10 -04:00
twinaphex adc7c665e2 (RGUI) use apply_state_changes from video_poke interface - could
cut down on device_ptr dependency if we implement viewport_info
for GX
2013-03-10 19:58:22 +01:00
Themaister 63d946c69f Add set_rgui_texture interface to video_poke. 2013-03-10 19:14:28 +01:00
twinaphex e741cc77c6 start/stop/restart ifdeffed for RARCH_CONSOLE instead of
HAVE_RMENU - transfer of control bypasses initialization of variables
in RGUI - issues fixed
2013-03-10 17:40:34 +01:00
twinaphex 96dd31fcf2 (RGUI Xbox 1) Down to 7 compiler errors 2013-03-10 16:49:37 +01:00
twinaphex 8d67705bc6 (Xbox 1) Build fix in rgui.c 2013-03-10 16:43:24 +01:00
twinaphex a750cbd7f5 (RGUI) Don't use rgui_file_type_t - use unsigned instead 2013-03-10 16:40:36 +01:00
twinaphex b54cf4cd87 (RGUI) Can't have VLAs for Xbox 1 / MSVC 2013-03-10 16:37:34 +01:00
twinaphex a8696713f6 (RGUI Android) Hardware filtering toggle works now 2013-03-10 04:12:38 +01:00
twinaphex 7f986357be (GX) Use video_poke interface for GX as well 2013-03-10 02:42:16 +01:00
twinaphex 0af20af5ec (RGUI) Use new video_poke interface 2013-03-10 02:26:51 +01:00
twinaphex f8f384d8b3 (RGUI) Enable all menu features for Android 2013-03-10 01:30:41 +01:00
twinaphex e983684359 (RGUI Android)Filebrowser ROM loading works after initial ROM
(one time - after that, can't return to RGUI anymore - not sure
why right now)
2013-03-10 00:43:25 +01:00
twinaphex 04c9b14b7e Remove S_DELAY macros 2013-03-09 22:21:53 +01:00
twinaphex 43d865cc5e Rename rmenu_settings to menu_settings 2013-03-09 22:19:25 +01:00
twinaphex b4fad2dab2 (RGUI) Get rid of rmenu_ namespace 2013-03-09 22:15:20 +01:00
twinaphex 544acdf8e1 (RGUI) folder_cb now the same for both GEKKO and non-GEKKO targets 2013-03-09 21:30:40 +01:00
twinaphex d6661cf714 (RGUI) Add DECLARE_DEVICE_PTR macro for D3D8/D3D9 2013-03-09 19:15:51 +01:00
twinaphex 66e7606b25 HAVE_RGUI and HAVE_RMENU are now mutually exclusive - no longer
have to be defined both for (say) the Android port
2013-03-09 17:42:19 +01:00
twinaphex e7f206be79 Revert "Move rmenu_settings.c to settings.c + add header file"
This reverts commit b827075d55.
2013-03-09 17:09:40 +01:00
twinaphex b827075d55 Move rmenu_settings.c to settings.c + add header file 2013-03-09 17:00:52 +01:00
twinaphex 5e53be4b25 Rename rmenu_iterate to menu_iterate 2013-03-09 16:22:11 +01:00
twinaphex 0b6e5a6388 Rename RARCH_RMENU_TOGGLE to RARCH_MENU_TOGGLE 2013-03-09 16:14:26 +01:00
twinaphex 18ba3ef3e5 Integrate rmenu_genric.c into rgui.c 2013-03-09 15:33:44 +01:00
twinaphex 34515fd7f5 (RARCH_CONSOLE) Integrate rarch-console_video into gfx_common 2013-03-09 03:20:59 +01:00
ToadKing 36c9a32436 compile fix 2013-03-06 14:58:53 -05:00
ToadKing 9b6b174812 filebrowser setting
to be used for CD switching, commented out for now
2013-03-06 12:42:58 -05:00
ToadKing 809ae0ab06 get messages working again on android 2013-03-06 12:19:56 -05:00
ToadKing fcf6d98fb0 don't pop menu stack if it's the last one 2013-03-05 19:28:20 -05:00
ToadKing a4b33a9a95 get touch navigation working
fix colors for GL
make seperate option list for non-consoles
2013-03-03 15:45:29 -05:00
ToadKing d28cb94717 start of RGUI port to Android
currently detects menu button to bring up RGUI, but GL does not draw it
yet and you cannot exit from the (invisible) RGUI menu yet
2013-02-27 20:20:29 -05:00
twinaphex d39bad7b59 (NGC) Undefine HAVE_LIBRETRO_MANAGEMENT for Gamecube 2013-02-14 21:24:54 +01:00
twinaphex c5c22c6243 (RGUI) build fix 2013-02-14 14:07:01 +01:00
twinaphex 9dcbfbba0f (NGC) Add Gamecube readme + dist script + fix build 2013-02-13 00:27:08 +01:00
twinaphex 3db9f488b0 (GX) Add resampler options to RGUI 2013-02-08 18:36:47 +01:00
twinaphex f2151483d7 (GX) Remove 640x576 VI width/height option - height too big for EFB 2013-02-06 09:54:22 +01:00
twinaphex 4ab00536e9 (GX)Add 640x576 to list - but guard against switching to it when
not using PAL mode
2013-02-05 18:54:23 +01:00
twinaphex e9d29d7138 (Wii) Add 304x224, 608x224, 576x224 resolutions 2013-02-02 08:12:42 +01:00
twinaphex b428d1b22f (Wii) Use control rate .005 instead of .006
(Wii) Add version number to RGUI, bottom-right
(Wii) More 'convenient' core switching
2013-02-02 07:01:55 +01:00
twinaphex 8a4efb6189 Refactor console_load_game 2013-01-22 01:12:02 +01:00
twinaphex 8efc01b321 (RARCH_CONSOLE) Use new unzip code and remove console-centric
stuff
2013-01-22 00:14:24 +01:00
twinaphex 83d01e6008 (GX) Add rewind option 2013-01-18 15:22:03 +01:00
twinaphex 0ed0295629 Revert "(GX) Declutter message queue code in RGUI"
This reverts commit 28b79e5872.
2013-01-14 03:55:01 +01:00
twinaphex 28b79e5872 (GX) Declutter message queue code in RGUI 2013-01-14 03:49:24 +01:00
ToadKing 9567db0ffe (GX) fix loading box not displaying 2013-01-13 15:26:28 -05:00
twinaphex bb94f518f2 (GX) Adds new unzip mode to Wii/Gamecube port as well 2013-01-13 08:11:13 +01:00
twinaphex ae9a1167b7 (RARCH_CONSOLE) Refactored sram_dir_enable / state_dir_enable setting -
also fixed a reentrant bug to do with set savestate dir/set sram dir
boolean variables in parse_input
2013-01-13 04:12:10 +01:00
twinaphex c1f5fc8890 Rename MODE_EMULATION define to MODE_GAME 2013-01-13 03:34:55 +01:00
twinaphex 04cacb5e30 Upgrade lifecycle_menu_state to 64bit variable lifecycle_mode_state 2013-01-12 03:13:03 +01:00
twinaphex ba51ff51f7 (RARCH_CONSOLE) Refactored zip_extract variable 2013-01-12 02:35:40 +01:00
twinaphex 81fecc88ea (RARCH_CONSOLE) Renamed console_rom_ext.c to rarch_zlib.c -
compiled it in for HAVE_ZLIB (for griffin) - moved rarch_console_load_game_wrap
to frontend_console.c and renamed it console_load_game
2013-01-11 22:46:14 +01:00
twinaphex cba3b80925 (RARCH_CONSOLE) Rename rarch_console_settings.c to rmenu_settings.c 2013-01-11 22:27:31 +01:00
twinaphex cc43b84ff2 (RARCH_CONSOLE) Refactor more state variables 2013-01-11 19:44:34 +01:00
twinaphex 67ab39e6be (RARCH_CONSOLE) Refactored external_launch 2013-01-11 08:15:23 +01:00
twinaphex ca3be92255 (RARCH_CONSOLE) Refactor msg_fps variable 2013-01-11 06:56:05 +01:00
twinaphex 28566bd3e1 (Wii) Add changes to Rmenu code 2013-01-11 04:36:40 +01:00
twinaphex d324b21949 (RARCH_CONSOLE) Remove flow control state functions in rarch_settings_change 2013-01-11 02:11:50 +01:00
twinaphex 7ebbafe8e1 (RARCH_CONSOLE) Don't need rarch_settings_change anymore for
exiting
2013-01-10 22:42:12 +01:00
twinaphex 6ad5d46781 (RARCH_CONSOLE) rmenu.mode is now set with bitmasked values so
as to allow more state management options
2013-01-10 08:46:46 +01:00
twinaphex a925f3ca9f (RARCH_CONSOLE) Rename and relocate all menu files 2013-01-09 17:50:12 +01:00