diff options
| author | Juan Linietsky | 2014-03-13 22:57:24 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2014-03-13 22:57:24 -0300 |
| commit | 31ce3c5fd0300aac1e86bced1efc5f9ec94bdb6b (patch) | |
| tree | b6d3a290333c72940b49ed4c930ff6858a59515e /platform/iphone/view_controller.mm | |
| parent | a65edb4caabec21654c56552e11aacf0fd9291de (diff) | |
| download | godot-31ce3c5fd0300aac1e86bced1efc5f9ec94bdb6b.tar.gz godot-31ce3c5fd0300aac1e86bced1efc5f9ec94bdb6b.tar.zst godot-31ce3c5fd0300aac1e86bced1efc5f9ec94bdb6b.zip | |
-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/view_controller.mm')
| -rw-r--r-- | platform/iphone/view_controller.mm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/platform/iphone/view_controller.mm b/platform/iphone/view_controller.mm index 8af20358b..eb331a61d 100644 --- a/platform/iphone/view_controller.mm +++ b/platform/iphone/view_controller.mm @@ -46,6 +46,26 @@ int add_path(int p_argc, char** p_args) { return p_argc; }; +int add_cmdline(int p_argc, char** p_args) { + + NSArray* arr = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"godot_cmdline"]; + if (!arr) + return p_argc; + + for (int i=0; i < [arr count]; i++) { + + NSString* str = [arr objectAtIndex:i]; + if (!str) + continue; + [str retain]; // @todo delete these at some point + p_args[p_argc++] = (char*)[str cString]; + }; + + p_args[p_argc] = NULL; + + return p_argc; +}; + }; @interface ViewController () @@ -104,4 +124,10 @@ int add_path(int p_argc, char** p_args) { } }; + +- (BOOL)prefersStatusBarHidden +{ + return YES; +} + @end |
