170 Commits

Author SHA1 Message Date
twinaphex
84f80dc2c1 (RMenu/RGUI) Create menu_common to tie RMenu/RGUI more closely together 2013-04-17 23:31:49 +02:00
twinaphex
161dd5741f (RGUI/RMenu) Standardize somewhat 2013-04-17 21:11:13 +02:00
Themaister
a0f7a184fd Avoid potential segfaults if files are deleted.
Potentially, on a refresh, selection_ptr could be out of range
if files have been removed.
2013-04-16 12:32:03 +02:00
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