diff --git a/build/iOS/MultiCraft/MultiCraft.xcodeproj/project.pbxproj b/build/iOS/MultiCraft/MultiCraft.xcodeproj/project.pbxproj index 6bc31a664..9c827c589 100644 --- a/build/iOS/MultiCraft/MultiCraft.xcodeproj/project.pbxproj +++ b/build/iOS/MultiCraft/MultiCraft.xcodeproj/project.pbxproj @@ -1787,10 +1787,7 @@ GCC_FAST_MATH = YES; GCC_NO_COMMON_BLOCKS = NO; GCC_OPTIMIZATION_LEVEL = fast; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); + GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)"; GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_UNROLL_LOOPS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -1866,7 +1863,6 @@ ENABLE_BITCODE = NO; GCC_PREPROCESSOR_DEFINITIONS = ( "$(inherited)", - "NDEBUG=0", __IOS__, "RUN_IN_PLACE=0", "USE_GETTEXT=1", diff --git a/build/iOS/MultiCraft/MultiCraft/ioswrap.m b/build/iOS/MultiCraft/MultiCraft/ioswrap.m index a1e7f74bb..0135babfa 100644 --- a/build/iOS/MultiCraft/MultiCraft/ioswrap.m +++ b/build/iOS/MultiCraft/MultiCraft/ioswrap.m @@ -148,6 +148,7 @@ extract: } loading_alert(viewc, nil); + win.backgroundColor = [UIColor blackColor]; } void ioswrap_size(unsigned int *dest) diff --git a/src/drawscene.cpp b/src/drawscene.cpp index 155d81f63..a3faf32bf 100644 --- a/src/drawscene.cpp +++ b/src/drawscene.cpp @@ -615,11 +615,13 @@ void draw_load_screen(const std::wstring &text, IrrlichtDevice* device, g_menucloudsmgr->drawAll(); } else + { driver->beginScene(true, true, video::SColor(255, 0, 0, 0)); video::ITexture *background_image = driver->getTexture((porting::path_share + "/textures/base/bg.png").c_str()); draw2DImageFilterScaled(driver, background_image, irr::core::rect(0, 0, screensize.X*2, screensize.Y*2), irr::core::rect(0, 0, screensize.X, screensize.Y), 0, 0, false); + } // draw progress bar if ((percent >= 0) && (percent <= 100))