summaryrefslogtreecommitdiff
path: root/platform/iphone/godot_iphone.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-03-13 22:57:24 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-03-13 22:57:24 -0300
commit31ce3c5fd0300aac1e86bced1efc5f9ec94bdb6b (patch)
treeb6d3a290333c72940b49ed4c930ff6858a59515e /platform/iphone/godot_iphone.cpp
parenta65edb4caabec21654c56552e11aacf0fd9291de (diff)
-fix bug in cache for atlas import/export
-fix some menus -fixed bug in out transition curves -detect and remove file:/// in collada -remove multiscript for now -remove dependencies on mouse in OS, moved to Input -avoid fscache from screwing up (fix might make it slower, but it works) -funcref was missing, it's there now
Diffstat (limited to 'platform/iphone/godot_iphone.cpp')
-rw-r--r--platform/iphone/godot_iphone.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/iphone/godot_iphone.cpp b/platform/iphone/godot_iphone.cpp
index eb3f17736a..b86af007f8 100644
--- a/platform/iphone/godot_iphone.cpp
+++ b/platform/iphone/godot_iphone.cpp
@@ -37,6 +37,7 @@ static OSIPhone* os = NULL;
extern "C" {
int add_path(int p_argc, char** p_args);
+int add_cmdline(int p_argc, char** p_args);
};
int iphone_main(int width, int height, int argc, char** argv) {
@@ -67,6 +68,7 @@ int iphone_main(int width, int height, int argc, char** argv) {
};
fargv[argc] = NULL;
argc = add_path(argc, fargv);
+ argc = add_cmdline(argc, fargv);
printf("os created\n");
Error err = Main::setup(fargv[0], argc - 1, &fargv[1], false);