X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMainLayer.cc;h=0b2ef3699f0576f1f70d87da7bbe8a59a8e12972;hp=38c849ebd08129cf2c2f83dcc447329f5546db3a;hb=7f3984f3f9524f5b6813e01ceb2fe576dadff94e;hpb=e495074443d9fd7bc16137084cf9de3d031b75c4 diff --git a/src/MainLayer.cc b/src/MainLayer.cc index 38c849e..0b2ef36 100644 --- a/src/MainLayer.cc +++ b/src/MainLayer.cc @@ -76,7 +76,7 @@ void MainLayer::update(Mf::Engine& engine, Mf::Scalar t, Mf::Scalar dt) if (engine.getSize() == 1) { // this is the only layer left on the stack - engine.push(TitleLayer::alloc()); + //engine.push(TitleLayer::alloc()); } } @@ -206,9 +206,7 @@ void printInfo(int argc, char* argv[]) std::cout << " Executable: " << argv[0] << std::endl << " Version: "VERSION << std::endl -#if defined(__DATE__) && defined(__TIME__) - << " Built: "__DATE__" "__TIME__ << std::endl -#endif + << " Built: " << COMPILE_TIME << std::endl << " Compiler: "COMPILER_STRING << std::endl << " Assets: " << assets << std::endl << "Build options: " @@ -273,15 +271,15 @@ int main(int argc, char* argv[]) #if YOINK_LOGLEVEL >= 4 - Mf::setLogLevel(Mf::LOG_DEBUG); + Mf::Log::setLevel(Mf::Log::DEBUGG); #elif YOINK_LOGLEVEL >= 3 - Mf::setLogLevel(Mf::LOG_INFO); + Mf::Log::setLevel(Mf::Log::INFO); #elif YOINK_LOGLEVEL >= 2 - Mf::setLogLevel(Mf::LOG_SCRIPT); + Mf::Log::setLevel(Mf::Log::SCRIPT); #elif YOINK_LOGLEVEL >= 1 - Mf::setLogLevel(Mf::LOG_ERROR); + Mf::Log::setLevel(Mf::Log::ERROR); #elif YOINK_LOGLEVEL - Mf::setLogLevel(Mf::LOG_NONE); + Mf::Log::setLevel(Mf::Log::NONE); #endif