From 5b5a1276cf980aba90e0ac3243712f77eb38fb97 Mon Sep 17 00:00:00 2001 From: kts Date: Mon, 2 Mar 2015 03:25:39 -0800 Subject: [PATCH] Added more notes to GUI, with some specifics for icon requirements and how the basic view will be. Very terse at the moment. Added default asset cache locations for iOS: the app's resources/data folder and the app's Documents folder. --- src/Core.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Core.cpp b/src/Core.cpp index 9a73577..1b1f426 100644 --- a/src/Core.cpp +++ b/src/Core.cpp @@ -87,6 +87,11 @@ int Core::initSystem() { asset_manager->addCache(new AssetCache(android_app_dir.c_str())); // Load in the application's RW external location asset_manager->addCache(new AssetCache(android_ext_dir.c_str())); +#elif __IPHONEOS__ + // Use the built-in resources directory (read-only) + asset_manager->addCache(new AssetCache("data")); + // prefer the sandbox's Documents folder + asset_manager->addCache(new AssetCache("../Documents")); #else asset_manager->addCache(new AssetCache("data")); #endif