Commit Graph

148 Commits

Author SHA1 Message Date
meancoot 3fd2db88e8 (iOS) Fix issue where new config files would not be generated. (Every version since be3aa0a063 was broken...) 2013-03-05 20:04:56 -05:00
meancoot 735bbdd013 (iOS) Major refactoring and simplification of UI logic 2013-03-05 00:14:26 -05:00
meancoot 30209b3ca9 (iOS) In module's .info file consolodate suggested_extension and recommended_extensions into supported_extensions. It occured to me that all three sections would never be used at the same time. 2013-03-04 05:03:13 -05:00
meancoot 6d94f278d4 (iOS) Some style cleanups to the settings code. 2013-03-04 01:37:00 -05:00
meancoot e4596f20b9 (iOS) Allow a custom display name to specified in a libretro core's info file. 2013-03-04 01:21:45 -05:00
meancoot 9914dff82a (iOS) Handle general options on settings menu better 2013-03-04 01:14:26 -05:00
meancoot e058034a24 (iOS) Make pause button briefly visible when game starts (again), and give it an image background.
I took ps_next.png from the overlays dir and flipped it, 'cause I'm lazy.
2013-03-03 23:28:22 -05:00
meancoot bda93007bc ios: Small fixes 2013-03-03 21:38:44 -05:00
meancoot 3f1f548e9f ios: Add 'keycode.h' which defines names for USB hid key symbols; use it to remove magic numbers in keyboard code. 2013-03-03 20:11:17 -05:00
meancoot 89c3120d71 ios: Reorganize project files 2013-03-03 19:15:58 -05:00
meancoot 08e6634eef ios: Clean up input code; make wiimote remapping work. 2013-03-03 18:50:38 -05:00
meancoot 55a8333ac2 ios: Start to add wiimote remapping support. 2013-03-02 15:24:03 -05:00
meancoot 32e73b4913 ios: Add method for emulator cores to specify likely support level by inspecting file extensions. 2013-03-01 21:01:52 -05:00
meancoot efa0e6be31 ios: Rework RAModuleList so the name of the loaded game is displayed. 2013-03-01 19:08:43 -05:00
meancoot 1178d82b5c ios: Don't show the 'Stop Bluetooth' button unless BTStack is running. 2013-03-01 19:02:55 -05:00
meancoot b9dcfca071 ios: Add a Stop Bluetooth button to the navigation bar. 2013-02-28 20:15:10 -05:00
meancoot f73511baa0 ios: Update WiiMote code using newer features from BTstack. Probably some bugs, so I recommend sticking with the nobtstack builds for now. 2013-02-28 18:38:49 -05:00
meancoot bd088a3332 ios: Move core selection to after game selection. Click the disclosure button to access core settings. (A method to allow core suggestions will be added later) 2013-02-27 04:03:31 -05:00
meancoot b89208f7fb ios: Move wiimote connection widget into settings menu. 2013-02-27 00:45:28 -05:00
meancoot fd52e8c537 ios: Add a RetroArch-nobtstack target to the Xcode project, use to build a version that doesn't depend on BTStack. 2013-02-26 23:25:42 -05:00
meancoot c941caa2ec ios: First revision of WiiMote support (code borrowed from imame4all) 2013-02-26 23:14:27 -05:00
meancoot d2119b75b1 ios: Remove regex filtering of directories. Its use case doesn't really apply to mobile devices. 2013-02-25 20:52:54 -05:00
meancoot 2b07954fac ios: Add Reset, Save State, Load State and State slot selection to the pause menu. 2013-02-25 16:56:12 -05:00
meancoot 2f25044915 ios: More refactoring 2013-02-25 16:20:54 -05:00
meancoot 06659f6e0d ios: Refactoring pause menu 2013-02-25 15:58:47 -05:00
meancoot ee87110972 ios:
Refactor input code.
   Add first draft of pause menu.
2013-02-23 23:03:59 -05:00
meancoot c551a6424e ios: Refactoring 2013-02-23 14:52:52 -05:00
meancoot be3aa0a063 ios: Create an objective-c wrapper around config_file_t, use it to simplify code. 2013-02-21 22:16:18 -05:00
meancoot b52aff0b8f ios: Use [UIImage imageNamed:] to load file and directory icons. 2013-02-21 20:33:05 -05:00
meancoot 5a7cee4e6e ios:
Immediately hide the exit bar if the device is rotated (after rotation its size would be wrong.)
   Fix status bar not being visible when a new instance is started.
2013-02-21 20:21:46 -05:00
meancoot 70d0ab91b7 ios: Fix .rafilter files not being closed in certain situations. 2013-02-21 15:37:51 -05:00
meancoot 4a076f4717 ios: Keep status bar visible while in the browser. Add a couple of missing license headers. 2013-02-21 12:37:58 -05:00
meancoot 1212116dfb ios: Some cover view improvements:
Don't allocate new views when reusing a cell.
   If a file item doesn't have an attached image, its filename will be printed in the cell instead.
   Images maintain aspect ratio when scaled.
2013-02-21 01:30:28 -05:00
meancoot cae85b7401 ios: Have the list_directory use objects to cache properties about the items. Quite a bit faster too. 2013-02-20 23:33:23 -05:00
meancoot b36ead4bf8 ios: Disable cover-art views if UICollectionView is not available. 2013-02-20 20:10:44 -05:00
meancoot 1edd531544 ios: Add proper license header to all files. 2013-02-20 19:52:52 -05:00
meancoot 9ac77f65d1 ios: Refactor browser code some. 2013-02-20 19:45:51 -05:00
meancoot 192f7d56d7 ios: If a .rafilter file has a single filter it is applied automatically. 2013-02-19 20:33:36 -05:00
meancoot b8f0c35833 ios: Add coverart support (iOS 6+ only). 2013-02-19 20:14:25 -05:00
meancoot 2daa926cc1 ios: Allow directories to be filtered by regex stored in a '.rafilter' file in the directory. 2013-02-18 19:09:35 -05:00
meancoot deb84a8463 ios: Clean up Xcode project 2013-02-18 14:59:43 -05:00
meancoot 6f495c5fcd ios: Make settings per module. 2013-02-18 11:57:24 -05:00
meancoot 6fc02c95d3 ios: Make it so the triple tap to exit button doesn't actuall prevent triple tapping. 2013-02-17 20:28:00 -05:00
meancoot c14b45f957 ios: Add a detail view that can load and display core info from a configuration file. 2013-02-17 19:35:43 -05:00
meancoot 473e3c34eb ios: Add (ugly) overlay bar for a few seconds to indicate how to triple-tap close a game. 2013-02-16 19:51:55 -05:00
meancoot 67336b690a ios: Fix empty RAGameView may be displayed when restoring from suspend without a game loaded. 2013-02-15 18:51:46 -05:00
meancoot 994aa01fcb ios: Remove QuartzCore timer and return to manually calling CFRunLoopRunInMode. 2013-02-14 22:09:18 -05:00
meancoot 6a77d72966 ios: Hopefully fix the crash when suspended for real this time. Make many things worse, but will fix them from the working state. 2013-02-14 21:35:24 -05:00
meancoot 566f8ace45 ios: When in Rome. 2013-02-13 18:18:55 -05:00
meancoot a4dd4e4463 ios: Some view management cleanup 2013-02-13 17:50:21 -05:00
meancoot 1fbe66cad0 ios: Lifecycle fixes:
Fix crash when pressing home button.
   Add a hack to allow exiting the running game by triple-tapping on the top center of the screen. (Less than 10% from the top, and within the middle 20%)
2013-02-13 16:26:12 -05:00
meancoot 625c2c6d48 ios: Clean up settings code some; move input settings into sub-pages. 2013-02-13 15:46:56 -05:00
meancoot 0d99d9fbf8 ios: Start to fix lifecycle management. The home button no longer closes the running game, pressing the exit key returns you to the loader. 2013-02-13 13:22:47 -05:00
meancoot 1ebc0ab81a ios: Add bt keyboard mapping settings for player 1. 2013-02-12 17:26:32 -05:00
meancoot c46de51fc3 ios: Add working setting items for key binding; split settings_list.m up. 2013-02-12 17:16:34 -05:00
meancoot e3447803a4 ios: Start adding bluetooth keyboard remapping support. 2013-02-12 16:12:26 -05:00
meancoot cf78e13e6e ios: Add -DHAVE_FBO to release builds; doesn't fix shaders on device though. 2013-02-11 20:56:26 -05:00
meancoot 634f4dd543 ios: Patch coreaudio.c and use it instead of OpenAL. 2013-02-11 18:45:45 -05:00
meancoot 8e709702b0 ios: Fixup for changes to audio resampler. 2013-02-11 17:15:56 -05:00
meancoot 546058c704 ios: Enable the keyboard hack, and map some default keys to it. 2013-02-11 06:12:16 -05:00
meancoot 540788caf9 ios: Add, but leave disabled, hack for getting key press/release events from a bluetooth keyboard. 2013-02-10 19:32:22 -05:00
meancoot 3127b4a172 ios: Fill out the BUILDING instructions more. 2013-02-10 15:58:29 -05:00
meancoot 31a3611fa0 ios: Consolidate generation of the config file path.
Add the system directory whenever writing the config file.
     Refresh the config file before loaded a game.
2013-02-10 15:24:35 -05:00
meancoot c989256d43 ios: Include overlays in built app bundles.
Fix crash if the RetroArch.app/modules directory is missing or has no .dylib files inside.
2013-02-10 15:11:21 -05:00
meancoot 12b079dd61 ios: Add icon. (I copied the android xhdpi icon and scaled it to the needed sizes, it's ugly but better than a blank square.) 2013-02-10 13:08:29 -05:00
meancoot be6b99b69a ios: Add a shader option on the settings page (put them in shaders directory just inside RetroArch.app)
Add a 'None' option to both the shader and overlay settings sub pages to allow them to be disabled.
2013-02-10 12:11:37 -05:00
meancoot 64673845dd ios: File browser now tries to root itself at '/var/mobile/RetroArchGames' and '/var/mobile' before settling on '/'. 2013-02-10 07:22:03 -05:00
meancoot 4a8831cbdd ios: Make the boolean switches in the settings screen work. 2013-02-10 06:39:47 -05:00
meancoot 98990ce330 ios: Remove reference to UI views once game has started. 2013-02-10 05:49:05 -05:00
meancoot a136789ff5 ios: Settings values are now loaded from the existing config file. 2013-02-10 05:46:30 -05:00
meancoot 72543d1310 ios: Add support for enumeration and file based settings. 2013-02-09 21:24:09 -05:00
meancoot 582ba2ccd5 ios: First draft of settings menu. 2013-02-09 18:47:44 -05:00
meancoot 73fc504546 ios: File browser cleanup. 2013-02-09 13:49:04 -05:00
meancoot 7cbfae88c1 ios: Add ios/BUILDING to describe the simplest way to get libretro cores building for iOS devices. 2013-02-09 13:22:31 -05:00
meancoot 2d04aefe5f ios: Clean up directory listing code. 2013-02-09 12:22:53 -05:00
meancoot 4d9233b02a ios: Made things more simple. 2013-02-08 23:58:22 -05:00
meancoot 291220aa54 ios: File browser tweaks.
The title is now just the last component of the path.
     The custom back button text is removed.
     A settings button is added to the right of the navigation bar.
2013-02-08 22:20:00 -05:00
meancoot de05d7d7fb ios: Add a hack to skip frames when video non-block is used, this allows the fast forward function to be used. 2013-02-08 20:35:19 -05:00
meancoot b4814a96f2 ios: Add a system directory '/var/mobile/Library/RetroArch'
All save games are store there. It is also searched for a retroarch.cfg file.
     If you want to run in the simulator you will need to create and give yourself access to this directory manually.
2013-02-08 19:42:41 -05:00
meancoot 0e29ad3af2 ios: Some source cleanup and small header merging. 2013-02-08 17:12:21 -05:00
meancoot 83f0a9ec38 ios: Add a module selector. 2013-02-08 17:03:19 -05:00
meancoot 23a3fe63bf ios: Apply a small patch to gfx/gl.c to allow HAVE_FBO to work. 2013-02-08 15:50:55 -05:00
meancoot 7b3ebc3078 ios: Use a UINavigationController to manage file browser history. 2013-02-08 15:43:19 -05:00
meancoot 1a236f4a67 ios: Fix a couple of warnings 2013-02-07 19:07:50 -05:00
meancoot 33d57ee3a0 ios: Don't use performSelector to schedule every frame, the rarch_iterate method runs the UI loop internally; Split dirent_list code out of dirlist.m. 2013-02-07 19:05:39 -05:00
meancoot 80c0d35f58 ios: Fix symlinks in the file browser; remove the top entry of the path instead of appending '..' when going back a directory. 2013-02-07 16:53:17 -05:00
meancoot 5f5be7c4dc ios: Multi-touch support 2013-02-07 16:11:17 -05:00
meancoot cb484546b2 ios: Spruce up browser with sorting and icons. (The icons are just borrowed from android for now). 2013-02-07 14:45:30 -05:00
meancoot 7a44d9bcba ios: As a hack, force app to terminate when entering background. 2013-02-07 13:43:42 -05:00
meancoot 16759620b5 ios: Some cleanup and simplifications 2013-02-07 12:38:30 -05:00
meancoot 5d0828d009 ios: Now starts with a directory browser to let you choose the game you wan't to play. 2013-02-07 12:05:46 -05:00
meancoot ec51c819a3 ios: Change ioseagl_ctx to a C file that uses external functions to interact with obj-c. 2013-02-07 08:58:36 -05:00
meancoot 8315a05f5f ios: Add incomplete code for basic directory list. 2013-02-07 08:47:35 -05:00
meancoot 7b9490db48 ios: Fix size on retina screens; 'improve' life cycle management. 2013-02-06 20:48:32 -05:00
meancoot 7e4e028fc8 ios: Add a simple input driver draft; tracks only one touch for now. 2013-02-06 18:23:11 -05:00
meancoot 1d727e50e7 ios: Will load a file named 'overlay.cfg' stored in the bundles root directory. 2013-02-06 13:10:07 -05:00
meancoot 6ab845b795 ios: Use dynamic loading; add clean up after rarch_main_iterate. 2013-02-06 11:35:46 -05:00
meancoot a37a19e40d First revision of iOS port. Only tested on simulator thus far. 2013-02-06 10:14:05 -05:00