X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMain.cc;h=8554c7fb854dff128875dbaf78dea33df717fc19;hb=d08114d4e7315636ff62127845150273e0cbf66f;hp=fc84ceb38fcc3171743faec7eeca3a6c750f7f78;hpb=90b2c7fb10b244b781b84965a0d36f1f323ee94d;p=chaz%2Fyoink diff --git a/src/Main.cc b/src/Main.cc index fc84ceb..8554c7f 100644 --- a/src/Main.cc +++ b/src/Main.cc @@ -40,8 +40,6 @@ Main::Main(Mf::Settings& settings, Mf::Video& video) : mNewContextDispatch = dispatch.addTarget("video.newcontext", boost::bind(&Main::setupGL)); setupGL(); - - addChild(TitleLayer::alloc()); } @@ -49,9 +47,10 @@ void Main::update(Mf::Scalar t, Mf::Scalar dt) { if (children().size() == 0) { - Mf::logWarning("main view has no children"); - stop(); - return; + //Mf::logWarning("main view has no children"); + //stop(); + //return; + addChild(TitleLayer::alloc()); } Mf::View::update(t, dt); @@ -222,11 +221,18 @@ void Main::printInfo(int argc, char* argv[]) } std::cout << " Executable: " << argv[0] << std::endl +#ifdef YOINK_GITHEAD + << " Commit: "YOINK_GITHEAD << std::endl +#endif << " Version: "VERSION << std::endl << " Built: " << COMPILE_TIME << std::endl << " Compiler: "COMPILER_STRING << std::endl << " Assets: " << assets << std::endl << "Build options: " +#ifndef HAVE_CLOCK_GETTIME + << "-" +#endif + << "clock_gettime " #ifdef NDEBUG << "-" #endif