diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-11-24 10:52:41 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-11-24 10:52:41 -0300 |
commit | 082e3fbb2920340cec7e7b1a3f39083325b4b341 (patch) | |
tree | 753668f4057e41724d905bbfc8c74665b6422f7f /main | |
parent | ccd40f76e8975b679619eb3591eb56376e82a6b3 (diff) | |
parent | 2ea992b7881a350ebae7df45c8069830e2ef6cc2 (diff) |
Merge branch 'master' of https://github.com/okamstudio/godot
Conflicts:
main/main.cpp
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/main/main.cpp b/main/main.cpp index b4f4c48643..80a7cbc5fc 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -432,7 +432,6 @@ Error Main::setup(const char *execpath,int argc, char *argv[],bool p_second_phas } else if (I->get()=="-e" || I->get()=="-editor") { // fonud editor editor=true; - init_maximized=true; } else if (I->get()=="-nowindow") { // fullscreen OS::get_singleton()->set_no_window_mode(true); @@ -649,6 +648,7 @@ Error Main::setup(const char *execpath,int argc, char *argv[],bool p_second_phas if (editor) { main_args.push_back("-editor"); + init_maximized=true; use_custom_res=false; } @@ -876,6 +876,7 @@ Error Main::setup2() { boot_logo_path = boot_logo_path.strip_edges(); if (boot_logo_path!=String() /*&& FileAccess::exists(boot_logo_path)*/) { + print_line("Boot splash path: "+boot_logo_path); Error err = boot_logo.load(boot_logo_path); } @@ -893,7 +894,7 @@ Error Main::setup2() { } else { #ifndef NO_DEFAULT_BOOT_LOGO - MAIN_PRINT("Main: Create botsplash"); + MAIN_PRINT("Main: Create bootsplash"); Image splash(boot_splash_png); MAIN_PRINT("Main: ClearColor"); @@ -1085,7 +1086,7 @@ bool Main::start() { #endif - if(script=="" && game_path=="" && !editor && String(GLOBAL_DEF("application/main_scene",""))!="") { + if(script=="" && game_path=="" && String(GLOBAL_DEF("application/main_scene",""))!="") { game_path=GLOBAL_DEF("application/main_scene",""); } |