Commit Graph

116 Commits

Author SHA1 Message Date
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