You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
iOS Modules: separate main platform code from modules
Moved previously builtin modules 'GameCenter', 'AppStore', 'iCloud' to separate modules to be represented as plugin. Modified 'ARKit' and 'Camera' to not be builtin into engine and work as plugin. Changed platform code so it's not affected by the move. Modified Xcode project file to remove parameters that doesn't make any effect. Added basic '.gdip' plugin config file.
This commit is contained in:
18
modules/arkit/arkit.gdip
Normal file
18
modules/arkit/arkit.gdip
Normal file
@@ -0,0 +1,18 @@
|
||||
[config]
|
||||
name="ARKit"
|
||||
binary="arkit_lib.a"
|
||||
|
||||
initialization="register_arkit_types"
|
||||
deinitialization="unregister_arkit_types"
|
||||
|
||||
[dependencies]
|
||||
linked=[]
|
||||
embedded=[]
|
||||
system=["AVFoundation.framework", "ARKit.framework"]
|
||||
|
||||
capabilities=["arkit"]
|
||||
|
||||
files=[]
|
||||
|
||||
[plist]
|
||||
NSCameraUsageDescription="Device camera is used for some functionality"
|
||||
@@ -1,5 +1,5 @@
|
||||
/*************************************************************************/
|
||||
/* register_types.cpp */
|
||||
/* arkit_module.cpp */
|
||||
/*************************************************************************/
|
||||
/* This file is part of: */
|
||||
/* GODOT ENGINE */
|
||||
@@ -28,7 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "register_types.h"
|
||||
#include "arkit_module.h"
|
||||
|
||||
#include "arkit_interface.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*************************************************************************/
|
||||
/* register_types.h */
|
||||
/* arkit_module.h */
|
||||
/*************************************************************************/
|
||||
/* This file is part of: */
|
||||
/* GODOT ENGINE */
|
||||
Reference in New Issue
Block a user