Commit Graph

343 Commits

Author SHA1 Message Date
Riley Testut
9648aec3b5 Fixes issue where importing zipped games from Safari failed
Failed because app attempted to extract the game into the containing folder, which in this case was read-only. Fixed by extracting to temporary directory instead.
2016-12-26 15:52:58 -06:00
Riley Testut
7b43b48b51 Adds support for importing zip archives containing games 2016-12-25 02:26:18 -06:00
Riley Testut
062abf6dbe Adds ability to import games & controller skins from other apps 2016-12-22 16:59:29 -06:00
Riley Testut
03ddd7e7a6 Updates GameCollectionViewController to display 3 games per row on 5.5” screens 2016-12-21 19:42:06 -06:00
Riley Testut
a8f2d49497 Updates build number for first beta 2016-12-20 18:25:47 -06:00
Riley Testut
93119b4714 Reorganizes Xcode project structure
Merges “Common” folder into main Delta target folder
2016-12-20 18:24:43 -06:00
Riley Testut
a9d4581631 Fixes issue where controllers were not registered with EmulatorCore 2016-12-20 13:14:47 -06:00
Riley Testut
b686f2aa5d Fixes issue where loading save states could result in invalid cached inputs 2016-12-20 13:14:17 -06:00
Riley Testut
725c7a9691 Updates default translucentControllerSkinOpacity value to 0.7 2016-12-12 19:46:12 -08:00
Riley Testut
3311c04a07 Remembers previous game collection when returning to GamesViewController 2016-12-11 18:31:58 -08:00
Riley Testut
64f1b66431 Updates Delta purple color
Lighter for better legibility against dark backgrounds
2016-12-11 14:40:51 -08:00
Riley Testut
fca8265501 Adds Cheat Codes + Sustain Buttons pause item icons 2016-12-11 14:35:34 -08:00
Riley Testut
ebf59450cd Fixes issue where touches near left edge of screen were delayed 2016-11-29 21:11:09 -08:00
Riley Testut
93b9e979cf Moves vibration logic to DeltaCore; adds taptic engine support 2016-11-28 17:09:45 -08:00
Riley Testut
89da120b46 Adds taptic feedback when adjusting controller skin opacity 2016-11-28 01:31:12 -06:00
Riley Testut
edcf10df0f Updates Splash Screen 2016-11-25 01:09:02 -06:00
Riley Testut
e74725420a Adds ability to adjust translucent controller skin opacity 2016-11-23 16:27:10 -06:00
Riley Testut
0be355e01c Updates Delta purple color 2016-11-22 20:01:17 -08:00
Riley Testut
d3b4f25f20 Replaces light theme with “opaque” dark theme
Previous dark theme has been renamed “translucent”
2016-11-22 19:57:39 -08:00
Riley Testut
103d5cecf1 Removes unnecessary image network request when sizing GameCollectionViewController cells 2016-11-22 19:50:13 -08:00
Riley Testut
9d3a97377d Displays game artwork
Fetches artwork URL from OpenVG database
2016-11-18 17:31:25 -08:00
Riley Testut
8cd3577cdc Adds ability to select and use custom controller skins 2016-11-16 20:48:05 -08:00
Riley Testut
2b0fe3ef20 Fixes Xcode 8.1 warnings 2016-11-09 15:01:09 -08:00
Riley Testut
7664c72f12 Adds ControllerSkinsViewController
Displays all controller skins that support provided Traits
2016-11-07 14:32:12 -08:00
Riley Testut
dc9cb367de Adds supportConfigurations property to ControllerSkin model
Allows database querying of controller skins based on configurations they support
2016-11-07 14:29:18 -08:00
Riley Testut
023fe13c6a Adds ability to import ControllerSkin’s 2016-10-19 19:17:46 -07:00
Riley Testut
a7037ee45a Updates Info.plist UTI declarations 2016-10-16 12:36:01 -07:00
Riley Testut
a94fac95de Adds ControllerSkin model object 2016-10-16 12:35:05 -07:00
Riley Testut
578cf5eda2 Integrates mogenerator to automatically generate Core Data subclasses 2016-10-14 15:13:04 -07:00
Riley Testut
ce41b83c92 Adds basic implementation of GameTypeControllerSkinsViewController 2016-10-03 17:21:27 -07:00
Riley Testut
b80dbd4e26 Adds support for dark theme when presenting SaveStatesViewController via 3D Touch/Long Press 2016-09-30 19:09:08 -07:00
Riley Testut
f06fb72908 Adds Save States action when previewing/long pressing games 2016-09-27 15:35:55 -07:00
Riley Testut
12ca37e0f4 Manually fixes errors Swift 3 migrator missed
Thank God I won’t have to ever do this again…hopefully…
2016-09-20 23:38:58 -07:00
Riley Testut
53bf0313b4 Updates syntax to Swift 3 GM via Xcode migrator 2016-09-20 00:07:15 -07:00
Riley Testut
89905618e4 Adds Delete action when previewing/long pressing games 2016-08-29 13:19:47 -07:00
Riley Testut
75903552f9 Adds back ability to Peek & Pop games via 3D Touch 2016-08-13 02:51:20 -05:00
Riley Testut
bc9203fb44 Presents confirmation dialog asking user what to do if resuming paused game from GamesViewController 2016-08-12 16:25:31 -05:00
Riley Testut
21c5d13ba2 Refactors GamesViewController & GameCollectionViewController (previously GamesCollectionViewController) 2016-08-12 15:28:54 -05:00
Riley Testut
9e66df0ace Fixes crash when backgrounding app before starting a game 2016-08-12 13:12:48 -05:00
Riley Testut
3d16fed35a Refactors previewing GameViewController logic into new PreviewGameViewController 2016-08-12 01:17:01 -05:00
Riley Testut
b017be6368 Fixes issue where creating auto save state would fail when backgrounded with SaveStatesViewController visible 2016-08-11 16:40:47 -05:00
Riley Testut
30eec7bc2f Uses refactored EmulatorCore.saveSaveState(to:) method 2016-08-11 14:40:49 -05:00
Riley Testut
5a39263cb8 Uses renamed DeltaCore AudioManager/VideoManager.isEnabled property 2016-08-11 14:36:23 -05:00
Riley Testut
d0ada56b92 Removes UIPreviewInteraction usage in SaveStatesViewController 2016-08-10 23:44:26 -05:00
Riley Testut
e2f229fc36 Adds support for creating and updating Auto Save States 2016-08-10 23:31:12 -05:00
Riley Testut
856c412a78 Changes guard statement to if statement 2016-08-10 23:23:14 -05:00
Riley Testut
694adb6c6c Fixes various strong reference cycle leaks 2016-08-10 23:10:46 -05:00
Riley Testut
da7705aaff Refactors DatabaseManager into NSPersistentStore subclass 2016-08-09 19:52:32 -05:00
Riley Testut
0d562da309 Adds //MARK: comments to GamesViewController, rearranges some methods 2016-08-09 11:45:35 -05:00
Riley Testut
26a6a3c1b3 Adds custom transition when launching games + returning to Main Menu
The entire architecture had to change so GameViewController presented GamesViewController, instead of vice versa which was previously the case
2016-08-09 01:18:42 -05:00
Riley Testut
44b36d7ace Updates CheatsViewController to use CheatTableViewCell for vibrancy effects 2016-08-09 00:26:34 -05:00
Riley Testut
d38b6bb981 Refactors GridCollectionViewCell to handle vibrancy on a per-cell-subview basis
Allows certain subviews to be vibrant while others aren’t
2016-08-08 19:06:08 -05:00
Riley Testut
89c584e4c4 Fixes minor GameViewController.sustainButtonsContentView layout issues
• Optimizes layout for 4” screens
• Now appears beneath controller skin in landscape (as it should)
2016-08-08 15:49:17 -05:00
Riley Testut
7c8405d4e7 Fixes remaining Beta 4 syntax issues manually that the migrator missed 2016-08-06 23:18:55 -05:00
Riley Testut
95a2efdc01 Updates syntax to Swift 3 Beta 4 via Xcode migrator 2016-08-06 22:57:18 -05:00
Riley Testut
ddb402537e Adds back support for Sustain Buttons 2016-07-27 14:58:36 -05:00
Riley Testut
973c0b586c Updates GameViewController //MARK: comments for better displaying in Xcode 2016-07-27 14:57:31 -05:00
Riley Testut
c6d1f793f0 Adds back support for Fast Forwarding 2016-07-27 13:24:38 -05:00
Riley Testut
ae1d3f61dd Updates syntax to Swift 3 Beta 2 via Xcode migrator 2016-07-27 12:57:23 -05:00
Riley Testut
a5c50b41bc Adds back support for presenting CheatsViewController from Pause Menu 2016-07-27 04:08:08 -05:00
Riley Testut
5a403d053b Adds back support for presenting SaveStatesViewController from Pause Menu 2016-07-22 14:39:13 -05:00
Riley Testut
8450149184 Adds basic implementation + support for rewritten PauseViewController 2016-07-20 22:40:59 -05:00
Riley Testut
60bc9dcfbc Adds basic implementation of GameViewController, replacement for EmulationViewController 2016-07-17 16:41:57 -05:00
Riley Testut
e827faadad Improves SaveStatesViewController 3D Touch peeking performance
Pre-initializes GameViewController to ensure peek callback is fast
2016-07-17 16:21:48 -05:00
Riley Testut
d054981eaa Registers SNES + GBA cores on app launch 2016-07-14 23:23:26 -05:00
Riley Testut
a8ca3ef547 Brings back previously defined NSManagedObject.fetchRequest() as .rst_fetchRequest() 2016-07-14 23:23:26 -05:00
Riley Testut
279092ccc0 Fixes unused result warnings 2016-07-14 23:23:20 -05:00
Riley Testut
1d7ce4b6e6 Updates DeltaCore API usage to match massive DeltaCore refactoring 2016-07-14 22:59:39 -05:00
Riley Testut
8b97d1badc Manually fixes errors Swift 3 migrator missed
I apologize for any “try!”s that may still remain…
2016-07-14 22:59:29 -05:00
Riley Testut
9ce16a2a9d Updates syntax to Swift 3 beta 2 via Xcode migrator 2016-07-13 01:28:38 -05:00
Riley Testut
df5f409e74 Uses EmulatorCore.preferredRenderingSize to determine save states aspect ratio 2016-06-10 16:34:09 -05:00
Riley Testut
2e5616dd30 Updates save state usage to catch errors 2016-06-10 11:57:15 -05:00
Riley Testut
d15f523dc9 Readjusts PauseMenuViewController item widths 2016-06-10 10:58:40 -05:00
Riley Testut
29c8990540 Adds support for Gameboy Advance games 2016-06-10 10:53:29 -05:00
Riley Testut
8a252f9690 Identifies + uses correct aspect ratio for save state thumbnails 2016-06-08 02:06:07 -05:00
Riley Testut
c647762975 Finishes implementation of Sustain Buttons feature 2016-06-02 19:45:09 -05:00
Riley Testut
0f43de2138 Updates EmulationViewController Game Controller methods & matches DeltaCore refactoring 2016-05-29 05:40:42 -05:00
Riley Testut
07da4f3158 Adds basic UI for selecting sustained button 2016-05-29 02:55:19 -05:00
Riley Testut
b2bf15a79c Refactors cheat usage for non-throwing EmulatorCore.deactivateCheat(_:) 2016-05-28 02:07:57 -05:00
Riley Testut
fecb1396d2 Fixes bug where pasting into EditCheatViewController's UITextView resulted in incorrect font 2016-05-28 01:53:33 -05:00
Riley Testut
15ec9c9f49 Fixes bug where presenting EditCheatViewController would mess up PausePresentationController's layout 2016-05-28 01:52:52 -05:00
Riley Testut
9b5357ccd6 Adds Peek & Pop support to EditCheatViewController 2016-05-27 23:30:17 -05:00
Riley Testut
a80aeed4a4 Renames/rearranges SaveStatesViewController preview actions to match Apple's guidelines 2016-05-27 23:29:06 -05:00
Riley Testut
f7ed6f75d1 Adds ability for user to add/edit custom cheats 2016-05-27 15:25:14 -05:00
Riley Testut
f0f88a529a Removes explicit initialization of SNESEmulatorCore 2016-05-21 15:38:12 -05:00
Riley Testut
9d599064a8 Fixes bug where peeking a save state then cancelling would prevent save states from working 2016-05-21 14:53:18 -05:00
Riley Testut
b98b9d60ca Adds images for Save State and Load State pause items 2016-05-21 14:53:18 -05:00
Riley Testut
db9bd94667 Responds to app lifecycle events by pausing/resuming emulation 2016-05-21 14:53:18 -05:00
Riley Testut
509cb4b136 Adds support for adding, removing, activating, and deactivating (hard-coded) cheats 2016-05-21 14:53:18 -05:00
Riley Testut
c08e2a2de7 Adds temporary semaphore to ensure DatabaseManager finishes before showing UI 2016-05-21 14:53:18 -05:00
Riley Testut
9dcb88b2de Presents empty CheatsViewController for Cheats pause item 2016-05-21 14:53:10 -05:00
Riley Testut
572ef0abec Fixes bug where Peeking + Popping into a game resulted in slightly delayed audio 2016-05-19 03:23:55 -05:00
Riley Testut
290f1b93e5 Refactors SaveState.isPreview attribute to Game.previewSaveState relationship 2016-05-19 02:40:50 -05:00
Riley Testut
304da44f3c Displays preview actions when peeking save states 2016-05-18 17:13:55 -05:00
Riley Testut
5434143988 Adds Preview Save States 2016-05-18 00:47:18 -05:00
Riley Testut
d242589bde Fixes bug where temporary save states weren't always deleted 2016-05-17 15:14:18 -05:00
Riley Testut
bf6b0adbd0 Adds ability to rename save states 2016-05-16 18:13:43 -05:00
Riley Testut
6a2b2164be Prevents controller view from appearing when peeking EmulationViewController in landscape 2016-05-16 17:43:21 -05:00
Riley Testut
01b255c981 Updates legacy Selector usage to new Swift 2.2 #selector syntax 2016-05-16 17:32:32 -05:00
Riley Testut
c6e2820458 Adds ability to Peek & Pop save states via 3D Touch 2016-05-16 17:30:53 -05:00
Riley Testut
aa4f5fb532 Adds support for Locked Save States 2016-03-15 04:56:52 -05:00
Riley Testut
0b12732e6e Wraps overlooked user-facing strings in NSLocalizedString function 2016-03-15 01:02:50 -05:00
Riley Testut
0b9e3e2541 Limits saving save states to when SaveStatesViewController's mode is .Saving 2016-03-15 00:55:41 -05:00
Riley Testut
01bf9c0e06 Refactors Core Data model objects 2016-03-14 20:03:51 -05:00
Riley Testut
ba6805b0f1 Refactors save state thumbnail loading to prevent placeholder image flickering 2016-03-14 19:24:25 -05:00
Riley Testut
129cef9cb8 Adds ability to delete save states via long press 2016-03-14 19:22:16 -05:00
Riley Testut
e08cc1c331 Adds mode property to SaveStatesViewController to switch between saving and loading save states 2016-03-14 16:02:02 -05:00
Riley Testut
ee1e57f54b Saves and displays thumbnails for save states 2016-03-01 01:55:02 -08:00
Riley Testut
bf70df6611 Adds basic support for saving + loading save states
Stores SaveState model objects with Core Data, and displays the available save states in SaveStatesViewController.

Currently, tapping + button creates a new save state, while tapping a collection view cell loads the save state, regardless of whether Save State or Load State was selected from the pause menu.
2016-02-08 13:55:27 -08:00
Riley Testut
544f1a1801 Displays dummy data in SaveStatesViewController 2016-01-31 03:10:39 -08:00
Riley Testut
9dcec258c1 Presents empty SaveStatesViewController for Save/Load State Pause Item 2016-01-29 20:00:36 -08:00
Riley Testut
b8b46f00a6 Refactors PauseViewController in preparation for pushing new view controllers
# PauseViewController has been renamed to PauseMenuViewController.
# A new PauseViewController maintains a child UINavigationController, which has PauseMenuViewController as the root view controller.
2016-01-30 18:19:02 -08:00
Riley Testut
8fd2f554fc Adds support for toggling Fast Forward from pause menu 2016-01-13 13:29:52 -08:00
Riley Testut
0aba8b27d3 Added stub implementations for provided PauseItems 2015-12-27 00:48:47 -06:00
Riley Testut
46eb747737 Replaced GameCollectionViewLayout with GridCollectionViewLayout
Additionally, refactored GridCollectionViewCell to no longer use a NIB. This makes it easier to reuse for iOS and tvOS, and allows us to use storyboard segues (which include peek & pop)
2015-12-26 04:09:45 -06:00
Riley Testut
b25ee75d67 Added ability to return to main menu from PauseViewController 2015-12-26 03:03:47 -06:00
Riley Testut
fd2a81ead5 Modified tint colors to use custom Delta colors 2015-12-26 02:57:29 -06:00
Riley Testut
76a9c85253 Fixed incorrect game rendering when rotating while paused
When rotating EmulationViewController with PauseViewController presented, the GameView would have an incorrectly sized rendered image
2015-12-26 02:45:57 -06:00
Riley Testut
8f572fd1c8 Added basic PauseViewController implementation
Also, happy Boxing Day! Hope you're enjoying your new iPad Pro future Riley :)
2015-12-26 02:23:30 -06:00
Riley Testut
d60855724d Updated ControllerSkin logic
Rewrote deltaskin info.json format, handles adaptability much better now
2015-12-20 19:40:40 -06:00
Riley Testut
68edb36208 Reimplemented the ability to present SettingsViewController 2015-12-19 16:54:23 -06:00
Riley Testut
8863e8f3d0 Added Peek & Pop for previewing games 2015-12-12 14:08:19 -08:00
Riley Testut
925fb9454d Updated UI for pagination between GameCollections 2015-11-24 11:53:36 -08:00
Riley Testut
4a2b5cd1dd Automatically saves to disk when saving managed object context 2015-11-14 19:38:26 -08:00
Riley Testut
59fe9b0480 Added basic UICollectionView-based UI for selecting games 2015-11-01 03:19:10 -06:00
Riley Testut
2184c8aa68 Implemented basic importing of games 2015-10-11 16:31:07 -05:00
Riley Testut
ab4fadca57 Added basic Core Data functionality 2015-10-04 12:02:46 -07:00
Riley Testut
b606aa7c43 Added tvOS Target 2015-09-26 14:12:47 -07:00
Riley Testut
f46fcc7978 Reorganized Xcode project and file structure 2015-09-26 14:04:00 -07:00
Riley Testut
ed4807ba5d Added ability to emulate SNES games 2015-09-12 19:49:21 -07:00
Riley Testut
c59f4642cd Handles input from all connected controllers correctly 2015-09-07 17:57:12 -07:00
Riley Testut
cc6a044b29 Added basic settings, and ability to manage game controllers 2015-09-07 15:05:11 -07:00
Riley Testut
89c3498934 Updated GamesViewController for new Swift beta SDK 2015-07-22 21:56:47 +01:00
Riley Testut
513129c3d5 Responds to ControllerView inputs 2015-07-22 21:56:28 +01:00
Riley Testut
5fde8a69d8 Added iTunes File Sharing support, modified SNES game UTI slightly 2015-06-30 01:16:52 -07:00
Riley Testut
8084536551 Updated to Swift 2 syntax 2015-06-30 01:15:10 -07:00
Riley Testut
f615b65f5e Added EmulationViewController, displays ControllerView 2015-06-16 01:45:24 -05:00
Riley Testut
cc5d2cc627 Replaced user-facing strings with localizable strings 2015-04-19 20:45:53 -07:00
Riley Testut
2aa4359a3e Updated Cores to use new dynamic subclassing 2015-04-19 20:45:33 -07:00
Riley Testut
16b82f3dad Added SNESDeltaCore submodule 2015-03-09 23:43:20 -07:00
Riley Testut
6bb1ccf42c Added DeltaCore submodule 2015-03-09 00:15:43 -07:00
Riley Testut
46bf220359 Lists files in Documents directory, automatically updates when files are added or removed 2015-03-08 13:44:04 -07:00
Riley Testut
aeed83fca5 Initial Commit 2015-03-08 00:50:48 -08:00