Commit Graph

2656 Commits

Author SHA1 Message Date
Timo Strunk 193f416f8f Zip UI cleanup before pull request 2014-09-21 11:03:32 +02:00
twinaphex 430e0f1911 Reimplement rarch_main_iterate - menu iteration frame now gets
called from here too. Do away with the hoky 'MENU_GAME' state
as well.
2014-09-21 09:18:26 +02:00
twinaphex ff9a16d407 Refactor main entry iteration function 2014-09-21 08:05:35 +02:00
twinaphex bdf9df6c2e Clean up more code in frontend.c 2014-09-21 07:39:17 +02:00
twinaphex 29aed58e4e Refactor MODE_LOAD_GAME 2014-09-21 06:50:10 +02:00
twinaphex 7056c9ca39 Refactor MENU_CLEAR_INPUT 2014-09-21 06:41:47 +02:00
twinaphex 9dc35b056f Refactor MODE_MENU_PREINIT code 2014-09-21 06:33:49 +02:00
twinaphex 9e362a4f35 Revert "Add stub functions for get_video_driver in frontends"
This reverts commit 98eaaf8f5f.
2014-09-20 23:35:55 +02:00
twinaphex 98eaaf8f5f Add stub functions for get_video_driver in frontends 2014-09-20 23:25:46 +02:00
Timo Strunk adfa00e193 Removed MENU_ACTION_Y, small bugfix with selections in zip select 2014-09-20 20:42:21 +02:00
Timo Strunk 3575f353bf Choosing whether to open or load a zip file in detect core should work now 2014-09-20 20:07:26 +02:00
Timo Strunk 864a5cdc4f Always interpret files as carchives in case of detect_core_list to allow browsing them. 2014-09-20 20:06:52 +02:00
Timo Strunk 97ea43994e Zipfiles open or run half finished 2014-09-20 19:10:05 +02:00
Timo Strunk 9c9543e7eb Added toggle button to open zip files in load content and detect core 2014-09-19 20:31:53 +02:00
Timo Strunk 7bc369642d Added generic message buffer and open_compressed flag to menu_driver 2014-09-19 20:31:18 +02:00
Timo Strunk 3672b4ba40 Added menu button Y 2014-09-19 20:28:30 +02:00
Jean-André Santoni c172169a9e (Lakka) Move tweening related functions in an external lib
so they can be used from another menu driver. Also add more tweening functions.
2014-09-19 13:36:18 +02:00
Jean-André Santoni 9bbd0b9825 (Lakka) Make settings values responsives 2014-09-19 11:31:06 +02:00
twinaphex f16a065cdd Fixes 'block hotkey enable' 2014-09-18 04:04:33 +02:00
twinaphex 4c4ae11ab6 Optimizations to input handling in rarch_main_iterate - pass
'trigger' state around
2014-09-17 20:15:56 +02:00
twinaphex 82806dcd85 Hide away last BIND_PRESSED invocations with check_quit_key_func 2014-09-17 17:48:41 +02:00
twinaphex 3892c8326d Use macro functions to hide away some of the ugliness 2014-09-17 07:38:49 +02:00
twinaphex 92938fe45f Optimizations - prevent static bools everywhere in check_* functions
- input_keys_pressed_func takes a pointer and sets it to the last
input state. We then pass this around functions and use it where
necessary
2014-09-17 06:55:03 +02:00
twinaphex d8d9b35a57 (menu_driver.h) Fix relative paths 2014-09-17 00:36:31 +02:00
twinaphex 310438f15b Refactor away input_key_pressed_func 2014-09-17 00:29:47 +02:00
Higor Eurípedes 25b09cdc78 Fix typedef redefinition 2014-09-16 18:01:24 -03:00
twinaphex 7a66467161 Create macro BIND_PRESSED - wrapper around BIT64_GET 2014-09-16 18:08:44 +02:00
twinaphex a5e367d2f0 More of aforementioend 2014-09-16 09:48:47 +02:00
twinaphex d363bdf24e Take out frame_buf_show in menu_driver.h 2014-09-16 06:09:23 +02:00
twinaphex 5188b3cc56 (Menu) Don't need menu_type_is anymore in menu display drivers 2014-09-16 04:21:31 +02:00
twinaphex b857890d1e (Lakka) Fixes 2014-09-16 01:36:28 +02:00
twinaphex 272e4d41a1 Don't rely on retro_time_t typedef for menu_driver API 2014-09-16 01:29:33 +02:00
twinaphex fffed52892 Silence warning 'variable is used before its value is set' 2014-09-16 01:09:10 +02:00
twinaphex a09e04f679 Split up driver_menu.h into three separate header files -
for menu display API, menu backend API, and menu driver general API
2014-09-16 00:52:07 +02:00
Twinaphex 18e20b0975 Merge pull request #1023 from heuripedes/frontend
(frontend.c) Fix include
2014-09-16 00:27:59 +02:00
Jean-André Santoni 2836d19052 (Lakka) Display a black background if no png background supplied 2014-09-16 00:18:14 +02:00
Higor Eurípedes e15c683b44 (frontend.c) Fix include 2014-09-15 17:48:11 -03:00
twinaphex 46055eb47b (GLUI) Silence warnings 2014-09-15 22:29:30 +02:00
Twinaphex 994c2d6db5 Merge pull request #1022 from heuripedes/frontend-drivers
(frontend) Add support for frontend specific video drivers
2014-09-15 22:12:39 +02:00
twinaphex bbcf2e5eda (Menu) Implement stub functions for shader manager functions in menu_common_backend.c 2014-09-15 21:54:03 +02:00
Higor Eurípedes b6dd4df368 (frontend) Add support for frontend specific video drivers 2014-09-15 16:48:55 -03:00
twinaphex 5ad098cdf9 (GLUI) Turn box_message into char variable of fixed size 2014-09-15 20:02:50 +02:00
Twinaphex f89690a252 (GLUI) Silence warning 2014-09-15 18:26:56 +02:00
Higor Eurípedes 83b6aeb6cc Fix C++ build linkage 2014-09-15 13:14:19 -03:00
twinaphex 9e132a0c24 (Lakka) build fix 2014-09-15 17:32:05 +02:00
Twinaphex e1ddd908fe Merge pull request #1020 from lioncash/leak
Fix a few memory leaks
2014-09-15 17:31:24 +02:00
Lioncash d1f908b8f8 Fix a few memory leaks
Also guard against calloc failure in lakka_init.
2014-09-15 11:29:30 -04:00
Jean-André Santoni 353f7d2c1e (GLUI) Display message boxes 2014-09-15 12:36:52 +02:00
twinaphex a71b42e4b3 (RARCH_CONSOLE/RARCH_MOBILE) Add default playlist dir for consoles/mobile 2014-09-15 08:03:58 +02:00
twinaphex 756356870b (Menu) Refactor more code to menu_action.c 2014-09-15 07:52:08 +02:00
twinaphex 35cc778bb3 (Lakka) Implement setting cmd_trigger 2014-09-15 07:42:35 +02:00
twinaphex e53c7d590f (Lakka) Fix menu toggle 2014-09-15 07:38:28 +02:00
twinaphex 3c05bc4b52 (Menu) Disable going back to main menu when pressing menu toggle button
(will later be exposed again as a toggleable option)
2014-09-15 07:23:50 +02:00
twinaphex 48a44e8e64 (Menu) Take out RARCH_MENU_TOGGLE for old_input_state - no longer
needed
2014-09-15 07:08:17 +02:00
twinaphex 89676e8424 Add Playlist Directory path setting 2014-09-15 04:12:41 +02:00
Twinaphex 416307fcd3 (OSX) Add GLUI to OSX solution 2014-09-15 01:35:23 +02:00
twinaphex 696b1cdef8 (Menu) Refator common code into calls to menu_action_setting_apply 2014-09-15 00:34:00 +02:00
twinaphex 899e69f921 (Settings/menu) Add WITH_CMD to settings_data.c 2014-09-14 23:44:32 +02:00
Twinaphex af36280c79 (Menu) Buildfix for prototypes 2014-09-14 22:41:44 +02:00
twinaphex 3d689bd40f (Menu) Add SD_FLAG_EXIT to signal to the menu that we want to cleanly
exit out of the menu
2014-09-14 22:39:33 +02:00
twinaphex d6659cd4d6 (Menu) Use return value from backend_iterate 2014-09-14 21:56:29 +02:00
twinaphex eff9bf17a8 Reimplement menu toggle in menu - now remembers last menu
(Disp) Menu display drivers shouldn't influence control flow
of menu, so take this out and move menu toggle control flow
to menu_backend driver
instead
2014-09-14 18:07:00 +02:00
twinaphex aae73438de Simplify frontend.c entry functions 2014-09-14 16:36:15 +02:00
twinaphex 2284395c4d Get rid of frontend_loop 2014-09-14 16:29:09 +02:00
Twinaphex cb1eea1ec2 Add logging to main_entry_decide 2014-09-14 16:08:28 +02:00
twinaphex fe49a0fe40 Some control flow changes 2014-09-14 15:32:32 +02:00
twinaphex e9c865f56a Create main_entry_decide to delegate decisionmaking process of
what to bind frontend_loop to
2014-09-14 15:23:40 +02:00
twinaphex 2d64c7aa8f (Menu) Uniquely name png_texture_load in lakka and glui 2014-09-14 15:17:03 +02:00
Twinaphex da977ed676 Merge pull request #1010 from lakkatv/lakka
(GLUI) Display a background image if found
2014-09-14 13:51:37 +02:00
Jean-André Santoni 54f2953608 (GLUI) Display a background image if found 2014-09-14 10:32:35 +02:00
twinaphex 295434151b (D3D) Change dir to gfx/d3d 2014-09-14 06:45:47 +02:00
twinaphex 259d75fa6e (GLUI) Fix Savestate load/save and resume 2014-09-14 05:57:53 +02:00
Lioncash 3912b3fee4 retroarch_logger: Append the calling function name to the log message.
Makes tracing back a little easier.
2014-09-13 20:02:53 -04:00
Jean-André Santoni 07e57aa1f9 (GLUI) Fixes black overlay and some positionning 2014-09-13 22:45:38 +02:00
Twinaphex 4b9f85fe37 (GLUI) Refactor code 2014-09-13 06:25:41 +02:00
Jean-André Santoni 8172a0ff59 (GLUI) Fix missing quit entry 2014-09-13 04:28:01 +02:00
Jean-André Santoni 4920af94f5 (GLUI) Adapt to font size 2014-09-13 04:21:48 +02:00
Jean-André Santoni 42e15bea37 (GLUI) Use two column layout 2014-09-13 03:58:26 +02:00
Jean-André Santoni a67a9f0a61 (GLUI) Use two column layout 2014-09-13 03:56:59 +02:00
Jean-André Santoni 0839b1f41c (GLUI) Allow use of non monospaced fonts 2014-09-13 03:34:59 +02:00
Higor Eurípedes 91fea130eb (Lakka) Shut valgrind up 2014-09-12 17:26:26 -03:00
Higor Eurípedes 85cef84bd4 (driver.c) Add driver_video_resolve()
This function returns the real video driver data when threaded video is
in use.
2014-09-12 17:26:26 -03:00
Higor Eurípedes d6de5773b5 (Lakka) Make some globals static 2014-09-12 17:26:26 -03:00
twinaphex 01c9d033ae (GX) Build fixes 2014-09-12 22:12:41 +02:00
Twinaphex 49052ee6a8 Merge pull request #986 from timostrunk/zip_support
Zip support and Fixes
2014-09-12 21:36:36 +02:00
Higor Eurípedes 48f4a96605 (Lakka) Stop initialization if gl is not active 2014-09-12 14:42:59 -03:00
twinaphex b65e16254c (D3D) Go through wrapper for SetViewport 2014-09-12 18:01:32 +02:00
Timo Strunk 6386bfdb14 Menu now loads file from carchive correctly in the cases of deferred core and the standard case (like MENU_FILE_PLAIN) 2014-09-12 17:52:16 +02:00
Timo Strunk 8d3e89cc7e Use pathname_short representation in menu_entries.c to allow for correct viewing of compressed paths in history list 2014-09-12 17:49:31 +02:00
Timo Strunk 11b63cbe3d Merge remote-tracking branch 'upstream/master' into zip_support 2014-09-12 17:06:41 +02:00
twinaphex a4e6af8234 (GLUI) Take out '>' for selected item 2014-09-12 07:19:09 +02:00
Twinaphex 0e2282185f Merge pull request #983 from lioncash/derefs
Fix some more possible null pointer dereferences
2014-09-12 06:49:07 +02:00
twinaphex 85f0db5bad (Menu) Create menu_action_setting_driver and have Lakka and RGUI both
use it
2014-09-12 06:46:43 +02:00
Lioncash be12253243 Fix some more possible null pointer dereferences 2014-09-12 00:30:53 -04:00
twinaphex 33750bc046 (Lakka) Indent/style nits 2014-09-12 06:29:39 +02:00
twinaphex f5e523a8c3 Refactor/rename menu_action.c functions 2014-09-12 06:04:02 +02:00
twinaphex 050a6b9571 (Lakka) Only perform menu actions if MENU_ACTION_LEFT/MENU_ACTION_RIGHT/
MENU_ACTION_START/MENU_ACTION_OK is pressed
2014-09-12 05:57:27 +02:00
twinaphex 4a14658278 (Menu) Split up reusable menu_action code to menu_action.c 2014-09-12 05:54:58 +02:00
Twinaphex 81073c96ef Merge pull request #982 from lioncash/deref
Squash some more potential null pointer dereferences
2014-09-12 05:26:50 +02:00
Lioncash 64272ef327 Squash some more potential null pointer dereferences 2014-09-11 23:04:02 -04:00